/external/webkit/WebKitTools/DumpRenderTree/mac/ |
D | CheckedMalloc.cpp | 34 #import <malloc/malloc.h> 56 savedMalloc = zone->malloc; in makeLargeMallocFailSilently() 58 zone->malloc = checkedMalloc; in makeLargeMallocFailSilently()
|
/external/icu4c/test/cintltst/ |
D | cdtdptst.c | 58 pattern=(UChar*)malloc(sizeof(UChar) * (strlen("EEE MMM dd HH:mm:ss.SSS zzz yyyy G")+1 )); in TestTwoDigitYearDSTParse() 71 s=(UChar*)malloc(sizeof(UChar) * (strlen("03-Apr-04 2:20:47 o'clock AM PST")+1) ); in TestTwoDigitYearDSTParse() 127 s=(UChar*)malloc(sizeof(UChar) * (strlen("01/01/1997 10:11:42 AM")+1) ); in TestPartialParse994() 161 str=(UChar*)malloc(sizeof(UChar) * (strlen(s) + 1) ); in tryPat994() 163 pat=(UChar*)malloc(sizeof(UChar) * (strlen(pattern) + 1) ); in tryPat994() 199 pattern=(UChar*)malloc(sizeof(UChar) * (strlen("yyyyMMddHHmmssSSS")+1) ); in TestRunTogetherPattern985() 247 pattern=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestCzechMonths459() 251 tzID=(UChar*)malloc(sizeof(UChar) * 4); in TestCzechMonths459() 311 pattern=(UChar*)malloc(sizeof(UChar) * (strlen("MM/dd/yyyy 'at' hh:mm:ss a zzz")+1) ); in TestQuotePattern161() 322 tzID=(UChar*)malloc(sizeof(UChar) * 4); in TestQuotePattern161() [all …]
|
D | cnmdptst.c | 85 unewp=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestPatterns() 99 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestPatterns() 137 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestQuotes() 166 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestQuotes() 251 upat=(UChar*)malloc(sizeof(UChar) * (strlen(pat[p])+1) ); in TestExponential() 268 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestExponential() 300 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestExponential() 346 pattern=(UChar*)malloc(sizeof(UChar) * (strlen("*#,##0.00;-*#,##0.00") + 1) ); in TestCurrencySign() 357 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestCurrencySign() 367 pat=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestCurrencySign() [all …]
|
D | cmsgtst.c | 65 testCasePatterns[i]=(UChar*)malloc(sizeof(UChar) * strSize); in InitStrings() 70 testResultStrings[i] = (UChar*)malloc(sizeof(UChar) * strSize); in InitStrings() 113 str=(UChar*)malloc(sizeof(UChar) * 7); in MessageFormatTest() 116 result=(UChar*)malloc(sizeof(UChar) * 1); in MessageFormatTest() 159 result=(UChar*)malloc(sizeof(UChar) * resultlength); in MessageFormatTest() 207 result = (UChar*) malloc(U_SIZEOF_UCHAR*resultLength+2); in MessageFormatTest() 271 str=(UChar*)malloc(sizeof(UChar) * 15); in TestSampleMessageFormat() 276 result=(UChar*)malloc(sizeof(UChar) * 1); in TestSampleMessageFormat() 381 str=(UChar*)malloc(sizeof(UChar) * 25); in TestNewFormatAndParseAPI() 383 tzID=(UChar*)malloc(sizeof(UChar) * 4); in TestNewFormatAndParseAPI() [all …]
|
D | capitst.c | 321 source=(UChar*)malloc(sizeof(UChar) * 12); in TestProperty() 322 target=(UChar*)malloc(sizeof(UChar) * 12); in TestProperty() 370 disName=(UChar*)malloc(sizeof(UChar) * (len+1)); in TestProperty() 387 UChar *buffer = (UChar *)malloc(200000*sizeof(UChar)); in TestProperty() 426 disName=(UChar*)malloc(sizeof(UChar) * (len+1)); in TestProperty() 572 test1=(UChar*)malloc(sizeof(UChar) * 6); in TestCompare() 573 test2=(UChar*)malloc(sizeof(UChar) * 6); in TestCompare() 668 test1=(UChar*)malloc(sizeof(UChar) * testSize); in TestSafeClone() 669 test2=(UChar*)malloc(sizeof(UChar) * testSize); in TestSafeClone() 828 buffer = (uint8_t *) malloc(size); in TestCloneBinary() [all …]
|
D | custrtrn.c | 149 u32Target = (UChar32*) malloc (sizeof(uint32_t) * (u32DestLen+1)); in Test_UChar_UTF32_API() 178 uTarget = (UChar*) malloc( sizeof(UChar) * (uDestLen+1)); in Test_UChar_UTF32_API() 214 u32Target = (UChar32*) malloc (sizeof(uint32_t) * (u32DestLen+1)); in Test_UChar_UTF32_API() 238 uTarget = (UChar*) malloc( sizeof(UChar) * (uDestLen+1)); in Test_UChar_UTF32_API() 285 u8Target = (char*) malloc (sizeof(uint8_t) * (u8DestLen+1)); in Test_UChar_UTF8_API() 324 uTarget = (UChar*) malloc( sizeof(UChar) * (uDestLen+1)); in Test_UChar_UTF8_API() 367 u8Target = (char*) malloc (sizeof(uint8_t) * (u8DestLen+1)); in Test_UChar_UTF8_API() 399 uTarget = (UChar*) malloc( sizeof(UChar) * (uDestLen+1)); in Test_UChar_UTF8_API() 905 wDest =(wchar_t*) malloc(sizeof(wchar_t) * (reqLen+1)); in Test_UChar_WCHART_API() 916 uDest = (UChar*) malloc(sizeof(UChar) * (reqLen+1)); in Test_UChar_WCHART_API() [all …]
|
D | cdattst.c | 159 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestDateFormat() 263 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestDateFormat() 418 pattern=(UChar*)malloc(sizeof(UChar) * 10); in TestSymbols() 430 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestSymbols() 480 pattern=(UChar*)malloc(sizeof(UChar) * resultlength); in TestSymbols() 500 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestSymbols() 524 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestSymbols() 545 value=(UChar*)malloc(sizeof(UChar) * resultlength); in TestSymbols() 708 pattern=(UChar*)malloc(sizeof(UChar) * (strlen(expected)+1)); in VerifygetSymbols() 716 result=(UChar*)malloc(sizeof(UChar) * resultlength); in VerifygetSymbols() [all …]
|
/external/bluetooth/glib/gio/xdgmime/ |
D | xdgmime.c | 144 file_name = malloc (strlen (directory) + strlen ("/mime/mime.cache") + 1); in xdg_mime_init_from_directory() 164 file_name = malloc (strlen (directory) + strlen ("/mime/globs2") + 1); in xdg_mime_init_from_directory() 174 file_name = malloc (strlen (directory) + strlen ("/mime/globs") + 1); in xdg_mime_init_from_directory() 187 file_name = malloc (strlen (directory) + strlen ("/mime/magic") + 1); in xdg_mime_init_from_directory() 199 file_name = malloc (strlen (directory) + strlen ("/mime/aliases") + 1); in xdg_mime_init_from_directory() 204 file_name = malloc (strlen (directory) + strlen ("/mime/subclasses") + 1); in xdg_mime_init_from_directory() 209 file_name = malloc (strlen (directory) + strlen ("/mime/icons") + 1); in xdg_mime_init_from_directory() 214 file_name = malloc (strlen (directory) + strlen ("/mime/generic-icons") + 1); in xdg_mime_init_from_directory() 247 guessed_xdg_home = malloc (strlen (home) + strlen ("/.local/share/") + 1); in xdg_run_command_on_dirs() 285 dir = malloc (len + 1); in xdg_run_command_on_dirs() [all …]
|
/external/tesseract/ccutil/ |
D | memry.cpp | 118 return static_cast<char*>(malloc((count + 3) & ~3)); in alloc_string() 237 return malloc(count); in alloc_struct() 399 main_mem.init ((void *(*)(inT32)) malloc, free, in alloc_mem_p() 407 return malloc ((size_t) count); in alloc_mem_p() 428 main_mem.init ((void *(*)(inT32)) malloc, free, in alloc_mem() 436 return malloc ((size_t) count); in alloc_mem() 452 big_mem.init ((void *(*)(inT32)) malloc, free, in alloc_big_mem() 459 return malloc ((size_t) count); in alloc_big_mem() 475 big_mem.init ((void *(*)(inT32)) malloc, free, in alloc_big_zeros()
|
/external/bluetooth/glib/glib/ |
D | gmem.c | 65 return malloc (n_bytes); in standard_realloc() 72 # define standard_malloc malloc 78 # define standard_try_malloc malloc 84 return malloc (n_bytes); in standard_malloc() 131 mem = glib_mem_vtable.malloc (n_bytes); in g_malloc() 237 gpointer mem = glib_mem_vtable.malloc (l); in fallback_calloc() 271 if (vtable->malloc && vtable->realloc && vtable->free) in g_mem_set_vtable() 273 glib_mem_vtable.malloc = vtable->malloc; in g_mem_set_vtable() 277 glib_mem_vtable.try_malloc = vtable->try_malloc ? vtable->try_malloc : glib_mem_vtable.malloc; in g_mem_set_vtable()
|
/external/svox/pico/tts/ |
D | com_svox_picottsengine.cpp | 241 char* fileName = (char*)malloc(PICO_MAX_DATAPATH_NAME_SIZE + PICO_MAX_FILE_NAME_SIZE); in hasResourcesForLanguage() 323 picoProp_currLang = (char *) malloc( 10 ); in doLanguageSwitchFromLangIndex() 324 …picoTaFileName = (pico_Char *) malloc( PICO_MAX_DATAPATH_NAME_SIZE + PICO_MAX_FILE_NAME_SIZE … in doLanguageSwitchFromLangIndex() 325 …picoSgFileName = (pico_Char *) malloc( PICO_MAX_DATAPATH_NAME_SIZE + PICO_MAX_FILE_NAME_SIZE … in doLanguageSwitchFromLangIndex() 326 …picoUtppFileName = (pico_Char *) malloc( PICO_MAX_DATAPATH_NAME_SIZE + PICO_MAX_FILE_NAME_SIZE … in doLanguageSwitchFromLangIndex() 327 picoTaResourceName = (pico_Char *) malloc( PICO_MAX_RESOURCE_NAME_SIZE ); in doLanguageSwitchFromLangIndex() 328 picoSgResourceName = (pico_Char *) malloc( PICO_MAX_RESOURCE_NAME_SIZE ); in doLanguageSwitchFromLangIndex() 329 picoUtppResourceName =(pico_Char *) malloc( PICO_MAX_RESOURCE_NAME_SIZE ); in doLanguageSwitchFromLangIndex() 346 char* tmpFileName = (char*)malloc(PICO_MAX_DATAPATH_NAME_SIZE + PICO_MAX_FILE_NAME_SIZE); in doLanguageSwitchFromLangIndex() 543 data = (char *) malloc( textlen ); /* allocate string */ in doAddProperties() [all …]
|
/external/e2fsprogs/lib/ss/ |
D | invocation.c | 36 new_table = (ss_data *) malloc(sizeof(ss_data)); 39 table = (ss_data **) malloc(2 * size); 55 new_table->info_dirs = (char **)malloc(sizeof(char *)); 58 new_table->prompt = malloc((unsigned)strlen(subsystem_name)+4);
|
D | help.c | 62 buffer = malloc(80+2*strlen(request_name)); 84 buffer = malloc(strlen (info->info_dirs[idx]) + 1 + 102 char *buf = malloc(strlen (MSG) + strlen (argv[1]) + 1); 162 dirs[n_dirs] = malloc((unsigned)strlen(info_dir)+1);
|
/external/jpeg/ |
D | jmemnobs.c | 24 extern void * malloc JPP((size_t size)); 37 return (void *) malloc(sizeofobject); in jpeg_get_small() 57 return (void FAR *) malloc(sizeofobject); in jpeg_get_large()
|
/external/yaffs2/yaffs2/direct/ |
D | ydirectenv.h | 47 #define YMALLOC(x) malloc(x) 49 #define YMALLOC_ALT(x) malloc(x) 52 #define YMALLOC_DMA(x) malloc(x)
|
/external/expat/amiga/ |
D | stdlib.c | 29 void * malloc (size_t len) in malloc() function 46 return malloc(len2); in realloc() 54 void * new_mem = malloc(len2); in realloc()
|
/external/tremor/Tremor/ |
D | misc.c | 55 pointers=(void **)malloc(sizeof(void **)*palloced); in _insert() 56 insertlist=(long *)malloc(sizeof(long *)*palloced); in _insert() 82 files=malloc(filecount*sizeof(*files)); in _insert() 83 file_bytes=malloc(filecount*sizeof(*file_bytes)); in _insert() 195 ptr=malloc(bytes); in _VDBG_malloc()
|
/external/e2fsprogs/intl/ |
D | os2compat.c | 60 _nlos2_libdir = (char *) malloc (sl + strlen (LIBDIR) + 1); in nlos2_initialize() 74 _nlos2_localealiaspath = (char *) malloc (sl + strlen (LOCALE_ALIAS_PATH) + 1); in nlos2_initialize() 88 _nlos2_localedir = (char *) malloc (sl + strlen (LOCALEDIR) + 1); in nlos2_initialize()
|
D | bindtextdom.c | 155 result = (char *) malloc (len); in __libc_rwlock_define() 193 result = (char *) malloc (len); in __libc_rwlock_define() 226 (struct binding *) malloc (offsetof (struct binding, domainname) + len); in __libc_rwlock_define() 253 result = (char *) malloc (len); in __libc_rwlock_define() 284 result = (char *) malloc (len); in __libc_rwlock_define()
|
/external/clearsilver/perl/ |
D | ClearSilver.xs | 108 hdf = (ClearSilver__HDF)malloc(sizeof(perlHDF)); 210 perlhdf = (perlHDF*)malloc(sizeof(perlHDF)); 235 child = (perlHDF*)malloc(sizeof(perlHDF)); 262 child = (perlHDF*)malloc(sizeof(perlHDF)); 303 next = (perlHDF*)malloc(sizeof(perlHDF)); 373 cs = (perlCS*)malloc(sizeof(perlCS)); 442 cs_str = (char *)malloc(len);
|
/external/elfutils/libasm/ |
D | asm_error.c | 55 buffer = (int *) malloc (sizeof (int)); in asm_errno() 90 buffer = malloc (sizeof (int)); 134 buffer = (int *) malloc (sizeof (int));
|
/external/openssl/crypto/pkcs7/ |
D | example.c | 97 data=malloc(total); in add_signed_seq2string() 148 *str1=malloc(os1->length+1); in get_signed_seq2string() 149 *str2=malloc(os2->length+1); in get_signed_seq2string() 261 data=malloc(total); in add_seq2string() 315 *str1=malloc(os1->length+1); in sk_get_seq2string() 316 *str2=malloc(os2->length+1); in sk_get_seq2string()
|
/external/giflib/ |
D | gifalloc.c | 60 Object = (ColorMapObject *)malloc(sizeof(ColorMapObject)); in MakeMapObject() 258 New->ExtensionBlocks=(ExtensionBlock *)malloc(sizeof(ExtensionBlock)); in AddExtensionBlock() 270 ep->Bytes = (char *)malloc(ep->ByteCount); in AddExtensionBlock() 348 GifFile->SavedImages = (SavedImage *)malloc(sizeof(SavedImage)); in MakeSavedImage() 380 sp->RasterBits = (unsigned char *)malloc(sizeof(GifPixelType) * in MakeSavedImage() 393 sp->ExtensionBlocks = (ExtensionBlock *)malloc( in MakeSavedImage()
|
/external/bison/lib/ |
D | malloc.c | 23 #undef malloc 35 return malloc (n); in rpl_malloc()
|
/external/e2fsprogs/e2fsck/ |
D | jfs_user.h | 55 #define kmem_cache_alloc(cache,flags) malloc((cache)->object_length) 59 #define kmalloc(len,flags) malloc(len) 83 new_cache = malloc(sizeof(*new_cache)); in do_cache_create()
|