Home
last modified time | relevance | path

Searched refs:gpr_realloc (Results 1 – 25 of 50) sorted by relevance

12

/external/grpc-grpc/test/core/gpr/
Dalloc_test.cc43 GPR_ASSERT((void*)(size_t)0xcafed00d == gpr_realloc(nullptr, 0xcafed00d)); in test_custom_allocs()
52 GPR_ASSERT((void*)2 != (i = static_cast<char*>(gpr_realloc(i, 2)))); in test_custom_allocs()
/external/grpc-grpc/src/core/lib/iomgr/
Dtimer_heap.cc78 gpr_realloc(heap->timers, heap->timer_capacity * sizeof(grpc_timer*))); in maybe_shrink()
103 gpr_realloc(heap->timers, heap->timer_capacity * sizeof(grpc_timer*))); in grpc_timer_heap_add()
Dwakeup_fd_cv.cc49 gpr_realloc(g_cvfds.cvfds, sizeof(grpc_fd_node) * newsize)); in cv_fd_init()
Derror.cc212 *err = static_cast<grpc_error*>(gpr_realloc( in get_placement()
554 *s = static_cast<char*>(gpr_realloc(*s, *cap)); in append_chr()
607 gpr_realloc(kvs->kvs, sizeof(*kvs->kvs) * kvs->cap_kvs)); in append_kv()
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dstream_map.cc79 gpr_realloc(keys, capacity * sizeof(uint32_t))); in grpc_chttp2_stream_map_add()
81 static_cast<void**>(gpr_realloc(values, capacity * sizeof(void*))); in grpc_chttp2_stream_map_add()
Dframe_ping.cc117 t->ping_acks = static_cast<uint64_t*>(gpr_realloc( in grpc_chttp2_ping_parser_parse()
/external/grpc-grpc/src/core/lib/gpr/
Dstring.cc93 out->data = static_cast<char*>(gpr_realloc(out->data, out->capacity)); in dump_out_append()
276 gpr_realloc(sv->strs, sizeof(char*) * sv->capacity)); in gpr_strvec_add()
304 *strs = static_cast<char**>(gpr_realloc(*strs, sizeof(*strs) * *capstrs)); in add_string_to_split()
Dalloc.cc80 void* gpr_realloc(void* p, size_t size) { in gpr_realloc() function
Darena.cc65 (void**)gpr_realloc(arena->ptrs, sizeof(void*) * (arena->num_ptrs + 1)); in gpr_arena_alloc()
/external/grpc-grpc/include/grpc/support/
Dalloc.h48 GPRAPI void* gpr_realloc(void* p, size_t size);
/external/grpc-grpc/src/core/lib/security/credentials/
Dcredentials_metadata.cc39 gpr_realloc(list->md, sizeof(grpc_mdelem) * new_size)); in mdelem_list_ensure_capacity()
/external/grpc-grpc/test/core/util/
Dfuzzer_util.cc43 str = static_cast<char*>(gpr_realloc(str, cap)); in grpc_fuzzer_get_next_string()
Dport.cc79 gpr_realloc(chosen_ports, sizeof(int) * num_chosen_ports)); in chose_port()
Dslice_splitter.cc118 out = static_cast<uint8_t*>(gpr_realloc(out, capacity)); in grpc_slice_merge()
/external/grpc-grpc/test/core/bad_client/tests/
Dwindow_overflow.cc61 g_buffer = static_cast<char*>(gpr_realloc(g_buffer, g_cap)); in addbuf()
Dhead_of_line_blocking.cc104 g_buffer = static_cast<char*>(gpr_realloc(g_buffer, g_cap)); in addbuf()
/external/grpc-grpc/src/core/lib/channel/
Dhandshaker_registry.cc39 list->list = static_cast<grpc_handshaker_factory**>(gpr_realloc( in grpc_handshaker_factory_list_register()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dproxy_mapper_registry.cc39 list->list = static_cast<grpc_proxy_mapper**>(gpr_realloc( in grpc_proxy_mapper_list_register()
/external/grpc-grpc/src/core/lib/http/
Dparser.cc206 gpr_realloc(*hdrs, parser->hdr_capacity * sizeof(**hdrs))); in add_header()
265 static_cast<char*>(gpr_realloc((void*)*body, parser->body_capacity)); in addbyte_body()
Dformat_request.cc103 tmp = static_cast<char*>(gpr_realloc(tmp, out_len + body_size)); in grpc_httpcli_format_post_request()
/external/grpc-grpc/src/core/lib/surface/
Dchannel_init.cc58 gpr_realloc(g_slots[type].slots, in grpc_channel_init_register_stage()
/external/grpc-grpc/src/core/lib/debug/
Dtrace.cc98 *ss = static_cast<char**>(gpr_realloc(*ss, sizeof(char**) * np)); in add()
/external/grpc-grpc/
Dgrpc.def200 gpr_realloc
/external/grpc-grpc/src/core/tsi/alts/zero_copy_frame_protector/
Dalts_grpc_record_protocol_common.cc44 gpr_realloc(rp->iovec_buf, rp->iovec_buf_length * sizeof(iovec_t))); in ensure_iovec_buf_size()
/external/grpc-grpc/src/php/ext/grpc/
Dchannel_credentials.c99 …default_pem_root_certs = gpr_realloc(default_pem_root_certs, (pem_roots_length + 1) * sizeof(char)… in PHP_METHOD()

12