/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | Optional.h | 29 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/ |
D | optional_exception_safety_test.cc | 37 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/ADT/ |
D | Optional.h | 215 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/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/ |
D | DWARFFormValue.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<ArrayRef<uint8_t>> getAsBlock() const; 119 Optional<uint64_t> getAsCStringOffset() const; [all …]
|
D | DWARFUnit.h | 63 Optional<uint64_t> DWOId; 88 Optional<uint64_t> getDWOId() const { return DWOId; } in getDWOId() 213 Optional<uint64_t> AddrOffsetSectionBase; 220 Optional<StrOffsetsContributionDescriptor> StringOffsetsTableContribution; 223 Optional<DWARFDebugRnglistTable> RngListTable; 224 Optional<DWARFListTableHeader> LoclistTableHeader; 227 llvm::Optional<object::SectionedAddress> BaseAddr; 256 Expected<Optional<StrOffsetsContributionDescriptor>> 263 Expected<Optional<StrOffsetsContributionDescriptor>> 320 Optional<object::SectionedAddress> [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Remarks/ |
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_t> SourceFileNameIdx; [all …]
|
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, 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/ObjectYAML/ |
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_SHN> Index; [all …]
|
/third_party/jinja2/ |
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["BytecodeCache"] = None, [all …]
|
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["Filter"] [all …]
|
D | exceptions.py | 10 def __init__(self, message: t.Optional[str] = None) -> None: 14 def message(self) -> t.Optional[str]: 28 message: t.Optional[str] = None 32 name: t.Optional[t.Union[str, "Undefined"]], 33 message: t.Optional[str] = None, 68 message: t.Optional[str] = None, 95 name: t.Optional[str] = None, 96 filename: t.Optional[str] = None, 102 self.source: t.Optional[str] = None
|
/third_party/flutter/skia/third_party/externals/angle2/src/common/ |
D | Optional.h | 16 struct Optional struct 18 Optional() : mValid(false), mValue(T()) {} in Optional() argument 20 Optional(const T &valueIn) : mValid(true), mValue(valueIn) {} in Optional() argument 22 Optional(const Optional &other) : mValid(other.mValid), mValue(other.mValue) {} in Optional() function 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); }
|
D | Optional_unittest.cpp | 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/skia/third_party/externals/angle2/src/common/ |
D | Optional.h | 16 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) 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); }
|
D | Optional_unittest.cpp | 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/pulseaudio/ |
D | meson_options.txt | 70 # 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/ |
D | SkRecords.h | 91 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/ |
D | SkRecords.h | 97 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/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/model/ |
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.empty(), in localFormat() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | InlineCost.h | 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_ref<BlockFrequencyInfo &(Function &)>> GetBFI, 230 Optional<function_ref<BlockFrequencyInfo &(Function &)>> GetBFI,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
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/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ |
D | SupplementalData.java | 19 import java.util.Optional; 97 static Optional<Alias> forElementName(String name) { in forElementName() 98 return Optional.ofNullable(TYPE_MAP.get(name)); in forElementName() 290 public Optional<String> maximize(String localeId) { in maximize() 411 public Optional<String> getDefaultCalendar(String localeId) { in getDefaultCalendar() 412 Optional<String> calendar = getSpecialCaseCalendar(localeId); in getDefaultCalendar() 417 calendar = Optional.ofNullable(defaultCalendarMap.get(t)); in getDefaultCalendar() 419 return Optional.empty(); in getDefaultCalendar() 424 return Optional.of(rootCalendar); in getDefaultCalendar() 434 return parentCalendar.equals(calendar.get()) ? Optional.empty() : calendar; in getDefaultCalendar() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopUnrollPass.cpp | 180 Optional<unsigned> UserThreshold, Optional<unsigned> UserCount, in gatherUnrollingPreferences() 181 Optional<bool> UserAllowPartial, Optional<bool> UserRuntime, in gatherUnrollingPreferences() 182 Optional<bool> UserUpperBound, Optional<bool> UserAllowPeeling, in gatherUnrollingPreferences() 183 Optional<bool> UserAllowProfileBasedPeeling, in gatherUnrollingPreferences() 184 Optional<unsigned> UserFullUnrollMaxCount) { in gatherUnrollingPreferences() 335 static Optional<EstimatedUnrollCost> analyzeLoopUnrollCost( in analyzeLoopUnrollCost() 828 if (Optional<EstimatedUnrollCost> Cost = analyzeLoopUnrollCost( in computeUnrollCount() 1018 bool OnlyWhenForced, bool ForgetAllSCEV, Optional<unsigned> ProvidedCount, in tryToUnrollLoop() 1019 Optional<unsigned> ProvidedThreshold, Optional<bool> ProvidedAllowPartial, in tryToUnrollLoop() 1020 Optional<bool> ProvidedRuntime, Optional<bool> ProvidedUpperBound, in tryToUnrollLoop() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/ |
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/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/ |
D | MCDwarf.h | 61 Optional<MD5::MD5Result> Checksum; 65 Optional<StringRef> Source; 229 Optional<MD5::MD5Result> Checksum, 230 Optional<StringRef> Source, 235 Optional<MCDwarfLineStr> &LineStr) const; 239 Optional<MCDwarfLineStr> &LineStr) const; 253 Optional<MD5::MD5Result> Checksum, in setRootFile() 254 Optional<StringRef> Source) { in setRootFile() 274 void emitV5FileDirTables(MCStreamer *MCOS, Optional<MCDwarfLineStr> &LineStr) const; 283 Optional<MD5::MD5Result> Checksum, in maybeSetRootFile() [all …]
|