Home
last modified time | relevance | path

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

12

/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
125 fCSRecognizers = NEW_ARRAY(CSRecognizerInfo *, rCount); in initRecognizers()
300 fEnabledRecognizers = NEW_ARRAY(UBool, fCSRecognizers_size); in setDetectableCharset()
444 UEnumeration *en = NEW_ARRAY(UEnumeration, 1); in getAllDetectableCharsets()
450 en->context = (void*)NEW_ARRAY(Context, 1); in getAllDetectableCharsets()
467 UEnumeration *en = NEW_ARRAY(UEnumeration, 1); in getDetectableCharsets()
473 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()
Ducoleitr.cpp41 #define NEW_ARRAY(type, count) (type *) uprv_malloc((count) * sizeof(type)) macro
93 RCEI *newBuffer = NEW_ARRAY(RCEI, bufferSize + BUFFER_GROW); in put()
148 PCEI *newBuffer = NEW_ARRAY(PCEI, bufferSize + BUFFER_GROW); in put()
Ducsdet.cpp26 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) macro
/external/icu/icu4c/source/test/letest/
Dletsutil.cpp40 char *cString = NEW_ARRAY(char, cLength + 1); in getCString()
67 char *cString = NEW_ARRAY(char, cLength + 1); in getUTF8String()
Dcletest.c62 glyphs = NEW_ARRAY(LEGlyphID, glyphCount + 10); in ParamTest()
63 indices = NEW_ARRAY(le_int32, glyphCount + 10); in ParamTest()
64 positions = NEW_ARRAY(float, glyphCount + 10); in ParamTest()
474 actual.glyphs = NEW_ARRAY(LEGlyphID, actual.glyphCount); in doTestCase()
475 actual.indices = NEW_ARRAY(le_int32, actual.glyphCount); in doTestCase()
476 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()
452 le_uint32 *array = NEW_ARRAY(le_uint32, arraySize); in getHexArray()
498 float *array = NEW_ARRAY(float, arraySize); in getFloatArray()
700 actual.glyphs = NEW_ARRAY(LEGlyphID, actual.glyphCount); in DataDrivenTest()
701 actual.indices = NEW_ARRAY(le_int32, actual.glyphCount); in DataDrivenTest()
702 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()
Dletest.h34 #define NEW_ARRAY(type,count) (type *) malloc((count) * sizeof(type)) macro
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/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
Dcgnomelayout.c226 Context *context = NEW_ARRAY(Context, 1); in newSample()
/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()
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()
331 UChar *detected = NEW_ARRAY(UChar, sLength); in UTF8Test()
Dcolldata.cpp36 #define NEW_ARRAY(type, count) (type *) uprv_malloc((count) * sizeof(type)) macro
115 uint32_t *newCEs = NEW_ARRAY(uint32_t, newMax); in add()
639 int32_t *history = NEW_ARRAY(int32_t, clength); in minLengthInChars()
/external/icu/icu4c/source/test/perf/leperf/
Dxmlreader.cpp45 le_uint32 *array = NEW_ARRAY(le_uint32, arraySize); in getHexArray()
91 float *array = NEW_ARRAY(float, arraySize); in getFloatArray()
/external/icu/icu4c/source/test/cintltst/
Ducsdetst.c21 #define NEW_ARRAY(type,count) (type *) malloc((count) * sizeof(type)) macro
75 char *bytes = NEW_ARRAY(char, byteCount + 1); in extractBytes()
/external/dexmaker/src/dx/java/com/android/dx/io/
DOpcodes.java79 public static final int NEW_ARRAY = 0x23; field in Opcodes
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
DRopTranslator.java718 if ((rop.getOpcode() == RegOps.NEW_ARRAY) && in visitThrowingCstInsn()
719 (opcode.getOpcode() != Opcodes.NEW_ARRAY)) { in visitThrowingCstInsn()
DRopToDop.java493 case RegOps.NEW_ARRAY: return Dops.NEW_ARRAY; in dopFor()

12