Home
last modified time | relevance | path

Searched refs:GPR_BITSET (Results 1 – 7 of 7) sorted by relevance

/external/grpc-grpc/test/core/compression/
Dcompression_test.cc88 GPR_BITSET(&accepted_encodings, GRPC_COMPRESS_NONE); /* always */ in test_compression_algorithm_for_level()
110 GPR_BITSET(&accepted_encodings, GRPC_COMPRESS_NONE); /* always */ in test_compression_algorithm_for_level()
111 GPR_BITSET(&accepted_encodings, GRPC_COMPRESS_GZIP); in test_compression_algorithm_for_level()
133 GPR_BITSET(&accepted_encodings, GRPC_COMPRESS_NONE); /* always */ in test_compression_algorithm_for_level()
134 GPR_BITSET(&accepted_encodings, GRPC_COMPRESS_DEFLATE); in test_compression_algorithm_for_level()
156 GPR_BITSET(&accepted_encodings, GRPC_COMPRESS_NONE); /* always */ in test_compression_algorithm_for_level()
157 GPR_BITSET(&accepted_encodings, GRPC_COMPRESS_GZIP); in test_compression_algorithm_for_level()
158 GPR_BITSET(&accepted_encodings, GRPC_COMPRESS_DEFLATE); in test_compression_algorithm_for_level()
180 GPR_BITSET(&accepted_encodings, GRPC_COMPRESS_NONE); /* always */ in test_compression_algorithm_for_level()
181 GPR_BITSET(&accepted_encodings, GRPC_COMPRESS_STREAM_GZIP); in test_compression_algorithm_for_level()
[all …]
/external/grpc-grpc/test/core/gpr/
Duseful_test.cc49 GPR_ASSERT(GPR_BITSET(&bitset, 3) == 8); in main()
52 GPR_ASSERT(GPR_BITSET(&bitset, 1) == 10); in main()
/external/grpc-grpc/src/core/lib/gpr/
Duseful.h41 #define GPR_BITSET(i, n) ((*(i)) |= (1u << (n))) macro
/external/grpc-grpc/src/core/lib/compression/
Dcompression.cc118 GPR_BITSET(&opts->enabled_algorithms_bitset, algorithm); in grpc_compression_options_enable_algorithm()
/external/grpc-grpc/src/core/lib/channel/
Dchannel_args.cc275 GPR_BITSET((unsigned*)states_arg, algorithm); in grpc_channel_args_compression_algorithm_set_state()
287 GPR_BITSET((unsigned*)&tmp.value.integer, algorithm); in grpc_channel_args_compression_algorithm_set_state()
/external/grpc-grpc/src/cpp/server/
Dserver_builder.cc131 GPR_BITSET(&enabled_compression_algorithms_bitset_, algorithm); in SetCompressionAlgorithmSupportStatus()
/external/grpc-grpc/src/core/lib/surface/
Dcall.cc315 GPR_BITSET(&call->encodings_accepted_by_peer, GRPC_MESSAGE_COMPRESS_NONE); in grpc_call_create()
801 GPR_BITSET(encodings_accepted_by_peer, GRPC_COMPRESS_NONE); in set_encodings_accepted_by_peer()
815 GPR_BITSET(encodings_accepted_by_peer, algorithm); in set_encodings_accepted_by_peer()