Home
last modified time | relevance | path

Searched refs:GPR_SWAP (Results 1 – 12 of 12) sorted by relevance

/external/grpc-grpc/src/core/lib/slice/
Dslice_buffer.cc218 GPR_SWAP(grpc_slice*, a->base_slices, b->base_slices); in grpc_slice_buffer_swap()
228 GPR_SWAP(size_t, a->count, b->count); in grpc_slice_buffer_swap()
229 GPR_SWAP(size_t, a->capacity, b->capacity); in grpc_slice_buffer_swap()
230 GPR_SWAP(size_t, a->length, b->length); in grpc_slice_buffer_swap()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dsubchannel_index.cc198 GPR_SWAP(grpc_avl, updated, g_subchannel_index); in grpc_subchannel_index_register()
243 GPR_SWAP(grpc_avl, updated, g_subchannel_index); in grpc_subchannel_index_unregister()
/external/grpc-grpc/src/core/lib/backoff/
Dbackoff.cc42 if (a > b) GPR_SWAP(double, a, b); // make sure a < b in generate_uniform_random_number_between()
/external/grpc-grpc/src/core/lib/gpr/
Duseful.h33 #define GPR_SWAP(type, a, b) \ macro
/external/grpc-grpc/test/core/iomgr/
Dtimer_heap_test.cc144 GPR_SWAP(size_t, search_order[a], search_order[b]); in search_elems()
/external/grpc-grpc/test/core/end2end/fixtures/
Dproxy.cc336 GPR_SWAP(grpc_metadata_array, pc->c2p_initial_metadata, in on_new_call()
/external/grpc-grpc/src/core/lib/iomgr/
Dev_poll_posix.cc1271 GPR_SWAP(grpc_pollset*, pollset_set->pollsets[i],
1320 GPR_SWAP(grpc_pollset_set*, bag->pollset_sets[i],
1354 GPR_SWAP(grpc_fd*, pollset_set->fds[i],
Dev_epollex_linux.cc1531 GPR_SWAP(grpc_pollset_set*, a, b);
1552 GPR_SWAP(grpc_pollset_set*, a, b);
Dev_epollsig_linux.cc666 GPR_SWAP(polling_island*, p, q); in polling_island_merge()
/external/grpc-grpc/src/core/lib/surface/
Dcompletion_queue.cc611 GPR_SWAP(void*, cq->outstanding_tags[i],
1129 GPR_SWAP(plucker, cqd->pluckers[i], cqd->pluckers[cqd->num_pluckers]);
Dserver.cc454 GPR_SWAP(grpc_metadata_array, *rc->initial_metadata, calld->initial_metadata); in publish_call()
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dchttp2_transport.cc2488 GPR_SWAP(grpc_error*, err, error); in read_action_locked()