HomeSort by relevance Sort by last modified time
    Searched refs:uprv_malloc (Results 1 - 25 of 180) sorted by null

1 2 3 4 5 6 7 8

  /external/icu4c/common/
uobject.cpp 26 * using uprv_malloc() and uprv_free().
38 * to modify the uprv_malloc()/uprv_free()/uprv_realloc() functions in cmemory.c.
56 * and replace with uprv_malloc/uprv_free.
60 return uprv_malloc(size);
70 return uprv_malloc(size);
cmemory.c 16 * Note that uprv_malloc(0) returns a non-NULL pointer, and
25 /* uprv_malloc(0) returns a pointer to this read-only data. */
39 uprv_malloc(size_t s) { function
55 return uprv_malloc(size);
cmemory.h 38 uprv_malloc(size_t s);
161 T *p=(T *)uprv_malloc(newCapacity*sizeof(T));
177 T *p=(T *)uprv_malloc(newCapacity*sizeof(T));
195 * Simple array/buffer management class using uprv_malloc() and uprv_free().
316 T *p=(T *)uprv_malloc(newCapacity*sizeof(T));
349 p=(T *)uprv_malloc(length*sizeof(T));
364 * in one contiguous memory block, using uprv_malloc() and uprv_free().
487 H *p=(H *)uprv_malloc(sizeof(H)+newCapacity*sizeof(T));
523 p=(H *)uprv_malloc(sizeof(H)+length*sizeof(T));
caniter.cpp 182 pieces = (UnicodeString **)uprv_malloc(sizeof(UnicodeString *));
183 pieces_lengths = (int32_t*)uprv_malloc(1 * sizeof(int32_t));
185 current = (int32_t*)uprv_malloc(1 * sizeof(int32_t));
228 pieces = (UnicodeString **)uprv_malloc(list_length * sizeof(UnicodeString *));
230 pieces_lengths = (int32_t*)uprv_malloc(list_length * sizeof(int32_t));
231 current = (int32_t*)uprv_malloc(list_length * sizeof(int32_t));
uidna.cpp 231 b1 = (UChar*) uprv_malloc(srcLength * U_SIZEOF_UCHAR);
259 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR);
333 // caseFlags = (UBool*) uprv_malloc(b1Len * sizeof(UBool));
341 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR);
461 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR);
501 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR);
519 b3 = (UChar*) uprv_malloc(b3Len * U_SIZEOF_UCHAR);
880 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR);
895 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR);
udatamem.c 45 This = uprv_malloc(sizeof(UDataMemory));
  /external/icu4c/test/perf/usetperf/
bitset.cpp 22 data = (int32_t*) uprv_malloc(len * BYTES_PER_WORD);
53 int32_t* newData = (int32_t*) uprv_malloc(newLen * BYTES_PER_WORD);
  /external/icu4c/i18n/
coleitr.cpp 183 string = (UChar *)uprv_malloc(U_SIZEOF_UCHAR * length);
192 string = (UChar *)uprv_malloc(U_SIZEOF_UCHAR);
219 buffer = (UChar *)uprv_malloc(U_SIZEOF_UCHAR);
228 buffer = (UChar *)uprv_malloc(U_SIZEOF_UCHAR * length);
288 string = (UChar *)uprv_malloc(U_SIZEOF_UCHAR * length);
301 string = (UChar *)uprv_malloc(U_SIZEOF_UCHAR);
353 buffer = (UChar *)uprv_malloc(U_SIZEOF_UCHAR * length);
369 buffer = (UChar *)uprv_malloc(U_SIZEOF_UCHAR);
408 coliter->string = (UChar *)uprv_malloc(length * U_SIZEOF_UCHAR);
448 othercoliter->extendCEs = (uint32_t *)uprv_malloc(CEsize)
    [all...]
