Home
last modified time | relevance | path

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

123456789

/external/rust/crates/tokio/src/signal/
Dwindows.rs90 pub async fn recv(&mut self) -> Option<()> { in recv()
122 pub fn poll_recv(&mut self, cx: &mut Context<'_>) -> Poll<Option<()>> { in poll_recv()
162 pub async fn recv(&mut self) -> Option<()> { in recv()
194 pub fn poll_recv(&mut self, cx: &mut Context<'_>) -> Poll<Option<()>> { in poll_recv()
288 pub async fn recv(&mut self) -> Option<()> { in recv()
320 pub fn poll_recv(&mut self, cx: &mut Context<'_>) -> Poll<Option<()>> { in poll_recv()
385 pub async fn recv(&mut self) -> Option<()> { in recv()
417 pub fn poll_recv(&mut self, cx: &mut Context<'_>) -> Poll<Option<()>> { in poll_recv()
482 pub async fn recv(&mut self) -> Option<()> { in recv()
514 pub fn poll_recv(&mut self, cx: &mut Context<'_>) -> Poll<Option<()>> { in poll_recv()
Dmod.rs86 async fn recv(&mut self) -> Option<()> { in recv()
91 fn poll_recv(&mut self, cx: &mut Context<'_>) -> Poll<Option<()>> { in poll_recv()
/external/deqp/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 …]
/external/llvm/unittests/Option/
DOptionParsingTest.cpp67 TEST(Option, OptionParsing) { in TEST() argument
110 TEST(Option, ParseWithFlagExclusions) { in TEST() argument
138 TEST(Option, ParseAliasInGroup) { in TEST() argument
147 TEST(Option, AliasArgs) { in TEST() argument
158 TEST(Option, IgnoreCase) { in TEST() argument
168 TEST(Option, DoNotIgnoreCase) { in TEST() argument
178 TEST(Option, SlurpEmpty) { in TEST() argument
189 TEST(Option, Slurp) { in TEST() argument
205 TEST(Option, SlurpJoinedEmpty) { in TEST() argument
216 TEST(Option, SlurpJoinedOneJoined) { in TEST() argument
[all …]
/external/fonttools/Lib/fontTools/misc/
DconfigTools.py91 class Option: class
146 def register_option(self, option: Option) -> Option:
154 def is_registered(self, option: Option) -> bool:
226 values: Union[AbstractConfig, Dict[Union[Option, str], Any]] = {},
235 def _resolve_option(self, option_or_name: Union[Option, str]) -> Option:
255 option_or_name: Union[Option, str],
297 self, option_or_name: Union[Option, str], default: Any = _USE_GLOBAL_DEFAULT
331 def __getitem__(self, option_or_name: Union[Option, str]) -> Any:
334 def __setitem__(self, option_or_name: Union[Option, str], value: Any) -> None:
337 def __delitem__(self, option_or_name: Union[Option, str]) -> None:
/external/rust/crates/der/src/asn1/
Doptional.rs6 impl<'a, T> Decode<'a> for Option<T> implementation
21 impl<T> DerOrd for Option<T> implementation
36 impl<T> Encode for Option<T> implementation
49 impl<T> Encode for &Option<T> implementation
/external/catch2/include/internal/
Dcatch_option.hpp15 class Option { class
17 Option() : nullableValue( nullptr ) {} in Option() function in Catch::Option
18 Option( T const& _value ) in Option() function in Catch::Option
21 Option( Option const& _other ) in Option() function in Catch::Option
/external/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
/external/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()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue310/
DOption.java18 public final class Option<T> { class
26 private Option(T v) { in Option() method in Option
/external/golang-protobuf/types/known/typepb/
Dtype.pb.go648 type Option struct { struct
649 state protoimpl.MessageState
650 sizeCache protoimpl.SizeCache
651 unknownFields protoimpl.UnknownFields
657 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
662 Value *anypb.Any `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
665 func (x *Option) Reset() {
674 func (x *Option) String() string {
678 func (*Option) ProtoMessage() {}
680 func (x *Option) ProtoReflect() protoreflect.Message {
[all …]
/external/gwp_asan/gwp_asan/optional/
Doptions_parser.cpp48 struct Option { struct in __anon9ad5baf20111::OptionParser
49 const char *Name;
50 const char *Desc;
51 OptionType Type;
52 void *Var;
/external/golang-protobuf/testing/protocmp/
Dutil.go38 func FilterEnum(enum protoreflect.Enum, opt cmp.Option) cmp.Option {
54 func FilterMessage(message proto.Message, opt cmp.Option) cmp.Option {
68 func FilterField(message proto.Message, name protoreflect.Name, opt cmp.Option) cmp.Option {
84 func FilterOneof(message proto.Message, name protoreflect.Name, opt cmp.Option) cmp.Option {
103 func FilterDescriptor(desc protoreflect.Descriptor, opt cmp.Option) cmp.Option {
/external/ComputeLibrary/utils/command_line/
DOption.h105 inline Option::Option(std::string name) in Option() function
110 inline Option::Option(std::string name, bool is_required, bool is_set) in Option() function
/external/rust/crates/protobuf/2.27.1/src/well_known_types/
Dtype_pb.rs129 pub fn get_options(&self) -> &[Option] { in get_options()
137 pub fn set_options(&mut self, v: crate::RepeatedField<Option>) { in set_options()
142 pub fn mut_options(&mut self) -> &mut crate::RepeatedField<Option> { in mut_options()
147 pub fn take_options(&mut self) -> crate::RepeatedField<Option> { in take_options()
573 pub fn get_options(&self) -> &[Option] { in get_options()
581 pub fn set_options(&mut self, v: crate::RepeatedField<Option>) { in set_options()
586 pub fn mut_options(&mut self) -> &mut crate::RepeatedField<Option> { in mut_options()
591 pub fn take_options(&mut self) -> crate::RepeatedField<Option> { in take_options()
1155 pub fn get_options(&self) -> &[Option] { in get_options()
1163 pub fn set_options(&mut self, v: crate::RepeatedField<Option>) { in set_options()
[all …]
/external/rust/crates/rayon/src/
Doption.rs26 impl<T: Send> IntoParallelIterator for Option<T> { implementation
99 impl<'a, T: Sync> IntoParallelIterator for &'a Option<T> { implementation
129 impl<'a, T: Send> IntoParallelIterator for &'a mut Option<T> { implementation
173 impl<C, T> FromParallelIterator<Option<T>> for Option<C> implementation
/external/rust/crates/tracing-core/src/
Dspan.rs97 impl<'a> From<&'a Id> for Option<Id> { implementation
316 impl<'a> From<&'a Current> for Option<&'a Id> { implementation
322 impl<'a> From<&'a Current> for Option<Id> { implementation
328 impl From<Current> for Option<Id> { implementation
337 impl<'a> From<&'a Current> for Option<&'static Metadata<'static>> { implementation
/external/libkmsxx/kms++util/src/
Dopts.cpp11 Option::Option(const string& str, function<void()> func) in Option() function in Option
17 Option::Option(const string& str, function<void(const string)> func) in Option() function in Option
/external/skia/tools/
Dusing_skia_and_harfbuzz.cpp43 struct Option : BaseOption { struct
45 Option(std::string _selector, std::string _description, T defaultValue) in Option() argument
/external/go-cmp/cmp/
Dcompare.go93 func Equal(x, y interface{}, opts ...Option) bool {
113 func Diff(x, y interface{}, opts ...Option) string {
186 func newState(opts []Option) *state {
/external/openscreen/discovery/mdns/
Dmdns_records.h366 struct Option { struct
377 friend H AbslHashValue(H h, const Option& option) { in AbslHashValue() argument
396 // Constructor that takes zero or more Option parameters. argument
/external/vogar/src/vogar/
DOption.java29 public @interface Option { annotation
/external/uwb/src/rust/uwb_core/src/uci/
Dpcapng_uci_logger_factory.rs147 fn write_once(&mut self, data: Vec<u8>) -> Option<()> { in write_once()
165 fn handle_new_chip(&mut self, chip_id: String, interface_id: u32) -> Option<()> { in handle_new_chip()
255 pub fn send_bytes(&mut self, bytes: Vec<u8>) -> Option<()> { in send_bytes()
267 fn send_chip(&mut self, chip_id: String, interface_id: u32) -> Option<()> { in send_chip()
348 fn rotate_file(&self) -> Option<()> { in rotate_file()
414 pub fn buffered_write(&mut self, mut data: Vec<u8>) -> Option<()> { in buffered_write()
423 fn flush_buffer(&mut self) -> Option<()> { in flush_buffer()

123456789