Home
last modified time | relevance | path

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

12

/third_party/skia/src/gpu/gl/
DGrGLExtensions.cpp40 fStrings = that.fStrings; in operator =()
73 fStrings.reset(); in init()
101 fStrings.push_back_n(extensionCnt); in init()
104 fStrings[i] = ext; in init()
111 eat_space_sep_strings(&fStrings, extensions); in init()
116 eat_space_sep_strings(&fStrings, extensions); in init()
118 if (!fStrings.empty()) { in init()
119 SkTQSort(fStrings.begin(), fStrings.end(), extension_compare); in init()
127 return find_string(fStrings, ext) >= 0; in has()
132 int idx = find_string(fStrings, ext); in remove()
[all …]
/third_party/flutter/skia/src/gpu/gl/
DGrGLExtensions.cpp42 fStrings = that.fStrings; in operator =()
75 fStrings.reset(); in init()
103 fStrings.push_back_n(extensionCnt); in init()
106 fStrings[i] = ext; in init()
113 eat_space_sep_strings(&fStrings, extensions); in init()
118 eat_space_sep_strings(&fStrings, extensions); in init()
120 if (!fStrings.empty()) { in init()
122 SkTQSort(&fStrings.front(), &fStrings.back(), cmp); in init()
130 return find_string(fStrings, ext) >= 0; in has()
135 int idx = find_string(fStrings, ext); in remove()
[all …]
/third_party/skia/tools/flags/
DCommandLineFlags.h129 explicit StringArray(const SkTArray<SkString>& strings) : fStrings(strings) {} in StringArray()
131 SkASSERT(i >= 0 && i < fStrings.count());
132 return fStrings[i].c_str();
135 int count() const { return fStrings.count(); } in count()
143 for (int i = 0; i < fStrings.count(); i++) { in contains()
144 if (fStrings[i].equals(string)) { in contains()
152 if (i >= fStrings.count()) { in set()
156 fStrings[i].set(str); in set()
159 const SkString* begin() const { return fStrings.begin(); } in begin()
160 const SkString* end() const { return fStrings.end(); } in end()
[all …]
DCommandLineFlags.cpp26 info->fStrings = pStrings; in CreateStringFlag()
/third_party/flutter/skia/tools/flags/
DCommandLineFlags.h129 explicit StringArray(const SkTArray<SkString>& strings) : fStrings(strings) {} in StringArray()
131 SkASSERT(i >= 0 && i < fStrings.count());
132 return fStrings[i].c_str();
135 int count() const { return fStrings.count(); } in count()
143 for (int i = 0; i < fStrings.count(); i++) { in contains()
144 if (fStrings[i].equals(string)) { in contains()
152 if (i >= fStrings.count()) { in set()
156 fStrings[i].set(str); in set()
159 const SkString* begin() const { return fStrings.begin(); } in begin()
160 const SkString* end() const { return fStrings.end(); } in end()
[all …]
DCommandLineFlags.cpp26 info->fStrings = pStrings; in CreateStringFlag()
/third_party/skia/include/gpu/gl/
DGrGLExtensions.h36 swap(fStrings, that->fStrings); in swap()
69 void reset() { fStrings.reset(); } in reset()
75 SkTArray<SkString> fStrings; variable
/third_party/flutter/skia/include/gpu/gl/
DGrGLExtensions.h36 swap(fStrings, that->fStrings); in swap()
69 void reset() { fStrings.reset(); } in reset()
75 SkTArray<SkString> fStrings; variable
/third_party/flutter/skia/gm/
Dvariedtext.cpp79 fStrings[i].set(text, length); in onOnceBeforeDraw()
97 fFont.measureText(fStrings[i].c_str(), fStrings[i].size(), SkTextEncoding::kUTF8, &r); in onOnceBeforeDraw()
128 … canvas->drawSimpleText(fStrings[i].c_str(), fStrings[i].size(), SkTextEncoding::kUTF8, in onDraw()
159 SkString fStrings[kCnt]; member in VariedTextGM
/third_party/skia/gm/
Dvariedtext.cpp79 fStrings[i].set(text, length); in onOnceBeforeDraw()
97 fFont.measureText(fStrings[i].c_str(), fStrings[i].size(), SkTextEncoding::kUTF8, &r); in onOnceBeforeDraw()
126 … canvas->drawSimpleText(fStrings[i].c_str(), fStrings[i].size(), SkTextEncoding::kUTF8, in onDraw()
157 SkString fStrings[kCnt]; member in VariedTextGM
/third_party/flutter/skia/third_party/externals/icu/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()
/third_party/icu/icu4c/source/tools/genrb/
Dgenrb.cpp59 delete fStrings; in close()
60 fStrings = NULL; in close()
426 poolBundle.fStrings = new PseudoListResource(NULL, status); in main()
427 if (poolBundle.fStrings == NULL) { in main()
482 poolBundle.fStrings->add(sr); in main()
490 if (poolBundle.fStrings->fCount == 0) { in main()
491 delete poolBundle.fStrings; in main()
492 poolBundle.fStrings = NULL; in main()
498 if (isVerbose() && poolBundle.fStrings != NULL) { in main()
499 printf("number of shared strings: %d\n", (int)poolBundle.fStrings->fCount); in main()
[all …]
Dreslist.h49 fStrings(NULL), fStringIndexLimit(0), in ResFile()
61 PseudoListResource *fStrings; member
Dreslist.cpp889 fUsePoolBundle != NULL && fUsePoolBundle->fStrings != NULL) { in write()
890 for (SResource *current = fUsePoolBundle->fStrings->fFirst; in write()
/third_party/skia/third_party/externals/icu/source/tools/genrb/
Dgenrb.cpp59 delete fStrings; in close()
60 fStrings = NULL; in close()
426 poolBundle.fStrings = new PseudoListResource(NULL, status); in main()
427 if (poolBundle.fStrings == NULL) { in main()
482 poolBundle.fStrings->add(sr); in main()
490 if (poolBundle.fStrings->fCount == 0) { in main()
491 delete poolBundle.fStrings; in main()
492 poolBundle.fStrings = NULL; in main()
498 if (isVerbose() && poolBundle.fStrings != NULL) { in main()
499 printf("number of shared strings: %d\n", (int)poolBundle.fStrings->fCount); in main()
[all …]
Dreslist.h49 fStrings(NULL), fStringIndexLimit(0), in ResFile()
61 PseudoListResource *fStrings; member
/third_party/node/deps/icu-small/source/tools/genrb/
Dgenrb.cpp59 delete fStrings; in close()
60 fStrings = NULL; in close()
426 poolBundle.fStrings = new PseudoListResource(NULL, status); in main()
427 if (poolBundle.fStrings == NULL) { in main()
482 poolBundle.fStrings->add(sr); in main()
490 if (poolBundle.fStrings->fCount == 0) { in main()
491 delete poolBundle.fStrings; in main()
492 poolBundle.fStrings = NULL; in main()
498 if (isVerbose() && poolBundle.fStrings != NULL) { in main()
499 printf("number of shared strings: %d\n", (int)poolBundle.fStrings->fCount); in main()
[all …]
Dreslist.h49 fStrings(NULL), fStringIndexLimit(0), in ResFile()
61 PseudoListResource *fStrings; member
Dreslist.cpp889 fUsePoolBundle != NULL && fUsePoolBundle->fStrings != NULL) { in write()
890 for (SResource *current = fUsePoolBundle->fStrings->fFirst; in write()
/third_party/flutter/skia/src/ports/
DSkTypeface_win_dw.cpp77 : fIndex(0), fStrings(strings) in LocalizedStrings_IDWriteLocalizedStrings()
81 if (fIndex >= fStrings->GetCount()) { in next()
87 HRBM(fStrings->GetStringLength(fIndex, &stringLen), "Could not get string length."); in next()
90 HRBM(fStrings->GetString(fIndex, wString.get(), stringLen+1), "Could not get string."); in next()
96 HRBM(fStrings->GetLocaleNameLength(fIndex, &localeLen), "Could not get locale length."); in next()
99 HRBM(fStrings->GetLocaleName(fIndex, wLocale.get(), localeLen+1), "Could not get locale."); in next()
109 SkTScopedComPtr<IDWriteLocalizedStrings> fStrings; member in LocalizedStrings_IDWriteLocalizedStrings
/third_party/skia/src/ports/
DSkTypeface_win_dw.cpp112 : fIndex(0), fStrings(strings) in LocalizedStrings_IDWriteLocalizedStrings()
116 if (fIndex >= fStrings->GetCount()) { in next()
122 HRBM(fStrings->GetStringLength(fIndex, &stringLen), "Could not get string length."); in next()
125 HRBM(fStrings->GetString(fIndex, wString.get(), stringLen+1), "Could not get string."); in next()
131 HRBM(fStrings->GetLocaleNameLength(fIndex, &localeLen), "Could not get locale length."); in next()
134 HRBM(fStrings->GetLocaleName(fIndex, wLocale.get(), localeLen+1), "Could not get locale."); in next()
144 SkTScopedComPtr<IDWriteLocalizedStrings> fStrings; member in LocalizedStrings_IDWriteLocalizedStrings
/third_party/skia/src/sksl/
DSkSLDehydrator.cpp124 auto found = fStrings.find(s); in write()
126 if (found == fStrings.end()) { in write()
128 fStrings.insert({ s, offset }); in write()
DSkSLDehydrator.h131 std::unordered_map<String, int> fStrings; variable

12