/external/icu4c/i18n/ |
D | winnmfmt.cpp | 48 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() macro 89 fmt->lpDecimalSep = NEW_ARRAY(UChar, 6); in getNumberFormat() 92 fmt->lpThousandSep = NEW_ARRAY(UChar, 6); in getNumberFormat() 116 fmt->lpDecimalSep = NEW_ARRAY(UChar, 6); in getCurrencyFormat() 119 fmt->lpThousandSep = NEW_ARRAY(UChar, 6); in getCurrencyFormat() 125 fmt->lpCurrencySymbol = NEW_ARRAY(UChar, 8); in getCurrencyFormat() 310 buffer = NEW_ARRAY(UChar, newLength); in format() 330 buffer = NEW_ARRAY(UChar, newLength); in format()
|
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 | windtfmt.cpp | 50 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() macro 101 fTZI = NEW_ARRAY(TIME_ZONE_INFORMATION, 1); in Win32DateFormat() 134 this->fTZI = NEW_ARRAY(TIME_ZONE_INFORMATION, 1); in operator =() 247 buffer = NEW_ARRAY(UChar, newLength); in formatDate() 273 buffer = NEW_ARRAY(UChar, newLength); in formatTime()
|
D | csdetect.cpp | 32 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) macro 133 recognizers = NEW_ARRAY(CharsetRecognizer *, rCount); in setRecognizers() 405 UEnumeration *en = NEW_ARRAY(UEnumeration, 1); in ucsdet_getAllDetectableCharsets() 407 en->context = (void*)NEW_ARRAY(Context, 1); in ucsdet_getAllDetectableCharsets()
|
D | bmsearch.cpp | 38 #define NEW_ARRAY(type, count) (type *) uprv_malloc((count) * sizeof(type)) macro 115 ceb = NEW_ARRAY(CEI, bufferSize); in Target() 394 int32_t *history = NEW_ARRAY(int32_t, plen); in BadCharacterTable() 405 minLengthCache = NEW_ARRAY(int32_t, plen + 1); in BadCharacterTable() 485 int32_t *suff = NEW_ARRAY(int32_t, patlen); in GoodSuffixTable() 520 goodSuffixTable = NEW_ARRAY(int32_t, patlen); in GoodSuffixTable()
|
D | colldata.cpp | 38 #define NEW_ARRAY(type, count) (type *) uprv_malloc((count) * sizeof(type)) macro 138 uint32_t *newCEs = NEW_ARRAY(uint32_t, newMax); in add() 589 keyBuffer = NEW_ARRAY(char, *keyBufferLength); in getKey() 678 key = NEW_ARRAY(char, cacheKeyLength); in CollData() 1002 int32_t *history = NEW_ARRAY(int32_t, clength); in minLengthInChars()
|
D | ucsdet.cpp | 21 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) macro
|
D | ucoleitr.cpp | 38 #define NEW_ARRAY(type, count) (type *) uprv_malloc((count) * sizeof(type)) macro 92 RCEI *newBuffer = NEW_ARRAY(RCEI, bufferSize + BUFFER_GROW); in put() 170 PCEI *newBuffer = NEW_ARRAY(PCEI, bufferSize + BUFFER_GROW); in put()
|
/external/icu4c/test/letest/ |
D | letsutil.cpp | 38 char *cString = NEW_ARRAY(char, cLength + 1); in getCString() 65 char *cString = NEW_ARRAY(char, cLength + 1); in getUTF8String()
|
D | cletest.c | 60 glyphs = NEW_ARRAY(LEGlyphID, glyphCount + 10); in ParamTest() 61 indices = NEW_ARRAY(le_int32, glyphCount + 10); in ParamTest() 62 positions = NEW_ARRAY(float, glyphCount + 10); in ParamTest() 472 actual.glyphs = NEW_ARRAY(LEGlyphID, actual.glyphCount); in doTestCase() 473 actual.indices = NEW_ARRAY(le_int32, actual.glyphCount); in doTestCase() 474 actual.positions = NEW_ARRAY(float, actual.glyphCount * 2 + 2); in doTestCase()
|
D | PortableFontInstance.cpp | 96 fDirectory = (const SFNTDirectory *) NEW_ARRAY(char, dirSize); in PortableFontInstance() 223 void *table = NEW_ARRAY(char, *length); in readTable() 278 char *result = NEW_ARRAY(char, length + 2); in getNameString() 311 LEUnicode16 *result = NEW_ARRAY(LEUnicode16, length + 2); in getUnicodeNameString()
|
D | letest.cpp | 69 glyphs = NEW_ARRAY(LEGlyphID, glyphCount + 10); in ParamTest() 70 indices = NEW_ARRAY(le_int32, glyphCount + 10); in ParamTest() 71 positions = NEW_ARRAY(float, glyphCount + 10); in ParamTest() 451 le_uint32 *array = NEW_ARRAY(le_uint32, arraySize); in getHexArray() 497 float *array = NEW_ARRAY(float, arraySize); in getFloatArray() 699 actual.glyphs = NEW_ARRAY(LEGlyphID, actual.glyphCount); in DataDrivenTest() 700 actual.indices = NEW_ARRAY(le_int32, actual.glyphCount); in DataDrivenTest() 701 actual.positions = NEW_ARRAY(float, actual.glyphCount * 2 + 2); in DataDrivenTest()
|
D | gendata.cpp | 259 glyphs = NEW_ARRAY(LEGlyphID, glyphCount); in main() 260 indices = NEW_ARRAY(le_int32, glyphCount); in main() 261 positions = NEW_ARRAY(float, glyphCount * 2 + 2); in main()
|
D | letest.h | 29 #define NEW_ARRAY(type,count) (type *) malloc((count) * sizeof(type)) macro
|
D | xmlreader.cpp | 45 le_uint32 *array = NEW_ARRAY(le_uint32, arraySize); in getHexArray() 91 float *array = NEW_ARRAY(float, arraySize); in getFloatArray()
|
D | FontTableCache.cpp | 25 fTableCache = NEW_ARRAY(FontTableCacheEntry, fTableCacheSize); in FontTableCache()
|
/external/icu4c/samples/layout/ |
D | pflow.c | 123 flow = NEW_ARRAY(pf_object, 1); in pf_create() 146 flow->fLines = NEW_ARRAY(pl_line *, flow->fLinesMax); in pf_create() 147 flow->fParagraphLayout = NEW_ARRAY(pl_paragraph *, flow->fParagraphMax); in pf_create() 149 flow->fChars = NEW_ARRAY(LEUnicode, charCount + 1); in pf_create()
|
D | arraymem.h | 16 #define NEW_ARRAY(type,count) (type *) malloc((count) * sizeof(type)) macro
|
D | cgnomelayout.c | 226 Context *context = NEW_ARRAY(Context, 1); in newSample()
|
D | clayout.c | 145 context = NEW_ARRAY(Context, 1); in WndProc()
|
/external/icu4c/test/intltest/ |
D | winnmtst.cpp | 48 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) macro 195 buffer = NEW_ARRAY(UChar, newLength); in getWindowsFormat() 209 buffer = NEW_ARRAY(UChar, newLength); in getWindowsFormat()
|
D | csdetest.cpp | 30 #define NEW_ARRAY(type,count) (type *) /*uprv_*/malloc((count) * sizeof(type)) macro 133 bytes = NEW_ARRAY(char, length + 1); in extractBytes() 205 decoded = NEW_ARRAY(UChar, testLength); in checkEncoding() 280 UChar *detected = NEW_ARRAY(UChar, sLength); in UTF8Test()
|
/external/srec/portable/include/ |
D | pmemory.h | 70 #define NEW_ARRAY(type, n, tag) ((type*)CALLOC(n, sizeof(type), tag)) macro 143 #define NEW_ARRAY(type, nbElem, tag) ((type *) CALLOC(nbElem, sizeof(type), tag)) macro
|
/external/icu4c/test/cintltst/ |
D | ucsdetst.c | 21 #define NEW_ARRAY(type,count) (type *) malloc((count) * sizeof(type)) macro 75 char *bytes = NEW_ARRAY(char, byteCount + 1); in extractBytes()
|
/external/srec/srec/Semproc/src/ |
D | SemanticGraphImpl.c | 414 semgraph->arc_token_list = NEW_ARRAY(arc_token,max_num_arc_tokens, L("semgraph.wordgraph")); in SR_SemanticGraph_LoadFromTextFiles() 1096 tmp_arc_token_list= NEW_ARRAY(arc_token,tmp_arc_token_list_len, L("semgraph.wordgraph")); in SR_SemanticGraph_AddWordToSlot() 1214 tmp_arc_token_list= NEW_ARRAY(arc_token,impl->arc_token_list_len, L("semgraph.wordgraph")); in SR_SemanticGraph_Reset() 1288 impl->arc_token_list = NEW_ARRAY(arc_token, in deserializeArcTokenInfoV2()
|