Home
last modified time | relevance | path

Searched refs:Chars (Results 1 – 25 of 35) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DSmallString.h184 size_t find_first_of(StringRef Chars, size_t From = 0) const {
185 return str().find_first_of(Chars, From);
198 size_t find_first_not_of(StringRef Chars, size_t From = 0) const {
199 return str().find_first_not_of(Chars, From);
213 StringRef Chars, size_t From = StringRef::npos) const {
214 return str().find_last_of(Chars, From);
DStringRef.h410 size_t find_first_of(StringRef Chars, size_t From = 0) const;
422 size_t find_first_not_of(StringRef Chars, size_t From = 0) const;
436 size_t find_last_of(StringRef Chars, size_t From = npos) const;
448 size_t find_last_not_of(StringRef Chars, size_t From = npos) const;
818 StringRef ltrim(StringRef Chars = " \t\n\v\f\r") const {
819 return drop_front(std::min(Length, find_first_not_of(Chars)));
832 StringRef rtrim(StringRef Chars = " \t\n\v\f\r") const {
833 return drop_back(Length - std::min(Length, find_last_not_of(Chars) + 1));
846 StringRef trim(StringRef Chars = " \t\n\v\f\r") const {
847 return ltrim(Chars).rtrim(Chars);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DSmallString.h185 size_t find_first_of(StringRef Chars, size_t From = 0) const {
186 return str().find_first_of(Chars, From);
199 size_t find_first_not_of(StringRef Chars, size_t From = 0) const {
200 return str().find_first_not_of(Chars, From);
214 StringRef Chars, size_t From = StringRef::npos) const {
215 return str().find_last_of(Chars, From);
DStringRef.h401 size_t find_first_of(StringRef Chars, size_t From = 0) const;
413 size_t find_first_not_of(StringRef Chars, size_t From = 0) const;
427 size_t find_last_of(StringRef Chars, size_t From = npos) const;
439 size_t find_last_not_of(StringRef Chars, size_t From = npos) const;
804 StringRef ltrim(StringRef Chars = " \t\n\v\f\r") const {
805 return drop_front(std::min(Length, find_first_not_of(Chars)));
818 StringRef rtrim(StringRef Chars = " \t\n\v\f\r") const {
819 return drop_back(Length - std::min(Length, find_last_not_of(Chars) + 1));
832 StringRef trim(StringRef Chars = " \t\n\v\f\r") const {
833 return ltrim(Chars).rtrim(Chars);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DGlobPattern.cpp85 StringRef Chars = S.substr(1, End - 1); in scan() local
87 if (Chars.startswith("^") || Chars.startswith("!")) { in scan()
88 Expected<BitVector> BV = expand(Chars.substr(1), Original); in scan()
93 return expand(Chars, Original); in scan()
DStringRef.cpp236 StringRef::size_type StringRef::find_first_of(StringRef Chars, in find_first_of() argument
239 for (size_type i = 0; i != Chars.size(); ++i) in find_first_of()
240 CharBits.set((unsigned char)Chars[i]); in find_first_of()
261 StringRef::size_type StringRef::find_first_not_of(StringRef Chars, in find_first_not_of() argument
264 for (size_type i = 0; i != Chars.size(); ++i) in find_first_not_of()
265 CharBits.set((unsigned char)Chars[i]); in find_first_not_of()
277 StringRef::size_type StringRef::find_last_of(StringRef Chars, in find_last_of() argument
280 for (size_type i = 0; i != Chars.size(); ++i) in find_last_of()
281 CharBits.set((unsigned char)Chars[i]); in find_last_of()
302 StringRef::size_type StringRef::find_last_not_of(StringRef Chars, in find_last_not_of() argument
[all …]
DScaledNumber.cpp186 SmallVector<char, 24> Chars; in toStringAPFloat() local
187 Float.toString(Chars, Precision, 0); in toStringAPFloat()
188 return std::string(Chars.begin(), Chars.end()); in toStringAPFloat()
Draw_ostream.cpp476 static const char Chars[] = {C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, in write_padding() local
483 if (NumChars < array_lengthof(Chars)) in write_padding()
484 return OS.write(Chars, NumChars); in write_padding()
488 (unsigned)array_lengthof(Chars)-1); in write_padding()
489 OS.write(Chars, NumToWrite); in write_padding()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DStringRef.cpp250 StringRef::size_type StringRef::find_first_of(StringRef Chars, in find_first_of() argument
253 for (size_type i = 0; i != Chars.size(); ++i) in find_first_of()
254 CharBits.set((unsigned char)Chars[i]); in find_first_of()
275 StringRef::size_type StringRef::find_first_not_of(StringRef Chars, in find_first_not_of() argument
278 for (size_type i = 0; i != Chars.size(); ++i) in find_first_not_of()
279 CharBits.set((unsigned char)Chars[i]); in find_first_not_of()
291 StringRef::size_type StringRef::find_last_of(StringRef Chars, in find_last_of() argument
294 for (size_type i = 0; i != Chars.size(); ++i) in find_last_of()
295 CharBits.set((unsigned char)Chars[i]); in find_last_of()
316 StringRef::size_type StringRef::find_last_not_of(StringRef Chars, in find_last_not_of() argument
[all …]
/third_party/typescript/tests/cases/conformance/types/literal/
DtemplateLiteralTypes1.ts172 type Chars<S extends string> = alias
174 …nfer C7}${infer C8}${infer C9}${infer R}` ? [C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, ...Chars<R>] :
175 S extends `${infer C}${infer R}` ? [C, ...Chars<R>] :
179 type L1 = Chars<'FooBarBazThisIsALongerString'>; // ['F', 'o', 'o', 'B', 'a', 'r', ...]
/third_party/boost/libs/hana/include/boost/hana/
Dstring.hpp80 template <typename ...Chars>
81 static constexpr auto apply(Chars const& ...) { in apply()
82 return hana::string<hana::value<Chars>()...>{}; in apply()
/third_party/boost/boost/hana/
Dstring.hpp80 template <typename ...Chars>
81 static constexpr auto apply(Chars const& ...) { in apply()
82 return hana::string<hana::value<Chars>()...>{}; in apply()
/third_party/googletest/googlemock/test/
Dgmock-internal-utils_test.cc583 typedef std::vector<char> Chars; in TEST() typedef
584 Chars v1; in TEST()
585 const Chars& v2(StlContainerView<Chars>::ConstReference(v1)); in TEST()
589 Chars v3 = StlContainerView<Chars>::Copy(v1); in TEST()
/third_party/typescript/tests/baselines/reference/
DtemplateLiteralTypes1.js170 type Chars<S extends string> =
172 …nfer C7}${infer C8}${infer C9}${infer R}` ? [C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, ...Chars<R>] :
173 S extends `${infer C}${infer R}` ? [C, ...Chars<R>] :
177 type L1 = Chars<'FooBarBazThisIsALongerString'>; // ['F', 'o', 'o', 'B', 'a', 'r', ...]
378Chars<S extends string> = string extends S ? string[] : S extends `${infer C0}${infer C1}${infer C…
379 declare type L1 = Chars<'FooBarBazThisIsALongerString'>;
DtemplateLiteralTypes1.symbols621 type Chars<S extends string> =
622 >Chars : Symbol(Chars, Decl(templateLiteralTypes1.ts, 164, 24))
628 …nfer C7}${infer C8}${infer C9}${infer R}` ? [C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, ...Chars<R>] :
651 >Chars : Symbol(Chars, Decl(templateLiteralTypes1.ts, 164, 24))
654 S extends `${infer C}${infer R}` ? [C, ...Chars<R>] :
659 >Chars : Symbol(Chars, Decl(templateLiteralTypes1.ts, 164, 24))
667 type L1 = Chars<'FooBarBazThisIsALongerString'>; // ['F', 'o', 'o', 'B', 'a', 'r', ...]
669 >Chars : Symbol(Chars, Decl(templateLiteralTypes1.ts, 164, 24))
DtemplateLiteralTypes1.errors.txt192 type Chars<S extends string> =
194 …nfer C7}${infer C8}${infer C9}${infer R}` ? [C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, ...Chars<R>] :
195 S extends `${infer C}${infer R}` ? [C, ...Chars<R>] :
199 type L1 = Chars<'FooBarBazThisIsALongerString'>; // ['F', 'o', 'o', 'B', 'a', 'r', ...]
DtemplateLiteralTypes1.types404 type Chars<S extends string> =
405 >Chars : Chars<S>
408 …nfer C7}${infer C8}${infer C9}${infer R}` ? [C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, ...Chars<R>] :
409 S extends `${infer C}${infer R}` ? [C, ...Chars<R>] :
413 type L1 = Chars<'FooBarBazThisIsALongerString'>; // ['F', 'o', 'o', 'B', 'a', 'r', ...]
/third_party/glib/glib/
Dgutf8.c85 #define UTF8_GET(Result, Chars, Count, Mask, Len) \ argument
86 (Result) = (Chars)[0] & (Mask); \
89 if (((Chars)[(Count)] & 0xc0) != 0x80) \
95 (Result) |= ((Chars)[(Count)] & 0x3f); \
/third_party/abseil-cpp/absl/strings/
Dcord.h586 CharRange Chars() const;
1199 inline Cord::CharRange Cord::Chars() const { return CharRange(this); } in Chars() function
/third_party/boost/boost/beast/websocket/detail/
Dutf8_checker.ipp286 // Chars we need to finish this code point
/third_party/boost/libs/beast/include/boost/beast/websocket/detail/
Dutf8_checker.ipp286 // Chars we need to finish this code point
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dcord.h624 CharRange Chars() const;
1422 inline Cord::CharRange Cord::Chars() const { return CharRange(this); } in Chars() function
/third_party/icu/docs/userguide/strings/
Dutf-8.md5 parent: Chars and Strings
Dcharacteriterator.md5 parent: Chars and Strings
Dunicodeset.md5 parent: Chars and Strings

12