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

<<41424344454647484950>>

  /external/libsepol/src/
policydb.c 640 key = malloc(strlen(OBJECT_R) + 1);
913 malloc(p->p_commons.nprim * sizeof(char *));
922 malloc(p->p_classes.nprim * sizeof(class_datum_t *));
928 malloc(p->p_classes.nprim * sizeof(char *));
944 malloc(p->p_bools.nprim * sizeof(char *));
1013 malloc(p->p_roles.nprim * sizeof(role_datum_t *));
1019 malloc(p->p_users.nprim * sizeof(user_datum_t *));
    [all...]
mls.c 52 ptr = (char *)malloc(len);
57 ptr2 = (char *)malloc(len - 1);
657 ctx1 = malloc(sizeof(context_struct_t));
658 ctx2 = malloc(sizeof(context_struct_t));
695 context_struct_t *con = malloc(sizeof(context_struct_t));
751 (mls_semantic_cat_t *) malloc(sizeof(mls_semantic_cat_t));
  /external/libselinux/src/
label_file.c 114 data->stem_arr[num].buf = malloc(stem_len + 1);
243 cp = anchored_regex = malloc(len + 3);
260 *errbuf = malloc(errsz);
496 malloc(sizeof(spec_t) * data->nspec)))
509 spec_copy = malloc(sizeof(spec_t) * data->nspec);
589 clean_key = malloc(strlen(key) + 1);
680 data = (struct saved_data *)malloc(sizeof(*data));
  /ndk/sources/host-tools/nawk-20071023/
lib.c 60 if ( (record = (char *) malloc(n)) == NULL
61 || (fields = (char *) malloc(n+1)) == NULL
62 || (fldtab = (Cell **) malloc((nfields+1) * sizeof(Cell *))) == NULL
63 || (fldtab[0] = (Cell *) malloc(sizeof(Cell))) == NULL )
77 fldtab[i] = (Cell *) malloc(sizeof (struct Cell));
271 if ((fields = (char *) malloc(n+1)) == NULL)
418 if ((fields = (char *) malloc(n+1)) == NULL)
  /system/extras/tests/memtest/
memtest.cpp 79 " malloc [fill]\n"
117 else if (!strcmp(argv[1], "malloc")) err = malloc_test(argc-1, argv+1);
149 char* src = (char*)malloc(MAX_SIZE+4+8+32);
150 char* dst = (char*)malloc(MAX_SIZE+4+8+32);
278 char* dst = (char*)malloc(MAX_SIZE+4+8);
415 char* src = (char*)malloc(MAX_SIZE+4+8+32);
416 char* dst = (char*)malloc(MAX_SIZE+4+8+32);
590 #pragma mark malloc
599 void* addr = malloc(size);
  /external/icu4c/test/cintltst/
cdattst.c 165 result=(UChar*)malloc(sizeof(UChar) * resultlength);
274 result=(UChar*)malloc(sizeof(UChar) * resultlength);
602 pattern=(UChar*)malloc(sizeof(UChar) * 10);
614 result=(UChar*)malloc(sizeof(UChar) * resultlength);
664 pattern=(UChar*)malloc(sizeof(UChar) * resultlength);
684 result=(UChar*)malloc(sizeof(UChar) * resultlength);
708 result=(UChar*)malloc(sizeof(UChar) * resultlength);
729 value=(UChar*)malloc(sizeof(UChar) * resultlength);
    [all...]
hpmufn.c 69 retStr = (char *)malloc(strlen(dataDir)+1);
79 * Implemented on top of the standard malloc heap.
89 char *retPtr = (char *)malloc(size+sizeof(ctest_AlignedMemory));
225 theMutex = (DummyMutex *)malloc(sizeof(DummyMutex));
  /external/libusb-compat/libusb/
core.c 216 bus = malloc(sizeof(*bus));
322 dev = malloc(sizeof(*dev));
403 dest->extra = malloc(src->extra_length);
420 dest->endpoint = malloc(alloc_size);
435 dest->extra = malloc(src->extra_length);
455 dest->altsetting = malloc(alloc_size);
480 dest->interface = malloc(alloc_size);
495 dest->extra = malloc(src->extra_length);
524 dev->config = malloc(alloc_size);
657 usb_dev_handle *udev = malloc(sizeof(*udev))
    [all...]
  /ndk/sources/host-tools/make-3.81/glob/