ucol_cnt.cpp 54 CntTable *tbl = (CntTable *)uprv_malloc(sizeof(CntTable));
60 tbl->elements = (ContractionTable **)uprv_malloc(INIT_EXP_TABLE_SIZE*sizeof(ContractionTable *));
78 ContractionTable *el = (ContractionTable *)uprv_malloc(sizeof(ContractionTable));
82 el->CEs = (uint32_t *)uprv_malloc(INIT_EXP_TABLE_SIZE*sizeof(uint32_t));
87 el->codePoints = (UChar *)uprv_malloc(INIT_EXP_TABLE_SIZE*sizeof(UChar));
105 ContractionTable **newElements = (ContractionTable **)uprv_malloc(table->capacity*2*sizeof(ContractionTable *));
141 table->offsets = (int32_t *)uprv_malloc(table->size*sizeof(int32_t));
158 table->CEs = (uint32_t *)uprv_malloc(table->position*sizeof(uint32_t));
170 table->codePoints = (UChar *)uprv_malloc(table->position*sizeof(UChar));
231 ContractionTable *r = (ContractionTable *)uprv_malloc(sizeof(ContractionTable))
    [all...]
nfrlist.h 40 : fStuff(capacity ? (NFRule**)uprv_malloc(capacity * sizeof(NFRule*)) : NULL)
sortkey.cpp 59 fBytes = (uint8_t *)uprv_malloc(count);
80 fBytes = (uint8_t *)uprv_malloc(fCapacity);
310 fBytes = (uint8_t *)uprv_malloc(newSize);
333 uint8_t *result = (uint8_t*) uprv_malloc( sizeof(uint8_t) * fCount );
choicfmt.cpp 172 fChoiceLimits = (double*) uprv_malloc( sizeof(double) * fCount);
173 fClosures = (UBool*) uprv_malloc( sizeof(UBool) * fCount);
339 double *newLimits = (double*) uprv_malloc( sizeof(double) * count);
345 UBool *newClosures = (UBool*) uprv_malloc( sizeof(UBool) * count);
548 fChoiceLimits = (double*) uprv_malloc( sizeof(double) * fCount);
549 fClosures = (UBool*) uprv_malloc( sizeof(UBool) * fCount);
rbt_data.cpp 59 variables = (UnicodeFunctor **)uprv_malloc(variablesLength * sizeof(UnicodeFunctor *));
uni2name.cpp 82 char* buf = (char*) uprv_malloc(maxLen);
ucol_elm.cpp 85 expansions->CEs = (uint32_t *)uprv_malloc(INIT_EXP_TABLE_SIZE*sizeof(uint32_t));
116 tempUCATable *t = (tempUCATable *)uprv_malloc(sizeof(tempUCATable));
124 maxet = (MaxExpansionTable *)uprv_malloc(sizeof(MaxExpansionTable));
131 maxjet = (MaxJamoExpansionTable *)uprv_malloc(sizeof(MaxJamoExpansionTable));
142 t->expansions = (ExpansionTable *)uprv_malloc(sizeof(ExpansionTable));
173 (uint32_t *)uprv_malloc(sizeof(uint32_t) * maxet->size);
179 (uint8_t *)uprv_malloc(sizeof(uint8_t) * maxet->size);
203 t->unsafeCP = (uint8_t *)uprv_malloc(UCOL_UNSAFECP_TABLE_SIZE);
208 t->contrEndCP = (uint8_t *)uprv_malloc(UCOL_UNSAFECP_TABLE_SIZE);
231 tempUCATable *r = (tempUCATable *)uprv_malloc(sizeof(tempUCATable))
    [all...]
  /external/icu4c/test/intltest/
textfile.cpp 36 name = uprv_malloc(uprv_strlen(_name) + 1);
37 encoding = uprv_malloc(uprv_strlen(_encoding) + 1);
167 char* newbuffer = (char*) uprv_malloc(mincapacity);
idnaref.cpp 145 b1 = (uint32_t*) uprv_malloc(b1Len * sizeof(uint32_t));
159 //caseFlags = (unsigned char*) uprv_malloc(b1Len *sizeof(unsigned char));
166 b2 = (char*) uprv_malloc( b2Len * sizeof(char));
211 unsigned char* caseFlags = NULL; //(unsigned char*) uprv_malloc(srcLength * sizeof(unsigned char*));
215 b2 = (uint32_t*) uprv_malloc(b2Len * sizeof(uint32_t));
300 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR);
351 //caseFlags = (UBool*) uprv_malloc(b1Len * sizeof(UBool));
358 b2 = (UChar*) uprv_malloc(b2Len * U_SIZEOF_UCHAR);
488 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR);
509 b1 = (UChar*) uprv_malloc(srcLength * U_SIZEOF_UCHAR)
    [all...]
  /external/icu4c/tools/genrb/
