Home
last modified time | relevance | path

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

12

/external/icu4c/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
121 recognizers = NEW_ARRAY(CharsetRecognizer *, rCount); in setRecognizers()
359 UEnumeration *en = NEW_ARRAY(UEnumeration, 1); in ucsdet_getAllDetectableCharsets()
361 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()
Dcolldata.cpp39 #define NEW_ARRAY(type, count) (type *) uprv_malloc((count) * sizeof(type)) macro
139 uint32_t *newCEs = NEW_ARRAY(uint32_t, newMax); in add()
596 keyBuffer = NEW_ARRAY(char, *keyBufferLength); in getKey()
685 key = NEW_ARRAY(char, cacheKeyLength); in CollData()
1010 int32_t *history = NEW_ARRAY(int32_t, clength); in minLengthInChars()
Ducsdet.cpp21 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) macro
/external/icu4c/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()
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.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.h29 #define NEW_ARRAY(type,count) (type *) malloc((count) * sizeof(type)) macro
DFontTableCache.cpp25 fTableCache = NEW_ARRAY(FontTableCacheEntry, fTableCacheSize); in FontTableCache()
Dxmlreader.cpp45 le_uint32 *array = NEW_ARRAY(le_uint32, arraySize); in getHexArray()
91 float *array = NEW_ARRAY(float, arraySize); in getFloatArray()
/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()
DRops.java760 new Rop(RegOps.NEW_ARRAY, Type.INT_ARRAY, StdTypeList.INT,
766 new Rop(RegOps.NEW_ARRAY, Type.LONG_ARRAY, StdTypeList.INT,
772 new Rop(RegOps.NEW_ARRAY, Type.FLOAT_ARRAY, StdTypeList.INT,
778 new Rop(RegOps.NEW_ARRAY, Type.DOUBLE_ARRAY, StdTypeList.INT,
784 new Rop(RegOps.NEW_ARRAY, Type.BOOLEAN_ARRAY, StdTypeList.INT,
790 new Rop(RegOps.NEW_ARRAY, Type.BYTE_ARRAY, StdTypeList.INT,
796 new Rop(RegOps.NEW_ARRAY, Type.CHAR_ARRAY, StdTypeList.INT,
802 new Rop(RegOps.NEW_ARRAY, Type.SHORT_ARRAY, StdTypeList.INT,
1196 case RegOps.NEW_ARRAY: return opNewArray(dest.getType()); in ropFor()
1843 return new Rop(RegOps.NEW_ARRAY, type, StdTypeList.INT, in opNewArray()
/external/icu4c/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/icu4c/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()
Dcsdetest.cpp30 #define NEW_ARRAY(type,count) (type *) /*uprv_*/malloc((count) * sizeof(type)) macro
145 bytes = NEW_ARRAY(char, length + 1); in extractBytes()
217 decoded = NEW_ARRAY(UChar, testLength); in checkEncoding()
292 UChar *detected = NEW_ARRAY(UChar, sLength); in UTF8Test()
/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
/external/harfbuzz_ng/src/hb-icu-le/
Dletest.h41 #define NEW_ARRAY(type,count) (type *) malloc((count) * sizeof(type)) macro
DPortableFontInstance.cpp111 char *result = NEW_ARRAY(char, length + 2); in getNameString()
144 LEUnicode16 *result = NEW_ARRAY(LEUnicode16, length + 2); in getUnicodeNameString()
DFontTableCache.cpp25 fTableCache = NEW_ARRAY(FontTableCacheEntry, fTableCacheSize); in FontTableCache()

12