Home
last modified time | relevance | path

Searched refs:alloca (Results 26 - 50 of 216) sorted by relevance

123456789

/third_party/musl/porting/uniproton/kernel/src/regex/
H A Dtre.h212 /* alloca() versions. Like above, but memory is allocated with alloca()
216 tre_mem_new_impl(1, alloca(sizeof(struct tre_mem_struct)))
221 : tre_mem_alloc_impl((mem), 1, alloca(TRE_MEM_BLOCK_SIZE), 0, (size)))
/third_party/musl/src/regex/
H A Dtre.h211 /* alloca() versions. Like above, but memory is allocated with alloca()
215 tre_mem_new_impl(1, alloca(sizeof(struct tre_mem_struct)))
220 : tre_mem_alloc_impl((mem), 1, alloca(TRE_MEM_BLOCK_SIZE), 0, (size)))
/third_party/libdrm/amdgpu/
H A Damdgpu_cs.c32 # include <alloca.h>
269 chunks = alloca(sizeof(struct drm_amdgpu_cs_chunk) * size); in amdgpu_cs_submit_one()
273 chunk_data = alloca(sizeof(struct drm_amdgpu_cs_chunk_data) * size); in amdgpu_cs_submit_one()
314 dependencies = alloca(sizeof(struct drm_amdgpu_cs_chunk_dep) * in amdgpu_cs_submit_one()
344 sem_dependencies = alloca(sizeof(struct drm_amdgpu_cs_chunk_dep) * sem_count); in amdgpu_cs_submit_one()
511 drm_fences = alloca(sizeof(struct drm_amdgpu_fence) * fence_count); in amdgpu_ioctl_wait_fences()
891 chunk_array = alloca(sizeof(uint64_t) * num_chunks); in amdgpu_cs_submit_raw()
920 chunk_array = alloca(sizeof(uint64_t) * num_chunks); in amdgpu_cs_submit_raw2()
/third_party/alsa-lib/src/ucm/
H A Ducm_exec.c68 path = alloca(strlen(tmp) + 1); in find_exec()
113 s = alloca(strlen(cmd) + 1); in parse_args()
/third_party/openssl/ohos_lite/crypto/
H A Dcryptlib.c181 # define alloca _alloca macro
231 name = (WCHAR *)alloca(len + sizeof(WCHAR)); in OPENSSL_isservice()
297 fmtw = (WCHAR *)alloca(len_0 * sizeof(WCHAR)); in OPENSSL_showfatal()
/third_party/python/Modules/_ctypes/libffi_osx/x86/
H A Dx86-ffi_darwin.c201 ecif.rvalue = alloca(cif->rtype->size); in ffi_call()
250 arg_area = (void**) alloca (cif->nargs * sizeof (void*));
413 ecif.rvalue = alloca(cif->rtype->size); in ffi_raw_call()
H A Dx86-ffi64.c456 rvalue = alloca (cif->rtype->size); in ffi_call()
459 stack = alloca(sizeof(RegisterArgs) + cif->bytes + 4 * 8); in ffi_call()
629 void** avalue = alloca(cif->nargs * sizeof(void *)); in ffi_closure_unix64_inner()
715 char *a = alloca (16); in ffi_closure_unix64_inner()
/third_party/mesa3d/src/microsoft/compiler/
H A Ddxil_dump.c412 case INSTR_ALLOCA: dump_instr_alloca(d, &instr->alloca); break; in dump_instrs()
525 dump_instr_alloca(struct dxil_dumper *d, struct dxil_instr_alloca *alloca) in dump_instr_alloca() argument
527 _mesa_string_buffer_append(d->buf, "alloca "); in dump_instr_alloca()
528 dump_type_name(d, alloca->alloc_type); in dump_instr_alloca()
530 dump_type_name(d, alloca->size_type); in dump_instr_alloca()
532 dump_value(d, alloca->size); in dump_instr_alloca()
534 unsigned align = alloca->align & align_mask; in dump_instr_alloca()
/third_party/backends/lib/
H A Dalloca.c0 /* alloca.c -- allocate automatically reclaimed memory
4 This implementation of the PWB library alloca function,
15 track of all alloca-allocated blocks, and reclaim any
20 As a special case, alloca(0) reclaims storage without
21 allocating any. It is a good idea to use alloca(0) in
39 /* If someone has defined alloca as a macro,
40 there must be some other way alloca is supposed to work. */
41 #ifndef alloca
76 malloc. The Emacs executable needs alloca to call xmalloc, because
78 hand, the utilities in lib-src need alloca t
163 alloca (size) alloca() function
[all...]
/third_party/libunwind/libunwind/tests/
H A Dforker.c45 child_argv = alloca ((argc - 1) * sizeof (char *)); in main()
/third_party/mesa3d/src/mesa/main/
H A Dglthread_list.c46 uint32_t *lists = alloca(max_list_count * sizeof(uint32_t)); in _mesa_unmarshal_CallList()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
H A DLLVMReactorDebugInfo.cpp359 // To handle this, always promote named RValues to an alloca. in emitPending()
362 auto alloca = new llvm::AllocaInst(value->getType(), 0, pending.name); in emitPending() local
363 entryBlock.getInstList().push_front(alloca); in emitPending()
364 builder->CreateStore(value, alloca); in emitPending()
365 value = alloca; in emitPending()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dtest_lsm.c32 buf = alloca(sz * 3); in stack_mprotect()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dtest_lsm.c31 buf = alloca(sz * 3); in stack_mprotect()
/third_party/backends/backend/
H A Depson_scsi.c101 cmd = alloca (8 + buf_size); in sanei_epson_scsi_write()
H A Dpieusb_buffer.c95 #include <alloca.h>
331 uint8_t *packet = (uint8_t *)alloca(buffer->packet_size_bytes * sizeof(uint8_t)); in sanei_pieusb_buffer_put_single_color_line()
424 uint8_t *packet = (uint8_t *)alloca(buffer->packet_size_bytes * sizeof(uint8_t)); in sanei_pieusb_buffer_put_full_color_line()
/third_party/alsa-lib/src/control/
H A Deld.c84 s = alloca(l + 1); in __snd_pcm_info_eld_fixup()
/third_party/musl/porting/liteos_m/user/include/
H A Dstring.h89 #define strdupa(x) strcpy(alloca(strlen(x)+1),x)
/third_party/musl/porting/linux/user/include/
H A Dstring.h91 #define strdupa(x) strcpy(alloca(strlen(x)+1),x)
/third_party/musl/porting/uniproton/kernel/include/
H A Dstring.h89 #define strdupa(x) strcpy(alloca(strlen(x)+1),x)
/third_party/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/
H A Dht_utils.c6 #include <alloca.h>
/third_party/ltp/testcases/kernel/sched/hyperthreading/ht_enabled/
H A Dht_utils.c6 #include <alloca.h>
/third_party/musl/include/
H A Dstring.h92 #define strdupa(x) strcpy(alloca(strlen(x)+1),x)
/third_party/skia/third_party/externals/angle2/src/compiler/preprocessor/
H A Dpreprocessor_tab_autogen.cpp302 /* The parser invokes alloca or malloc; define the necessary symbols. */
309 # include <alloca.h> /* INFRINGES ON USER NAME SPACE */
314 # define alloca _alloca macro
316 # define YYSTACK_ALLOC alloca
338 invoke alloca (N) if N exceeds 4096. Use a slightly smaller number
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/preprocessor/
H A DExpressionParser.cpp325 /* The parser invokes alloca or malloc; define the necessary symbols. */
332 # include <alloca.h> /* INFRINGES ON USER NAME SPACE */
337 # define alloca _alloca macro
339 # define YYSTACK_ALLOC alloca
357 invoke alloca (N) if N exceeds 4096. Use a slightly smaller number

Completed in 17 milliseconds

123456789