Lines Matching refs:fStrings
34 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()
124 int idx = find_string(*fStrings, ext); in remove()
128 SkAutoTDelete< SkTArray<SkString> > oldStrings(fStrings.detach()); in remove()
129 fStrings.reset(new SkTArray<SkString>(oldStrings->count() - 1)); in remove()
130 fStrings->push_back_n(idx, &oldStrings->front()); in remove()
131 fStrings->push_back_n(oldStrings->count() - idx - 1, &(*oldStrings)[idx] + 1); in remove()
139 int idx = find_string(*fStrings, ext); in add()
143 fStrings->push_back().set(ext); in add()
145 SkTQSort(&fStrings->front(), &fStrings->back(), cmp); in add()
153 int cnt = fStrings->count(); in print()
155 SkDebugf("%s%s", (*fStrings)[i].c_str(), (i < cnt - 1) ? sep : ""); in print()