Home
last modified time | relevance | path

Searched refs:Chars (Results 1 – 25 of 39) 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/rust/crates/codespan/codespan-reporting/src/term/
Dconfig.rs19 pub chars: Chars,
36 chars: Chars::default(), in default()
197 pub struct Chars { struct
255 impl Default for Chars { argument
256 fn default() -> Chars { in default()
257 Chars { in default()
Drenderer.rs7 use crate::term::{Chars, Config, Styles};
125 fn chars(&self) -> &'config Chars { in chars() argument
/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-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/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
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 …]
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()
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/cups-filters/filter/
Dtexttopdf.c131 unsigned short Chars[256]; /* Input char to unicode */ variable
369 memset(Chars, 0, sizeof(Chars)); in WriteProlog()
607 Chars[ch] = unicode; in WriteProlog()
813 Chars[i] = i; in WriteProlog()
897 lastfont = Codes[Chars[line->ch]]; in write_line()
913 font = Codes[Chars[line->ch]]; in write_line()
940 font = Codes[Chars[line->ch]]; in write_line()
1109 lastfont=Codes[Chars[str->ch]]; in write_font_str()
1131 ch=Chars[str->ch]; in write_font_str()
/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/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/rust/crates/codespan/codespan-reporting/src/
Dterm.rs15 pub use self::config::{Chars, Config, DisplayStyle, Styles};
/third_party/rust/crates/humantime/src/
Dduration.rs3 use std::str::Chars;
98 iter: Chars<'a>,
/third_party/rust/crates/strsim-rs/src/
Dlib.rs11 use std::str::Chars;
137 type IntoIter = Chars<'b>;
/third_party/rust/crates/proc-macro2/src/
Dparse.rs7 use core::str::{Bytes, CharIndices, Chars};
46 fn chars(&self) -> Chars<'a> { in chars()
/third_party/rust/crates/nom/src/
Dtraits.rs9 use crate::lib::std::str::Chars;
380 type IterElem = Chars<'a>;
/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

12