Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/tools/genrb/
Dustr.c36 s->fChars = 0; in ustr_init()
45 s->fChars = 0; in ustr_initChars()
75 uprv_free(s->fChars); in ustr_deinit()
76 s->fChars = 0; in ustr_deinit()
94 if(src->fChars == NULL || dst->fChars == NULL){ in ustr_cpy()
97 u_memcpy(dst->fChars, src->fChars, src->fLength); in ustr_cpy()
99 dst->fChars[dst->fLength] = 0x0000; in ustr_cpy()
117 s->fChars[len] = 0x0000; in ustr_setlen()
143 uprv_memcpy(dst->fChars + dst->fLength, src->fChars, in ustr_ncat()
146 dst->fChars[dst->fLength] = 0x0000; in ustr_ncat()
[all …]
Dparse.cpp290 if(!uprv_isInvariantUString(tokenValue->fChars, tokenValue->fLength)) { in getInvariantString()
304 u_UCharsToChars(tokenValue->fChars, result, tokenValue->fLength+1); in getInvariantString()
348 u_UCharsToChars(tokenValue->fChars, cs, tokenValue->fLength); in parseUCARules()
489 u_UCharsToChars(tokenValue->fChars, cs, tokenValue->fLength); in parseTransliterator()
562 u_UCharsToChars(tokenValue->fChars, cs, tokenValue->fLength); in parseDependency()
580 …result = string_open(state->bundle, tag, tokenValue->fChars, tokenValue->fLength, comment, status); in parseDependency()
582 … elem = string_open(state->bundle, NULL, tokenValue->fChars, tokenValue->fLength, comment, status); in parseDependency()
613 …result = string_open(state->bundle, tag, tokenValue->fChars, tokenValue->fLength, comment, status); in parseString()
645 … result = alias_open(state->bundle, tag, tokenValue->fChars, tokenValue->fLength, comment, status); in parseAlias()
857 u_UCharsToChars(tokenValue->fChars, subtag, u_strlen(tokenValue->fChars) + 1); in addCollation()
[all …]
Dustr.h55 UChar *fChars; member
Dwrtxml.cpp443 count = getCount(src->fChars,src->fLength, UPC_NOTE, status); in printNoteElements()
449 noteLen = getAt(src->fChars,src->fLength, &note, capacity, i, UPC_NOTE, status); in printNoteElements()
511 src->fLength = removeCmtText(src->fChars, src->fLength, status); in printComments()
512 descLen = getDescription(src->fChars,src->fLength, &desc, capacity, status); in printComments()
513 transLen = getTranslate(src->fChars,src->fLength, &trans, capacity, status); in printComments()
/external/skia/samplecode/
DSampleFlutterAnimate.cpp44 double rot = SkScalarInterp(fChars[i].fStartRotation, fChars[i].fEndRotation, in onDrawContent()
46 canvas->translate(fChars[i].fPosition.fX + kMidX, fChars[i].fPosition.fY - kMidY); in onDrawContent()
49 canvas->drawString(fChars[i].fChar, 0, 0, font, paint); in onDrawContent()
69 fChars[i].fChar[0] = c; in initChars()
70 fChars[i].fChar[1] = '\0'; in initChars()
71 fChars[i].fPosition = SkPoint::Make(fRand.nextF()*748 + 10, fRand.nextF()*1004 + 10); in initChars()
72 fChars[i].fStartRotation = fRand.nextF(); in initChars()
73 fChars[i].fEndRotation = fRand.nextF() * 20 - 10; in initChars()
90 AnimatedChar fChars[kNumChars]; member in FlutterAnimateView
/external/skqp/samplecode/
DSampleFlutterAnimate.cpp57 double rot = SkScalarInterp(fChars[i].fStartRotation, fChars[i].fEndRotation, in onDrawContent()
59 canvas->translate(fChars[i].fPosition.fX + kMidX, fChars[i].fPosition.fY - kMidY); in onDrawContent()
62 canvas->drawString(fChars[i].fChar, 0, 0, font, paint); in onDrawContent()
82 fChars[i].fChar[0] = c; in initChars()
83 fChars[i].fChar[1] = '\0'; in initChars()
84 fChars[i].fPosition = SkPoint::Make(fRand.nextF()*748 + 10, fRand.nextF()*1004 + 10); in initChars()
85 fChars[i].fStartRotation = fRand.nextF(); in initChars()
86 fChars[i].fEndRotation = fRand.nextF() * 20 - 10; in initChars()
103 AnimatedChar fChars[kNumChars]; member in FlutterAnimateView
/external/skia/include/private/
DSkSLString.h27 : fChars("") in StringFragment()
31 : fChars(chars) in StringFragment()
35 : fChars(chars) in StringFragment()
38 const char* begin() const { return fChars; } in begin()
39 const char* end() const { return fChars + fLength; } in end()
41 const char* data() const { return fChars; } in data()
44 char operator[](size_t idx) const { return fChars[idx]; }
59 operator SkString() const { return SkString(fChars, fLength); } in SkString()
62 const char* fChars; member
75 String(StringFragment s) : INHERITED(s.fChars, s.fLength) {} in String()
[all …]
/external/skia/src/sksl/
DSkSLString.cpp53 return !strncmp(fChars, prefix, strlen(prefix)); in startsWith()
61 return !strncmp(fChars + fLength - suffixLength, suffix, suffixLength); in endsWith()
90 result.append(s.fChars, s.fLength); in operator +()
110 this->append(s.fChars, s.fLength); in operator +=()
148 return !memcmp(fChars, s.fChars, fLength); in operator ==()
155 return memcmp(fChars, s.fChars, fLength); in operator !=()
160 if (fChars[i] != s[i]) { in operator ==()
169 if (fChars[i] != s[i]) { in operator !=()
177 int comparison = strncmp(fChars, other.fChars, std::min(fLength, other.fLength)); in operator <()
DSkSLParser.cpp351 text.fChars = fText.begin() + startOffset; in section()
374 ++name.fChars; in section()
808 code.fChars = fText.begin() + start.fOffset; in layoutCode()
2040 SkASSERT(field.fChars[0] == '.'); in suffix()
2041 ++field.fChars; in suffix()
2044 if (field.fChars[i] != '0' && field.fChars[i] != '1') { in suffix()
/external/skqp/src/sksl/ir/
DSkSLType.h70 fName.fChars = fNameString.c_str(); in Type()
81 fName.fChars = fNameString.c_str(); in Type()
91 fName.fChars = fNameString.c_str(); in Type()
102 fName.fChars = fNameString.c_str(); in Type()
113 fName.fChars = fNameString.c_str(); in Type()
126 fName.fChars = fNameString.c_str(); in Type()
143 fName.fChars = fNameString.c_str(); in Type()
161 fName.fChars = fNameString.c_str(); in Type()
175 fName.fChars = fNameString.c_str(); in Type()
191 fName.fChars = fNameString.c_str(); in Type()
/external/skqp/src/sksl/
DSkSLString.cpp124 result.append(s.fChars, s.fLength); in operator +()
144 this->append(s.fChars, s.fLength); in operator +=()
182 return !memcmp(fChars, s.fChars, fLength); in operator ==()
189 return memcmp(fChars, s.fChars, fLength); in operator !=()
194 if (fChars[i] != s[i]) { in operator ==()
203 if (fChars[i] != s[i]) { in operator !=()
211 int comparison = strncmp(fChars, other.fChars, std::min(fLength, other.fLength)); in operator <()
DSkSLString.h30 : fChars("") in StringFragment()
34 : fChars(chars) in StringFragment()
38 : fChars(chars) in StringFragment()
42 return fChars[idx];
51 const char* fChars; member
79 : INHERITED(s.fChars, s.fLength) {} in String()
143 result = result * 101 + s.fChars[i];
DSkSLSPIRVCodeGenerator.cpp265 this->writeString(string.fChars, string.fLength, out); in writeInstruction()
273 this->writeString(string.fChars, string.fLength, out); in writeInstruction()
281 this->writeString(string.fChars, string.fLength, out); in writeInstruction()
3179 this->writeString(main->fName.fChars, main->fName.fLength, out); in writeInstructions()
/external/icu/icu4c/source/samples/layout/
Dparagraph.cpp84 fLineCount(0), fLinesMax(LINE_GROW), fLinesGrow(LINE_GROW), fLines(NULL), fChars(NULL), in Paragraph()
103 fChars = LE_NEW_ARRAY(LEUnicode, charCount + 1); in Paragraph()
104 LE_ARRAY_COPY(fChars, chars, charCount); in Paragraph()
105 fChars[charCount] = 0; in Paragraph()
107 LEUnicode *pStart = &fChars[0]; in Paragraph()
115 pEnd = &fChars[charCount]; in Paragraph()
119 subsetFontRuns(fontRuns, pStart - fChars, pEnd - fChars, &fr); in Paragraph()
179 LE_DELETE_ARRAY(fChars); in ~Paragraph()
Dpflow.c56 LEUnicode *fChars; member
136 flow->fChars = NULL; in pf_create()
152 flow->fChars = NEW_ARRAY(LEUnicode, charCount + 1); in pf_create()
153 LE_ARRAY_COPY(flow->fChars, chars, charCount); in pf_create()
154 flow->fChars[charCount] = 0; in pf_create()
156 pStart = &flow->fChars[0]; in pf_create()
164 pEnd = &flow->fChars[charCount]; in pf_create()
168 subsetFontRuns(fontRuns, pStart - flow->fChars, pEnd - flow->fChars, fr); in pf_create()
242 DELETE_ARRAY(obj->fChars); in pf_close()
Dparagraph.h68 LEUnicode *fChars; variable
/external/icu/libicu/cts_headers/
Dformatted_string_builder.h186 ValueOrHeapArray<char16_t> fChars; variable
192 return fUsingHeap ? fChars.heap.ptr : fChars.value; in getCharPtr()
196 return fUsingHeap ? fChars.heap.ptr : fChars.value; in getCharPtr()
208 return fUsingHeap ? fChars.heap.capacity : DEFAULT_CAPACITY; in getCapacity()
Dregeximp.h403 const UChar *fChars;
/external/icu/icu4c/source/i18n/
Dformatted_string_builder.h186 ValueOrHeapArray<char16_t> fChars; variable
192 return fUsingHeap ? fChars.heap.ptr : fChars.value; in getCharPtr()
196 return fUsingHeap ? fChars.heap.ptr : fChars.value; in getCharPtr()
208 return fUsingHeap ? fChars.heap.capacity : DEFAULT_CAPACITY; in getCapacity()
Dformatted_string_builder.cpp48 uprv_free(fChars.heap.ptr); in ~FormattedStringBuilder()
65 uprv_free(fChars.heap.ptr); in operator =()
85 fChars.heap.capacity = capacity; in operator =()
86 fChars.heap.ptr = newChars; in operator =()
314 fChars.heap.ptr = newChars; in prepareForInsertHelper()
315 fChars.heap.capacity = newCapacity; in prepareForInsertHelper()
Dregeximp.cpp67 fChars(chars), fIndex(start), fLimit(limit), fFoldChars(NULL), fFoldLength(0) { in CaseFoldingUCharIterator()
83 U16_NEXT(fChars, fIndex, fLimit, originalC); in next()
Dregeximp.h403 const UChar *fChars;
/external/icu/icu4c/source/layoutex/
DParagraphLayout.cpp320 : fChars(chars), fCharCount(count), in ParagraphLayout()
420 …fStyleRunInfo[run].glyphCount = fStyleRunInfo[run].engine->layoutChars(fChars, runStart, fStyleRun… in ParagraphLayout()
730 ubidi_setPara(fParaBidi, fChars, fCharCount, paragraphLevel, fEmbeddingLevels, &bidiStatus); in computeLevels()
755 UScriptRun *sr = uscript_openRun(fChars, fCharCount, &scriptStatus); in computeScripts()
806 …const LEFontInstance *subFont = runFont->getSubFont(fChars, &offset, styleRunLimits[run], script, … in computeSubFonts()
989 (u_isWhitespace(fChars[charIndex]) || in previousBreak()
990 u_iscntrl(fChars[charIndex]))) { in previousBreak()
997 UCharCharacterIterator *iter = new UCharCharacterIterator(fChars, fCharCount); in previousBreak()
/external/icu/icu4c/source/layoutex/layout/
DParagraphLayout.h605 const LEUnicode *fChars; variable
/external/skia/src/sksl/codegen/
DSkSLPipelineStageCodeGenerator.cpp140 fBuffer->write(s.fChars, s.fLength); in write()

12