OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:uprv_malloc
(Results
1 - 25
of
345
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/chromium_org/third_party/icu/source/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));
/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
27
/*
uprv_malloc
(0) returns a pointer to this read-only data. */
71
uprv_malloc
(size_t s) {
function
99
return
uprv_malloc
(size);
136
mem =
uprv_malloc
(size);
cmemory.h
66
uprv_malloc
(size_t s) U_MALLOC_ATTR U_ALLOC_SIZE_ATTR(1);
208
T *p=(T *)
uprv_malloc
(newCapacity*sizeof(T));
224
T *p=(T *)
uprv_malloc
(newCapacity*sizeof(T));
242
* Simple array/buffer management class using
uprv_malloc
() and uprv_free().
368
T *p=(T *)
uprv_malloc
(newCapacity*sizeof(T));
401
p=(T *)
uprv_malloc
(length*sizeof(T));
419
* in one contiguous memory block, using
uprv_malloc
() and uprv_free().
544
H *p=(H *)
uprv_malloc
(sizeof(H)+newCapacity*sizeof(T));
583
p=(H *)
uprv_malloc
(sizeof(H)+length*sizeof(T));
/external/chromium_org/third_party/icu/source/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/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/chromium_org/third_party/icu/source/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 );
/external/icu4c/i18n/
coleitr.cpp
184
string = (UChar *)
uprv_malloc
(U_SIZEOF_UCHAR * length);
193
string = (UChar *)
uprv_malloc
(U_SIZEOF_UCHAR);
220
buffer = (UChar *)
uprv_malloc
(U_SIZEOF_UCHAR);
229
buffer = (UChar *)
uprv_malloc
(U_SIZEOF_UCHAR * length);
289
string = (UChar *)
uprv_malloc
(U_SIZEOF_UCHAR * length);
302
string = (UChar *)
uprv_malloc
(U_SIZEOF_UCHAR);
354
buffer = (UChar *)
uprv_malloc
(U_SIZEOF_UCHAR * length);
370
buffer = (UChar *)
uprv_malloc
(U_SIZEOF_UCHAR);
409
coliter->string = (UChar *)
uprv_malloc
(length * U_SIZEOF_UCHAR);
450
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
...]
/external/chromium_org/third_party/icu/source/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/test/intltest/
textfile.cpp
36
name =
uprv_malloc
(uprv_strlen(_name) + 1);
37
encoding =
uprv_malloc
(uprv_strlen(_encoding) + 1);
168
char* newbuffer = (char*)
uprv_malloc
(mincapacity);
/external/icu4c/tools/toolutil/
flagparser.c
24
char* buffer =
uprv_malloc
(sizeof(char) * currentBufferSize);
25
char* tmpFlagBuffer =
uprv_malloc
(sizeof(char) * flagBufferSize);
46
buffer =
uprv_malloc
(sizeof(char) * currentBufferSize);
/external/chromium_org/third_party/icu/source/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/genrb/
wrtxml.cpp
69
char* dest = (char*)
uprv_malloc
(len);
97
result = (char *)
uprv_malloc
(sizeof(char)*uprv_strlen(id) + 1);
101
result = (char *)
uprv_malloc
(sizeof(char)*(uprv_strlen(id) + 1 + uprv_strlen(curKey)) + 1);
178
char* localeID = (char*)
uprv_malloc
(idLen);
196
canon = (char*)
uprv_malloc
(canonCapacity);
237
dest = (char*)
uprv_malloc
(sizeof(char) * destCap);
335
temp = (char*)
uprv_malloc
(sizeof(char)*destCap);
396
buf = (char*) (
uprv_malloc
(bufCapacity));
426
note = (UChar*)
uprv_malloc
(U_SIZEOF_UCHAR * capacity);
483
UChar* desc = (UChar*)
uprv_malloc
(U_SIZEOF_UCHAR * capacity)
[
all
...]
genrb.c
297
char *nameWithoutSuffix =
uprv_malloc
(uprv_strlen(poolResName) + 1);
341
poolBundle.fBytes = (uint8_t *)
uprv_malloc
((poolFileSize + 15) & ~15);
478
openFileName = (char *)
uprv_malloc
(dirlen + filelen + 2);
488
inputDirBuf = uprv_strncpy((char *)
uprv_malloc
(filenameSize), filename, filenameSize);
504
openFileName = (char *)
uprv_malloc
(dirlen + filelen + 2);
530
openFileName = (char *)
uprv_malloc
(dirlen + filelen + 1);
657
basename = (char*)
uprv_malloc
(sizeof(char) * (uprv_strlen(filename) + 1));
665
dirname = (char*)
uprv_malloc
(sizeof(char) * (uprv_strlen(filename) + 1));
675
resName = (char*)
uprv_malloc
(sizeof(char) * (uprv_strlen(dirname)
698
resName = (char*)
uprv_malloc
(sizeof(char) * (dirlen + pkgLen + basenamelen + 8))
[
all
...]
/external/chromium_org/third_party/icu/source/tools/toolutil/
flagparser.c
24
char* buffer =
uprv_malloc
(sizeof(char) * currentBufferSize);
45
buffer =
uprv_malloc
(sizeof(char) * currentBufferSize);
/external/chromium_org/third_party/icu/source/io/
uscanf.c
76
pattern = (UChar *)
uprv_malloc
(size * sizeof(UChar));
/external/icu4c/io/
uscanf.c
76
pattern = (UChar *)
uprv_malloc
(size * sizeof(UChar));
Completed in 244 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>