Home
last modified time | relevance | path

Searched defs:Option (Results 1 – 25 of 71) sorted by relevance

123

/third_party/vk-gl-cts/framework/delibs/decpp/
DdeCommandLine.hpp52 struct Option struct
54 typedef typename OptName::ValueType ValueType;
55 typedef void (*ParseFunc) (const char* src, ValueType* dst);
58 const char* shortName;
59 const char* longName;
60 const char* description;
61 …nst char* defaultValue; //!< Default value (parsed from string), or null if should not be set
64 ParseFunc parse; //!< Custom parsing function or null.
65 const NamedValue<ValueType>* namedValues; //!< Named values or null.
66 const NamedValue<ValueType>* namedValuesEnd; //!< Named value list end.
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/common/
Doption.h43 Option() : state(NONE) {} in Option() function
45 explicit Option(const T &t) : data(t), state(SOME) {} in Option() function
47 explicit Option(T &&t) : data(std::move(t)), state(SOME) {} in Option() function
49 explicit Option(const InnerSome<T> &some) : data(some._t), state(SOME) {} in Option() function
51 explicit Option(const None &none) : state(NONE) {} in Option() function
53 Option(const Option<T> &that) : state(that.state) { in Option() function
/third_party/mindspore/mindspore-src/source/mindspore/core/mindrt/include/async/
Doption.h41 Option() : data(), state(NONE) {} in Option() function
43 explicit Option(const T t) : data(t), state(SOME) {} in Option() function
45 explicit Option(T &&t) : data(std::move(t)), state(SOME) {} in Option() function
47 explicit Option(const InnerSome<T> &some) : data(some._t), state(SOME) {} in Option() function
49 explicit Option(const MindrtNone &none) : data(), state(NONE) {} in Option() function
51 Option(const Option<T> &that) : data(), state(that.state) { in Option() function
/third_party/rust/crates/clap/src/builder/
Dresettable.rs69 impl IntoResettable<char> for Option<char> { implementation
78 impl IntoResettable<usize> for Option<usize> { implementation
87 impl IntoResettable<ArgAction> for Option<ArgAction> { implementation
96 impl IntoResettable<ValueHint> for Option<ValueHint> { implementation
105 impl IntoResettable<ValueParser> for Option<ValueParser> { implementation
114 impl IntoResettable<StyledStr> for Option<&'static str> { implementation
123 impl IntoResettable<OsStr> for Option<&'static str> { implementation
132 impl IntoResettable<Str> for Option<&'static str> { implementation
/third_party/rust/crates/minimal-lexical/src/
Dbigint.rs84 pub fn pow(&mut self, base: u32, exp: u32) -> Option<()> { in pow()
373 pub fn pow(x: &mut VecType, mut exp: u32) -> Option<()> { in pow()
430 pub fn small_add_from(x: &mut VecType, y: Limb, start: usize) -> Option<()> { in small_add_from()
448 pub fn small_add(x: &mut VecType, y: Limb) -> Option<()> { in small_add()
454 pub fn small_mul(x: &mut VecType, y: Limb) -> Option<()> { in small_mul()
472 pub fn large_add_from(x: &mut VecType, y: &[Limb], start: usize) -> Option<()> { in large_add_from()
511 pub fn large_add(x: &mut VecType, y: &[Limb]) -> Option<()> { in large_add()
602 pub fn large_mul(x: &mut VecType, y: &[Limb]) -> Option<()> { in large_mul()
619 pub fn shl_bits(x: &mut VecType, n: usize) -> Option<()> { in shl_bits()
649 pub fn shl_limbs(x: &mut VecType, n: usize) -> Option<()> { in shl_limbs()
[all …]
Dheapvec.rs73 pub fn try_push(&mut self, value: bigint::Limb) -> Option<()> { in try_push()
86 pub fn try_extend(&mut self, slc: &[bigint::Limb]) -> Option<()> { in try_extend()
96 pub fn try_resize(&mut self, len: usize, value: bigint::Limb) -> Option<()> { in try_resize()
133 pub fn add_small(&mut self, y: bigint::Limb) -> Option<()> { in add_small()
139 pub fn mul_small(&mut self, y: bigint::Limb) -> Option<()> { in mul_small()
Dstackvec.rs89 pub fn try_push(&mut self, value: bigint::Limb) -> Option<()> { in try_push()
145 pub fn try_extend(&mut self, slc: &[bigint::Limb]) -> Option<()> { in try_extend()
199 pub fn try_resize(&mut self, len: usize, value: bigint::Limb) -> Option<()> { in try_resize()
241 pub fn add_small(&mut self, y: bigint::Limb) -> Option<()> { in add_small()
247 pub fn mul_small(&mut self, y: bigint::Limb) -> Option<()> { in mul_small()
/third_party/typescript/tests/cases/compiler/
DmoduleResolutionPackageIdWithRelativeAndAbsolutePath.ts15 export class Option { class
35 export class Option { class
DrecursiveTypeAliasWithSpreadConditionalReturnNotCircular.ts2 export interface Option<T> { interface
/third_party/ffmpeg/fftools/
Dcmdutils.h221 typedef struct Option { struct
222 const OptionDef *opt; argument
225 } Option; argument
/third_party/typescript/tests/baselines/reference/
DmoduleResolutionPackageIdWithRelativeAndAbsolutePath.js14 export class Option { class
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/2.4/2_string_enums/
Dstring_enums_1.ts24 enum Option { enum
/third_party/skia/tools/
Dusing_skia_and_harfbuzz.cpp46 struct Option : BaseOption { struct
48 Option(std::string _selector, std::string _description, T defaultValue) in Option() function
/third_party/rust/crates/rustix/src/backend/linux_raw/param/
Dauxv.rs157 fn init_from_auxv_file(auxv: OwnedFd) -> Option<()> { in init_from_auxv_file()
192 unsafe fn init_from_auxp(mut auxp: *const Elf_auxv_t) -> Option<()> { in init_from_auxp()
244 unsafe fn check_interpreter_base(base: *const Elf_Ehdr) -> Option<()> { in check_interpreter_base()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Option/
DOptSpecifier.h15 class Option; variable
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DOptions.h98 cl::opt<ValT> *Option = new cl::opt<ValT>(ArgStr, cl::desc(Desc), in registerOption() local
/third_party/rust/crates/syn/tests/debug/
Dmod.rs139 struct Option { struct
143 impl Debug for Option { argument
/third_party/nghttp2/doc/bash_completion/
Dmake_bash_completion.py10 class Option: class
/third_party/rust/crates/clap/tests/derive/
Dtype_alias_regressions.rs9 type Option<T> = std::option::Option<T>; typedef
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Option/
DOptTable.cpp197 static bool optionMatches(const OptTable::Info &In, StringRef Option) { in optionMatches()
209 OptTable::suggestValueCompletions(StringRef Option, StringRef Arg) const { in suggestValueCompletions()
249 unsigned OptTable::findNearest(StringRef Option, std::string &NearestString, in findNearest()
322 bool OptTable::addValues(const char *Option, const char *Values) { in addValues()
502 const std::string &Option = OptionHelp[i].Name; in PrintHelpOptionList() local
DOption.cpp26 Option::Option(const OptTable::Info *info, const OptTable *owner) in Option() function in Option
/third_party/protobuf/php/src/Google/Protobuf/
DOption.php17 class Option extends \Google\Protobuf\Internal\Message class
/third_party/mindspore/mindspore-src/source/tests/st/graph_kernel/model/
Dgraph_kernel_split.py33 class Option: class
/third_party/mesa3d/src/util/
Ddriconf_static.py38 class Option(object): class
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMachObjectWriter.cpp425 for (const std::string &Option : Options) in ComputeLinkerOptionsLoadCommandSize() local
441 for (const std::string &Option : Options) { in writeLinkerOptionsLoadCommand() local
807 for (const auto &Option : Asm.getLinkerOptions()) { in writeObject() local
949 for (const auto &Option : Asm.getLinkerOptions()) in writeObject() local

123