glob.c 150 extern char *malloc (), *realloc ();
202 return (char *) malloc (n);
221 # include <malloc.h>
396 char *onealt = (char *) malloc (strlen (pattern) - 1);
831 char *dircopy = malloc (len);
960 pglob->gl_pathv[pglob->gl_pathc] = malloc (dir_len + 1
1139 char *new = (char *) malloc (dirlen + 1 + eltlen);
1279 names->name = (char *) malloc (1);
    [all...]
  /hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/tests/
JPEGTest.c 262 Data = (uchar *)malloc(itemlen);
728 imageinfo = (IMAGE_INFO *)malloc (sizeof (IMAGE_INFO ) );
729 pPortParamType = (OMX_PORT_PARAM_TYPE*)malloc(sizeof(OMX_PORT_PARAM_TYPE));
730 pParamPortDef = (OMX_PARAM_PORTDEFINITIONTYPE*)malloc(sizeof(OMX_PARAM_PORTDEFINITIONTYPE));
731 pInPortDef = (OMX_PARAM_PORTDEFINITIONTYPE*)malloc(sizeof(OMX_PARAM_PORTDEFINITIONTYPE));
732 pOutPortDef = (OMX_PARAM_PORTDEFINITIONTYPE*)malloc(sizeof(OMX_PARAM_PORTDEFINITIONTYPE));
733 pScaleFactor = (OMX_CONFIG_SCALEFACTORTYPE*)malloc(sizeof(OMX_CONFIG_SCALEFACTORTYPE));
734 pPortType = (OMX_PORT_PARAM_TYPE*)malloc(sizeof(OMX_PORT_PARAM_TYPE));
735 pSectionDecode = (OMX_CUSTOM_IMAGE_DECODE_SECTION*)malloc(sizeof(OMX_CUSTOM_IMAGE_DECODE_SECTION));
736 pSubRegionDecode = (OMX_CUSTOM_IMAGE_DECODE_SUBREGION*)malloc(sizeof(OMX_CUSTOM_IMAGE_DECODE_SUBREGION))
    [all...]
  /external/bsdiff/
bsdiff.c 219 that we never try to malloc(0) and get a NULL pointer */
222 ((old=malloc(oldsize+1))==NULL) ||
227 if(((I=malloc((oldsize+1)*sizeof(off_t)))==NULL) ||
228 ((V=malloc((oldsize+1)*sizeof(off_t)))==NULL)) err(1,NULL);
235 that we never try to malloc(0) and get a NULL pointer */
238 ((new=malloc(newsize+1))==NULL) ||
243 if(((db=malloc(newsize+1))==NULL) ||
244 ((eb=malloc(newsize+1))==NULL)) err(1,NULL);
  /external/compiler-rt/lib/asan/tests/
asan_str_test.cc 47 char *heap_string = Ident((char*)malloc(length + 1));
106 char *to = Ident((char*)malloc(to_size));
107 char *from = Ident((char*)malloc(from_size));
129 char *to = Ident((char*)malloc(to_size));
131 char *from = Ident((char*)malloc(from_size));
413 char *str = Ident((char*)malloc(size));
  /external/qemu/android/camera/
camera-capture-windows.c 106 WndCameraDevice* cd = (WndCameraDevice*)malloc(sizeof(WndCameraDevice));
221 wcd->last_frame = malloc(wcd->last_frame_size);
325 wcd->frame_bitmap = (BITMAPINFO*)malloc(format_info_size);
454 wcd->gdi_bitmap = (BITMAPINFO*)malloc(wcd->frame_bitmap->bmiHeader.biSize);
480 wcd->framebuffer = (uint8_t*)malloc(wcd->gdi_bitmap->bmiHeader.biSizeImage);
718 cis[found].frame_sizes = (CameraFrameDim*)malloc(sizeof(_emulate_dims));
  /external/valgrind/main/coregrind/m_gdbserver/
remote-utils.c 250 from_gdb = malloc (len);
253 to_gdb = malloc (len);
256 shared_mem = malloc (len);
699 buf2 = malloc (PBUFSIZ);
775 char *buf = malloc(1 + 2*len + 1);
1109 prefix = malloc(strlen(tmpdir) + strlen("/vgdb-pipe") + 1);
  /frameworks/av/media/libeffects/factory/
EffectsFactory.c 301 fx = (effect_entry_t *)malloc(sizeof(effect_entry_t));
312 e = (list_elem_t *)malloc(sizeof(list_elem_t));
481 l = malloc(sizeof(lib_entry_t));
489 e = malloc(sizeof(list_elem_t));
550 d = malloc(sizeof(effect_descriptor_t));
569 e = malloc(sizeof(list_elem_t));
  /prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/
system.h 434 #include <malloc.h>
438 extern void *malloc (size_t);
700 #define really_call_malloc malloc
705 /* Flex and bison use malloc and realloc. Yuk. Note that this means
707 #define malloc xmalloc macro
715 compiling gcc, so that the autoconf declaration tests for malloc
723 #undef malloc macro
725 #pragma GCC poison malloc realloc
  /prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/
system.h 434 #include <malloc.h>
438 extern void *malloc (size_t);
700 #define really_call_malloc malloc
705 /* Flex and bison use malloc and realloc. Yuk. Note that this means
707 #define malloc xmalloc macro
715 compiling gcc, so that the autoconf declaration tests for malloc
723 #undef malloc macro
725 #pragma GCC poison malloc realloc
  /prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/
system.h 434 #include <malloc.h>
438 extern void *malloc (size_t);
700 #define really_call_malloc malloc
705 /* Flex and bison use malloc and realloc. Yuk. Note that this means
707 #define malloc xmalloc macro
715 compiling gcc, so that the autoconf declaration tests for malloc
723 #undef malloc macro
725 #pragma GCC poison malloc realloc
  /prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/
system.h 434 #include <malloc.h>
438 extern void *malloc (size_t);
700 #define really_call_malloc malloc
705 /* Flex and bison use malloc and realloc. Yuk. Note that this means
707 #define malloc xmalloc macro
715 compiling gcc, so that the autoconf declaration tests for malloc
723 #undef malloc macro
725 #pragma GCC poison malloc realloc
  /system/media/audio_route/
audio_route.c 222 path->setting[path_index].value = malloc(setting->num_values * sizeof(int));
260 path->setting[path_index].value = malloc(num_values * sizeof(int));
484 ar->mixer_state = malloc(ar->num_mixer_ctls * sizeof(struct mixer_state));
492 ar->mixer_state[i].old_value = malloc(num_values * sizeof(int));
493 ar->mixer_state[i].new_value = malloc(num_values * sizeof(int));
494 ar->mixer_state[i].reset_value = malloc(num_values * sizeof(int));
  /external/dhcpcd/
showlease.c 135 dhcp = malloc(sizeof(*dhcp));
208 dhcp_opt_buffer = malloc(sizeof(struct dhcp_message));
333 lease = malloc(sizeof(*lease));
  /external/e2fsprogs/intl/
l10nflist.c 192 abs_filename = (char *) malloc (dirlist_len
301 malloc (sizeof (*retval)
386 retval = (char *) malloc ((only_digit ? 3 : 0) + len + 1);
  /external/e2fsprogs/lib/ext2fs/
dosio.c 152 ioch = (io_channel)malloc(sizeof(struct struct_io_channel));
158 ioch->name = (char *)malloc(strlen(part->dev)+1);
213 part = (PARTITION*)malloc(sizeof(PARTITION));
  /external/jpeg/
wrjpgcom.c 17 #ifndef HAVE_STDLIB_H /* <stdlib.h> should declare malloc() */
18 extern void * malloc ();
61 /* Reduce this value if your malloc() can't allocate blocks up to 64K.
453 comment_arg = (char *) malloc((size_t) MAX_COM_LENGTH);
541 comment_arg = (char *) malloc((size_t) MAX_COM_LENGTH);
  /external/libpcap/
pcap-snit.c 275 p = (pcap_t *)malloc(sizeof(*p));
365 p->buffer = (u_char *)malloc(p->bufsize);
387 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2);

Completed in 1910 milliseconds

<<41424344454647484950>>