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
164
) sorted by null
1
2
3
4
5
6
7
/external/icu/icu4c/source/common/
uobject.cpp
28
* using
uprv_malloc
() and uprv_free().
40
* to modify the
uprv_malloc
()/uprv_free()/uprv_realloc() functions in cmemory.c.
58
* and replace with
uprv_malloc
/uprv_free.
62
return
uprv_malloc
(size);
72
return
uprv_malloc
(size);
cmemory.c
18
* Note that
uprv_malloc
(0) returns a non-NULL pointer, and
29
/*
uprv_malloc
(0) returns a pointer to this read-only data. */
69
uprv_malloc
(size_t s) {
function
96
return
uprv_malloc
(size);
132
mem =
uprv_malloc
(size);
cmemory.h
76
uprv_malloc
(size_t s) U_MALLOC_ATTR U_ALLOC_SIZE_ATTR(1);
264
T *p=(T *)
uprv_malloc
(newCapacity*sizeof(T));
280
T *p=(T *)
uprv_malloc
(newCapacity*sizeof(T));
298
* Simple array/buffer management class using
uprv_malloc
() and uprv_free().
424
T *p=(T *)
uprv_malloc
(newCapacity*sizeof(T));
457
p=(T *)
uprv_malloc
(length*sizeof(T));
475
* in one contiguous memory block, using
uprv_malloc
() and uprv_free().
600
H *p=(H *)
uprv_malloc
(sizeof(H)+newCapacity*sizeof(T));
639
p=(H *)
uprv_malloc
(sizeof(H)+length*sizeof(T));
caniter.cpp
185
pieces = (UnicodeString **)
uprv_malloc
(sizeof(UnicodeString *));
186
pieces_lengths = (int32_t*)
uprv_malloc
(1 * sizeof(int32_t));
188
current = (int32_t*)
uprv_malloc
(1 * sizeof(int32_t));
231
pieces = (UnicodeString **)
uprv_malloc
(list_length * sizeof(UnicodeString *));
233
pieces_lengths = (int32_t*)
uprv_malloc
(list_length * sizeof(int32_t));
234
current = (int32_t*)
uprv_malloc
(list_length * sizeof(int32_t));
uloc_keytype.cpp
157
char* bcpKeyIdBuf = (char*)
uprv_malloc
(bcpKeyIdLen + 1);
232
char* legacyTypeIdBuf = (char*)
uprv_malloc
(legacyTypeIdLen + 1);
266
char* bcpTypeIdBuf = (char*)
uprv_malloc
(bcpTypeIdLen + 1);
284
LocExtType* t = (LocExtType*)
uprv_malloc
(sizeof(LocExtType));
324
char* fromBuf = (char*)
uprv_malloc
(fromLen + 1);
383
LocExtKeyData* keyData = (LocExtKeyData*)
uprv_malloc
(sizeof(LocExtKeyData));
uidna.cpp
233
b1 = (UChar*)
uprv_malloc
(srcLength * U_SIZEOF_UCHAR);
261
b1 = (UChar*)
uprv_malloc
(b1Len * U_SIZEOF_UCHAR);
335
// caseFlags = (UBool*)
uprv_malloc
(b1Len * sizeof(UBool));
343
b2 = (UChar*)
uprv_malloc
(b2Len * U_SIZEOF_UCHAR);
462
b1 = (UChar*)
uprv_malloc
(b1Len * U_SIZEOF_UCHAR);
502
b2 = (UChar*)
uprv_malloc
(b2Len * U_SIZEOF_UCHAR);
520
b3 = (UChar*)
uprv_malloc
(b3Len * U_SIZEOF_UCHAR);
881
b1 = (UChar*)
uprv_malloc
(b1Len * U_SIZEOF_UCHAR);
896
b2 = (UChar*)
uprv_malloc
(b2Len * U_SIZEOF_UCHAR);
udatamem.c
47
This =
uprv_malloc
(sizeof(UDataMemory));
ustrenum.cpp
92
chars=(char *)
uprv_malloc
(capacity);
266
result = (UEnumeration*)
uprv_malloc
(sizeof(UEnumeration));
364
result = (UCharStringEnumeration*)
uprv_malloc
(sizeof(UCharStringEnumeration));
383
result = (UCharStringEnumeration*)
uprv_malloc
(sizeof(UCharStringEnumeration));
ulist.c
22
/* When data is created with
uprv_malloc
, needs to be freed during deleteList function. */
44
newList = (UList *)
uprv_malloc
(sizeof(UList));
102
newItem = (UListNode *)
uprv_malloc
(sizeof(UListNode));
135
newItem = (UListNode *)
uprv_malloc
(sizeof(UListNode));
ucnvsel.cpp
165
(UConverterSelector*)
uprv_malloc
(sizeof(UConverterSelector)));
177
(char**)
uprv_malloc
(converterListSize * sizeof(char*));
197
char* allStrings = (char*)
uprv_malloc
(totalSize);
518
swapped = (uint8_t*)
uprv_malloc
(totalSize);
550
UConverterSelector* sel = (UConverterSelector*)
uprv_malloc
(sizeof(UConverterSelector));
552
(char **)
uprv_malloc
(
696
struct Enumerator* result = (Enumerator*)
uprv_malloc
(sizeof(Enumerator));
706
UEnumeration *en = (UEnumeration *)
uprv_malloc
(sizeof(UEnumeration));
721
result->index = (int16_t*)
uprv_malloc
(numOnes * sizeof(int16_t));
755
uint32_t* mask = (uint32_t*)
uprv_malloc
(columns * 4)
[
all
...]
/external/icu/icu4c/source/test/perf/usetperf/
bitset.cpp
26
data = (int32_t*)
uprv_malloc
(len * BYTES_PER_WORD);
57
int32_t* newData = (int32_t*)
uprv_malloc
(newLen * BYTES_PER_WORD);
/external/icu/icu4c/source/test/intltest/
textfile.cpp
38
name =
uprv_malloc
(uprv_strlen(_name) + 1);
39
encoding =
uprv_malloc
(uprv_strlen(_encoding) + 1);
170
char* newbuffer = (char*)
uprv_malloc
(mincapacity);
idnaref.cpp
147
b1 = (uint32_t*)
uprv_malloc
(b1Len * sizeof(uint32_t));
161
//caseFlags = (unsigned char*)
uprv_malloc
(b1Len *sizeof(unsigned char));
168
b2 = (char*)
uprv_malloc
( b2Len * sizeof(char));
213
unsigned char* caseFlags = NULL; //(unsigned char*)
uprv_malloc
(srcLength * sizeof(unsigned char*));
217
b2 = (uint32_t*)
uprv_malloc
(b2Len * sizeof(uint32_t));
303
b1 = (UChar*)
uprv_malloc
(b1Len * U_SIZEOF_UCHAR);
355
//caseFlags = (UBool*)
uprv_malloc
(b1Len * sizeof(UBool));
362
b2 = (UChar*)
uprv_malloc
(b2Len * U_SIZEOF_UCHAR);
492
b1 = (UChar*)
uprv_malloc
(b1Len * U_SIZEOF_UCHAR);
513
b1 = (UChar*)
uprv_malloc
(srcLength * U_SIZEOF_UCHAR)
[
all
...]
/external/icu/icu4c/source/tools/genrb/
wrtxml.cpp
81
char* dest = (char*)
uprv_malloc
(len);
109
result = (char *)
uprv_malloc
(sizeof(char)*uprv_strlen(id) + 1);
113
result = (char *)
uprv_malloc
(sizeof(char)*(uprv_strlen(id) + 1 + uprv_strlen(curKey)) + 1);
190
char* localeID = (char*)
uprv_malloc
(idLen);
208
canon = (char*)
uprv_malloc
(canonCapacity);
249
dest = (char*)
uprv_malloc
(sizeof(char) * destCap);
347
temp = (char*)
uprv_malloc
(sizeof(char)*destCap);
408
buf = (char*) (
uprv_malloc
(bufCapacity));
438
note = (UChar*)
uprv_malloc
(U_SIZEOF_UCHAR * capacity);
495
UChar* desc = (UChar*)
uprv_malloc
(U_SIZEOF_UCHAR * capacity)
[
all
...]
genrb.cpp
303
char *nameWithoutSuffix = static_cast<char *>(
uprv_malloc
(uprv_strlen(poolResName) + 1));
581
openFileName = (char *)
uprv_malloc
(dirlen + filelen + 2);
591
inputDirBuf = uprv_strncpy((char *)
uprv_malloc
(filenameSize), filename, filenameSize);
607
openFileName = (char *)
uprv_malloc
(dirlen + filelen + 2);
633
openFileName = (char *)
uprv_malloc
(dirlen + filelen + 1);
762
basename = (char*)
uprv_malloc
(sizeof(char) * (uprv_strlen(filename) + 1));
770
dirname = (char*)
uprv_malloc
(sizeof(char) * (uprv_strlen(filename) + 1));
780
resName = (char*)
uprv_malloc
(sizeof(char) * (uprv_strlen(dirname)
803
resName = (char*)
uprv_malloc
(sizeof(char) * (dirlen + pkgLen + basenamelen + 8));
/external/icu/icu4c/source/tools/toolutil/
flagparser.c
38
buffer =
uprv_malloc
(sizeof(char) * currentBufferSize);
39
tmpFlagBuffer =
uprv_malloc
(sizeof(char) * flagBufferSize);
51
buffer =
uprv_malloc
(sizeof(char) * currentBufferSize);
/external/icu/icu4c/source/io/
uscanf.c
78
pattern = (UChar *)
uprv_malloc
(size * sizeof(UChar));
sscanf.c
77
pattern = (UChar *)
uprv_malloc
(size * sizeof(UChar));
/external/icu/icu4c/source/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/icu/icu4c/source/i18n/
sortkey.cpp
102
uint8_t *newBytes = static_cast<uint8_t *>(
uprv_malloc
(newCapacity));
228
uint8_t *result = (uint8_t*)
uprv_malloc
( sizeof(uint8_t) * fCount );
nfrlist.h
42
: fStuff(capacity ? (NFRule**)
uprv_malloc
(capacity * sizeof(NFRule*)) : NULL)
rbt_data.cpp
61
variables = (UnicodeFunctor **)
uprv_malloc
(variablesLength * sizeof(UnicodeFunctor *));
uni2name.cpp
85
char* buf = (char*)
uprv_malloc
(maxLen);
vzone.cpp
88
result = (UChar*)
uprv_malloc
(resultLength);
100
result = (UChar*)
uprv_malloc
(resultLength);
112
result = (UChar*)
uprv_malloc
(resultLength);
/external/icu/icu4c/source/test/perf/unisetperf/draft/
trieset.cpp
73
trieData=(uint32_t *)
uprv_malloc
(length);
Completed in 629 milliseconds
1
2
3
4
5
6
7