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

12

/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);
H A Dcgnomelayout.c226 Context *context = NEW_ARRAY(Context, 1);
H A Dclayout.c145 context = NEW_ARRAY(Context, 1);
/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
125 fCSRecognizers = NEW_ARRAY(CSRecognizerInfo *, rCount);
300 fEnabledRecognizers = NEW_ARRAY(UBool, fCSRecognizers_size);
444 UEnumeration *en = NEW_ARRAY(UEnumeration, 1);
450 en->context = (void*)NEW_ARRAY(Context, 1);
467 UEnumeration *en = NEW_ARRAY(UEnumeration, 1);
473 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.cpp39 #define NEW_ARRAY(type, count) (type *) uprv_malloc((count) * sizeof(type)) macro
92 RCEI *newBuffer = NEW_ARRAY(RCEI, bufferSize + BUFFER_GROW);
154 PCEI *newBuffer = NEW_ARRAY(PCEI, bufferSize + BUFFER_GROW);
H A Ducsdet.cpp26 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) macro
/external/icu/icu4c/source/test/letest/
H A Dletest.h34 #define NEW_ARRAY(type,count) (type *) malloc((count) * sizeof(type)) macro
H A Dletsutil.cpp40 char *cString = NEW_ARRAY(char, cLength + 1);
67 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);
H A Dletest.cpp69 glyphs = NEW_ARRAY(LEGlyphID, glyphCount + 10);
70 indices = NEW_ARRAY(le_int32, glyphCount + 10);
71 positions = NEW_ARRAY(float, glyphCount + 10);
452 le_uint32 *array = NEW_ARRAY(le_uint32, arraySize);
498 float *array = NEW_ARRAY(float, arraySize);
700 actual.glyphs = NEW_ARRAY(LEGlyphID, actual.glyphCount);
701 actual.indices = NEW_ARRAY(le_int32, actual.glyphCount);
702 actual.positions = NEW_ARRAY(float, actual.glyphCount * 2 + 2);
H A Dcletest.c62 glyphs = NEW_ARRAY(LEGlyphID, glyphCount + 10);
63 indices = NEW_ARRAY(le_int32, glyphCount + 10);
64 positions = NEW_ARRAY(float, glyphCount + 10);
474 actual.glyphs = NEW_ARRAY(LEGlyphID, actual.glyphCount);
475 actual.indices = NEW_ARRAY(le_int32, actual.glyphCount);
476 actual.positions = NEW_ARRAY(float, actual.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";
H A 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());
1843 return new Rop(RegOps.NEW_ARRAY, typ
[all...]
/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);
H A Dcolldata.cpp36 #define NEW_ARRAY(type, count) (type *) uprv_malloc((count) * sizeof(type)) macro
115 uint32_t *newCEs = NEW_ARRAY(uint32_t, newMax);
639 int32_t *history = NEW_ARRAY(int32_t, clength);
/external/icu/icu4c/source/test/perf/leperf/
H A Dxmlreader.cpp45 le_uint32 *array = NEW_ARRAY(le_uint32, arraySize);
91 float *array = NEW_ARRAY(float, arraySize);
/external/smali/smalidea/src/main/java/org/jf/smalidea/findUsages/
H A DSmaliUsageTypeProvider.java74 private final Set<Opcode> newArrayInstructions = EnumSet.of(Opcode.FILLED_NEW_ARRAY, Opcode.NEW_ARRAY,
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
H A DRopToDop.java82 // Opcodes.NEW_ARRAY
493 case RegOps.NEW_ARRAY: return Dops.NEW_ARRAY;
H A DRopTranslator.java718 if ((rop.getOpcode() == RegOps.NEW_ARRAY) &&
719 (opcode.getOpcode() != Opcodes.NEW_ARRAY)) {
/external/dexmaker/src/dx/java/com/android/dx/io/
H A DOpcodes.java79 public static final int NEW_ARRAY = 0x23; field in class:Opcodes

Completed in 430 milliseconds

12