Home
last modified time | relevance | path

Searched refs:NEW_ARRAY (Results 1 – 25 of 56) sorted by relevance

123

/external/chromium_org/third_party/icu/source/i18n/
Dwinnmfmt.cpp48 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() macro
89 fmt->lpDecimalSep = NEW_ARRAY(UChar, 6); in getNumberFormat()
92 fmt->lpThousandSep = NEW_ARRAY(UChar, 6); in getNumberFormat()
116 fmt->lpDecimalSep = NEW_ARRAY(UChar, 6); in getCurrencyFormat()
119 fmt->lpThousandSep = NEW_ARRAY(UChar, 6); in getCurrencyFormat()
125 fmt->lpCurrencySymbol = NEW_ARRAY(UChar, 8); in getCurrencyFormat()
310 buffer = NEW_ARRAY(UChar, newLength); in format()
330 buffer = NEW_ARRAY(UChar, newLength); in format()
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 in InputText()
31 fByteStats(NEW_ARRAY(int16_t, 256)), // byte frequency statistics for the input text. in InputText()
66 fDeclaredEncoding = NEW_ARRAY(char, len); in setDeclaredEncoding()
Dwindtfmt.cpp50 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() macro
101 fTZI = NEW_ARRAY(TIME_ZONE_INFORMATION, 1); in Win32DateFormat()
134 this->fTZI = NEW_ARRAY(TIME_ZONE_INFORMATION, 1); in operator =()
247 buffer = NEW_ARRAY(UChar, newLength); in formatDate()
273 buffer = NEW_ARRAY(UChar, newLength); in formatTime()
Dcsdetect.cpp32 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) macro
133 recognizers = NEW_ARRAY(CharsetRecognizer *, rCount); in setRecognizers()
405 UEnumeration *en = NEW_ARRAY(UEnumeration, 1); in ucsdet_getAllDetectableCharsets()
407 en->context = (void*)NEW_ARRAY(Context, 1); in ucsdet_getAllDetectableCharsets()
Dbmsearch.cpp38 #define NEW_ARRAY(type, count) (type *) uprv_malloc((count) * sizeof(type)) macro
115 ceb = NEW_ARRAY(CEI, bufferSize); in Target()
394 int32_t *history = NEW_ARRAY(int32_t, plen); in BadCharacterTable()
405 minLengthCache = NEW_ARRAY(int32_t, plen + 1); in BadCharacterTable()
485 int32_t *suff = NEW_ARRAY(int32_t, patlen); in GoodSuffixTable()
520 goodSuffixTable = NEW_ARRAY(int32_t, patlen); in GoodSuffixTable()
/external/icu/icu4c/source/i18n/
Dwinnmfmt.cpp48 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() macro
89 fmt->lpDecimalSep = NEW_ARRAY(UChar, 6); in getNumberFormat()
92 fmt->lpThousandSep = NEW_ARRAY(UChar, 6); in getNumberFormat()
116 fmt->lpDecimalSep = NEW_ARRAY(UChar, 6); in getCurrencyFormat()
119 fmt->lpThousandSep = NEW_ARRAY(UChar, 6); in getCurrencyFormat()
125 fmt->lpCurrencySymbol = NEW_ARRAY(UChar, 8); in getCurrencyFormat()
317 buffer = NEW_ARRAY(UChar, newLength); in format()
337 buffer = NEW_ARRAY(UChar, newLength); in format()
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 in InputText()
31 fByteStats(NEW_ARRAY(int16_t, 256)), // byte frequency statistics for the input text. in InputText()
66 fDeclaredEncoding = NEW_ARRAY(char, len); in setDeclaredEncoding()
Dcsdetect.cpp32 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) macro
123 fCSRecognizers = NEW_ARRAY(CSRecognizerInfo *, rCount); in initRecognizers()
298 fEnabledRecognizers = NEW_ARRAY(UBool, fCSRecognizers_size); in setDetectableCharset()
442 UEnumeration *en = NEW_ARRAY(UEnumeration, 1); in getAllDetectableCharsets()
448 en->context = (void*)NEW_ARRAY(Context, 1); in getAllDetectableCharsets()
465 UEnumeration *en = NEW_ARRAY(UEnumeration, 1); in getDetectableCharsets()
471 en->context = (void*)NEW_ARRAY(Context, 1); in getDetectableCharsets()
Dwindtfmt.cpp50 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() macro
101 fTZI = NEW_ARRAY(TIME_ZONE_INFORMATION, 1); in Win32DateFormat()
135 this->fTZI = NEW_ARRAY(TIME_ZONE_INFORMATION, 1); in operator =()
248 buffer = NEW_ARRAY(UChar, newLength); in formatDate()
274 buffer = NEW_ARRAY(UChar, newLength); in formatTime()
/external/icu/icu4c/source/test/letest/
Dletsutil.cpp38 char *cString = NEW_ARRAY(char, cLength + 1); in getCString()
65 char *cString = NEW_ARRAY(char, cLength + 1); in getUTF8String()
Dcletest.c60 glyphs = NEW_ARRAY(LEGlyphID, glyphCount + 10); in ParamTest()
61 indices = NEW_ARRAY(le_int32, glyphCount + 10); in ParamTest()
62 positions = NEW_ARRAY(float, glyphCount + 10); in ParamTest()
472 actual.glyphs = NEW_ARRAY(LEGlyphID, actual.glyphCount); in doTestCase()
473 actual.indices = NEW_ARRAY(le_int32, actual.glyphCount); in doTestCase()
474 actual.positions = NEW_ARRAY(float, actual.glyphCount * 2 + 2); in doTestCase()
Dletest.cpp69 glyphs = NEW_ARRAY(LEGlyphID, glyphCount + 10); in ParamTest()
70 indices = NEW_ARRAY(le_int32, glyphCount + 10); in ParamTest()
71 positions = NEW_ARRAY(float, glyphCount + 10); in ParamTest()
451 le_uint32 *array = NEW_ARRAY(le_uint32, arraySize); in getHexArray()
497 float *array = NEW_ARRAY(float, arraySize); in getFloatArray()
699 actual.glyphs = NEW_ARRAY(LEGlyphID, actual.glyphCount); in DataDrivenTest()
700 actual.indices = NEW_ARRAY(le_int32, actual.glyphCount); in DataDrivenTest()
701 actual.positions = NEW_ARRAY(float, actual.glyphCount * 2 + 2); in DataDrivenTest()
Dgendata.cpp316 glyphs = NEW_ARRAY(LEGlyphID, glyphCount); in main()
317 indices = NEW_ARRAY(le_int32, glyphCount); in main()
318 positions = NEW_ARRAY(float, glyphCount * 2 + 2); in main()
/external/chromium_org/third_party/icu/source/test/letest/
Dletsutil.cpp38 char *cString = NEW_ARRAY(char, cLength + 1); in getCString()
65 char *cString = NEW_ARRAY(char, cLength + 1); in getUTF8String()
Dcletest.c60 glyphs = NEW_ARRAY(LEGlyphID, glyphCount + 10); in ParamTest()
61 indices = NEW_ARRAY(le_int32, glyphCount + 10); in ParamTest()
62 positions = NEW_ARRAY(float, glyphCount + 10); in ParamTest()
472 actual.glyphs = NEW_ARRAY(LEGlyphID, actual.glyphCount); in doTestCase()
473 actual.indices = NEW_ARRAY(le_int32, actual.glyphCount); in doTestCase()
474 actual.positions = NEW_ARRAY(float, actual.glyphCount * 2 + 2); in doTestCase()
DPortableFontInstance.cpp96 fDirectory = (const SFNTDirectory *) NEW_ARRAY(char, dirSize); in PortableFontInstance()
223 void *table = NEW_ARRAY(char, *length); in readTable()
278 char *result = NEW_ARRAY(char, length + 2); in getNameString()
311 LEUnicode16 *result = NEW_ARRAY(LEUnicode16, length + 2); in getUnicodeNameString()
Dgendata.cpp259 glyphs = NEW_ARRAY(LEGlyphID, glyphCount); in main()
260 indices = NEW_ARRAY(le_int32, glyphCount); in main()
261 positions = NEW_ARRAY(float, glyphCount * 2 + 2); in main()
Dletest.cpp69 glyphs = NEW_ARRAY(LEGlyphID, glyphCount + 10); in ParamTest()
70 indices = NEW_ARRAY(le_int32, glyphCount + 10); in ParamTest()
71 positions = NEW_ARRAY(float, glyphCount + 10); in ParamTest()
451 le_uint32 *array = NEW_ARRAY(le_uint32, arraySize); in getHexArray()
497 float *array = NEW_ARRAY(float, arraySize); in getFloatArray()
699 actual.glyphs = NEW_ARRAY(LEGlyphID, actual.glyphCount); in DataDrivenTest()
700 actual.indices = NEW_ARRAY(le_int32, actual.glyphCount); in DataDrivenTest()
701 actual.positions = NEW_ARRAY(float, actual.glyphCount * 2 + 2); in DataDrivenTest()
Dletest.h29 #define NEW_ARRAY(type,count) (type *) malloc((count) * sizeof(type)) macro
/external/dexmaker/src/dx/java/com/android/dx/rop/code/
DRegOps.java199 public static final int NEW_ARRAY = 41; field in RegOps
354 case NEW_ARRAY: return "new-array"; in opName()
/external/icu/icu4c/source/samples/layout/
Dpflow.c123 flow = NEW_ARRAY(pf_object, 1); in pf_create()
146 flow->fLines = NEW_ARRAY(pl_line *, flow->fLinesMax); in pf_create()
147 flow->fParagraphLayout = NEW_ARRAY(pl_paragraph *, flow->fParagraphMax); in pf_create()
149 flow->fChars = NEW_ARRAY(LEUnicode, charCount + 1); in pf_create()
Darraymem.h16 #define NEW_ARRAY(type,count) (type *) malloc((count) * sizeof(type)) macro
/external/chromium_org/third_party/icu/source/test/intltest/
Dwinnmtst.cpp48 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) macro
195 buffer = NEW_ARRAY(UChar, newLength); in getWindowsFormat()
209 buffer = NEW_ARRAY(UChar, newLength); in getWindowsFormat()
/external/icu/icu4c/source/test/intltest/
Dwinnmtst.cpp48 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) macro
195 buffer = NEW_ARRAY(UChar, newLength); in getWindowsFormat()
209 buffer = NEW_ARRAY(UChar, newLength); in getWindowsFormat()
/external/srec/portable/include/
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

123