/external/icu4c/tools/genrb/ |
H A D | ustr.c | 33 s->fChars = 0; 42 s->fChars = 0; 72 uprv_free(s->fChars); 73 s->fChars = 0; 91 if(src->fChars == NULL || dst->fChars == NULL){ 94 uprv_memcpy(dst->fChars, src->fChars, sizeof(UChar) * src->fLength); 96 dst->fChars[dst->fLength] = 0x0000; 114 s->fChars[le [all...] |
H A D | parse.c | 260 count = u_strlen(tokenValue->fChars); 261 if(!uprv_isInvariantUString(tokenValue->fChars, count)) { 275 u_UCharsToChars(tokenValue->fChars, result, count+1); 319 u_UCharsToChars(tokenValue->fChars, cs, tokenValue->fLength); 460 u_UCharsToChars(tokenValue->fChars, cs, tokenValue->fLength); 533 u_UCharsToChars(tokenValue->fChars, cs, tokenValue->fLength); 551 result = string_open(state->bundle, tag, tokenValue->fChars, tokenValue->fLength, comment, status); 553 elem = string_open(state->bundle, NULL, tokenValue->fChars, tokenValue->fLength, comment, status); 584 result = string_open(state->bundle, tag, tokenValue->fChars, tokenValue->fLength, comment, status); 616 result = alias_open(state->bundle, tag, tokenValue->fChars, tokenValu [all...] |
H A D | reslist.c | 497 udata_writeUString(mem, res->u.fString.fChars, length + 1); 507 udata_writeUString(mem, res->u.fString.fChars, length + 1); 889 return uhash_hashUCharsN(res->u.fString.fChars, res->u.fString.fLength); 896 return 0 == u_strCompare(res1->u.fString.fChars, res1->u.fString.fLength, 897 res2->u.fString.fChars, res2->u.fString.fLength, 909 res->u.fString.fChars = &gEmptyString; 919 res->u.fString.fChars = (UChar *)value; 929 res->u.fString.fChars = (UChar *) uprv_malloc(sizeof(UChar) * (len + 1)); 931 if (res->u.fString.fChars == NULL) { 937 uprv_memcpy(res->u.fString.fChars, valu [all...] |
H A D | ustr.h | 40 UChar *fChars; member in struct:UString
|
H A D | wrtxml.cpp | 426 count = getCount(src->fChars,src->fLength, UPC_NOTE, status); 432 noteLen = getAt(src->fChars,src->fLength, ¬e, capacity, i, UPC_NOTE, status); 491 src->fLength = removeCmtText(src->fChars, src->fLength, status); 492 descLen = getDescription(src->fChars,src->fLength, &desc, capacity, status); 493 transLen = getTranslate(src->fChars,src->fLength, &trans, capacity, status); 620 buf = convertAndEscape(&buf, 0, &bufLen, res->u.fString.fChars, res->u.fString.fLength, status); 652 buf = convertAndEscape(&buf, 0, &bufLen, res->u.fString.fChars, res->u.fString.fLength, status);
|
H A D | wrtjava.c | 312 str_write_java(res->u.fString.fChars,res->u.fString.fLength,TRUE,status); 317 uprv_memcpy(buf,res->u.fString.fChars,res->u.fString.fLength);
|
H A D | reslist.h | 127 UChar *fChars; member in struct:SResString
|
/external/icu4c/samples/layout/ |
H A D | paragraph.cpp | 78 fLineCount(0), fLinesMax(LINE_GROW), fLinesGrow(LINE_GROW), fLines(NULL), fChars(NULL), 97 fChars = LE_NEW_ARRAY(LEUnicode, charCount + 1); 98 LE_ARRAY_COPY(fChars, chars, charCount); 99 fChars[charCount] = 0; 101 LEUnicode *pStart = &fChars[0]; 109 pEnd = &fChars[charCount]; 113 subsetFontRuns(fontRuns, pStart - fChars, pEnd - fChars, &fr); 168 LE_DELETE_ARRAY(fChars);
|
H A D | pflow.c | 53 LEUnicode *fChars; member in struct:pf_object 133 flow->fChars = NULL; 149 flow->fChars = NEW_ARRAY(LEUnicode, charCount + 1); 150 LE_ARRAY_COPY(flow->fChars, chars, charCount); 151 flow->fChars[charCount] = 0; 153 pStart = &flow->fChars[0]; 161 pEnd = &flow->fChars[charCount]; 165 subsetFontRuns(fontRuns, pStart - flow->fChars, pEnd - flow->fChars, fr); 239 DELETE_ARRAY(obj->fChars); [all...] |
H A D | paragraph.h | 62 LEUnicode *fChars; member in class:Paragraph
|
/external/icu4c/common/ |
H A D | triedict.cpp | 682 UnicodeString fChars; member in class:BuildCompactTrieNode 702 *((uint16_t *)(bytes+offset)) = (fChars.length() & kCountMask) 722 (fChars.length()*sizeof(CompactTrieHorizontalEntry)); 727 int32_t count = fChars.length(); 730 entry->ch = fChars[i]; 743 fChars.append(ch); 762 return offsetof(CompactTrieVerticalNode,chars) + (fChars.length()*sizeof(uint16_t)); 776 fChars.extract(0, fChars.length(), (UChar *)node->chars); 777 offset += sizeof(uint16_t)*fChars [all...] |
/external/icu4c/layoutex/ |
H A D | ParagraphLayout.cpp | 318 : fChars(chars), fCharCount(count), 415 fStyleRunInfo[run].glyphCount = fStyleRunInfo[run].engine->layoutChars(fChars, runStart, fStyleRunLimits[run] - runStart, fCharCount, 725 ubidi_setPara(fParaBidi, fChars, fCharCount, paragraphLevel, fEmbeddingLevels, &bidiStatus); 750 UScriptRun *sr = uscript_openRun(fChars, fCharCount, &scriptStatus); 801 const LEFontInstance *subFont = runFont->getSubFont(fChars, &offset, styleRunLimits[run], script, status); 984 (u_isWhitespace(fChars[charIndex]) || 985 u_iscntrl(fChars[charIndex]))) { 992 UCharCharacterIterator *iter = new UCharCharacterIterator(fChars, fCharCount);
|
/external/icu4c/layoutex/layout/ |
H A D | ParagraphLayout.h | 595 const LEUnicode *fChars; member in class:ParagraphLayout
|