HomeSort by relevance Sort by last modified time
    Searched refs:malloc (Results 1551 - 1575 of 2813) sorted by null

<<61626364656667686970>>

  /external/fsck_msdos/
dir.c 122 if (!(de = (struct dosDirEntry *)malloc(sizeof *de)))
147 if (!(dt = (struct dirTodoNode *)malloc(sizeof *dt)))
233 if (!(buffer = malloc(b1 > b2 ? b1 : b2))
234 || !(delbuf = malloc(b2))
469 buf = malloc(last);
471 perror("Unable to malloc");
1038 lfbuf = malloc(boot->ClusterSize);
  /external/giflib/
dgif_lib.c 97 GifFile = (GifFileType *)malloc(sizeof(GifFileType));
106 Private = (GifFilePrivateType *)malloc(sizeof(GifFilePrivateType));
176 GifFile = (GifFileType *)malloc(sizeof(GifFileType));
184 Private = (GifFilePrivateType *)malloc(sizeof(GifFilePrivateType));
392 (SavedImage *) malloc(sizeof(SavedImage))) == NULL) {
    [all...]
  /external/hyphenation/
hyphen.c 42 #include <stdlib.h> /* for NULL, malloc */
872 *rep = (char **) malloc(sizeof(char *) * word_size);
873 *pos = (int *) malloc(sizeof(int) * word_size);
874 *cut = (int *) malloc(sizeof(int) * word_size);
941 *rep = (char **) malloc(sizeof(char *) * word_size);
942 *pos = (int *) malloc(sizeof(int) * word_size);
943 *cut = (int *) malloc(sizeof(int) * word_size);
    [all...]
  /external/icu4c/test/cintltst/
cdtrgtst.c 75 pat=(UChar*)malloc(sizeof(UChar) * resultlength);
90 temp=(UChar*)malloc(sizeof(UChar) * 10);
220 myDate=(UChar*)malloc(sizeof(UChar) * 11);
253 pat=(UChar*)malloc(sizeof(UChar) * (resultlength));
398 datestr=(UChar*)malloc(sizeof(UChar) * (strlen(tests[i])+1));
408 datestr=(UChar*)malloc(sizeof(UChar) * (strlen(tests[i+1])+1));
610 /*result1=(UChar*)malloc(sizeof(UChar) * resultlength);*/ /*this leaks*/
crestst.c 342 base=(UChar*)malloc(sizeof(UChar)*(strlen(NAME[j]) + 1));
352 base = (UChar*) malloc(sizeof(UChar) * 1);
385 expected_string=(UChar*)malloc(sizeof(UChar)*(u_strlen(base) + 3));
391 expected_string = (UChar*)malloc(sizeof(UChar)*(u_strlen(kERROR) + 1));
774 char* fileName = (char*) malloc(uprv_strlen(testdatapath) +10);
783 char* buf = (char*) malloc(bufLen);
    [all...]
callcoll.c 402 sortKey1 =(uint8_t*)malloc(sizeof(uint8_t) * (sortklenmax+1));
403 sortKey1a=(uint8_t*)malloc(sizeof(uint8_t) * (sortklenmax+1));
407 sortKey2 =(uint8_t*)malloc(sizeof(uint8_t) * (sortklenmax+1));
408 sortKey2a=(uint8_t*)malloc(sizeof(uint8_t) * (sortklenmax+1));
478 OrderAndOffset *orders =(OrderAndOffset *)malloc(sizeof(OrderAndOffset) * maxSize);
487 temp = (OrderAndOffset *)malloc(sizeof(OrderAndOffset) * maxSize);
504 temp = (OrderAndOffset *)malloc(sizeof(OrderAndOffset) * size);
    [all...]
udatatst.c 114 free(malloc(q));
115 malloc(q*2);
137 char* path=(char*)malloc(sizeof(char) * (strlen(ctest_dataOutDir())
169 icuDataFilePath = (char *)malloc(strlen(path) + 10);
208 icuDataFilePath = (char *)malloc(strlen(ctest_dataOutDir()) + 50);
276 /* icuDataFilePath = (char *)malloc(strlen(u_getDataDirectory()) + 50); */
465 retStr = (char *)malloc(strlen(dataDir)+1);
    [all...]
nucnvtst.c     [all...]
  /external/opencv/cvaux/src/
decomppoly.cpp 46 #include <malloc.h>
164 pointExist = ( int* )malloc( num * sizeof( int ) );
552 memory = ( int* )malloc( sizeof( int ) * ( numVtx * 2
  /external/ppp/pppd/
options.c 472 path = malloc(pl);
503 path = malloc(pl);
768 ovp = malloc(sizeof(*ovp) + strlen(*argv));
845 list = malloc(sizeof(*list));
    [all...]
main.c 384 if (argc == 0 || (argv = malloc(sizeof(char *) * argc)) == NULL) {
1264 if ((newp = (struct callout *) malloc(sizeof(struct callout))) == NULL)
    [all...]
  /frameworks/native/cmds/installd/
utils.c 388 int8_t* res = (int8_t*)malloc(len+sizeof(void*));
406 int8_t* newBlock = malloc(CACHE_BLOCK_SIZE);
867 rec->path = malloc(dst_size);
889 dst->path = (char*) malloc(dstSize);
968 char *result = malloc(len);
984 char *result = malloc(len);
  /ndk/sources/host-tools/make-3.81/w32/subproc/
sub_proc.c 267 pproc = malloc(sizeof(*pproc));
332 pproc = malloc(sizeof(*pproc));
356 fname = malloc(strlen(exec_path) + 5);
611 pproc->outp = malloc(bufsize);
643 pproc->errp = malloc(bufsize);
1076 command_line = (char*) malloc(bytes_required);
  /system/extras/ext4_utils/
allocate.c 71 struct block_allocation *alloc = malloc(sizeof(struct block_allocation));
95 struct xattr_list_element *element = malloc(sizeof(struct xattr_list_element));
161 reg = malloc(sizeof(struct region));
369 reg = malloc(sizeof(struct region));
420 reg = malloc(sizeof(struct region));
590 new = malloc(sizeof(struct region));
  /dalvik/tools/dmtracedump/
TraceDump.c 735 pKeys->threads = (ThreadEntry*) malloc(sizeof(ThreadEntry) * count);
794 pKeys->methods = (MethodEntry*) malloc(sizeof(MethodEntry) * count);
960 pKeys->fileData = (char*) malloc(pKeys->fileLen);
    [all...]
  /external/netperf/
nettest_dlpi.c 34 #include <malloc.h>
148 /* of the transport. This buffer will be malloc'd after we have found */
843 message = (char *)malloc(recv_size * 2);
845 printf("malloc(%d) failed!\n", recv_size * 2);
    [all...]
  /hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/tests/
VPPTest.c     [all...]
  /external/libsepol/src/
link.c 377 (role_datum_t *) malloc(sizeof(*new_role))) == NULL) {
399 if ((new_role = malloc(sizeof(*new_role))) == NULL) {
544 (user_datum_t *) malloc(sizeof(*new_user))) == NULL) {
565 if ((new_user = malloc(sizeof(*new_user))) == NULL) {
612 (cond_bool_datum_t *) malloc(sizeof(*new_bool))) == NULL) {
1044 (mls_semantic_cat_t *) malloc(sizeof(mls_semantic_cat_t));
    [all...]
  /external/webkit/Source/WebKit/mac/Misc/
WebNSURLExtras.mm 375 char *outBytes = static_cast<char *>(malloc(inLength * 3)); // large enough to %-escape every character
452 UInt8 *buffer = (UInt8 *)malloc(URL_BYTES_BUFFER_LENGTH);
524 char *after = static_cast<char *>(malloc(bufferLength)); // large enough to %-escape every character
632 urlBytes = static_cast<UInt8*>(malloc(numBytes));
669 urlBytes = static_cast<UInt8*>(malloc(numBytes));
734 buffer = static_cast<UInt8 *>(malloc(bytesToAllocate));
800 allBytesBuffer = static_cast<UInt8 *>(malloc(bytesToAllocate));
    [all...]
  /external/linux-tools-perf/util/
header.c 39 events = malloc(sizeof(struct perf_trace_event_type));
218 char *realname, *filename = malloc(size),
219 *linkname = malloc(size), *targetname;
283 char *filename = malloc(size),
284 *linkname = malloc(size);
952 events = malloc(f_header.event_types.size);
995 ev = malloc(size);
  /external/bison/data/
yacc.c 469 /* The parser invokes alloca or malloc; define the necessary symbols. */]dnl
481 # include <malloc.h> /* INFRINGES ON USER NAME SPACE */
513 && ! ((defined YYMALLOC || defined malloc) \
521 # define YYMALLOC malloc
522 # if ! defined malloc && ! defined EXIT_SUCCESS && ]b4_c_modern[
523 void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
    [all...]
  /external/e2fsprogs/intl/
dcigettext.c 37 # include <malloc.h>
339 struct block_list *newp = (struct block_list *) malloc (sizeof (*newp)); \
358 # define alloca(size) (malloc (size))
652 malloc (offsetof (struct known_translation_t, msgid)
975 newmem = (transmem_block_t *) malloc (freemem_size);
    [all...]
loadmsgcat.c 42 # include <malloc.h>
472 # define alloca(n) malloc (n)
980 data = (struct mo_file_header *) malloc (size);
1021 domain = (struct loaded_domain *) malloc (sizeof (struct loaded_domain));
1188 mem = (char *) malloc (memneed);
    [all...]
  /external/icu4c/tools/tzcode/
zdump.c 21 #include "stdlib.h" /* for exit, malloc, atoi */
409 fakeargv = (char **) malloc((size_t) (argc + count) * sizeof *argv);
411 if ((fakeargv = (char **) malloc((size_t) (argc + count) * sizeof *argv)) == NULL) {
437 fakeenv = (char **) malloc((size_t) ((i + 2) *
440 (fakeenv[0] = (char *) malloc(longest + 4)) == NULL) {
1003 if ((pzonename = malloc(strlen(relpath) + 1)) == NULL) {
1008 if ((pentry = malloc(sizeof(listentry))) == NULL) {
  /external/libpcap/
pcap-dag.c 165 if ((node = malloc(sizeof(pcap_dag_node_t))) == NULL) {
517 handle = malloc(sizeof(*handle));
519 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc %s: %s", device, pcap_strerror(errno));
528 newDev = (char *)malloc(strlen(device) + 16);
547 newDev = (char *)malloc(strlen(device) + 5);
893 if (p->dlt_list == NULL && (p->dlt_list = malloc(255*sizeof(*(p->dlt_list)))) == NULL) {
894 (void)snprintf(p->errbuf, sizeof(p->errbuf), "malloc: %s", pcap_strerror(errno));

Completed in 5737 milliseconds

<<61626364656667686970>>