Home
last modified time | relevance | path

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

/external/skqp/src/gpu/gl/
DGrGLExtensions.cpp36 GrGLExtensions::GrGLExtensions(const GrGLExtensions& that) : fStrings(new SkTArray<SkString>) { in GrGLExtensions()
41 *fStrings = *that.fStrings; in operator =()
73 fStrings->reset(); in init()
94 fStrings->push_back_n(extensionCnt); in init()
97 (*fStrings)[i] = ext; in init()
104 eat_space_sep_strings(fStrings.get(), extensions); in init()
109 eat_space_sep_strings(fStrings.get(), extensions); in init()
111 if (!fStrings->empty()) { in init()
113 SkTQSort(&fStrings->front(), &fStrings->back(), cmp); in init()
121 return find_string(*fStrings, ext) >= 0; in has()
[all …]
/external/skia/src/gpu/gl/
DGrGLExtensions.cpp36 GrGLExtensions::GrGLExtensions(const GrGLExtensions& that) : fStrings(new SkTArray<SkString>) { in GrGLExtensions()
41 *fStrings = *that.fStrings; in operator =()
73 fStrings->reset(); in init()
94 fStrings->push_back_n(extensionCnt); in init()
97 (*fStrings)[i] = ext; in init()
104 eat_space_sep_strings(fStrings.get(), extensions); in init()
109 eat_space_sep_strings(fStrings.get(), extensions); in init()
111 if (!fStrings->empty()) { in init()
113 SkTQSort(&fStrings->front(), &fStrings->back(), cmp); in init()
121 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/skqp/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()
158 const SkString* begin() const { return fStrings.begin(); } in begin()
159 const SkString* end() const { return fStrings.end(); } in end()
162 void reset() { fStrings.reset(); } in reset()
[all …]
DSkCommandLineFlags.cpp26 info->fStrings = pStrings; in CreateStringFlag()
/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()
158 const SkString* begin() const { return fStrings.begin(); } in begin()
159 const SkString* end() const { return fStrings.end(); } in end()
162 void reset() { fStrings.reset(); } in reset()
[all …]
DSkCommandLineFlags.cpp26 info->fStrings = pStrings; in CreateStringFlag()
/external/skqp/include/gpu/gl/
DGrGLExtensions.h26 GrGLExtensions() : fInitialized(false), fStrings(new SkTArray<SkString>) {} in GrGLExtensions()
33 fStrings.swap(that->fStrings); in swap()
66 void reset() { fStrings->reset(); } in reset()
72 std::unique_ptr<SkTArray<SkString>> fStrings; variable
/external/skia/include/gpu/gl/
DGrGLExtensions.h26 GrGLExtensions() : fInitialized(false), fStrings(new SkTArray<SkString>) {} in GrGLExtensions()
33 fStrings.swap(that->fStrings); in swap()
66 void reset() { fStrings->reset(); } in reset()
72 std::unique_ptr<SkTArray<SkString>> fStrings; variable
/external/skia/gm/
Dvariedtext.cpp68 fStrings[i].set(text, length); in onOnceBeforeDraw()
86 fPaint.measureText(fStrings[i].c_str(), fStrings[i].size(), &r); in onOnceBeforeDraw()
117 canvas->drawString(fStrings[i], 0, 0, fPaint); in onDraw()
146 SkString fStrings[kCnt]; member in VariedTextGM
/external/skqp/gm/
Dvariedtext.cpp68 fStrings[i].set(text, length); in onOnceBeforeDraw()
86 fPaint.measureText(fStrings[i].c_str(), fStrings[i].size(), &r); in onOnceBeforeDraw()
117 canvas->drawString(fStrings[i], 0, 0, fPaint); in onDraw()
146 SkString fStrings[kCnt]; member in VariedTextGM
/external/icu/icu4c/source/tools/genrb/
Dgenrb.cpp52 delete fStrings; in close()
53 fStrings = NULL; in close()
409 poolBundle.fStrings = new PseudoListResource(NULL, status); in main()
410 if (poolBundle.fStrings == NULL) { in main()
465 poolBundle.fStrings->add(sr); in main()
473 if (poolBundle.fStrings->fCount == 0) { in main()
474 delete poolBundle.fStrings; in main()
475 poolBundle.fStrings = NULL; in main()
481 if (isVerbose() && poolBundle.fStrings != NULL) { in main()
482 printf("number of shared strings: %d\n", (int)poolBundle.fStrings->fCount); in main()
[all …]
Dreslist.h45 fStrings(NULL), fStringIndexLimit(0), in ResFile()
57 PseudoListResource *fStrings; member
Dreslist.cpp870 fUsePoolBundle != NULL && fUsePoolBundle->fStrings != NULL) { in write()
871 for (SResource *current = fUsePoolBundle->fStrings->fFirst; in write()
/external/skqp/src/ports/
DSkTypeface_win_dw.cpp141 : fIndex(0), fStrings(strings) in LocalizedStrings_IDWriteLocalizedStrings()
145 if (fIndex >= fStrings->GetCount()) { in next()
151 HRBM(fStrings->GetStringLength(fIndex, &stringLen), "Could not get string length."); in next()
154 HRBM(fStrings->GetString(fIndex, wString.get(), stringLen+1), "Could not get string."); in next()
160 HRBM(fStrings->GetLocaleNameLength(fIndex, &localeLen), "Could not get locale length."); in next()
163 HRBM(fStrings->GetLocaleName(fIndex, wLocale.get(), localeLen+1), "Could not get locale."); in next()
173 SkTScopedComPtr<IDWriteLocalizedStrings> fStrings; member in LocalizedStrings_IDWriteLocalizedStrings
/external/skia/src/ports/
DSkTypeface_win_dw.cpp141 : fIndex(0), fStrings(strings) in LocalizedStrings_IDWriteLocalizedStrings()
145 if (fIndex >= fStrings->GetCount()) { in next()
151 HRBM(fStrings->GetStringLength(fIndex, &stringLen), "Could not get string length."); in next()
154 HRBM(fStrings->GetString(fIndex, wString.get(), stringLen+1), "Could not get string."); in next()
160 HRBM(fStrings->GetLocaleNameLength(fIndex, &localeLen), "Could not get locale length."); in next()
163 HRBM(fStrings->GetLocaleName(fIndex, wLocale.get(), localeLen+1), "Could not get locale."); in next()
173 SkTScopedComPtr<IDWriteLocalizedStrings> fStrings; member in LocalizedStrings_IDWriteLocalizedStrings
/external/icu/icu4c/source/i18n/
Dtznames_impl.cpp448 UChar fStrings[POOL_CHUNK_SIZE]; // Strings array member
521 UChar *destString = &fChunks->fStrings[fChunks->fLimit]; in get()