Home
last modified time | relevance | path

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

12

/third_party/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()
422 buffer = NEW_ARRAY(wchar_t, newLength); in format()
442 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()
305 fEnabledRecognizers = NEW_ARRAY(UBool, fCSRecognizers_size); in setDetectableCharset()
449 UEnumeration *en = NEW_ARRAY(UEnumeration, 1); in getAllDetectableCharsets()
455 en->context = (void*)NEW_ARRAY(Context, 1); in getAllDetectableCharsets()
472 UEnumeration *en = NEW_ARRAY(UEnumeration, 1); in getDetectableCharsets()
478 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
179 fTZI = NEW_ARRAY(TIME_ZONE_INFORMATION, 1); in Win32DateFormat()
214 this->fTZI = NEW_ARRAY(TIME_ZONE_INFORMATION, 1); in operator =()
331 buffer = NEW_ARRAY(wchar_t, newLength); in formatDate()
364 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()
/third_party/node/deps/icu-small/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()
417 buffer = NEW_ARRAY(wchar_t, newLength); in format()
437 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()
305 fEnabledRecognizers = NEW_ARRAY(UBool, fCSRecognizers_size); in setDetectableCharset()
449 UEnumeration *en = NEW_ARRAY(UEnumeration, 1); in getAllDetectableCharsets()
455 en->context = (void*)NEW_ARRAY(Context, 1); in getAllDetectableCharsets()
472 UEnumeration *en = NEW_ARRAY(UEnumeration, 1); in getDetectableCharsets()
478 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()
209 this->fTZI = NEW_ARRAY(TIME_ZONE_INFORMATION, 1); in operator =()
326 buffer = NEW_ARRAY(wchar_t, newLength); in formatDate()
359 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()
/third_party/skia/third_party/externals/icu/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()
417 buffer = NEW_ARRAY(wchar_t, newLength); in format()
437 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()
209 this->fTZI = NEW_ARRAY(TIME_ZONE_INFORMATION, 1); in operator =()
326 buffer = NEW_ARRAY(wchar_t, newLength); in formatDate()
359 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()
/third_party/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
/third_party/skia/third_party/externals/icu/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
/third_party/icu/icu4c/source/samples/layout/
Dpflow.c128 flow = NEW_ARRAY(pf_object, 1); in pf_create()
151 flow->fLines = NEW_ARRAY(pl_line *, flow->fLinesMax); in pf_create()
152 flow->fParagraphLayout = NEW_ARRAY(pl_paragraph *, flow->fParagraphMax); in pf_create()
154 flow->fChars = NEW_ARRAY(LEUnicode, charCount + 1); in pf_create()
Darraymem.h19 #define NEW_ARRAY(type,count) (type *) malloc((count) * sizeof(type)) macro
/third_party/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()

12