Home
last modified time | relevance | path

Searched refs:Option (Results 1 - 25 of 779) sorted by relevance

12345678910>>...32

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Option/
H A DOptTable.cpp1 //===- OptTable.cpp - Option Table Implementation -------------------------===//
12 #include "llvm/Option/Arg.h"
13 #include "llvm/Option/ArgList.h"
14 #include "llvm/Option/Option.h"
15 #include "llvm/Option/OptSpecifier.h"
16 #include "llvm/Option/OptTable.h"
81 assert(((A.Kind == Option::JoinedClass) ^ (B.Kind == Option::JoinedClass)) && in operator <()
83 return B.Kind == Option in operator <()
197 optionMatches(const OptTable::Info &In, StringRef Option) optionMatches() argument
209 suggestValueCompletions(StringRef Option, StringRef Arg) const suggestValueCompletions() argument
249 findNearest(StringRef Option, std::string &NearestString, unsigned FlagsToInclude, unsigned FlagsToExclude, unsigned MinimumLength) const findNearest() argument
322 addValues(const char *Option, const char *Values) addValues() argument
502 const std::string &Option = OptionHelp[i].Name; PrintHelpOptionList() local
[all...]
/third_party/typescript/tests/baselines/reference/
H A DrecursiveTypeAliasWithSpreadConditionalReturnNotCircular.js3 export interface Option<T> {
4 zip1<O extends Array<Option<any>>>(...others: O): Option<[T, ...UnzipOptionArray1<O>]>;
6 zip2<O extends Array<Option<any>>>(...others: O): Option<[T, ...UnzipOptionArray2<O>]>;
8 zip3<O extends Array<Option<any>>>(...others: O): Option<[T, ...UnzipOptionArray3<O>]>;
11 type UnzipOption<T> = T extends Option<infer V> ? V : never;
14 type UnzipOptionArray1<T> = { [k in keyof T]: T[k] extends Option<any> ? UnzipOption<T[k]> : never };
18 type UnzipOptionArray3<T> = { [k in keyof T]: T[k] extends Option<infe
[all...]
H A DjsxComplexSignatureHasApplicabilityError.js8 value?: Option<T> | T;
9 onChange?(value: Option<T> | undefined): void;
51 setValue(value: Option<TValue>): void;
60 export type FocusOptionHandler<TValue = OptionValues> = (option: Option<TValue>) => void;
61 export type SelectValueHandler<TValue = OptionValues> = (option: Option<TValue>) => void;
64 export type FilterOptionHandler<TValue = OptionValues> = (option: Option<TValue>, filter: string) => boolean;
75 export type OptionRendererHandler<TValue = OptionValues> = (option: Option<TValue>) => HandlerRendererResult;
76 export type ValueRendererHandler<TValue = OptionValues> = (option: Option<TValue>, index?: number) => HandlerRendererResult;
77 export type OnValueClickHandler<TValue = OptionValues> = (option: Option<TValue>, event: React.MouseEvent<HTMLAnchorElement>) => void;
78 export type IsOptionUniqueHandler<TValue = OptionValues> = (arg: { option: Option<TValu
[all...]
/third_party/rust/crates/memchr/src/memchr/
H A Dmod.rs87 pub fn memchr(needle: u8, haystack: &[u8]) -> Option<usize> { in memchr_iter()
90 fn imp(n1: u8, haystack: &[u8]) -> Option<usize> { in memchr_iter()
96 fn imp(n1: u8, haystack: &[u8]) -> Option<usize> { in memchr_iter()
106 fn imp(n1: u8, haystack: &[u8]) -> Option<usize> { in memchr_iter()
116 fn imp(n1: u8, haystack: &[u8]) -> Option<usize> { in memchr_iter()
151 pub fn memchr2(needle1: u8, needle2: u8, haystack: &[u8]) -> Option<usize> { in memchr2()
154 fn imp(n1: u8, n2: u8, haystack: &[u8]) -> Option<usize> { in memchr2()
160 fn imp(n1: u8, n2: u8, haystack: &[u8]) -> Option<usize> { in memchr2()
169 fn imp(n1: u8, n2: u8, haystack: &[u8]) -> Option<usize> { in memchr2()
209 ) -> Option<usiz in memchr3()
[all...]
/third_party/rust/crates/clap/clap_complete/examples/
H A Dcompletion-derive.rs26 generator: Option<Shell>,
28 command: Option<Commands>,
41 unknown: Option<String>,
43 other: Option<String>,
45 path: Option<PathBuf>,
47 file: Option<PathBuf>,
49 dir: Option<PathBuf>,
51 exe: Option<PathBuf>,
53 cmd_name: Option<OsString>,
55 cmd: Option<Strin
[all...]
/third_party/vk-gl-cts/framework/common/
H A DtcuCommandLine.cpp144 using de::cmdline::Option; in registerOptions()
189 << Option<CasePath> ("n", "deqp-case", "Test case(s) to run, supports wildcards (e.g. dEQP-GLES2.info.*)") in registerOptions()
190 << Option<CaseList> (DE_NULL, "deqp-caselist", "Case list to run in trie format (e.g. {dEQP-GLES2{info{version,renderer}}})") in registerOptions()
191 << Option<CaseListFile> (DE_NULL, "deqp-caselist-file", "Read case list (in trie format) from given file") in registerOptions()
192 << Option<CaseListResource> (DE_NULL, "deqp-caselist-resource", "Read case list (in trie format) from given file located application's assets") in registerOptions()
193 << Option<StdinCaseList> (DE_NULL, "deqp-stdin-caselist", "Read case list (in trie format) from stdin") in registerOptions()
194 << Option<LogFilename> (DE_NULL, "deqp-log-filename", "Write test results to given file", "TestResults.qpa") in registerOptions()
195 << Option<RunMode> (DE_NULL, "deqp-runmode", "Execute tests, write list of test cases into a file, or verify amber capability coherency", in registerOptions()
197 << Option<ExportFilenamePattern> (DE_NULL, "deqp-caselist-export-file", "Set the target file name pattern for caselist export", "${packageName}-cases.${typeExtension}") in registerOptions()
198 << Option<WatchDo in registerOptions()
[all...]
/third_party/rust/crates/clap/src/parser/matches/
H A Darg_matches.rs48 /// // The ArgMatches::get_one method returns an Option because the user may not have supplied
72 pub(crate) subcommand: Option<Box<SubCommand>>,
112 pub fn get_one<T: Any + Clone + Send + Sync + 'static>(&self, id: &str) -> Option<&T> { in get_one()
223 ) -> Option<ValuesRef<T>> { in get_many()
260 ) -> Option<OccurrencesRef<T>> { in get_occurrences()
306 pub fn get_raw(&self, id: &str) -> Option<RawValues<'_>> { in get_raw()
359 pub fn get_raw_occurrences(&self, id: &str) -> Option<RawOccurrences<'_>> { in get_raw()
397 pub fn remove_one<T: Any + Clone + Send + Sync + 'static>(&mut self, id: &str) -> Option<T> { in get_raw()
435 ) -> Option<Values<T>> { in get_raw()
473 ) -> Option<Occurrence in remove_occurrences()
[all...]
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
H A Dbio.rs10 Option<unsafe extern "C" fn(*mut BIO, c_int, *const c_char, c_int, c_long, c_long)>;
20 pub bwrite: Option<unsafe extern "C" fn(*mut BIO, *const c_char, c_int) -> c_int>,
21 pub bread: Option<unsafe extern "C" fn(*mut BIO, *mut c_char, c_int) -> c_int>,
22 pub bputs: Option<unsafe extern "C" fn(*mut BIO, *const c_char) -> c_int>,
23 pub bgets: Option<unsafe extern "C" fn(*mut BIO, *mut c_char, c_int) -> c_int>,
24 pub ctrl: Option<unsafe extern "C" fn(*mut BIO, c_int, c_long, *mut c_void) -> c_long>,
25 pub create: Option<unsafe extern "C" fn(*mut BIO) -> c_int>,
26 pub destroy: Option<unsafe extern "C" fn(*mut BIO) -> c_int>,
27 pub callback_ctrl: Option<unsafe extern "C" fn(*mut BIO, c_int, bio_info_cb) -> c_long>,
76 write: Option<unsaf in BIO_meth_set_write__fixed_rust()
[all...]
/third_party/rust/crates/memchr/src/memchr/x86/
H A Dmod.rs43 fn detect($($needle: u8),+, haystack: &[u8]) -> Option<usize> { in detect()
95 pub fn memchr(n1: u8, haystack: &[u8]) -> Option<usize> { in memchr()
96 unsafe_ifunc!(fn(u8, &[u8]) -> Option<usize>, memchr, haystack, n1) in memchr()
100 pub fn memchr2(n1: u8, n2: u8, haystack: &[u8]) -> Option<usize> { in memchr2()
102 fn(u8, u8, &[u8]) -> Option<usize>, in memchr2()
111 pub fn memchr3(n1: u8, n2: u8, n3: u8, haystack: &[u8]) -> Option<usize> { in memchr3()
113 fn(u8, u8, u8, &[u8]) -> Option<usize>, in memchr3()
123 pub fn memrchr(n1: u8, haystack: &[u8]) -> Option<usize> { in memrchr()
124 unsafe_ifunc!(fn(u8, &[u8]) -> Option<usize>, memrchr, haystack, n1) in memrchr()
128 pub fn memrchr2(n1: u8, n2: u8, haystack: &[u8]) -> Option<usiz
[all...]
/third_party/rust/crates/cxx/gen/build/src/syntax/
H A Dmod.rs90 pub colon_token: Option<Token![:]>,
121 pub variants_from_header_attr: Option<Attribute>,
171 pub negative_token: Option<Token![!]>,
176 pub lt_token: Option<Token![<]>,
178 pub gt_token: Option<Token![>]>,
182 pub asyncness: Option<Token![async]>,
183 pub unsafety: Option<Token![unsafe]>,
186 pub receiver: Option<Receiver>,
188 pub ret: Option<Type>,
191 pub throws_tokens: Option<(k
[all...]
/third_party/rust/crates/cxx/gen/lib/src/syntax/
H A Dmod.rs90 pub colon_token: Option<Token![:]>,
121 pub variants_from_header_attr: Option<Attribute>,
171 pub negative_token: Option<Token![!]>,
176 pub lt_token: Option<Token![<]>,
178 pub gt_token: Option<Token![>]>,
182 pub asyncness: Option<Token![async]>,
183 pub unsafety: Option<Token![unsafe]>,
186 pub receiver: Option<Receiver>,
188 pub ret: Option<Type>,
191 pub throws_tokens: Option<(k
[all...]
/third_party/rust/crates/cxx/macro/src/syntax/
H A Dmod.rs90 pub colon_token: Option<Token![:]>,
121 pub variants_from_header_attr: Option<Attribute>,
171 pub negative_token: Option<Token![!]>,
176 pub lt_token: Option<Token![<]>,
178 pub gt_token: Option<Token![>]>,
182 pub asyncness: Option<Token![async]>,
183 pub unsafety: Option<Token![unsafe]>,
186 pub receiver: Option<Receiver>,
188 pub ret: Option<Type>,
191 pub throws_tokens: Option<(k
[all...]
/third_party/rust/crates/cxx/syntax/
H A Dmod.rs90 pub colon_token: Option<Token![:]>,
121 pub variants_from_header_attr: Option<Attribute>,
171 pub negative_token: Option<Token![!]>,
176 pub lt_token: Option<Token![<]>,
178 pub gt_token: Option<Token![>]>,
182 pub asyncness: Option<Token![async]>,
183 pub unsafety: Option<Token![unsafe]>,
186 pub receiver: Option<Receiver>,
188 pub ret: Option<Type>,
191 pub throws_tokens: Option<(k
[all...]
/third_party/rust/crates/cxx/gen/cmd/src/syntax/
H A Dmod.rs90 pub colon_token: Option<Token![:]>,
121 pub variants_from_header_attr: Option<Attribute>,
171 pub negative_token: Option<Token![!]>,
176 pub lt_token: Option<Token![<]>,
178 pub gt_token: Option<Token![>]>,
182 pub asyncness: Option<Token![async]>,
183 pub unsafety: Option<Token![unsafe]>,
186 pub receiver: Option<Receiver>,
188 pub ret: Option<Type>,
191 pub throws_tokens: Option<(k
[all...]
/third_party/node/deps/v8/third_party/ittapi/ittapi-rs/src/
H A Dittnotify_bindings.rs284 pub type __itt_pause_ptr__3_0_t = ::std::option::Option<unsafe extern "C" fn()>;
288 pub type __itt_resume_ptr__3_0_t = ::std::option::Option<unsafe extern "C" fn()>;
292 pub type __itt_detach_ptr__3_0_t = ::std::option::Option<unsafe extern "C" fn()>;
307 pub type __itt_pt_region_create_ptr__3_0_t = ::std::option::Option<
329 ::std::option::Option<unsafe extern "C" fn(name: *const ::std::os::raw::c_char)>;
337 pub type __itt_thread_ignore_ptr__3_0_t = ::std::option::Option<unsafe extern "C" fn()>;
346 ::std::option::Option<unsafe extern "C" fn(mask: ::std::os::raw::c_uint)>;
354 pub type __itt_suppress_pop_ptr__3_0_t = ::std::option::Option<unsafe extern "C" fn()>;
373 pub type __itt_suppress_mark_range_ptr__3_0_t = ::std::option::Option<
394 pub type __itt_suppress_clear_range_ptr__3_0_t = ::std::option::Option<
[all...]
/third_party/rust/crates/libc/src/unix/bsd/apple/b64/x86_64/
H A Dmod.rs113 pub size: ::Option<unsafe extern "C" fn(
117 pub malloc: ::Option<unsafe extern "C" fn(
121 pub calloc: ::Option<unsafe extern "C" fn(
126 pub valloc: ::Option<unsafe extern "C" fn(
130 pub free: ::Option<unsafe extern "C" fn(
134 pub realloc: ::Option<unsafe extern "C" fn(
139 pub destroy: ::Option<unsafe extern "C" fn(zone: *mut malloc_zone_t)>,
141 pub batch_malloc: ::Option<unsafe extern "C" fn(
147 pub batch_free: ::Option<unsafe extern "C" fn(
154 pub memalign: ::Option<unsaf
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DCommandLine.h108 class Option;
117 void AddLiteralOption(Option &O, StringRef Name);
147 NotHidden = 0x00, // Option included in -help & -help-hidden
163 // the Option=Value form.
189 // Option Category class
209 // The general Option Category (used as default category).
238 SmallVector<Option *, 4> PositionalOpts;
239 SmallVector<Option *, 4> SinkOpts;
240 StringMap<Option *> OptionsMap;
242 Option *ConsumeAfterOp
254 class Option { global() class
345 explicit Option(enum NumOccurrencesFlag OccurrencesFlag, Option() function
[all...]
/third_party/protobuf/src/google/protobuf/
H A Dtype.pb.h70 class Option;
81 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Option* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Option>(Arena*);
344 // repeated .google.protobuf.Option options = 4;
350 PROTOBUF_NAMESPACE_ID::Option* mutable_options(int index);
351 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >*
354 const PROTOBUF_NAMESPACE_ID::Option& _internal_options(int index) const;
355 PROTOBUF_NAMESPACE_ID::Option* _internal_add_options();
357 const PROTOBUF_NAMESPACE_ID::Option& options(int index) const;
358 PROTOBUF_NAMESPACE_ID::Option* add_option
1187 inline Option() : Option(nullptr) {} Option() function in PROTOBUF_FINAL
1192 : Option() { Option() function in PROTOBUF_FINAL
[all...]
/third_party/rust/crates/nix/src/sys/
H A Dselect.rs77 pub fn highest(&self) -> Option<RawFd> { in highest()
99 pub fn fds(&self, highest: Option<RawFd>) -> Fds { in fds()
123 fn next(&mut self) -> Option<RawFd> { in next()
133 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint()
141 fn next_back(&mut self) -> Option<RawFd> { in next_back()
184 N: Into<Option<c_int>>, in select()
185 R: Into<Option<&'a mut FdSet>>, in select()
186 W: Into<Option<&'a mut FdSet>>, in select()
187 E: Into<Option<&'a mut FdSet>>, in select()
188 T: Into<Option< in select()
[all...]
H A Dsendfile.rs29 offset: Option<&mut off_t>, in sendfile()
56 offset: Option<&mut libc::off64_t>, in sendfile64()
76 Option<Vec<IoSlice<'a>>>,
77 Option<Vec<IoSlice<'a>>>,
82 headers: Option<&'a [&'a [u8]]>, in new()
83 trailers: Option<&'a [&'a [u8]]> in new()
85 let header_iovecs: Option<Vec<IoSlice<'_>>> = in new()
87 let trailer_iovecs: Option<Vec<IoSlice<'_>>> =
163 count: Option<usize>, in sendfile()
164 headers: Option< in sendfile()
[all...]
/third_party/vk-gl-cts/framework/delibs/decpp/
H A DdeCommandLine.hpp52 struct Option struct
69 Option (const char* shortName_, const char* longName_, const char* description_, const char* defaultValue_ = DE_NULL) in Option() function
80 //! Option with custom parsing function.
81 Option (const char* shortName_, const char* longName_, const char* description_, ParseFunc parse_, const char* defaultValue_ = DE_NULL) in Option() function
92 //! Option that uses named values.
93 Option (const char* shortName_, const char* longName_, const char* description_, const NamedValue<ValueType>* namedValues_, const NamedValue<ValueType>* namedValuesEnd_, const char* defaultValue_ = DE_NULL) in Option() function
104 //! Option that uses named values.
106 Option (const char* shortName_, const char* longName_, const char* description_, const NamedValue<ValueType> (&namedValues_)[NumNamedValues], const char* defaultValue_ = DE_NULL) in Option() function
118 template<class Option>
121 typedef typename Option
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DCommandLine.h87 class Option;
96 void AddLiteralOption(Option &O, StringRef Name);
126 NotHidden = 0x00, // Option included in -help & -help-hidden
160 // Option Category class
180 // The general Option Category (used as default category).
209 SmallVector<Option *, 4> PositionalOpts;
210 SmallVector<Option *, 4> SinkOpts;
211 StringMap<Option *> OptionsMap;
213 Option *ConsumeAfterOpt = nullptr; // The ConsumeAfter option if it exists.
223 // Option Bas
225 class Option { global() class
314 explicit Option(enum NumOccurrencesFlag OccurrencesFlag, Option() function
[all...]
/third_party/rust/crates/clap/src/builder/
H A Dresettable.rs1 // Unlike `impl Into<Option<T>>` or `Option<impl Into<T>>`, this isn't ambiguous for the `None`
16 /// workaround a limitation where you can't have a function argument that is `impl Into<Option<T>>`
40 pub(crate) fn into_option(self) -> Option<T> {
54 impl<T> From<Option<T>> for Resettable<T> {
55 fn from(other: Option<T>) -> Self { in from()
69 impl IntoResettable<char> for Option<char> {
78 impl IntoResettable<usize> for Option<usize> {
87 impl IntoResettable<ArgAction> for Option<ArgAction> {
96 impl IntoResettable<ValueHint> for Option<ValueHin
[all...]
/third_party/rust/crates/version_check/src/
H A Dlib.rs97 fn version_and_date_from_rustc_version(s: &str) -> (Option<String>, Option<String>) { in version_and_date_from_rustc_version()
107 fn version_and_date_from_rustc_verbose_version(s: &str) -> (Option<String>, Option<String>) { in version_and_date_from_rustc_verbose_version()
128 fn get_version_and_date() -> Option<(Option<String>, Option<String>)> { in get_version_and_date()
143 pub fn triple() -> Option<(Version, Channel, Date)> { in triple()
149 // Can't use `?` or `try!` for `Option` in 1.0.0. in triple()
171 pub fn is_min_date(min_date: &str) -> Option<boo
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
H A DCommandLine.cpp86 void Option::anchor() {} in anchor()
128 void addLiteralOption(Option &Opt, SubCommand *SC, StringRef Name) { in addLiteralOption()
132 errs() << ProgramName << ": CommandLine Error: Option '" << Name in addLiteralOption()
148 void addLiteralOption(Option &Opt, StringRef Name) { in addLiteralOption()
157 void addOption(Option *O, SubCommand *SC) { in addOption()
162 errs() << ProgramName << ": CommandLine Error: Option '" << O->ArgStr in addOption()
199 void addOption(Option *O) { in addOption()
208 void removeOption(Option *O, SubCommand *SC) { in removeOption()
237 void removeOption(Option *O) { in removeOption()
266 void updateArgStr(Option *
1605 auto Option = getOption(i); printOptionInfo() local
[all...]

Completed in 20 milliseconds

12345678910>>...32