Home
last modified time | relevance | path

Searched refs:legal_bits (Results 1 – 3 of 3) sorted by relevance

/external/grpc-grpc/tools/codegen/core/
Dgen_legal_metadata_characters.cc24 static unsigned char legal_bits[256 / 8]; variable
33 legal_bits[byte] = in legal()
34 (unsigned char)((legal_bits[byte] | (unsigned char)(1 << bit))); in legal()
42 printf("%c 0x%02x", i ? ',' : '{', legal_bits[i]); in dump()
46 static void clear(void) { memset(legal_bits, 0, sizeof(legal_bits)); } in clear()
Dgen_percent_encoding_tables.cc24 static unsigned char legal_bits[256 / 8]; variable
33 legal_bits[byte] = in legal()
34 (unsigned char)((legal_bits[byte] | (unsigned char)(1 << bit))); in legal()
42 printf("%c 0x%02x", i ? ',' : '{', legal_bits[i]); in dump()
46 static void clear(void) { memset(legal_bits, 0, sizeof(legal_bits)); } in clear()
/external/grpc-grpc/src/core/lib/surface/
Dvalidate_metadata.cc32 static grpc_error* conforms_to(grpc_slice slice, const uint8_t* legal_bits, in conforms_to() argument
40 if ((legal_bits[byte] & (1 << bit)) == 0) { in conforms_to()