Home
last modified time | relevance | path

Searched refs:malloc (Results 2701 - 2725 of 4615) sorted by relevance

1...<<101102103104105106107108109110>>...185

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
H A Dregexec.c114 #define STATESETUP(m, nv) { (m)->space = malloc((nv)*(m)->g->nstates); \
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A Dregexec.c114 #define STATESETUP(m, nv) { (m)->space = malloc((nv)*(m)->g->nstates); \
/third_party/vixl/src/
H A Dcode-buffer-vixl.cc42 buffer_ = reinterpret_cast<byte*>(malloc(capacity_)); in CodeBuffer()
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_memory.h48 /// Construct an empty memory buffer using malloc.
53 /// Construct memory buffer of size bytes using malloc.
536 /// Uses new and delete for memory block object and malloc/free for underlying
560 T *retval = static_cast<T *> (malloc (size)); in allocate()
H A Ddng_memory_stream.cpp139 dng_memory_block **list = (dng_memory_block **) malloc (numBytes); in DoSetLength()
/third_party/protobuf/php/ext/google/protobuf/
H A Dnames.c64 sink->ptr = malloc(sink->size); in stringsink_init()
/third_party/rust/crates/libc/src/unix/bsd/apple/b64/x86_64/
H A Dmod.rs117 pub malloc: ::Option<unsafe extern "C" fn(
/third_party/selinux/libsepol/src/
H A Dpolicydb_public.c65 *sp = malloc(sizeof(sepol_policydb_t)); in sepol_policydb_create()
/third_party/skia/bench/
H A DSkSLBench.cpp503 #include <malloc.h>
/third_party/selinux/libsepol/cil/test/unit/
H A DCuTest.h37 #define CU_ALLOC(TYPE) ((TYPE*) malloc(sizeof(TYPE)))
H A Dtest_cil.c40 test_new_db = malloc(sizeof(*test_new_db)); in test_cil_symtab_array_init()
/third_party/selinux/secilc/
H A Dsecil2tree.c160 buffer = malloc(file_size); in main()
/third_party/vulkan-loader/loader/
H A Dallocation.c45 pMemory = malloc(size);
/vendor/hisilicon/hispark_pegasus/demo/histreaming_demo/
H A Dapp_demo_histreaming.c191 wifiIot = (LinkService*)malloc(sizeof(LinkService)); in HistreamingOpen()
193 printf("malloc wifiIot failure\n"); in HistreamingOpen()
/third_party/cups-filters/utils/
H A Dcups-browsed.c50 #include <avahi-common/malloc.h>
728 char *buf = (char*) malloc(sizeof(char)*buffer_size); in copyToFile()
884 copy->media_source = (char *)malloc(sizeof(char)*32); in copy_media()
888 copy->media_type = (char *)malloc(sizeof(char)*32);; in copy_media()
914 copy->pagesize = malloc(sizeof(char)*32); in copy_pagesize_count()
1079 copy->value = (char *)malloc(sizeof(char)*100); in copy_default_str()
1125 copy->res = (res_t *)malloc(sizeof(res_t)); in copy_counted_res()
1419 values[i]=malloc(sizeof(char) * (strlen(q) + 1)); in add_mimetype_attributes()
1491 values[i] = malloc(sizeof(char) * (strlen(q) + 1)); in add_tagzero_attributes()
1562 values[i] = malloc(sizeo in add_keyword_attributes()
[all...]
/third_party/exfatprogs/fsck/
H A Dfsck.c307 sect = malloc(sect_size); in boot_region_checksum()
376 bs = (struct pbr *)malloc(sizeof(struct pbr)); in read_boot_region()
459 sector = malloc(sect_size); in restore_boot_region()
503 boot_sect = malloc(sizeof(*boot_sect)); in exfat_boot_region_check()
680 char *rename = malloc(ENTRY_NAME_MAX + 2); in get_rename_from_user()
721 rename = malloc(ENTRY_NAME_MAX + 1); in generate_rename()
1070 upcase = (__le16 *)malloc(size); in read_upcase_table()
/third_party/backends/backend/
H A Ddc25.c1114 if ((gamma_table = malloc (range * sizeof (unsigned char))) == NULL) in make_gamma_table()
1235 malloc (sizeof (short) * HEIGHT * columns)) == NULL) in comet_to_pixmap()
1243 if ((red = malloc (sizeof (short) * HEIGHT * columns)) == NULL) in comet_to_pixmap()
1249 if ((green = malloc (sizeof (short) * HEIGHT * columns)) == NULL) in comet_to_pixmap()
1255 if ((blue = malloc (sizeof (short) * HEIGHT * columns)) == NULL) in comet_to_pixmap()
1429 if ((result = malloc (sizeof (struct pixmap))) != NULL) in alloc_pixmap()
1434 if (!(result->planes = malloc (x * y * d))) in alloc_pixmap()
H A Dmatsushita.c571 dev = malloc (sizeof (Matsushita_Scanner)); in matsushita_init()
581 dev->buffer = malloc (dev->buffer_size); in matsushita_init()
590 dev->image = malloc (dev->image_size); in matsushita_init()
751 psl = malloc ((sizeof (SANE_String_Const) + 1) * NELEMS (paper_sizes)); in matsushita_build_paper_sizes()
758 psv = malloc ((sizeof (int) + 1) * NELEMS (paper_sizes)); in matsushita_build_paper_sizes()
1760 devlist = malloc ((num_devices + 1) * sizeof (devlist[0])); in sane_get_devices()
2249 dev->image = malloc (dev->image_size); in sane_start()
/third_party/ntfs-3g/ntfsprogs/
H A Dntfsundelete.c236 pre = (regex_t)malloc(sizeof(struct REGEX) in regcomp()
305 ranges = (range *) malloc((p + 1) * sizeof(range)); in parse_inode_arg()
480 result = malloc(length + 3); in transform()
1360 file->mft = malloc(vol->mft_record_size); in read_record()
2003 buffer = malloc(bufsize); in undelete_file()
2243 buffer = malloc(BUFSIZE); in scan_disk()
2368 buffer = malloc(vol->mft_record_size); in copy_mft()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dsynthetic-events.c849 comm_event = malloc(sizeof(comm_event->comm) + machine->id_hdr_size); in perf_event__synthesize_thread_map()
853 mmap_event = malloc(sizeof(mmap_event->mmap2) + machine->id_hdr_size); in perf_event__synthesize_thread_map()
857 fork_event = malloc(sizeof(fork_event->fork) + machine->id_hdr_size); in perf_event__synthesize_thread_map()
861 namespaces_event = malloc(sizeof(namespaces_event->namespaces) + in perf_event__synthesize_thread_map()
932 comm_event = malloc(sizeof(comm_event->comm) + machine->id_hdr_size); in __perf_event__synthesize_threads()
936 mmap_event = malloc(sizeof(mmap_event->mmap2) + machine->id_hdr_size); in __perf_event__synthesize_threads()
940 fork_event = malloc(sizeof(fork_event->fork) + machine->id_hdr_size); in __perf_event__synthesize_threads()
944 namespaces_event = malloc(sizeof(namespaces_event->namespaces) + in __perf_event__synthesize_threads()
2289 ff.buf = malloc(sz); in perf_event__synthesize_features()
/test/xts/acts/multimedia/avsource/entry/src/main/cpp/
H A DmultimediaCore.cpp224 uint8_t *buffer = reinterpret_cast<uint8_t *>(malloc(sizeIn)); in MultimediaCoreAVFormatGetBufferOne()
242 uint8_t *buffer = reinterpret_cast<uint8_t *>(malloc(sizeIn)); in MultimediaCoreAVFormatGetBufferTwo()
260 uint8_t *buffer = reinterpret_cast<uint8_t *>(malloc(sizeIn)); in MultimediaCoreAVFormatGetBufferThree()
278 uint8_t *buffer = reinterpret_cast<uint8_t *>(malloc(sizeIn)); in MultimediaCoreAVFormatGetBufferFour()
295 uint8_t *buffer = reinterpret_cast<uint8_t *>(malloc(sizeIn)); in MultimediaCoreAVFormatGetBufferFive()
627 uint8_t *buffer = reinterpret_cast<uint8_t *>(malloc(sizeIn)); in MultimediaCoreAVFormatSetBufferOne()
642 uint8_t *buffer = reinterpret_cast<uint8_t *>(malloc(sizeIn)); in MultimediaCoreAVFormatSetBufferTwo()
657 uint8_t *buffer = reinterpret_cast<uint8_t *>(malloc(sizeIn)); in MultimediaCoreAVFormatSetBufferThree()
1352 uint8_t *buffer = reinterpret_cast<uint8_t *>(malloc(sizeIn)); in MultimediaCoreAVFormatSetBufferAll()
/third_party/pcre2/pcre2/src/
H A Dpcre2grep.c682 patstr *p = (patstr *)malloc(sizeof(patstr)); in add_pattern()
688 fprintf(stderr, "pcre2grep: malloc failed\n"); in add_pattern()
998 pattern = (char *)malloc(len + 3); in opendirectory()
999 dir = (directory_type *)malloc(sizeof(*dir)); in opendirectory()
1002 fprintf(stderr, "pcre2grep: malloc failed\n"); in opendirectory()
1380 omstr *om = (omstr *)malloc(sizeof(omstr)); in add_number()
1386 fprintf(stderr, "pcre2grep: malloc failed\n"); in add_number()
2379 args = (char*)malloc(argslen); in pcre2grep_callout()
2382 argsvector = (char**)malloc(argsvectorlen * sizeof(char*)); in pcre2grep_callout()
2690 new_buffer = (char *)malloc( in pcre2grep()
[all...]
/third_party/libfuse/lib/
H A Dfuse_lowlevel.c263 padded_iov = malloc((count + 1) * sizeof(struct iovec));
581 llp = malloc(sizeof(struct fuse_ll_pipe));
792 tmpbuf = malloc(headerlen);
951 fiov = malloc(sizeof(fiov[0]) * count);
1061 padded_iov = malloc((count + 2) * sizeof(struct iovec));
1863 ph = malloc(sizeof(struct fuse_pollhandle));
2498 rreq = malloc(sizeof(*rreq));
2664 mbuf = malloc(tmpbuf.buf[0].size);
2927 buf->mem = malloc(se->bufsize);
2964 buf->mem = malloc(s
[all...]
/third_party/icu/icu4c/source/test/cintltst/
H A Dcloctst.c306 testLocale=(char*)malloc(sizeof(char) * (strlen(rawData2[NAME][i])+1)); in TestBasicGetters()
313 temp=(char*)malloc(sizeof(char) * (cap+1)); in TestBasicGetters()
354 name=(char*)malloc(sizeof(char) * (cap+1)); in TestBasicGetters()
580 testLocale=(char*)malloc(sizeof(char) * 1); in TestSimpleResourceInfo()
581 expected=(UChar*)malloc(sizeof(UChar) * 1); in TestSimpleResourceInfo()
810 char* resultChars=(char*)malloc(cap); in TestDisplayNames()
858 result=(UChar*)malloc(sizeof(UChar) * length); in TestGetDisplayScriptPreFlighting21160()
1043 testLang=(UChar*)malloc(sizeof(UChar) * (maxresultsize+1)); in doTestDisplayNames()
1059 testScript=(UChar*)malloc(sizeof(UChar) * (maxresultsize+1)); in doTestDisplayNames()
1075 testCtry=(UChar*)malloc(sizeo in doTestDisplayNames()
[all...]
/applications/sample/camera/cameraApp/cameraApp/src/main/cpp/
H A Dcamera_manager.cpp82 char* cDstBuf = (char*)malloc(endpos - startpos); in SampleDealThumb()
109 pszFile = (char*)malloc(stStat.st_size); in SampleGetThmFromJpg()
118 printf("memory malloc fail!\n"); in SampleGetThmFromJpg()

Completed in 41 milliseconds

1...<<101102103104105106107108109110>>...185