/external/icu/icu4c/source/i18n/ |
D | inputext.cpp | 25 #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()
|
D | winnmfmt.cpp | 52 #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()
|
D | csdetect.cpp | 32 #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()
|
D | windtfmt.cpp | 52 #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()
|
D | ucoleitr.cpp | 41 #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()
|
D | ucsdet.cpp | 26 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) macro
|
/external/icu/icu4c/source/test/letest/ |
D | cletest.c | 64 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()
|
D | letest.cpp | 71 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()
|
D | letsutil.cpp | 42 char *cString = NEW_ARRAY(char, cLength + 1); in getCString() 69 char *cString = NEW_ARRAY(char, cLength + 1); in getUTF8String()
|
D | gendata.cpp | 318 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()
|
D | letest.h | 36 #define NEW_ARRAY(type,count) (type *) malloc((count) * sizeof(type)) macro
|
D | xmlreader.cpp | 47 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/ |
D | Insertions.java | 323 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 …]
|
D | GenericArrayLocationCriterion.java | 119 } 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()
|
D | ASTPathCriterion.java | 198 && 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:
|
D | NewCriterion.java | 57 || leaf.getKind() == Tree.Kind.NEW_ARRAY) { in isSatisfiedBy()
|
D | TreeFinder.java | 378 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/ |
D | pflow.c | 126 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()
|
D | arraymem.h | 19 #define NEW_ARRAY(type,count) (type *) malloc((count) * sizeof(type)) macro
|
/external/icu/icu4c/source/test/intltest/ |
D | winnmtst.cpp | 53 #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()
|
D | csdetest.cpp | 30 #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()
|
D | colldata.cpp | 37 #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/ |
D | xmlreader.cpp | 51 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/ |
D | ucsdetst.c | 22 #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/ |
D | IndexFileParser.java | 1201 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()
|