Home
last modified time | relevance | path

Searched refs:Optional (Results 1 – 25 of 1460) sorted by relevance

12345678910>>...59

/third_party/grpc/src/python/grpcio/grpc/experimental/aio/
D_base_channel.py17 from typing import Any, Optional
34 timeout: Optional[float] = None,
35 metadata: Optional[Metadata] = None,
36 credentials: Optional[grpc.CallCredentials] = None,
37 wait_for_ready: Optional[bool] = None,
38 compression: Optional[grpc.Compression] = None
72 timeout: Optional[float] = None,
73 metadata: Optional[Metadata] = None,
74 credentials: Optional[grpc.CallCredentials] = None,
75 wait_for_ready: Optional[bool] = None,
[all …]
D_channel.py18 from typing import Any, Iterable, Optional, Sequence, List
50 compression: Optional[grpc.Compression]):
71 _interceptors: Optional[Sequence[ClientInterceptor]]
81 interceptors: Optional[Sequence[ClientInterceptor]],
92 def _init_metadata(metadata: Optional[Metadata] = None,
93 compression: Optional[grpc.Compression] = None
111 timeout: Optional[float] = None,
112 metadata: Optional[Metadata] = None,
113 credentials: Optional[grpc.CallCredentials] = None,
114 wait_for_ready: Optional[bool] = None,
[all …]
D_interceptor.py19 from typing import Callable, Optional, Iterator, Sequence, Union, Awaitable, AsyncIterable
85 timeout: Optional[float]
86 metadata: Optional[Metadata]
87 credentials: Optional[grpc.CallCredentials]
88 wait_for_ready: Optional[bool]
371 def time_remaining(self) -> Optional[float]:
374 async def initial_metadata(self) -> Optional[Metadata]:
384 async def trailing_metadata(self) -> Optional[Metadata]:
414 async def debug_error_string(self) -> Optional[str]:
438 _response_aiter: Optional[AsyncIterable[ResponseType]]
[all …]
D_server.py17 from typing import Any, Optional, Sequence
29 compression: Optional[grpc.Compression]):
37 def __init__(self, thread_pool: Optional[Executor],
38 generic_handlers: Optional[Sequence[grpc.GenericRpcHandler]],
39 interceptors: Optional[Sequence[Any]],
41 maximum_concurrent_rpcs: Optional[int],
42 compression: Optional[grpc.Compression]):
110 async def stop(self, grace: Optional[float]) -> None:
135 timeout: Optional[float] = None) -> bool:
172 def server(migration_thread_pool: Optional[Executor] = None,
[all …]
/third_party/grpc/src/python/grpcio/grpc/aio/
D_base_channel.py17 from typing import Any, Optional
35 timeout: Optional[float] = None,
36 metadata: Optional[Metadata] = None,
37 credentials: Optional[grpc.CallCredentials] = None,
38 wait_for_ready: Optional[bool] = None,
39 compression: Optional[grpc.Compression] = None
74 timeout: Optional[float] = None,
75 metadata: Optional[Metadata] = None,
76 credentials: Optional[grpc.CallCredentials] = None,
77 wait_for_ready: Optional[bool] = None,
[all …]
D_channel.py18 from typing import Any, Iterable, Optional, Sequence, List
50 compression: Optional[grpc.Compression]):
71 _interceptors: Optional[Sequence[ClientInterceptor]]
81 interceptors: Optional[Sequence[ClientInterceptor]],
93 metadata: Optional[Metadata] = None,
94 compression: Optional[grpc.Compression] = None) -> Metadata:
112 timeout: Optional[float] = None,
113 metadata: Optional[Metadata] = None,
114 credentials: Optional[grpc.CallCredentials] = None,
115 wait_for_ready: Optional[bool] = None,
[all …]
D_interceptor.py19 from typing import Callable, Optional, Iterator, Sequence, Union, Awaitable, AsyncIterable
85 timeout: Optional[float]
86 metadata: Optional[Metadata]
87 credentials: Optional[grpc.CallCredentials]
88 wait_for_ready: Optional[bool]
370 def time_remaining(self) -> Optional[float]:
373 async def initial_metadata(self) -> Optional[Metadata]:
383 async def trailing_metadata(self) -> Optional[Metadata]:
413 async def debug_error_string(self) -> Optional[str]:
437 _response_aiter: Optional[AsyncIterable[ResponseType]]
[all …]
D_server.py17 from typing import Any, Optional, Sequence
29 compression: Optional[grpc.Compression]):
37 def __init__(self, thread_pool: Optional[Executor],
38 generic_handlers: Optional[Sequence[grpc.GenericRpcHandler]],
39 interceptors: Optional[Sequence[Any]],
41 maximum_concurrent_rpcs: Optional[int],
42 compression: Optional[grpc.Compression]):
113 async def stop(self, grace: Optional[float]) -> None:
138 timeout: Optional[float] = None) -> bool:
175 def server(migration_thread_pool: Optional[Executor] = None,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DOptional.h29 class Optional {
35 Optional(NoneType) : hasVal(false) {} in Optional() function
36 explicit Optional() : hasVal(false) {} in Optional() function
37 Optional(const T &y) : hasVal(true) { in Optional() function
40 Optional(const Optional &O) : hasVal(O.hasVal) { in Optional() function
45 Optional(T &&y) : hasVal(true) { in Optional() function
48 Optional(Optional<T> &&O) : hasVal(O) { in Optional() function
54 Optional &operator=(T &&y) {
63 Optional &operator=(Optional &&O) {
81 static inline Optional create(const T* y) { in create()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
Doptional_exception_safety_test.cc37 using Optional = absl::optional<Thrower>; typedef
109 auto thrower_nonempty = Optional(Thrower(kInitialInteger)); in TEST()
110 testing::TestThrowingCtor<Optional>(thrower_nonempty); in TEST()
113 testing::TestThrowingCtor<Optional>(integer_nonempty); in TEST()
114 testing::TestThrowingCtor<Optional>(std::move(integer_nonempty)); // NOLINT in TEST()
116 testing::TestThrowingCtor<Optional>(kInitialInteger); in TEST()
134 OptionalInvariants<Optional>, CheckDisengaged<Optional>); in TEST()
135 auto disengaged_test_empty = disengaged_test.WithInitialValue(Optional()); in TEST()
137 disengaged_test.WithInitialValue(Optional(kInitialInteger)); in TEST()
139 auto emplace_thrower_directly = [](Optional* optional_ptr) { in TEST()
[all …]
/third_party/abseil-cpp/absl/types/
Doptional_exception_safety_test.cc37 using Optional = absl::optional<Thrower>; typedef
109 auto thrower_nonempty = Optional(Thrower(kInitialInteger)); in TEST()
110 testing::TestThrowingCtor<Optional>(thrower_nonempty); in TEST()
113 testing::TestThrowingCtor<Optional>(integer_nonempty); in TEST()
114 testing::TestThrowingCtor<Optional>(std::move(integer_nonempty)); // NOLINT in TEST()
116 testing::TestThrowingCtor<Optional>(kInitialInteger); in TEST()
134 OptionalInvariants<Optional>, CheckDisengaged<Optional>); in TEST()
135 auto disengaged_test_empty = disengaged_test.WithInitialValue(Optional()); in TEST()
137 disengaged_test.WithInitialValue(Optional(kInitialInteger)); in TEST()
139 auto emplace_thrower_directly = [](Optional* optional_ptr) { in TEST()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Remarks/
DBitstreamRemarkParser.h36 Optional<uint64_t> ContainerVersion;
37 Optional<uint8_t> ContainerType;
38 Optional<StringRef> StrTabBuf;
39 Optional<StringRef> ExternalFilePath;
40 Optional<uint64_t> RemarkVersion;
58 Optional<uint8_t> Type;
59 Optional<uint64_t> RemarkNameIdx;
60 Optional<uint64_t> PassNameIdx;
61 Optional<uint64_t> FunctionNameIdx;
62 Optional<uint64_t> SourceFileNameIdx;
[all …]
DBitstreamRemarkSerializer.h107 Optional<uint64_t> RemarkVersion,
108 Optional<const StringTable *> StrTab = None,
109 Optional<StringRef> Filename = None);
150 Optional<StringRef> ExternalFilename = None) override;
163 Optional<BitstreamRemarkSerializerHelper> TmpHelper;
168 Optional<const StringTable *> StrTab;
169 Optional<StringRef> ExternalFilename;
174 Optional<const StringTable *> StrTab = None,
175 Optional<StringRef> ExternalFilename = None)
185 Optional<const StringTable *> StrTab = None,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFFormValue.h106 Optional<uint64_t> getAsReference() const;
111 Optional<UnitOffset> getAsRelativeReference() const;
112 Optional<uint64_t> getAsUnsignedConstant() const;
113 Optional<int64_t> getAsSignedConstant() const;
114 Optional<const char *> getAsCString() const;
115 Optional<uint64_t> getAsAddress() const;
116 Optional<object::SectionedAddress> getAsSectionedAddress() const;
117 Optional<uint64_t> getAsSectionOffset() const;
118 Optional<ArrayRef<uint8_t>> getAsBlock() const;
119 Optional<uint64_t> getAsCStringOffset() const;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DOptional.h215 template <typename T> class Optional {
221 constexpr Optional() {} in Optional() function
222 constexpr Optional(NoneType) {} in Optional() function
224 Optional(const T &y) : Storage(optional_detail::in_place_t{}, y) {} in Optional() function
225 Optional(const Optional &O) = default;
227 Optional(T &&y) : Storage(optional_detail::in_place_t{}, std::move(y)) {} in Optional() function
228 Optional(Optional &&O) = default;
230 Optional &operator=(T &&y) {
234 Optional &operator=(Optional &&O) = default;
241 static inline Optional create(const T *y) { in create()
[all …]
/third_party/grpc/src/python/grpcio/grpc/
D_simple_stubs.py21 from typing import (Any, AnyStr, Callable, Dict, Iterator, Optional, Sequence,
31 CacheKey = Tuple[str, OptionsType, Optional[grpc.ChannelCredentials],
32 Optional[grpc.Compression]]
61 channel_credentials: Optional[grpc.ChannelCredentials],
62 compression: Optional[grpc.Compression]) -> grpc.Channel:
131 channel_credentials: Optional[grpc.ChannelCredentials],
133 compression: Optional[grpc.Compression]) -> grpc.Channel:
173 request_serializer: Optional[Callable[[Any], bytes]] = None,
174 response_deserializer: Optional[Callable[[bytes], Any]] = None,
176 channel_credentials: Optional[grpc.ChannelCredentials] = None,
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/common/
DOptional.h16 struct Optional struct
18 Optional() : mValid(false), mValue(T()) {} in Optional() argument
20 Optional(const T &valueIn) : mValid(true), mValue(valueIn) {} in Optional() function
22 Optional(const Optional &other) : mValid(other.mValid), mValue(other.mValue) {} in Optional() argument
24 Optional &operator=(const Optional &other)
31 Optional &operator=(const T &value)
38 Optional &operator=(T &&value)
47 static Optional Invalid() { return Optional(); } in Invalid() argument
52 bool operator==(const Optional &other) const argument
57 bool operator!=(const Optional &other) const { return !(*this == other); }
DOptional_unittest.cpp19 Optional<int> testInvalid; in TEST()
21 ASSERT_EQ(Optional<int>::Invalid(), testInvalid); in TEST()
26 Optional<int> testValid(3); in TEST()
29 ASSERT_NE(Optional<int>::Invalid(), testValid); in TEST()
34 Optional<int> testValid(3); in TEST()
35 Optional<int> testInvalid; in TEST()
37 Optional<int> testCopy = testInvalid; in TEST()
/third_party/skia/third_party/externals/angle2/src/common/
DOptional.h16 struct Optional struct
18 Optional() : mValid(false), mValue(T()) {} in Optional() function
20 Optional(const T &valueIn) : mValid(true), mValue(valueIn) {} in Optional() function
22 Optional(const Optional &other) : mValid(other.mValid), mValue(other.mValue) {} in Optional() argument
24 Optional &operator=(const Optional &other)
31 Optional &operator=(const T &value)
38 Optional &operator=(T &&value)
52 static Optional Invalid() { return Optional(); } in Invalid() argument
58 bool operator==(const Optional &other) const argument
63 bool operator!=(const Optional &other) const { return !(*this == other); }
DOptional_unittest.cpp19 Optional<int> testInvalid; in TEST()
21 ASSERT_EQ(Optional<int>::Invalid(), testInvalid); in TEST()
26 Optional<int> testValid(3); in TEST()
29 ASSERT_NE(Optional<int>::Invalid(), testValid); in TEST()
34 Optional<int> testValid(3); in TEST()
35 Optional<int> testInvalid; in TEST()
37 Optional<int> testCopy = testInvalid; in TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/
DELFYAML.h81 Optional<llvm::yaml::Hex16> SHEntSize;
82 Optional<llvm::yaml::Hex64> SHOff;
83 Optional<llvm::yaml::Hex16> SHNum;
84 Optional<llvm::yaml::Hex16> SHStrNdx;
96 Optional<llvm::yaml::Hex64> Align;
97 Optional<llvm::yaml::Hex64> FileSize;
98 Optional<llvm::yaml::Hex64> MemSize;
99 Optional<llvm::yaml::Hex64> Offset;
105 Optional<uint32_t> NameIndex;
108 Optional<ELF_SHN> Index;
[all …]
/third_party/pulseaudio/
Dmeson_options.txt70 # Optional features
74 description : 'Optional ALSA support')
77 description : 'Optional Async DNS support')
80 description : 'Optional Avahi support')
83 description : 'Optional BlueZ 5 support')
86 description : 'Optional native headset backend support (BlueZ 5)')
89 description : 'Optional oFono headset backend support (BlueZ 5)')
92 description : 'Optional D-Bus support')
95 description : 'Optional FFTW support')
98 description : 'Optional GLib 2 support')
[all …]
/third_party/flutter/skia/src/core/
DSkRecords.h91 class Optional {
93 Optional() : fPtr(nullptr) {} in Optional() function
94 Optional(T* ptr) : fPtr(ptr) {} in Optional() function
95 Optional(Optional&& o) : fPtr(o.fPtr) { in Optional() function
98 ~Optional() { if (fPtr) fPtr->~T(); } in ~Optional()
103 Optional(const Optional&) = delete;
104 Optional& operator=(const Optional&) = delete;
180 Optional<SkRect> bounds;
181 Optional<SkPaint> paint;
184 Optional<SkMatrix> clipMatrix;
[all …]
/third_party/skia/src/core/
DSkRecords.h97 class Optional {
99 Optional() : fPtr(nullptr) {} in Optional() function
100 Optional(T* ptr) : fPtr(ptr) {} in Optional() function
101 Optional(Optional&& o) : fPtr(o.fPtr) { in Optional() function
104 ~Optional() { if (fPtr) fPtr->~T(); } in ~Optional()
109 Optional(const Optional&) = delete;
110 Optional& operator=(const Optional&) = delete;
167 Optional<SkRect> bounds;
168 Optional<SkPaint> paint;
174 Optional<SkRect> subset);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DFPEnv.cpp20 Optional<fp::RoundingMode> StrToRoundingMode(StringRef RoundingArg) { in StrToRoundingMode()
23 return StringSwitch<Optional<fp::RoundingMode>>(RoundingArg) in StrToRoundingMode()
32 Optional<StringRef> RoundingModeToStr(fp::RoundingMode UseRounding) { in RoundingModeToStr()
33 Optional<StringRef> RoundingStr = None; in RoundingModeToStr()
54 Optional<fp::ExceptionBehavior> StrToExceptionBehavior(StringRef ExceptionArg) { in StrToExceptionBehavior()
55 return StringSwitch<Optional<fp::ExceptionBehavior>>(ExceptionArg) in StrToExceptionBehavior()
62 Optional<StringRef> ExceptionBehaviorToStr(fp::ExceptionBehavior UseExcept) { in ExceptionBehaviorToStr()
63 Optional<StringRef> ExceptStr = None; in ExceptionBehaviorToStr()

12345678910>>...59