Home
last modified time | relevance | path

Searched refs:alloc_buf (Results 1 – 6 of 6) sorted by relevance

/third_party/node/deps/cares/src/lib/
Dares__buf.c39 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/
Dssl_pthread_server.c303 unsigned char alloc_buf[100000]; in main() local
310 mbedtls_memory_buffer_alloc_init(alloc_buf, sizeof(alloc_buf)); in main()
Dssl_client2.c760 unsigned char alloc_buf[MEMORY_HEAP_SIZE]; in main() local
833 mbedtls_memory_buffer_alloc_init(alloc_buf, sizeof(alloc_buf)); in main()
Dssl_server2.c1534 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/
Dbenchmark.c526 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/
Dhost_test.function496 unsigned char alloc_buf[1000000];
497 mbedtls_memory_buffer_alloc_init(alloc_buf, sizeof(alloc_buf));