/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
H A D | Optional.h | 1 //===-- Optional.h - Simple variant for passing optional values ---*- C++ -*-=// 10 // This file provides Optional, a template class modeled in the spirit of 29 class Optional { class 35 Optional(NoneType) : hasVal(false) {} in Optional() function in llvm::Optional 36 explicit Optional() : hasVal(false) {} in Optional() function in llvm::Optional 37 Optional(const T &y) : hasVal(true) { in Optional() function in llvm::Optional 40 Optional(const Optional &O) : hasVal(O.hasVal) { in Optional() function in llvm::Optional 45 Optional(T &&y) : hasVal(true) { in Optional() function in llvm::Optional 48 Optional(Optiona in Optional() function in llvm::Optional [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Remarks/ |
H A D | BitstreamRemarkParser.h | 36 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_ [all...] |
H A D | BitstreamRemarkSerializer.h | 107 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, in BitstreamMetaSerializer() 175 Optional<StringRef> ExternalFilename = None) in BitstreamMetaSerializer() 185 Optional<cons in BitstreamMetaSerializer() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFFormValue.h | 14 #include "llvm/ADT/Optional.h" 106 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<ArrayRe [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
H A D | Optional.h | 1 //===- Optional.h - Simple variant for passing optional values --*- C++ -*-===// 9 // This file provides Optional, a template class modeled in the spirit of 215 template <typename T> class Optional { class 221 constexpr Optional() {} in Optional() function in llvm::Optional 222 constexpr Optional(NoneType) {} in Optional() function in llvm::Optional 224 Optional(const T &y) : Storage(optional_detail::in_place_t{}, y) {} in Optional() function in llvm::Optional 225 Optional(const Optional &O) = default; 227 Optional(T &&y) : Storage(optional_detail::in_place_t{}, std::move(y)) {} in Optional() function in llvm::Optional 228 Optional(Optiona in Optional() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/types/ |
H A D | optional_exception_safety_test.cc | 37 using Optional = absl::optional<Thrower>; 59 << "Optional with value should not throw bad_optional_access when " in OptionalInvariants() 64 << "Optional without a value should throw bad_optional_access when " in OptionalInvariants() 74 << "Optional should not contain a value after being reset."; in OptionalInvariants() 77 return AssertionFailure() << "Optional should throw bad_optional_access " in OptionalInvariants() 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>(kInitialIntege in TEST() [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | access-info.h | 72 base::Optional<JSObjectRef> holder); 77 Type field_type, MapRef field_owner_map, base::Optional<MapRef> field_map, 78 base::Optional<JSObjectRef> holder, 79 base::Optional<MapRef> transition_map); 84 Type field_type, MapRef field_owner_map, base::Optional<MapRef> field_map, 85 base::Optional<JSObjectRef> holder, 86 base::Optional<MapRef> transition_map); 88 Zone* zone, MapRef receiver_map, base::Optional<ObjectRef> constant, 89 base::Optional<JSObjectRef> holder); 98 Zone* zone, MapRef receiver_map, base::Optional<JSObjectRe [all...] |
H A D | heap-refs.h | 195 static base::Optional<RefType> AsOptionalRef(JSHeapBroker* broker, in AsOptionalRef() 196 base::Optional<TinyRef<T>> ref) { in AsOptionalRef() 245 base::Optional<bool> TryGetBooleanValue() const; 344 base::Optional<MapRef> map_direct_read() const; 381 base::Optional<ObjectRef> raw_properties_or_hash() const; 387 base::Optional<ObjectRef> RawInobjectPropertyAt(FieldIndex index) const; 393 base::Optional<ObjectRef> GetOwnConstantElement( 399 base::Optional<Object> GetOwnConstantElementFromHeap( 408 base::Optional<ObjectRef> GetOwnFastDataProperty( 414 base::Optional<ObjectRe [all...] |
/third_party/node/deps/v8/src/base/ |
H A D | optional.h | 40 class Optional; 286 // is not movable but copyable, Optional<T>'s move constructor should not 340 bool, std::is_constructible<T, Optional<U>&>::value || 341 std::is_constructible<T, const Optional<U>&>::value || 342 std::is_constructible<T, Optional<U>&&>::value || 343 std::is_constructible<T, const Optional<U>&&>::value || 344 std::is_convertible<Optional<U>&, T>::value || 345 std::is_convertible<const Optional<U>&, T>::value || 346 std::is_convertible<Optional<U>&&, T>::value || 347 std::is_convertible<const Optional< 417 class OPTIONAL_DECLSPEC_EMPTY_BASES Optional global() class 434 constexpr Optional(nullopt_t) {} // NOLINT(runtime/explicit) Optional() function in v8::base::Optional 479 constexpr explicit Optional(in_place_t, Args&&... args) Optional() function in v8::base::Optional 485 constexpr explicit Optional(in_place_t, std::initializer_list<U> il, Optional() function in v8::base::Optional 499 constexpr Optional(U&& value) // NOLINT(runtime/explicit) Optional() function in v8::base::Optional 510 constexpr explicit Optional(U&& value) Optional() function in v8::base::Optional [all...] |
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | Optional.h | 6 // Optional.h: 16 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() function 24 Optional &operator=(const Optional &other) in operator =() 31 Optional &operator=(const T &value) in operator =() 38 Optional [all...] |
H A D | Optional_unittest.cpp | 6 // Unit tests for ANGLE's Optional helper class. 12 #include "common/Optional.h" 19 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/jinja2/ |
H A D | environment.py | 82 ) -> t.Optional[t.MutableMapping[t.Tuple[weakref.ref, str], "Template"]]: 94 cache: t.Optional[t.MutableMapping], 95 ) -> t.Optional[t.MutableMapping[t.Tuple[weakref.ref, str], "Template"]]: 274 linked_to: t.Optional["Environment"] = None 300 line_statement_prefix: t.Optional[str] = LINE_STATEMENT_PREFIX, 301 line_comment_prefix: t.Optional[str] = LINE_COMMENT_PREFIX, 309 finalize: t.Optional[t.Callable[..., t.Any]] = None, 310 autoescape: t.Union[bool, t.Callable[[t.Optional[str]], bool]] = False, 311 loader: t.Optional["BaseLoader"] = None, 314 bytecode_cache: t.Optional["BytecodeCach [all...] |
H A D | nodes.py | 75 self, environment: "Environment", template_name: t.Optional[str] = None 92 def get_eval_context(node: "Node", ctx: t.Optional[EvalContext]) -> EvalContext: 125 environment: t.Optional["Environment"] 147 exclude: t.Optional[t.Container[str]] = None, 148 only: t.Optional[t.Container[str]] = None, 169 exclude: t.Optional[t.Container[str]] = None, 170 only: t.Optional[t.Container[str]] = None, 184 def find(self, node_type: t.Type[_NodeBound]) -> t.Optional[_NodeBound]: 331 test: t.Optional[Node] 461 filter: t.Optional["Filte [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/ |
H A D | ELFYAML.h | 81 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_SH [all...] |
/third_party/node/deps/v8/src/torque/ |
H A D | torque-parser.cc | 35 base::Optional<Identifier*> name; 42 base::Optional<TypeExpression*> type; 114 ParseResultHolder<base::Optional<TypeExpression*>>::id = 127 ParseResultHolder<base::Optional<Identifier*>>::id = 160 ParseResultHolder<base::Optional<AnnotationParameter>>::id = 184 ParseResultHolder<base::Optional<ImplicitParameters>>::id = 208 ParseResultHolder<base::Optional<std::string>>::id = 238 ParseResultHolder<base::Optional<TypeList>>::id = 253 ParseResultHolder<base::Optional<Statement*>>::id = 257 ParseResultHolder<base::Optional<Expressio [all...] |
/third_party/skia/src/core/ |
H A D | SkRecords.h | 95 // An Optional doesn't own the pointer's memory, but may need to destroy non-POD data. 97 class Optional { class 99 Optional() : fPtr(nullptr) {} in Optional() function in SkRecords::Optional 100 Optional(T* ptr) : fPtr(ptr) {} in Optional() function in SkRecords::Optional 101 Optional(Optional&& o) : fPtr(o.fPtr) { in Optional() function in SkRecords::Optional 104 ~Optional() { if (fPtr) fPtr->~T(); } in ~Optional() 109 Optional(const Optional&) = delete; 110 Optional [all...] |
/third_party/python/Lib/asyncio/ |
H A D | timeouts.py | 4 from typing import final, Optional, Type namespace 33 def __init__(self, when: Optional[float]) -> None: 42 self._timeout_handler: Optional[events.TimerHandle] = None 43 self._task: Optional[tasks.Task] = None 46 def when(self) -> Optional[float]: 50 def reschedule(self, when: Optional[float]) -> None: 95 exc_type: Optional[Type[BaseException]], 96 exc_val: Optional[BaseException], 97 exc_tb: Optional[TracebackType], 98 ) -> Optional[boo [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
H A D | FPEnv.cpp | 20 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()
|
/third_party/ninja/misc/ |
H A D | ninja_syntax.py | 27 from typing import Dict, List, Match, Optional, Tuple, Union namespace 48 value: Optional[Union[bool, int, float, str, List[str]]], 65 description: Optional[str] = None, 66 depfile: Optional[str] = None, 68 pool: Optional[str] = None, 70 rspfile: Optional[str] = None, 71 rspfile_content: Optional[str] = None, 72 deps: Optional[Union[str, List[str]]] = None, 97 inputs: Optional[Union[str, List[str]]] = None, 98 implicit: Optional[Unio [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
H A D | InlineCost.h | 146 /// DefaultThreshold is used. If a threshold is Optional, it is applied only 158 Optional<int> HintThreshold; 161 Optional<int> ColdThreshold; 164 Optional<int> OptSizeThreshold; 167 Optional<int> OptMinSizeThreshold; 170 Optional<int> HotCallSiteThreshold; 174 Optional<int> LocallyHotCallSiteThreshold; 177 Optional<int> ColdCallSiteThreshold; 180 Optional<bool> ComputeFullInlineCost; 218 Optional<function_re [all...] |
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/packaging/ |
H A D | version.py | 12 from typing import Any, Callable, NamedTuple, Optional, SupportsInt, Tuple, Union namespace 39 dev: Optional[Tuple[str, int]] 40 pre: Optional[Tuple[str, int]] 41 post: Optional[Tuple[str, int]] 42 local: Optional[LocalType] 293 def pre(self) -> Optional[Tuple[str, int]]: 308 def post(self) -> Optional[int]: 319 def dev(self) -> Optional[int]: 330 def local(self) -> Optional[str]: 453 letter: Optional[st [all...] |
H A D | metadata.py | 14 Optional, 360 chunks: List[Tuple[bytes, Optional[str]]] = [] 534 self, msg: str, cause: Optional[Exception] = None 763 dynamic: _Validator[Optional[List[str]]] = _Validator( 768 platforms: _Validator[Optional[List[str]]] = _Validator() 770 supported_platforms: _Validator[Optional[List[str]]] = _Validator(added="1.1") 772 summary: _Validator[Optional[str]] = _Validator() 774 description: _Validator[Optional[str]] = _Validator() # TODO 2.1: can be in body 776 description_content_type: _Validator[Optional[str]] = _Validator(added="2.1") 778 keywords: _Validator[Optional[Lis [all...] |
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/model/ |
H A D | FormatSpec.java | 29 import java.util.Optional; 121 Optional<String> carrierSpec, in of() 122 Optional<String> intlSpec, in of() 123 Optional<String> localSpec, in of() 125 Optional<Comment> comment) { in of() 129 Optional<FormatTemplate> carrier = carrierSpec.map(s -> parseCarrierSpec(s, national)); in of() 130 Optional<FormatTemplate> intl = intlSpec.map(s -> parseIntlSpec(s, national)); in of() 131 Optional<FormatTemplate> local = localSpec.map(s -> parseLocalSpec(s, national)); in of() 147 Optional.empty(), in localFormat() 148 Optional in localFormat() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/ |
H A D | SparcTargetMachine.h | 30 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, 51 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, 62 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, 72 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
|
/third_party/python/Tools/peg_generator/pegen/ |
H A D | grammar_parser.py | 8 from typing import Any, Optional namespace 45 def start(self) -> Optional[Grammar]: 58 def grammar(self) -> Optional[Grammar]: 76 def metas(self) -> Optional[MetaList]: 94 def meta(self) -> Optional[MetaTuple]: 131 def rules(self) -> Optional[RuleList]: 149 def rule(self) -> Optional[Rule]: 204 def rulename(self) -> Optional[RuleName]: 222 def memoflag(self) -> Optional[str]: 237 def alts(self) -> Optional[Rh [all...] |