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