Searched refs:alloc_buf (Results 1 – 6 of 6) sorted by relevance
/third_party/node/deps/cares/src/lib/ |
D | ares__buf.c | 39 unsigned char *alloc_buf; /*!< Pointer to allocated data buffer, member 124 ares_free(buf->alloc_buf); in ares__buf_destroy() 134 if (buf->data != NULL && buf->alloc_buf == NULL) { in ares__buf_is_const() 156 if (buf->alloc_buf == NULL) { in ares__buf_reclaim() 172 memmove(buf->alloc_buf, buf->alloc_buf + prefix_size, data_size); in ares__buf_reclaim() 173 buf->data = buf->alloc_buf; in ares__buf_reclaim() 230 ptr = ares_realloc(buf->alloc_buf, alloc_size); in ares__buf_ensure_space() 235 buf->alloc_buf = ptr; in ares__buf_ensure_space() 270 memcpy(buf->alloc_buf + buf->data_len, data, data_len); in ares__buf_append() 339 return buf->alloc_buf + buf->data_len; in ares__buf_append_start() [all …]
|
/third_party/mbedtls/programs/ssl/ |
D | ssl_pthread_server.c | 303 unsigned char alloc_buf[100000]; in main() local 310 mbedtls_memory_buffer_alloc_init(alloc_buf, sizeof(alloc_buf)); in main()
|
D | ssl_client2.c | 760 unsigned char alloc_buf[MEMORY_HEAP_SIZE]; in main() local 833 mbedtls_memory_buffer_alloc_init(alloc_buf, sizeof(alloc_buf)); in main()
|
D | ssl_server2.c | 1534 unsigned char alloc_buf[MEMORY_HEAP_SIZE]; in main() local 1583 mbedtls_memory_buffer_alloc_init(alloc_buf, sizeof(alloc_buf)); in main()
|
/third_party/mbedtls/programs/test/ |
D | benchmark.c | 526 unsigned char alloc_buf[HEAP_SIZE] = { 0 }; in main() local 610 mbedtls_memory_buffer_alloc_init(alloc_buf, sizeof(alloc_buf)); in main()
|
/third_party/mbedtls/tests/suites/ |
D | host_test.function | 496 unsigned char alloc_buf[1000000]; 497 mbedtls_memory_buffer_alloc_init(alloc_buf, sizeof(alloc_buf));
|