Home
last modified time | relevance | path

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

12

/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()
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()
Dletsutil.cpp42 char *cString = NEW_ARRAY(char, cLength + 1); in getCString()
69 char *cString = NEW_ARRAY(char, cLength + 1); in getUTF8String()
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/annotation-tools/annotation-file-utilities/src/annotator/find/
DInsertions.java323 if (entry.getTreeKind() == Tree.Kind.NEW_ARRAY in organizeTypedInsertions()
339 if (entry.getTreeKind() == Tree.Kind.NEW_ARRAY in organizeTypedInsertions()
351 rec0 = rec.extend(Tree.Kind.NEW_ARRAY, in organizeTypedInsertions()
360 if ((node.getKind() == Tree.Kind.NEW_ARRAY in organizeTypedInsertions()
368 rec0 = rec.extend(Tree.Kind.NEW_ARRAY, in organizeTypedInsertions()
407 && (node == null || node.getKind() != Tree.Kind.NEW_ARRAY)) { in organizeTypedInsertions()
416 new ASTPath.ASTEntry(Tree.Kind.NEW_ARRAY, ASTPath.TYPE, 0)); in organizeTypedInsertions()
429 .extend(Tree.Kind.NEW_ARRAY, ASTPath.TYPE, 0); in organizeTypedInsertions()
509 case NEW_ARRAY: in organizeTypedInsertions()
515 if (e.getTreeKind() == Tree.Kind.NEW_ARRAY) { in organizeTypedInsertions()
[all …]
DGenericArrayLocationCriterion.java119 } else if (leaf.getKind() == Tree.Kind.NEW_ARRAY && !location.isEmpty()) { in isSatisfiedBy()
176 boolean result = ((leaf.getKind() == Tree.Kind.NEW_ARRAY) in isSatisfiedBy()
214 if ((leaf.getKind() == Tree.Kind.NEW_ARRAY) in isSatisfiedBy()
431 } else if (parent.getKind() == Tree.Kind.NEW_ARRAY) { in isSatisfiedBy()
DASTPathCriterion.java198 && next.getKind() == Tree.Kind.NEW_ARRAY) { in isSatisfiedBy()
534 case NEW_ARRAY: {
778 case NEW_ARRAY:
779 if (node.getKind() != Tree.Kind.NEW_ARRAY) { return false; }
809 if (tree.getKind() == Tree.Kind.NEW_ARRAY) {
827 if (kind == Tree.Kind.NEW_ARRAY
1039 case NEW_ARRAY:
DNewCriterion.java57 || leaf.getKind() == Tree.Kind.NEW_ARRAY) { in isSatisfiedBy()
DTreeFinder.java378 if (parent.getKind() == Tree.Kind.NEW_ARRAY) { // NewArrayTree) in visitIdentifier()
382 entry = new ASTPath.ASTEntry(Tree.Kind.NEW_ARRAY, ASTPath.TYPE, 0); in visitIdentifier()
650 if (lastEntry.getTreeKind() == Tree.Kind.NEW_ARRAY) { break; } in visitNewArray()
713 lastEntry = new ASTPath.ASTEntry(Tree.Kind.NEW_ARRAY, in visitNewArray()
931 case NEW_ARRAY:
1093 if (i.getKind() == Insertion.Kind.NEW && node.getKind() == Tree.Kind.NEW_ARRAY) {
1280 if (i.getKind() == Insertion.Kind.NEW && node.getKind() == Tree.Kind.NEW_ARRAY) {
/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
/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()
/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/annotation-tools/scene-lib/src/annotations/io/
DIndexFileParser.java1201 if (entry.getTreeKind() == Kind.NEW_ARRAY && entry.childSelectorIs(ASTPath.TYPE)) { in splitNewArrayType()
1204 … outerPath = astPath.getParentPath().extend(new ASTPath.ASTEntry(Kind.NEW_ARRAY, ASTPath.TYPE, 0)); in splitNewArrayType()
1219 if (entry.getTreeKind() == Kind.NEW_ARRAY && entry.childSelectorIs(ASTPath.TYPE)) { in fixNewArrayType()
1221 … outerPath = astPath.getParentPath().extend(new ASTPath.ASTEntry(Kind.NEW_ARRAY, ASTPath.TYPE, 0)); in fixNewArrayType()
1311 …entry = newASTEntry(Kind.NEW_ARRAY, new String[] {ASTPath.TYPE, ASTPath.DIMENSION, ASTPath.INITIAL… in parseASTEntry()

12