wrtxml.cpp 67 char* dest = (char*)uprv_malloc(len);
95 result = (char *)uprv_malloc(sizeof(char)*uprv_strlen(id) + 1);
99 result = (char *)uprv_malloc(sizeof(char)*(uprv_strlen(id) + 1 + uprv_strlen(curKey)) + 1);
176 char* localeID = (char*) uprv_malloc(idLen);
194 canon = (char*) uprv_malloc(canonCapacity);
235 dest = (char*) uprv_malloc(sizeof(char) * destCap);
333 temp = (char*) uprv_malloc(sizeof(char)*destCap);
394 buf = (char*) (uprv_malloc(bufCapacity));
424 note = (UChar*) uprv_malloc(U_SIZEOF_UCHAR * capacity);
481 UChar* desc = (UChar*) uprv_malloc(U_SIZEOF_UCHAR * capacity)
    [all...]
genrb.c 302 char *nameWithoutSuffix = uprv_malloc(uprv_strlen(poolResName) + 1);
346 poolBundle.fBytes = (uint8_t *)uprv_malloc((poolFileSize + 15) & ~15);
476 openFileName = (char *) uprv_malloc(dirlen + filelen + 2);
486 inputDirBuf = uprv_strncpy((char *)uprv_malloc(filenameSize), filename, filenameSize);
502 openFileName = (char *) uprv_malloc(dirlen + filelen + 2);
528 openFileName = (char *) uprv_malloc(dirlen + filelen + 1);
653 basename = (char*) uprv_malloc(sizeof(char) * (uprv_strlen(filename) + 1));
661 dirname = (char*) uprv_malloc(sizeof(char) * (uprv_strlen(filename) + 1));
671 resName = (char*) uprv_malloc(sizeof(char) * (uprv_strlen(dirname)
694 resName = (char*) uprv_malloc(sizeof(char) * (dirlen + pkgLen + basenamelen + 8))
    [all...]
  /external/icu4c/tools/toolutil/
flagparser.c 24 char* buffer = uprv_malloc(sizeof(char) * currentBufferSize);
45 buffer = uprv_malloc(sizeof(char) * currentBufferSize);
  /external/icu4c/io/
uscanf.c 76 pattern = (UChar *)uprv_malloc(size * sizeof(UChar));
sscanf.c 75 pattern = (UChar *)uprv_malloc(size * sizeof(UChar));
  /external/icu4c/test/cintltst/
ucnvseltst.c 57 gAvailableNames = (const char **)uprv_malloc(gCountAvailable * sizeof(const char *));
85 names = (const char **)uprv_malloc(count * sizeof(char *));
237 tt->text = (char *)uprv_malloc(length + 1);
278 resultsManually = (UBool*) uprv_malloc(gCountAvailable);
328 UBool* resultsFromSystem = (UBool*) uprv_malloc(gCountAvailable * sizeof(UBool));
359 new_buffer = (char *)uprv_malloc(ser_len);
  /external/icu4c/tools/gensprep/
store.c 199 sprepTrie = (UNewTrie *)uprv_malloc(sizeof(UNewTrie));
256 mappingData = (uint16_t*) uprv_malloc(U_SIZEOF_UCHAR * (mappingDataCapacity));
336 UChar* newMappingData = (uint16_t*) uprv_malloc(U_SIZEOF_UCHAR * mappingDataCapacity*2);
461 map = (UChar*) uprv_malloc(U_SIZEOF_UCHAR * (adjustedLen+1));
476 value = (ValueStruct*) uprv_malloc(sizeof(ValueStruct));
588 char* fileName = (char*) uprv_malloc(uprv_strlen(bundleName) +100);
  /external/icu4c/test/perf/unisetperf/draft/
trieset.cpp 69 trieData=(uint32_t *)uprv_malloc(length);

Completed in 151 milliseconds

1 2 3 4 5 6 7 8