Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
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()
Dwinnmfmt.cpp52 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() macro
93 fmt->lpDecimalSep = NEW_ARRAY(wchar_t, 6); in getNumberFormat()
96 fmt->lpThousandSep = NEW_ARRAY(wchar_t, 6); in getNumberFormat()
120 fmt->lpDecimalSep = NEW_ARRAY(wchar_t, 6); in getCurrencyFormat()
123 fmt->lpThousandSep = NEW_ARRAY(wchar_t, 6); in getCurrencyFormat()
129 fmt->lpCurrencySymbol = NEW_ARRAY(wchar_t, 8); in getCurrencyFormat()
416 buffer = NEW_ARRAY(wchar_t, newLength); in format()
436 buffer = NEW_ARRAY(wchar_t, newLength); in format()
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.cpp52 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() macro
174 fTZI = NEW_ARRAY(TIME_ZONE_INFORMATION, 1); in Win32DateFormat()
208 this->fTZI = NEW_ARRAY(TIME_ZONE_INFORMATION, 1); in operator =()
325 buffer = NEW_ARRAY(wchar_t, newLength); in formatDate()
358 buffer = NEW_ARRAY(wchar_t, newLength); in formatTime()
Ducoleitr.cpp41 #define NEW_ARRAY(type, count) (type *) uprv_malloc((size_t)(count) * sizeof(type)) macro
94 RCEI *newBuffer = NEW_ARRAY(RCEI, bufferSize + BUFFER_GROW); in put()
156 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/
Dcletest.c64 glyphs = NEW_ARRAY(LEGlyphID, glyphCount + 10); in ParamTest()
65 indices = NEW_ARRAY(le_int32, glyphCount + 10); in ParamTest()
66 positions = NEW_ARRAY(float, glyphCount + 10); in ParamTest()
476 actual.glyphs = NEW_ARRAY(LEGlyphID, actual.glyphCount); in doTestCase()
477 actual.indices = NEW_ARRAY(le_int32, actual.glyphCount); in doTestCase()
478 actual.positions = NEW_ARRAY(float, actual.glyphCount * 2 + 2); in doTestCase()
Dletsutil.cpp42 char *cString = NEW_ARRAY(char, cLength + 1); in getCString()
69 char *cString = NEW_ARRAY(char, cLength + 1); in getUTF8String()
Dletest.cpp71 glyphs = NEW_ARRAY(LEGlyphID, glyphCount + 10); in ParamTest()
72 indices = NEW_ARRAY(le_int32, glyphCount + 10); in ParamTest()
73 positions = NEW_ARRAY(float, glyphCount + 10); in ParamTest()
454 le_uint32 *array = NEW_ARRAY(le_uint32, arraySize); in getHexArray()
500 float *array = NEW_ARRAY(float, arraySize); in getFloatArray()
702 actual.glyphs = NEW_ARRAY(LEGlyphID, actual.glyphCount); in DataDrivenTest()
703 actual.indices = NEW_ARRAY(le_int32, actual.glyphCount); in DataDrivenTest()
704 actual.positions = NEW_ARRAY(float, actual.glyphCount * 2 + 2); in DataDrivenTest()
Dgendata.cpp318 glyphs = NEW_ARRAY(LEGlyphID, glyphCount); in main()
319 indices = NEW_ARRAY(le_int32, glyphCount); in main()
320 positions = NEW_ARRAY(float, glyphCount * 2 + 2); in main()
Dletest.h36 #define NEW_ARRAY(type,count) (type *) malloc((count) * sizeof(type)) macro
Dxmlreader.cpp47 le_uint32 *array = NEW_ARRAY(le_uint32, arraySize); in getHexArray()
93 float *array = NEW_ARRAY(float, arraySize); in getFloatArray()
/external/icu/icu4c/source/samples/layout/
Dpflow.c126 flow = NEW_ARRAY(pf_object, 1); in pf_create()
149 flow->fLines = NEW_ARRAY(pl_line *, flow->fLinesMax); in pf_create()
150 flow->fParagraphLayout = NEW_ARRAY(pl_paragraph *, flow->fParagraphMax); in pf_create()
152 flow->fChars = NEW_ARRAY(LEUnicode, charCount + 1); in pf_create()
Darraymem.h19 #define NEW_ARRAY(type,count) (type *) malloc((count) * sizeof(type)) macro
Dcgnomelayout.c232 Context *context = NEW_ARRAY(Context, 1); in newSample()
Dclayout.c151 context = NEW_ARRAY(Context, 1); in WndProc()
/external/icu/icu4c/source/test/intltest/
Dwinnmtst.cpp53 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) macro
200 buffer = NEW_ARRAY(wchar_t, newLength); in getWindowsFormat()
214 buffer = NEW_ARRAY(wchar_t, 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.cpp37 #define NEW_ARRAY(type, count) (type *) uprv_malloc((size_t)(count) * sizeof(type)) macro
114 uint32_t *newCEs = NEW_ARRAY(uint32_t, newMax); in add()
638 int32_t *history = NEW_ARRAY(int32_t, clength); in minLengthInChars()
Dssearch.cpp45 #define NEW_ARRAY(type, count) (type *) uprv_malloc((count) * sizeof(type)) macro
/external/icu/icu4c/source/test/perf/leperf/
Dxmlreader.cpp51 le_uint32 *array = NEW_ARRAY(le_uint32, arraySize); in getHexArray()
97 float *array = NEW_ARRAY(float, arraySize); in getFloatArray()
/external/icu/icu4c/source/test/cintltst/
Ducsdetst.c22 #define NEW_ARRAY(type,count) (type *) malloc((count) * sizeof(type)) macro
76 char *bytes = NEW_ARRAY(char, byteCount + 1); in extractBytes()
/external/smali/smalidea/src/main/java/org/jf/smalidea/findUsages/
DSmaliUsageTypeProvider.java74 …vate final Set<Opcode> newArrayInstructions = EnumSet.of(Opcode.FILLED_NEW_ARRAY, Opcode.NEW_ARRAY,
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/
DOpcode.java79NEW_ARRAY(0x23, "new-array", ReferenceType.TYPE, Format.Format22c, Opcode.CAN_THROW | Opcode.CAN_C… enumConstant
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DMethodAnalyzer.java676 case NEW_ARRAY: