Searched refs:NEW_ARRAY (Results 1 - 25 of 57) sorted by relevance

123

/external/chromium_org/third_party/icu/source/samples/layout/
H A Darraymem.h16 #define NEW_ARRAY(type,count) (type *) malloc((count) * sizeof(type)) macro
H A Dpflow.c123 flow = NEW_ARRAY(pf_object, 1);
146 flow->fLines = NEW_ARRAY(pl_line *, flow->fLinesMax);
147 flow->fParagraphLayout = NEW_ARRAY(pl_paragraph *, flow->fParagraphMax);
149 flow->fChars = NEW_ARRAY(LEUnicode, charCount + 1);
/external/icu/icu4c/source/samples/layout/
H A Darraymem.h16 #define NEW_ARRAY(type,count) (type *) malloc((count) * sizeof(type)) macro
H A Dpflow.c123 flow = NEW_ARRAY(pf_object, 1);
146 flow->fLines = NEW_ARRAY(pl_line *, flow->fLinesMax);
147 flow->fParagraphLayout = NEW_ARRAY(pl_paragraph *, flow->fParagraphMax);
149 flow->fChars = NEW_ARRAY(LEUnicode, charCount + 1);
/external/chromium_org/third_party/icu/source/i18n/
H A Dinputext.cpp25 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) macro
29 : fInputBytes(NEW_ARRAY(uint8_t, BUFFER_SIZE)), // The text to be checked. Markup will have been
31 fByteStats(NEW_ARRAY(int16_t, 256)), // byte frequency statistics for the input text.
66 fDeclaredEncoding = NEW_ARRAY(char, len);
H A Dwinnmfmt.cpp48 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) macro
89 fmt->lpDecimalSep = NEW_ARRAY(UChar, 6);
92 fmt->lpThousandSep = NEW_ARRAY(UChar, 6);
116 fmt->lpDecimalSep = NEW_ARRAY(UChar, 6);
119 fmt->lpThousandSep = NEW_ARRAY(UChar, 6);
125 fmt->lpCurrencySymbol = NEW_ARRAY(UChar, 8);
270 nBuffer = NEW_ARRAY(UChar, newLength + 1);
317 buffer = NEW_ARRAY(UChar, newLength);
337 buffer = NEW_ARRAY(UChar, newLength);
H A Dcsdetect.cpp32 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) macro
123 fCSRecognizers = NEW_ARRAY(CSRecognizerInfo *, rCount);
298 fEnabledRecognizers = NEW_ARRAY(UBool, fCSRecognizers_size);
442 UEnumeration *en = NEW_ARRAY(UEnumeration, 1);
448 en->context = (void*)NEW_ARRAY(Context, 1);
465 UEnumeration *en = NEW_ARRAY(UEnumeration, 1);
471 en->context = (void*)NEW_ARRAY(Context, 1);
H A Dwindtfmt.cpp50 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) macro
101 fTZI = NEW_ARRAY(TIME_ZONE_INFORMATION, 1);
135 this->fTZI = NEW_ARRAY(TIME_ZONE_INFORMATION, 1);
248 buffer = NEW_ARRAY(UChar, newLength);
274 buffer = NEW_ARRAY(UChar, newLength);
/external/chromium_org/third_party/icu/source/test/letest/
H A Dletest.h29 #define NEW_ARRAY(type,count) (type *) malloc((count) * sizeof(type)) macro
H A Dletsutil.cpp38 char *cString = NEW_ARRAY(char, cLength + 1);
65 char *cString = NEW_ARRAY(char, cLength + 1);
H A Dgendata.cpp316 glyphs = NEW_ARRAY(LEGlyphID, glyphCount);
317 indices = NEW_ARRAY(le_int32, glyphCount);
318 positions = NEW_ARRAY(float, glyphCount * 2 + 2);
H A Dxmlreader.cpp45 le_uint32 *array = NEW_ARRAY(le_uint32, arraySize);
91 float *array = NEW_ARRAY(float, arraySize);
/external/icu/icu4c/source/i18n/
H A Dinputext.cpp25 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) macro
29 : fInputBytes(NEW_ARRAY(uint8_t, BUFFER_SIZE)), // The text to be checked. Markup will have been
31 fByteStats(NEW_ARRAY(int16_t, 256)), // byte frequency statistics for the input text.
66 fDeclaredEncoding = NEW_ARRAY(char, len);
H A Dwinnmfmt.cpp48 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) macro
89 fmt->lpDecimalSep = NEW_ARRAY(UChar, 6);
92 fmt->lpThousandSep = NEW_ARRAY(UChar, 6);
116 fmt->lpDecimalSep = NEW_ARRAY(UChar, 6);
119 fmt->lpThousandSep = NEW_ARRAY(UChar, 6);
125 fmt->lpCurrencySymbol = NEW_ARRAY(UChar, 8);
270 nBuffer = NEW_ARRAY(UChar, newLength + 1);
317 buffer = NEW_ARRAY(UChar, newLength);
337 buffer = NEW_ARRAY(UChar, newLength);
H A Dcsdetect.cpp32 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) macro
123 fCSRecognizers = NEW_ARRAY(CSRecognizerInfo *, rCount);
298 fEnabledRecognizers = NEW_ARRAY(UBool, fCSRecognizers_size);
442 UEnumeration *en = NEW_ARRAY(UEnumeration, 1);
448 en->context = (void*)NEW_ARRAY(Context, 1);
465 UEnumeration *en = NEW_ARRAY(UEnumeration, 1);
471 en->context = (void*)NEW_ARRAY(Context, 1);
H A Dwindtfmt.cpp50 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) macro
101 fTZI = NEW_ARRAY(TIME_ZONE_INFORMATION, 1);
135 this->fTZI = NEW_ARRAY(TIME_ZONE_INFORMATION, 1);
248 buffer = NEW_ARRAY(UChar, newLength);
274 buffer = NEW_ARRAY(UChar, newLength);
H A Ducoleitr.cpp43 #define NEW_ARRAY(type, count) (type *) uprv_malloc((count) * sizeof(type)) macro
95 RCEI *newBuffer = NEW_ARRAY(RCEI, bufferSize + BUFFER_GROW);
150 PCEI *newBuffer = NEW_ARRAY(PCEI, bufferSize + BUFFER_GROW);
/external/icu/icu4c/source/test/letest/
H A Dletest.h29 #define NEW_ARRAY(type,count) (type *) malloc((count) * sizeof(type)) macro
H A Dletsutil.cpp38 char *cString = NEW_ARRAY(char, cLength + 1);
65 char *cString = NEW_ARRAY(char, cLength + 1);
H A Dgendata.cpp316 glyphs = NEW_ARRAY(LEGlyphID, glyphCount);
317 indices = NEW_ARRAY(le_int32, glyphCount);
318 positions = NEW_ARRAY(float, glyphCount * 2 + 2);
/external/dexmaker/src/dx/java/com/android/dx/rop/code/
H A DRegOps.java199 public static final int NEW_ARRAY = 41; field in class:RegOps
354 case NEW_ARRAY: return "new-array";
/external/srec/portable/include/
H A Dpmemory.h70 #define NEW_ARRAY(type, n, tag) ((type*)CALLOC(n, sizeof(type), tag)) macro
143 #define NEW_ARRAY(type, nbElem, tag) ((type *) CALLOC(nbElem, sizeof(type), tag)) macro
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dwinnmtst.cpp48 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) macro
157 nBuffer = NEW_ARRAY(UChar, newLength + 1);
195 buffer = NEW_ARRAY(UChar, newLength);
209 buffer = NEW_ARRAY(UChar, newLength);
/external/icu/icu4c/source/test/intltest/
H A Dwinnmtst.cpp48 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) macro
157 nBuffer = NEW_ARRAY(UChar, newLength + 1);
195 buffer = NEW_ARRAY(UChar, newLength);
209 buffer = NEW_ARRAY(UChar, newLength);
/external/chromium_org/third_party/icu/source/test/perf/leperf/
H A Dxmlreader.cpp45 le_uint32 *array = NEW_ARRAY(le_uint32, arraySize);
91 float *array = NEW_ARRAY(float, arraySize);

Completed in 367 milliseconds

123