Macros
boringssl-with-bazel/src/decrepit/macros.h File Reference
#include "../crypto/internal.h"
Include dependency graph for boringssl-with-bazel/src/decrepit/macros.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define l2n(l, c)
 
#define l2nn(l1, l2, c, n)
 
#define n2l(c, l)
 
#define n2ln(c, l1, l2, n)
 

Macro Definition Documentation

◆ l2n

#define l2n (   l,
  c 
)
Value:
(*((c)++) = (unsigned char)(((l) >> 24L) & 0xff), \
*((c)++) = (unsigned char)(((l) >> 16L) & 0xff), \
*((c)++) = (unsigned char)(((l) >> 8L) & 0xff), \
*((c)++) = (unsigned char)(((l)) & 0xff))

Definition at line 126 of file boringssl-with-bazel/src/decrepit/macros.h.

◆ l2nn

#define l2nn (   l1,
  l2,
  c,
  n 
)
Value:
{ \
c += n; \
switch (n) { \
case 8: \
*(--(c)) = (unsigned char)(((l2)) & 0xff); \
OPENSSL_FALLTHROUGH; \
case 7: \
*(--(c)) = (unsigned char)(((l2) >> 8) & 0xff); \
OPENSSL_FALLTHROUGH; \
case 6: \
*(--(c)) = (unsigned char)(((l2) >> 16) & 0xff); \
OPENSSL_FALLTHROUGH; \
case 5: \
*(--(c)) = (unsigned char)(((l2) >> 24) & 0xff); \
OPENSSL_FALLTHROUGH; \
case 4: \
*(--(c)) = (unsigned char)(((l1)) & 0xff); \
OPENSSL_FALLTHROUGH; \
case 3: \
*(--(c)) = (unsigned char)(((l1) >> 8) & 0xff); \
OPENSSL_FALLTHROUGH; \
case 2: \
*(--(c)) = (unsigned char)(((l1) >> 16) & 0xff); \
OPENSSL_FALLTHROUGH; \
case 1: \
*(--(c)) = (unsigned char)(((l1) >> 24) & 0xff); \
} \
}

Definition at line 96 of file boringssl-with-bazel/src/decrepit/macros.h.

◆ n2l

#define n2l (   c,
 
)
Value:
(l = ((unsigned long)(*((c)++))) << 24L, \
l |= ((unsigned long)(*((c)++))) << 16L, \
l |= ((unsigned long)(*((c)++))) << 8L, \
l |= ((unsigned long)(*((c)++))))

Definition at line 132 of file boringssl-with-bazel/src/decrepit/macros.h.

◆ n2ln

#define n2ln (   c,
  l1,
  l2,
  n 
)
Value:
{ \
c += n; \
l1 = l2 = 0; \
switch (n) { \
case 8: \
l2 = ((unsigned long)(*(--(c)))); \
OPENSSL_FALLTHROUGH; \
case 7: \
l2 |= ((unsigned long)(*(--(c)))) << 8; \
OPENSSL_FALLTHROUGH; \
case 6: \
l2 |= ((unsigned long)(*(--(c)))) << 16; \
OPENSSL_FALLTHROUGH; \
case 5: \
l2 |= ((unsigned long)(*(--(c)))) << 24; \
OPENSSL_FALLTHROUGH; \
case 4: \
l1 = ((unsigned long)(*(--(c)))); \
OPENSSL_FALLTHROUGH; \
case 3: \
l1 |= ((unsigned long)(*(--(c)))) << 8; \
OPENSSL_FALLTHROUGH; \
case 2: \
l1 |= ((unsigned long)(*(--(c)))) << 16; \
OPENSSL_FALLTHROUGH; \
case 1: \
l1 |= ((unsigned long)(*(--(c)))) << 24; \
} \
}

Definition at line 64 of file boringssl-with-bazel/src/decrepit/macros.h.

c
void c(T a)
Definition: miscompile_with_no_unique_address_test.cc:40
n
int n
Definition: abseil-cpp/absl/container/btree_test.cc:1080
L
lua_State * L
Definition: upb/upb/bindings/lua/main.c:35
run_grpclb_interop_tests.l
dictionary l
Definition: run_grpclb_interop_tests.py:410
google::protobuf.internal.decoder.long
long
Definition: bloaty/third_party/protobuf/python/google/protobuf/internal/decoder.py:89


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:22