OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:uprv_malloc
(Results
1 - 25
of
365
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/chromium/third_party/icu/source/common/
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);
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);
ulist.c
20
/* When data is created with
uprv_malloc
, needs to be freed during deleteList function. */
42
newList = (UList *)
uprv_malloc
(sizeof(UList));
76
newItem = (UListNode *)
uprv_malloc
(sizeof(UListNode));
103
newItem = (UListNode *)
uprv_malloc
(sizeof(UListNode));
charstr.h
62
ptr = (char *)
uprv_malloc
(len+1);
74
ptr = (char *)
uprv_malloc
(len+1);
/external/icu4c/common/
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);
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);
ulist.c
20
/* When data is created with
uprv_malloc
, needs to be freed during deleteList function. */
42
newList = (UList *)
uprv_malloc
(sizeof(UList));
76
newItem = (UListNode *)
uprv_malloc
(sizeof(UListNode));
103
newItem = (UListNode *)
uprv_malloc
(sizeof(UListNode));
cmemory.h
39
uprv_malloc
(size_t s);
160
* Simple array/buffer management class using
uprv_malloc
() and uprv_free().
277
T *p=(T *)
uprv_malloc
(newCapacity*sizeof(T));
293
T *p=(T *)
uprv_malloc
(newCapacity*sizeof(T));
313
T *p=(T *)
uprv_malloc
(newCapacity*sizeof(T));
346
p=(T *)
uprv_malloc
(length*sizeof(T));
/external/chromium/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/third_party/icu/source/i18n/
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
...]
coleitr.cpp
185
string = (UChar *)
uprv_malloc
(U_SIZEOF_UCHAR * length);
194
string = (UChar *)
uprv_malloc
(U_SIZEOF_UCHAR);
221
buffer = (UChar *)
uprv_malloc
(U_SIZEOF_UCHAR);
230
buffer = (UChar *)
uprv_malloc
(U_SIZEOF_UCHAR * length);
290
string = (UChar *)
uprv_malloc
(U_SIZEOF_UCHAR * length);
303
string = (UChar *)
uprv_malloc
(U_SIZEOF_UCHAR);
355
buffer = (UChar *)
uprv_malloc
(U_SIZEOF_UCHAR * length);
371
buffer = (UChar *)
uprv_malloc
(U_SIZEOF_UCHAR);
410
coliter->string = (UChar *)
uprv_malloc
(length * U_SIZEOF_UCHAR);
438
coliter->writableBuffer = (UChar *)
uprv_malloc
(
[
all
...]
/external/icu4c/i18n/
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
...]
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
...]
/external/chromium/third_party/icu/source/io/
locbund.c
87
result->fLocale = (char*)
uprv_malloc
(len + 1);
102
ULocaleBundle *result = (ULocaleBundle*)
uprv_malloc
(sizeof(ULocaleBundle));
109
ULocaleBundle *result = (ULocaleBundle*)
uprv_malloc
(sizeof(ULocaleBundle));
116
result->fLocale = (char*)
uprv_malloc
(strlen(bundle->fLocale) + 1);
/external/icu4c/io/
locbund.c
87
result->fLocale = (char*)
uprv_malloc
(len + 1);
102
ULocaleBundle *result = (ULocaleBundle*)
uprv_malloc
(sizeof(ULocaleBundle));
109
ULocaleBundle *result = (ULocaleBundle*)
uprv_malloc
(sizeof(ULocaleBundle));
116
result->fLocale = (char*)
uprv_malloc
(strlen(bundle->fLocale) + 1);
/external/chromium/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);
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/chromium/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
...]
reslist.c
100
resources = (uint32_t *)
uprv_malloc
(sizeof(uint32_t) * res->u.fArray.fCount);
197
keys16 = (uint16_t *)
uprv_malloc
(sizeof(uint16_t) * res->u.fTable.fCount);
203
keys32 = (int32_t *)
uprv_malloc
(sizeof(int32_t) * res->u.fTable.fCount);
210
resources = (uint32_t *)
uprv_malloc
(sizeof(uint32_t) * res->u.fTable.fCount);
448
res = (struct SResource *)
uprv_malloc
(sizeof(struct SResource));
541
res->u.fString.fChars = (UChar *)
uprv_malloc
(sizeof(UChar) * (len + 1));
574
res->u.fString.fChars = (UChar *)
uprv_malloc
(sizeof(UChar) * (len + 1));
608
res->u.fIntVector.fArray = (uint32_t *)
uprv_malloc
(sizeof(uint32_t) * RESLIST_MAX_INT_VECTOR);
661
res->u.fBinaryValue.fFileName = (char*)
uprv_malloc
(sizeof(char) * (uprv_strlen(fileName)+1));
665
res->u.fBinaryValue.fData = (uint8_t *)
uprv_malloc
(sizeof(uint8_t) * length)
[
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
...]
/external/chromium/third_party/icu/source/test/cintltst/
ucnvseltst.c
53
gAvailableNames = (const char **)
uprv_malloc
(gCountAvailable * sizeof(const char *));
81
names = (const char **)
uprv_malloc
(count * sizeof(char *));
233
tt->text = (char *)
uprv_malloc
(length + 1);
274
resultsManually = (UBool*)
uprv_malloc
(gCountAvailable);
324
UBool* resultsFromSystem = (UBool*)
uprv_malloc
(gCountAvailable * sizeof(UBool));
355
new_buffer = (char *)
uprv_malloc
(ser_len);
/external/icu4c/test/cintltst/
ucnvseltst.c
54
gAvailableNames = (const char **)
uprv_malloc
(gCountAvailable * sizeof(const char *));
82
names = (const char **)
uprv_malloc
(count * sizeof(char *));
234
tt->text = (char *)
uprv_malloc
(length + 1);
275
resultsManually = (UBool*)
uprv_malloc
(gCountAvailable);
325
UBool* resultsFromSystem = (UBool*)
uprv_malloc
(gCountAvailable * sizeof(UBool));
356
new_buffer = (char *)
uprv_malloc
(ser_len);
Completed in 2382 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>