Home
last modified time | relevance | path

Searched refs:malloc (Results 101 - 125 of 2531) sorted by relevance

12345678910>>...102

/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/
H A Dtirpc_toplevel_clnt_call_complex.c132 resTbl = malloc(threadNb * sizeof(struct RES)); in main()
142 thread_array_result = malloc(threadNb * sizeof(int)); in main()
147 pThreadArray = malloc(threadNb * sizeof(pthread_t)); in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/
H A Dtirpc_bottomlevel_clnt_call_complex.c160 resTbl = malloc(threadNb * sizeof(struct RES)); in main()
170 thread_array_result = malloc(threadNb * sizeof(int)); in main()
174 pThreadArray = malloc(threadNb * sizeof(pthread_t)); in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/
H A Dtirpc_rpcb_rmtcall_complex.c153 resTbl = malloc(threadNb * sizeof(struct RES)); in main()
163 thread_array_result = malloc(threadNb * sizeof(int)); in main()
168 pThreadArray = malloc(threadNb * sizeof(pthread_t)); in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/
H A Dtirpc_interlevel_clnt_call_complex.c143 resTbl = malloc(threadNb * sizeof(struct RES)); in main()
153 thread_array_result = malloc(threadNb * sizeof(int)); in main()
158 pThreadArray = malloc(threadNb * sizeof(pthread_t)); in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/
H A Dtirpc_rpc_call_complex.c120 resTbl = malloc(threadNb * sizeof(struct RES)); in main()
130 thread_array_result = malloc(threadNb * sizeof(int)); in main()
135 pThreadArray = malloc(threadNb * sizeof(pthread_t)); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/
H A D1-1.c80 bufs = malloc(NUM_AIOCBS * BUF_SIZE); in main()
83 printf(TNAME " Error at malloc(): %s\n", strerror(errno)); in main()
88 aiocbs = malloc(sizeof(struct aiocb *) * NUM_AIOCBS); in main()
93 aiocbs[i] = malloc(sizeof(struct aiocb)); in main()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_remove_constants.c79 const_used = malloc(c->Program.Constants.Count); in rc_remove_unused_constants()
101 remap_table = malloc(c->Program.Constants.Count * sizeof(unsigned)); in rc_remove_unused_constants()
102 inv_remap_table = malloc(c->Program.Constants.Count * sizeof(unsigned)); in rc_remove_unused_constants()
/third_party/pcre2/pcre2/src/
H A Dpcre2_maketables.c64 part of the library, the store is obtained via a general context malloc, if
66 freestanding auxiliary program) malloc() is used, and the function has a
78 uint8_t *yield = (uint8_t *)malloc(TABLES_LENGTH);
85 gcontext->memctl.malloc(TABLES_LENGTH, gcontext->memctl.memory_data) :
86 malloc(TABLES_LENGTH));
/third_party/skia/third_party/externals/libjpeg-turbo/
H A Djdatadst-tj.c26 #ifndef HAVE_STDLIB_H /* <stdlib.h> should declare malloc(),free() */
27 extern void *malloc(size_t size);
99 nextbuffer = (JOCTET *)malloc(nextsize); in METHODDEF()
144 * The standard library functions malloc/free are used for allocating
190 dest->newbuffer = *outbuffer = (unsigned char *)malloc(OUTPUT_BUF_SIZE); in jpeg_mem_dest_tj()
/third_party/skia/third_party/externals/expat/expat/tests/
H A Dmemcheck.c57 AllocationEntry *entry = malloc(sizeof(AllocationEntry)); in tracking_malloc()
64 entry->allocation = malloc(size); in tracking_malloc()
130 /* By definition, this is equivalent to malloc(size) */ in tracking_realloc()
143 entry = malloc(sizeof(AllocationEntry)); in tracking_realloc()
/third_party/selinux/checkpolicy/
H A Dqueue.c17 q = (queue_t) malloc(sizeof(struct queue_info)); in queue_create()
33 newnode = (queue_node_ptr_t) malloc(sizeof(struct queue_node)); in queue_insert()
57 newnode = (queue_node_ptr_t) malloc(sizeof(struct queue_node)); in queue_push()
/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()
/third_party/cups-filters/cupsfilters/
H A Dimage-png.c172 in = malloc(img->xsize); in _cupsImageReadPNG()
174 in = malloc(img->xsize * 3); in _cupsImageReadPNG()
211 in = malloc(bufsize); in _cupsImageReadPNG()
215 out = malloc(img->xsize * bpp); in _cupsImageReadPNG()
/third_party/libbpf/src/
H A Dbpf_prog_linfo.c127 prog_linfo->raw_linfo = malloc(data_sz); in bpf_prog_linfo__new()
147 prog_linfo->raw_jited_linfo = malloc(data_sz); in bpf_prog_linfo__new()
154 prog_linfo->nr_jited_linfo_per_func = malloc(nr_jited_func * in bpf_prog_linfo__new()
163 prog_linfo->jited_linfo_func_idx = malloc(nr_jited_func * in bpf_prog_linfo__new()
/third_party/musl/porting/liteos_a/user/src/network/
H A Dent.c88 if ((hd = malloc(sizeof(struct hostdata))) == NULL) { in gethostent()
114 if ((hd = malloc(sizeof(struct hostdata))) == NULL) { in sethostent()
170 if ((nd = malloc(sizeof(struct netdata))) == NULL) { in getnetent()
196 if ((nd = malloc(sizeof(struct netdata))) == NULL) { in setnetent()
/third_party/musl/src/network/
H A Dent.c96 if ((hd = malloc(sizeof(struct hostdata))) == NULL) { in sethostent()
114 if ((hd = malloc(sizeof(struct hostdata))) == NULL) { in gethostent()
174 if ((nd = malloc(sizeof(struct netdata))) == NULL) { in getnetent()
218 if ((nd = malloc(sizeof(struct netdata))) == NULL) { in setnetent()
/third_party/nghttp2/tests/
H A Dnghttp2_map_test.c171 strentry *foo = mem->malloc(sizeof(strentry), NULL), in test_nghttp2_map_each_free()
172 *bar = mem->malloc(sizeof(strentry), NULL), in test_nghttp2_map_each_free()
173 *baz = mem->malloc(sizeof(strentry), NULL), in test_nghttp2_map_each_free()
174 *shrubbery = mem->malloc(sizeof(strentry), NULL); in test_nghttp2_map_each_free()
/third_party/ltp/testcases/kernel/sched/tool/
H A Dtrace_sched.c379 args_table = malloc(num_thrd * sizeof(thread_sched_t *)); in main()
381 perror("main(): malloc failed"); in main()
385 args_table[thrd_ndx] = malloc(sizeof(thread_sched_t)); in main()
387 perror("main(): malloc failed"); in main()
406 status_table = malloc(num_thrd * sizeof(thread_sched_t *)); in main()
408 perror("main(): malloc failed"); in main()
412 status_table[thrd_ndx] = malloc(sizeof(thread_sched_t)); in main()
414 perror("main(): malloc failed"); in main()
/third_party/skia/third_party/externals/microhttpd/doc/examples/
H A Dtlsauthentication.c36 tmp = malloc (length * 2); in string_to_base64()
101 buffer = malloc (size); in load_file()
131 headervalue = malloc (strlen (strbase) + strlen (realm) + 1); in ask_for_authentication()
170 expected = malloc (strlen (username) + 1 + strlen (password) + 1); in is_authenticated()
/third_party/vk-gl-cts/framework/delibs/debase/
H A DdeMemory.c41 # include <malloc.h>
45 # include <malloc.h>
70 ptr = malloc((size_t)numBytes); in deMalloc()
266 char* copy = malloc(len+1); in deStrdup()
/third_party/curl/lib/vauth/
H A Dkrb5_sspi.c135 krb5->output_token = malloc(krb5->token_max); in Curl_auth_create_gssapi_user_message()
344 trailer = malloc(sizes.cbSecurityTrailer); in Curl_auth_create_gssapi_security_message()
352 message = malloc(messagelen); in Curl_auth_create_gssapi_security_message()
372 padding = malloc(sizes.cbBlockSize); in Curl_auth_create_gssapi_security_message()
411 appdata = malloc(appdatalen); in Curl_auth_create_gssapi_security_message()
/third_party/icu/icu4c/source/test/cintltst/
H A Dnfsprep.c81 b1 = (UChar*) malloc(b1Len * U_SIZEOF_UCHAR); in nfs4_prepare()
97 b2 = (UChar*) malloc(b2Len * U_SIZEOF_UCHAR); in nfs4_prepare()
109 b3 = (char*) malloc(b3Len); in nfs4_prepare()
239 p = (char*) malloc(pLen); in nfs4_mixed_prepare()
252 s = (char*) malloc(pLen); in nfs4_mixed_prepare()
/third_party/skia/third_party/externals/microhttpd/src/testcurl/https/
H A Dtls_test_common.c78 if (NULL == (cbc.buf = malloc (sizeof (char) * len))) in test_daemon_get()
272 if (NULL == (doc_path = malloc (doc_path_len))) in gen_test_file_url()
324 if (NULL == (cbc.buf = malloc (sizeof (char) * len))) in test_https_transfer()
398 key->data = malloc (key->size); in setup_session()
406 cert->data = malloc (cert->size); in setup_session()
/third_party/python/Python/
H A Dhashtable.c222 entry = ht->alloc.malloc(sizeof(_Py_hashtable_entry_t)); in _Py_hashtable_set()
288 _Py_slist_t *new_buckets = ht->alloc.malloc(buckets_size); in hashtable_rehash()
324 alloc.malloc = PyMem_Malloc; in _Py_hashtable_new_full()
331 _Py_hashtable_t *ht = (_Py_hashtable_t *)alloc.malloc(sizeof(_Py_hashtable_t)); in _Py_hashtable_new_full()
340 ht->buckets = alloc.malloc(buckets_size); in _Py_hashtable_new_full()

Completed in 12 milliseconds

12345678910>>...102