/third_party/musl/libc-test/src/functionalext/unittest/ |
D | unit_test_mock_dynlink.c | 33 if (task->allocated_buf) { in free_task() 34 free(task->allocated_buf); in free_task() 35 task->allocated_buf = NULL; in free_task()
|
/third_party/skia/third_party/externals/libwebp/src/utils/ |
D | bit_writer_utils.c | 207 uint8_t* allocated_buf; in VP8LBitWriterResize() local 222 allocated_buf = (uint8_t*)WebPSafeMalloc(1ULL, allocated_size); in VP8LBitWriterResize() 223 if (allocated_buf == NULL) { in VP8LBitWriterResize() 228 memcpy(allocated_buf, bw->buf_, current_size); in VP8LBitWriterResize() 231 bw->buf_ = allocated_buf; in VP8LBitWriterResize()
|
/third_party/openssl/apps/ |
D | dgst.c | 551 unsigned char *allocated_buf = NULL; in do_fp() local 589 allocated_buf = app_malloc(len, "Signature buffer"); in do_fp() 590 buf = allocated_buf; in do_fp() 601 allocated_buf = app_malloc(len, "Digest buffer"); in do_fp() 602 buf = allocated_buf; in do_fp() 651 if (allocated_buf != NULL) in do_fp() 652 OPENSSL_clear_free(allocated_buf, len); in do_fp()
|
/third_party/node/deps/openssl/openssl/apps/ |
D | dgst.c | 551 unsigned char *allocated_buf = NULL; in do_fp() local 589 allocated_buf = app_malloc(len, "Signature buffer"); in do_fp() 590 buf = allocated_buf; in do_fp() 601 allocated_buf = app_malloc(len, "Digest buffer"); in do_fp() 602 buf = allocated_buf; in do_fp() 651 if (allocated_buf != NULL) in do_fp() 652 OPENSSL_clear_free(allocated_buf, len); in do_fp()
|
/third_party/musl/porting/linux/user/ldso/ |
D | dynlink_rand.c | 163 if (task->allocated_buf) { in free_task() 164 __libc_free(task->allocated_buf); in free_task() 165 task->allocated_buf = NULL; in free_task()
|
D | dynlink_rand.h | 53 void *allocated_buf; member
|
D | dynlink.c | 1420 void *allocated_buf=0; in map_library() local 1445 allocated_buf = malloc(phsize); in map_library() 1446 if (!allocated_buf) return 0; in map_library() 1447 l = pread(fd, allocated_buf, phsize, eh->e_phoff); in map_library() 1450 ph = ph0 = allocated_buf; in map_library() 1655 free(allocated_buf); in map_library() 1661 free(allocated_buf); in map_library() 4716 task->allocated_buf = malloc(task->phsize); in map_library_header() 4717 if (!task->allocated_buf) { in map_library_header() 4721 l = pread(task->fd, task->allocated_buf, task->phsize, task->eh->e_phoff + task->file_offset); in map_library_header() [all …]
|
/third_party/openssl/crypto/evp/ |
D | ctrl_params_translate.c | 209 void *allocated_buf; member 461 if ((ctx->allocated_buf = in default_fixup_args() 467 ctx->allocated_buf, ctx->buflen) < 0) { in default_fixup_args() 468 OPENSSL_free(ctx->allocated_buf); in default_fixup_args() 469 ctx->allocated_buf = NULL; in default_fixup_args() 474 ctx->allocated_buf, in default_fixup_args() 588 ctx->allocated_buf = ctx->params->data; in default_fixup_args() 711 if (ctx->allocated_buf != NULL) in cleanup_translation_ctx() 712 OPENSSL_free(ctx->allocated_buf); in cleanup_translation_ctx() 713 ctx->allocated_buf = NULL; in cleanup_translation_ctx()
|
/third_party/node/deps/openssl/openssl/crypto/evp/ |
D | ctrl_params_translate.c | 209 void *allocated_buf; member 461 if ((ctx->allocated_buf = in default_fixup_args() 467 ctx->allocated_buf, ctx->buflen) < 0) { in default_fixup_args() 468 OPENSSL_free(ctx->allocated_buf); in default_fixup_args() 469 ctx->allocated_buf = NULL; in default_fixup_args() 474 ctx->allocated_buf, in default_fixup_args() 588 ctx->allocated_buf = ctx->params->data; in default_fixup_args() 714 if (ctx->allocated_buf != NULL) in cleanup_translation_ctx() 715 OPENSSL_free(ctx->allocated_buf); in cleanup_translation_ctx() 716 ctx->allocated_buf = NULL; in cleanup_translation_ctx()
|
/third_party/musl/porting/liteos_a/user_debug/ldso/ |
D | dynlink.c | 624 void *allocated_buf=0; in map_library() local 645 allocated_buf = malloc(phsize); in map_library() 646 if (!allocated_buf) return 0; in map_library() 647 l = pread(fd, allocated_buf, phsize, eh->e_phoff); in map_library() 650 ph = ph0 = allocated_buf; in map_library() 811 free(allocated_buf); in map_library() 817 free(allocated_buf); in map_library()
|
/third_party/musl/porting/liteos_a/user/ldso/ |
D | dynlink.c | 624 void *allocated_buf=0; in map_library() local 645 allocated_buf = malloc(phsize); in map_library() 646 if (!allocated_buf) return 0; in map_library() 647 l = pread(fd, allocated_buf, phsize, eh->e_phoff); in map_library() 650 ph = ph0 = allocated_buf; in map_library() 811 free(allocated_buf); in map_library() 817 free(allocated_buf); in map_library()
|
/third_party/musl/ldso/ |
D | dynlink.c | 626 void *allocated_buf=0; in map_library() local 647 allocated_buf = malloc(phsize); in map_library() 648 if (!allocated_buf) return 0; in map_library() 649 l = pread(fd, allocated_buf, phsize, eh->e_phoff); in map_library() 652 ph = ph0 = allocated_buf; in map_library() 799 free(allocated_buf); in map_library() 805 free(allocated_buf); in map_library()
|