Home
last modified time | relevance | path

Searched refs:malloc (Results 76 - 100 of 2687) sorted by relevance

12345678910>>...108

/test/xts/acts/distributed_schedule_lite/system_ability_manager_hal/src/
H A Dsendrequest_func_test.c163 demoFeature->latestRequest = (char *)malloc(requestLen * sizeof(char)); in FEATURE_OnMessage()
210 demoFeature->latestRequest = (char *)malloc(requestLen * sizeof(char)); in FEATURE_OnMessage02()
257 demoFeature->latestRequest = (char *)malloc(requestLen * sizeof(char)); in FEATURE_OnMessage03()
447 request.data = malloc(request.len);
484 request.data = malloc(request.len);
521 request.data = malloc(request.len);
578 request.data = malloc(request.len);
624 request2.data = malloc(request2.len);
650 request.data = malloc(request.len);
684 request.data = malloc(reques
[all...]
H A Dtaskpool_sharedtask_func_test.c311 request.data = malloc(request.len);
333 request2.data = malloc(request2.len);
362 request.data = malloc(request.len);
384 request2.data = malloc(request2.len);
409 request.data = malloc(request.len);
422 request2.data = malloc(request2.len);
447 request1.data = malloc(request1.len);
460 request2.data = malloc(request2.len);
H A Dtaskpool_singletask_func_test.c180 Node *node = (Node *)malloc(sizeof(Node)); in Initialize()
357 request.data = malloc(request.len);
381 request2.data = malloc(request2.len);
413 request.data = malloc(request.len);
436 request2.data = malloc(request2.len);
468 request.data = malloc(request.len);
491 request2.data = malloc(request2.len);
523 request.data = malloc(request.len);
546 request2.data = malloc(request2.len);
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Ddirent1ndk.cpp70 DIR *dir = static_cast<DIR *>(malloc(SIZE_4096)); in Telldir()
95 DIR *dir = static_cast<DIR *>(malloc(SIZE_4096)); in Readdir()
128 DIR *dir = static_cast<DIR *>(malloc(SIZE_4096)); in ReaddirR()
156 DIR *dir = static_cast<DIR *>(malloc(SIZE_4096)); in Readdir64()
189 DIR *dir = static_cast<DIR *>(malloc(SIZE_4096)); in Readdir64R()
224 DIR *dir = static_cast<DIR *>(malloc(SIZE_4096)); in Rewinddir()
285 DIR *dir = static_cast<DIR *>(malloc(SIZE_4096)); in CloseDir()
309 DIR *dir = static_cast<DIR *>(malloc(SIZE_4096)); in DirFd()
/test/xts/acts/distributed_schedule_lite/system_ability_manager_posix/src/
H A DTaskpoolSharedTaskTest.cpp316 request.data = malloc(request.len); in HWTEST_F()
340 request2.data = malloc(request2.len); in HWTEST_F()
372 request.data = malloc(request.len); in HWTEST_F()
396 request2.data = malloc(request2.len); in HWTEST_F()
424 request.data = malloc(request.len); in HWTEST_F()
440 request2.data = malloc(request2.len); in HWTEST_F()
468 request1.data = malloc(request1.len); in HWTEST_F()
484 request2.data = malloc(request2.len); in HWTEST_F()
H A DTaskpoolSingleTaskTest.cpp183 Node *node = (Node *)malloc(sizeof(Node)); in Initialize()
368 request.data = malloc(request.len); in HWTEST_F()
392 request2.data = malloc(request2.len); in HWTEST_F()
424 request.data = malloc(request.len); in HWTEST_F()
447 request2.data = malloc(request2.len); in HWTEST_F()
479 request.data = malloc(request.len); in HWTEST_F()
502 request2.data = malloc(request2.len); in HWTEST_F()
534 request.data = malloc(request.len); in HWTEST_F()
557 request2.data = malloc(request2.len); in HWTEST_F()
/third_party/node/deps/v8/third_party/ittapi/src/ittnotify/
H A Dittnotify_config.h456 h = (__itt_thread_info*)malloc(sizeof(__itt_thread_info)); \
473 h = (__itt_thread_info*)malloc(sizeof(__itt_thread_info)); \
490 h = (__itt_domain*)malloc(sizeof(__itt_domain)); \
506 h = (__itt_domain*)malloc(sizeof(__itt_domain)); \
522 h = (__itt_string_handle*)malloc(sizeof(__itt_string_handle)); \
537 h = (__itt_string_handle*)malloc(sizeof(__itt_string_handle)); \
552 h = (__itt_counter_info_t*)malloc(sizeof(__itt_counter_info_t)); \
569 h = (__itt_counter_info_t*)malloc(sizeof(__itt_counter_info_t)); \
/third_party/libphonenumber/cpp/src/phonenumbers/ohos/
H A Dupdate_geocoding.cc92 curLanguageCodes = (const char **)malloc(sizeof(char*) * curLength); in UpdateLanguageCodes()
144 int32_t* prefixes = (int32_t*)malloc(sizeof(int32_t) * prefixesSize); in AddPrefixDescriptions()
149 const char** descriptions = (const char **)malloc(sizeof(char*) * prefixesSize); in AddPrefixDescriptions()
156 int32_t* possibleLengths = (int32_t*)malloc(sizeof(int32_t) * lengthsSize); in AddPrefixDescriptions()
261 curCountryCodes = (int *)malloc(sizeof(int) * curLength); in UpdateCountryCodes()
314 const char** availableLanguages = (const char **)malloc(sizeof(char*) * availableLanguagesSize); in AddCountryLanguages()
321 char* temp = (char *)malloc(len); in AddCountryLanguages()
369 char* result = (char*)malloc(len); in WriteStr()
/third_party/musl/porting/linux/user/src/sched/
H A Dsched_cpualloc.c3 #include <malloc.h>
10 return (cpu_set_t*) malloc(CPU_ALLOC_SIZE(count)); // NOLINT in __sched_cpualloc()
/third_party/musl/src/sched/
H A Dsched_cpualloc.c18 #include <malloc.h>
25 return (cpu_set_t*) malloc(CPU_ALLOC_SIZE(count)); // NOLINT in __sched_cpualloc()
/third_party/mesa3d/src/imagination/vulkan/pds/
H A Dpvr_pds_disasm.c66 error.text = malloc(PVR_PDS_MAX_INST_STR_LEN); in error_reg_range()
288 struct pvr_add *add = malloc(sizeof(*add)); in pvr_pds_disassemble_instruction_add64()
329 struct pvr_add *add = malloc(sizeof(*add)); in pvr_pds_disassemble_instruction_add32()
370 struct pvr_stm *stm = malloc(sizeof(*stm)); in pvr_pds_disassemble_instruction_stm()
426 struct pvr_sftlp *ins = malloc(sizeof(*ins)); in pvr_pds_disassemble_instruction_sftlp32()
488 struct pvr_sftlp *ins = malloc(sizeof(*ins)); in pvr_pds_disassemble_instruction_sftlp64()
548 struct pvr_cmp *cmp = malloc(sizeof(*cmp)); in pvr_pds_disassemble_instruction_cmp()
594 struct pvr_ldst *ins = malloc(sizeof(*ins)); in pvr_pds_disassemble_instruction_sp_ld_st()
616 struct pvr_stmc *stmc = malloc(sizeof(*stmc)); in pvr_pds_disassemble_instruction_sp_stmc()
641 struct pvr_limm *limm = malloc(sizeo in pvr_pds_disassemble_instruction_sp_limm()
[all...]
/third_party/jerryscript/jerry-core/ext/
H A Dext-utils.c21 return malloc(size); in JerryExtAlloc()
26 return (char*)malloc(size); in JerryExtAllocStr()
/third_party/musl/libc-test/src/gwp_asan/
H A Dfork_simple_test.c16 #include <malloc.h>
24 void *ptr = malloc(20); in process_task()
H A Drandom_sample_test.c16 #include <malloc.h>
31 void *ptr = malloc(SIZE_OF_SINGLE_MALLOC); in main()
33 t_error("FAIL malloc failed!\n"); in main()
/third_party/musl/libc-test/src/regression/
H A Dmalloc-pressure.c1 #include <malloc.h>
16 void *ptr = malloc(size); in main()
/third_party/musl/src/locale/
H A Dduplocale.c6 #define malloc __libc_malloc macro
13 locale_t new = malloc(sizeof *new); in __duplocale()
/third_party/musl/libc-test/src/functionalext/supplement/malloc/
H A Dmalloc_usable_size.c16 #include <malloc.h>
28 void *p = malloc(TEST_MALLOC_SIZE); in malloc_usable_size_0100()
/third_party/musl/libc-test/src/functionalext/supplement/malloc/malloc_gtest/
H A Dmalloc_free_test.cpp2 #include <malloc.h>
15 * @tc.desc: This test verifies that after using the malloc function for dynamic memory allocation, when calling the
22 int* memoryBlock = static_cast<int*>(malloc(sizeof(int))); in HWTEST_F()
/third_party/curl/lib/
H A Dsocks_sspi.c110 service_name = malloc(service_length + in Curl_SOCKS5_gssapi_negotiate()
297 sspi_recv_token.pvBuffer = malloc(us_length); in Curl_SOCKS5_gssapi_negotiate()
407 sspi_w_token[0].pvBuffer = malloc(sspi_sizes.cbSecurityTrailer); in Curl_SOCKS5_gssapi_negotiate()
415 sspi_w_token[1].pvBuffer = malloc(1); in Curl_SOCKS5_gssapi_negotiate()
425 sspi_w_token[2].pvBuffer = malloc(sspi_sizes.cbBlockSize); in Curl_SOCKS5_gssapi_negotiate()
447 sspi_send_token.pvBuffer = malloc(sspi_send_token.cbBuffer); in Curl_SOCKS5_gssapi_negotiate()
538 sspi_w_token[0].pvBuffer = malloc(us_length); in Curl_SOCKS5_gssapi_negotiate()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/tests/
H A Drc_test_helpers.c411 dst_str = malloc(sizeof(char) * (tokens.Dst.Length + 1)); in parse_rc_normal_instruction()
424 src_str = malloc(sizeof(char) * in parse_rc_normal_instruction()
485 newlist = malloc(sizeof(struct rc_constant) * constants->_Reserved); in add_constant()
512 struct rc_regalloc_state *rs = malloc(sizeof(struct rc_regalloc_state)); in init_compiler()
583 test->input = malloc(sizeof(char *) * test->num_input_lines); in load_program()
584 test->expected = malloc(sizeof(char *) * test->num_expected_lines); in load_program()
602 dst = string_store[i++] = malloc((strlen(line) + 1) * in load_program()
/test/xts/acts/time/timeNDKTest/entry/src/main/cpp/
H A Dnapi_init.cpp47 char *bufTmp = static_cast<char *>(malloc(len + 1)); in GetTimezone_0200()
64 char *bufTmp = static_cast<char *>(malloc(len + 1)); in GetTimezone_0300()
81 char *bufTmp = static_cast<char *>(malloc(len + 1)); in GetTimezone_0400()
/test/xts/hats/kernel/freelist/modify_pointer/
H A DMalloc_modify_pointer.cpp89 p0 = malloc(MALLOC_SIZE_S); in child()
91 tmp[0] = malloc(MALLOC_SIZE_S); in child()
103 tmp[i] = malloc(MALLOC_SIZE_S); in child()
/third_party/libuv/docs/code/pipe-echo-server/
H A Dmain.c26 buf->base = malloc(suggested_size); in alloc_buffer()
39 write_req_t *req = (write_req_t*) malloc(sizeof(write_req_t)); in echo_read()
60 uv_pipe_t *client = (uv_pipe_t*) malloc(sizeof(uv_pipe_t)); in on_new_connection()
/third_party/libuv/docs/code/multi-echo-server/
H A Dmain.c27 buf->base = malloc(suggested_size); in alloc_buffer()
37 uv_tcp_t *client = (uv_tcp_t*) malloc(sizeof(uv_tcp_t)); in on_new_connection()
40 uv_write_t *write_req = (uv_write_t*) malloc(sizeof(uv_write_t)); in on_new_connection()
H A Dworker.c23 buf->base = malloc(suggested_size); in alloc_buffer()
36 write_req_t *req = (write_req_t*) malloc(sizeof(write_req_t)); in echo_read()
68 uv_tcp_t *client = (uv_tcp_t*) malloc(sizeof(uv_tcp_t)); in on_new_connection()

Completed in 15 milliseconds

12345678910>>...108