Home
last modified time | relevance | path

Searched refs:fChars (Results 1 – 14 of 14) sorted by relevance

/external/icu4c/tools/genrb/
Dustr.c34 s->fChars = 0; in ustr_init()
43 s->fChars = 0; in ustr_initChars()
73 uprv_free(s->fChars); in ustr_deinit()
74 s->fChars = 0; in ustr_deinit()
92 if(src->fChars == NULL || dst->fChars == NULL){ in ustr_cpy()
95 uprv_memcpy(dst->fChars, src->fChars, sizeof(UChar) * src->fLength); in ustr_cpy()
97 dst->fChars[dst->fLength] = 0x0000; in ustr_cpy()
115 s->fChars[len] = 0x0000; in ustr_setlen()
141 uprv_memcpy(dst->fChars + dst->fLength, src->fChars, in ustr_ncat()
144 dst->fChars[dst->fLength] = 0x0000; in ustr_ncat()
[all …]
Dparse.cpp258 count = u_strlen(tokenValue->fChars); in getInvariantString()
259 if(!uprv_isInvariantUString(tokenValue->fChars, count)) { in getInvariantString()
273 u_UCharsToChars(tokenValue->fChars, result, count+1); in getInvariantString()
316 u_UCharsToChars(tokenValue->fChars, cs, tokenValue->fLength); in parseUCARules()
457 u_UCharsToChars(tokenValue->fChars, cs, tokenValue->fLength); in parseTransliterator()
530 u_UCharsToChars(tokenValue->fChars, cs, tokenValue->fLength); in parseDependency()
548 …result = string_open(state->bundle, tag, tokenValue->fChars, tokenValue->fLength, comment, status); in parseDependency()
550 … elem = string_open(state->bundle, NULL, tokenValue->fChars, tokenValue->fLength, comment, status); in parseDependency()
581 …result = string_open(state->bundle, tag, tokenValue->fChars, tokenValue->fLength, comment, status); in parseString()
613 … result = alias_open(state->bundle, tag, tokenValue->fChars, tokenValue->fLength, comment, status); in parseAlias()
[all …]
Dreslist.c499 udata_writeUString(mem, res->u.fString.fChars, length + 1); in string_write()
509 udata_writeUString(mem, res->u.fString.fChars, length + 1); in alias_write()
891 return ustr_hashUCharsN(res->u.fString.fChars, res->u.fString.fLength); in string_hash()
898 return 0 == u_strCompare(res1->u.fString.fChars, res1->u.fString.fLength, in string_comp()
899 res2->u.fString.fChars, res2->u.fString.fLength, in string_comp()
911 res->u.fString.fChars = &gEmptyString; in string_open()
921 res->u.fString.fChars = (UChar *)value; in string_open()
931 res->u.fString.fChars = (UChar *) uprv_malloc(sizeof(UChar) * (len + 1)); in string_open()
933 if (res->u.fString.fChars == NULL) { in string_open()
939 uprv_memcpy(res->u.fString.fChars, value, sizeof(UChar) * len); in string_open()
[all …]
Dwrtxml.cpp428 count = getCount(src->fChars,src->fLength, UPC_NOTE, status); in printNoteElements()
434 noteLen = getAt(src->fChars,src->fLength, &note, capacity, i, UPC_NOTE, status); in printNoteElements()
493 src->fLength = removeCmtText(src->fChars, src->fLength, status); in printComments()
494 descLen = getDescription(src->fChars,src->fLength, &desc, capacity, status); in printComments()
495 transLen = getTranslate(src->fChars,src->fLength, &trans, capacity, status); in printComments()
622 buf = convertAndEscape(&buf, 0, &bufLen, res->u.fString.fChars, res->u.fString.fLength, status); in string_write_xml()
654 buf = convertAndEscape(&buf, 0, &bufLen, res->u.fString.fChars, res->u.fString.fLength, status); in alias_write_xml()
Dustr.h53 UChar *fChars; member
Dreslist.h127 UChar *fChars; member
Dwrtjava.c311 str_write_java(res->u.fString.fChars,res->u.fString.fLength,TRUE,status); in string_write_java()
316 uprv_memcpy(buf,res->u.fString.fChars,res->u.fString.fLength); in string_write_java()
/external/icu4c/samples/layout/
Dparagraph.cpp78 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()
Dpflow.c53 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()
Dparagraph.h62 LEUnicode *fChars; variable
/external/icu4c/i18n/
Dregeximp.cpp66 fChars(chars), fIndex(start), fLimit(limit), fcsp(NULL), fFoldChars(NULL), fFoldLength(0) { in CaseFoldingUCharIterator()
83 U16_NEXT(fChars, fIndex, fLimit, originalC); in next()
Dregeximp.h410 const UChar *fChars;
/external/icu4c/layoutex/
DParagraphLayout.cpp318 : 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/
DParagraphLayout.h598 const LEUnicode *fChars; variable