Home
last modified time | relevance | path

Searched refs:states_arg (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/lib/compression/
Dcompression_args.cc67 int** states_arg) { in find_compression_algorithm_states_bitset() argument
74 *states_arg = &a->args[i].value.integer; in find_compression_algorithm_states_bitset()
75 **states_arg = in find_compression_algorithm_states_bitset()
76 (**states_arg & ((1 << GRPC_COMPRESS_ALGORITHMS_COUNT) - 1)) | in find_compression_algorithm_states_bitset()
87 int* states_arg = nullptr; in grpc_channel_args_compression_algorithm_set_state() local
90 find_compression_algorithm_states_bitset(*a, &states_arg); in grpc_channel_args_compression_algorithm_set_state()
103 GPR_BITSET((unsigned*)states_arg, algorithm); in grpc_channel_args_compression_algorithm_set_state()
105 GPR_BITCLEAR((unsigned*)states_arg, algorithm); in grpc_channel_args_compression_algorithm_set_state()
129 int* states_arg; in grpc_channel_args_compression_algorithm_get_states() local
130 if (find_compression_algorithm_states_bitset(a, &states_arg)) { in grpc_channel_args_compression_algorithm_get_states()
[all …]
/external/grpc-grpc/src/core/lib/channel/
Dchannel_args.cc242 int** states_arg) { in find_compression_algorithm_states_bitset() argument
249 *states_arg = &a->args[i].value.integer; in find_compression_algorithm_states_bitset()
250 **states_arg |= 0x1; /* forcefully enable support for no compression */ in find_compression_algorithm_states_bitset()
260 int* states_arg = nullptr; in grpc_channel_args_compression_algorithm_set_state() local
263 find_compression_algorithm_states_bitset(*a, &states_arg); in grpc_channel_args_compression_algorithm_set_state()
275 GPR_BITSET((unsigned*)states_arg, algorithm); in grpc_channel_args_compression_algorithm_set_state()
277 GPR_BITCLEAR((unsigned*)states_arg, algorithm); in grpc_channel_args_compression_algorithm_set_state()
300 int* states_arg; in grpc_channel_args_compression_algorithm_get_states() local
301 if (find_compression_algorithm_states_bitset(a, &states_arg)) { in grpc_channel_args_compression_algorithm_get_states()
302 return static_cast<uint32_t>(*states_arg); in grpc_channel_args_compression_algorithm_get_states()