Home
last modified time | relevance | path

Searched refs:GPR_BITGET (Results 1 – 10 of 10) sorted by relevance

/external/grpc-grpc/test/core/channel/
Dchannel_args_test.cc88 GPR_ASSERT(GPR_BITGET(states_bitset, i)); in test_compression_algorithm_states()
109 GPR_ASSERT(GPR_BITGET(states_bitset, i) == 0); in test_compression_algorithm_states()
111 GPR_ASSERT(GPR_BITGET(states_bitset, i) != 0); in test_compression_algorithm_states()
126 GPR_ASSERT(GPR_BITGET(states_bitset, i) == 0); in test_compression_algorithm_states()
128 GPR_ASSERT(GPR_BITGET(states_bitset, i) != 0); in test_compression_algorithm_states()
/external/grpc-grpc/test/core/gpr/
Duseful_test.cc51 GPR_ASSERT(GPR_BITGET(bitset, 3) == 1); in main()
56 GPR_ASSERT(GPR_BITGET(bitset, 3) == 0); in main()
/external/grpc-grpc/test/core/end2end/tests/
Dworkaround_cronet_compression.cc205 GPR_ASSERT(GPR_BITGET(grpc_call_test_only_get_encodings_accepted_by_peer(s), in request_with_payload_template()
207 GPR_ASSERT(GPR_BITGET(grpc_call_test_only_get_encodings_accepted_by_peer(s), in request_with_payload_template()
209 GPR_ASSERT(GPR_BITGET(grpc_call_test_only_get_encodings_accepted_by_peer(s), in request_with_payload_template()
Dstream_compression_compressed_payload.cc388 GPR_ASSERT(GPR_BITGET(grpc_call_test_only_get_encodings_accepted_by_peer(s), in request_with_payload_template()
390 GPR_ASSERT(GPR_BITGET(grpc_call_test_only_get_encodings_accepted_by_peer(s), in request_with_payload_template()
392 GPR_ASSERT(GPR_BITGET(grpc_call_test_only_get_encodings_accepted_by_peer(s), in request_with_payload_template()
394 GPR_ASSERT(GPR_BITGET(grpc_call_test_only_get_encodings_accepted_by_peer(s), in request_with_payload_template()
Dcompressed_payload.cc381 GPR_ASSERT(GPR_BITGET(grpc_call_test_only_get_encodings_accepted_by_peer(s), in request_with_payload_template()
383 GPR_ASSERT(GPR_BITGET(grpc_call_test_only_get_encodings_accepted_by_peer(s), in request_with_payload_template()
385 GPR_ASSERT(GPR_BITGET(grpc_call_test_only_get_encodings_accepted_by_peer(s), in request_with_payload_template()
/external/grpc-grpc/src/core/lib/gpr/
Duseful.h47 #define GPR_BITGET(i, n) (((i) & (1u << (n))) != 0) macro
/external/grpc-grpc/src/core/lib/compression/
Dcompression.cc129 return GPR_BITGET(opts->enabled_algorithms_bitset, algorithm); in grpc_compression_options_is_algorithm_enabled()
Dcompression_internal.cc222 if (GPR_BITGET(accepted_encodings, alg) == 1) { in grpc_message_compression_algorithm_for_level()
/external/grpc-grpc/src/core/ext/filters/http/message_compress/
Dmessage_compress_filter.cc128 if (GPR_UNLIKELY(!GPR_BITGET(channeld->enabled_algorithms_bitset, in process_send_initial_metadata()
460 if (!GPR_BITGET(channeld->enabled_algorithms_bitset, in init_channel_elem()
/external/grpc-grpc/src/core/lib/surface/
Dcall.cc1374 if (!GPR_BITGET(call->encodings_accepted_by_peer, compression_algorithm)) { in validate_filtered_metadata()