Searched refs:legal_bits (Results 1 – 3 of 3) sorted by relevance
/external/grpc-grpc/tools/codegen/core/ |
D | gen_legal_metadata_characters.cc | 24 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()
|
D | gen_percent_encoding_tables.cc | 24 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/ |
D | validate_metadata.cc | 32 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()
|