Home
last modified time | relevance | path

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

/external/skia/src/gpu/gl/
DGrGLExtensions.cpp34 GrGLExtensions::GrGLExtensions(const GrGLExtensions& that) : fStrings(new SkTArray<SkString>) { in GrGLExtensions()
39 *fStrings = *that.fStrings; in operator =()
71 fStrings->reset(); in init()
92 fStrings->push_back_n(extensionCnt); in init()
95 (*fStrings)[i] = ext; in init()
102 eat_space_sep_strings(fStrings, extensions); in init()
107 eat_space_sep_strings(fStrings, extensions); in init()
109 if (!fStrings->empty()) { in init()
111 SkTQSort(&fStrings->front(), &fStrings->back(), cmp); in init()
119 return find_string(*fStrings, ext) >= 0; in has()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/
DDOMStringListImpl.java36 private Vector fStrings; field in DOMStringListImpl
42 fStrings = new Vector(); in DOMStringListImpl()
49 fStrings = params; in DOMStringListImpl()
56 fStrings = new Vector(); in DOMStringListImpl()
59 fStrings.add(params[i]); in DOMStringListImpl()
69 return (String) fStrings.elementAt(index); in item()
79 return fStrings.size(); in getLength()
86 return fStrings.contains(param) ; in contains()
96 fStrings.add(param); in add()
/external/skia/tools/flags/
DSkCommandLineFlags.h129 : fStrings(strings) { in StringArray()
132 SkASSERT(i >= 0 && i < fStrings.count());
133 return fStrings[i].c_str();
137 return fStrings.count(); in count()
146 for (int i = 0; i < fStrings.count(); i++) { in contains()
147 if (fStrings[i].equals(string)) { in contains()
155 fStrings[i].set(str); in set()
159 void reset() { fStrings.reset(); } in reset()
162 fStrings.push_back().set(string); in append()
166 fStrings.push_back().set(string, length); in append()
[all …]
DSkCommandLineFlags.cpp31 info->fStrings = pStrings; in CreateStringFlag()
/external/skia/include/gpu/gl/
DGrGLExtensions.h25 GrGLExtensions() : fInitialized(false), fStrings(new SkTArray<SkString>) {} in GrGLExtensions()
32 fStrings.swap(that->fStrings); in swap()
65 void reset() { fStrings->reset(); } in reset()
71 SkAutoTDelete<SkTArray<SkString> > fStrings; variable
/external/skia/gm/
Dvariedtext.cpp74 fStrings[i].set(text, length); in onOnceBeforeDraw()
93 fPaint.measureText(fStrings[i].c_str(), fStrings[i].size(), &r); in onOnceBeforeDraw()
124 canvas->drawText(fStrings[i].c_str(), fStrings[i].size(), 0, 0, fPaint); in onDraw()
153 SkString fStrings[kCnt]; member in VariedTextGM
/external/skia/include/private/
DSkTDict.h17 SkTDict(size_t minStringAlloc) : fStrings(minStringAlloc) {} in SkTDict()
21 fStrings.reset(); in reset()
40 char* copy = (char*)fStrings.alloc(len + 1, SkChunkAlloc::kThrow_AllocFailType); in set()
126 SkChunkAlloc fStrings; variable
/external/icu/icu4c/source/tools/genrb/
Dgenrb.cpp49 delete fStrings; in close()
50 fStrings = NULL; in close()
406 poolBundle.fStrings = new PseudoListResource(NULL, status); in main()
407 if (poolBundle.fStrings == NULL) { in main()
462 poolBundle.fStrings->add(sr); in main()
470 if (poolBundle.fStrings->fCount == 0) { in main()
471 delete poolBundle.fStrings; in main()
472 poolBundle.fStrings = NULL; in main()
478 if (isVerbose() && poolBundle.fStrings != NULL) { in main()
479 printf("number of shared strings: %d\n", (int)poolBundle.fStrings->fCount); in main()
[all …]
Dreslist.h43 fStrings(NULL), fStringIndexLimit(0), in ResFile()
55 PseudoListResource *fStrings; member
Dreslist.cpp868 fUsePoolBundle != NULL && fUsePoolBundle->fStrings != NULL) { in write()
869 for (SResource *current = fUsePoolBundle->fStrings->fFirst; in write()
/external/skia/src/ports/
DSkTypeface_win_dw.cpp139 : fIndex(0), fStrings(strings) in LocalizedStrings_IDWriteLocalizedStrings()
143 if (fIndex >= fStrings->GetCount()) { in next()
149 HRBM(fStrings->GetStringLength(fIndex, &stringLen), "Could not get string length."); in next()
152 HRBM(fStrings->GetString(fIndex, wString.get(), stringLen+1), "Could not get string."); in next()
158 HRBM(fStrings->GetLocaleNameLength(fIndex, &localeLen), "Could not get locale length."); in next()
161 HRBM(fStrings->GetLocaleName(fIndex, wLocale.get(), localeLen+1), "Could not get locale."); in next()
171 SkTScopedComPtr<IDWriteLocalizedStrings> fStrings; member in LocalizedStrings_IDWriteLocalizedStrings
/external/skia/src/views/
DSkViewInflate.cpp12 SkViewInflate::SkViewInflate() : fIDs(kMinIDStrAlloc), fStrings(kMinIDStrAlloc) in SkViewInflate()
128 pair->fStr = (char*)fStrings.alloc(len, SkChunkAlloc::kThrow_AllocFailType); in addIDStr()
/external/skia/include/views/
DSkViewInflate.h64 SkChunkAlloc fStrings; variable
/external/icu/icu4c/source/i18n/
Dtznames_impl.cpp400 UChar fStrings[POOL_CHUNK_SIZE]; // Strings array member
473 UChar *destString = &fChunks->fStrings[fChunks->fLimit]; in get()