/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Casting.h | 32 template<typename From> struct simplify_type { 33 typedef From SimpleType; // The real type this represents... 36 static SimpleType &getSimplifiedValue(From &Val) { return Val; } in getSimplifiedValue() 39 template<typename From> struct simplify_type<const From> { 40 typedef typename simplify_type<From>::SimpleType NonConstSimpleType; 45 static RetType getSimplifiedValue(const From& Val) { 46 return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val)); 53 template <typename To, typename From, typename Enabler = void> 55 static inline bool doit(const From &Val) { 61 template <typename To, typename From> [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | Casting.h | 33 template<typename From> struct simplify_type { 34 using SimpleType = From; // The real type this represents... 37 static SimpleType &getSimplifiedValue(From &Val) { return Val; } in getSimplifiedValue() 40 template<typename From> struct simplify_type<const From> { 41 using NonConstSimpleType = typename simplify_type<From>::SimpleType; 47 static RetType getSimplifiedValue(const From& Val) { 48 return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val)); 55 template <typename To, typename From, typename Enabler = void> 57 static inline bool doit(const From &Val) { 63 template <typename To, typename From> [all …]
|
D | CFGUpdate.h | 30 NodePtr From; variable 34 Update(UpdateKind Kind, NodePtr From, NodePtr To) in Update() argument 35 : From(From), ToAndKind(To, Kind) {} in Update() 38 NodePtr getFrom() const { return From; } in getFrom() 41 return From == RHS.From && ToAndKind == RHS.ToAndKind; 75 NodePtr From = U.getFrom(); in LegalizeUpdates() local 78 std::swap(From, To); // Reverse edge for postdominators. in LegalizeUpdates() 80 Operations[{From, To}] += (U.getKind() == UpdateKind::Insert ? 1 : -1); in LegalizeUpdates()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | DomTreeUpdater.cpp | 27 const auto *From = Update.getFrom(); in isUpdateValid() local 36 successors(From), [To](const BasicBlock *B) { return B == To; }); in isUpdateValid() 317 void DomTreeUpdater::insertEdge(BasicBlock *From, BasicBlock *To) { in insertEdge() argument 320 assert(isUpdateValid({DominatorTree::Insert, From, To}) && in insertEdge() 328 if (From == To) in insertEdge() 333 DT->insertEdge(From, To); in insertEdge() 335 PDT->insertEdge(From, To); in insertEdge() 339 PendUpdates.push_back({DominatorTree::Insert, From, To}); in insertEdge() 342 void DomTreeUpdater::insertEdgeRelaxed(BasicBlock *From, BasicBlock *To) { in insertEdgeRelaxed() argument 343 if (From == To) in insertEdgeRelaxed() [all …]
|
D | CFLGraph.h | 126 void addEdge(Node From, Node To, int64_t Offset = 0) { 127 auto *FromInfo = getNode(From); 133 ToInfo->ReverseEdges.push_back(Edge{From, Offset}); 219 void addAssignEdge(Value *From, Value *To, int64_t Offset = 0) { 220 assert(From != nullptr && To != nullptr); 221 if (!From->getType()->isPointerTy() || !To->getType()->isPointerTy()) 223 addNode(From); 224 if (To != From) { 226 Graph.addEdge(InstantiatedValue{From, 0}, InstantiatedValue{To, 0}, 231 void addDerefEdge(Value *From, Value *To, bool IsRead) { in addDerefEdge() argument [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | SmallString.h | 147 size_t find(char C, size_t From = 0) const { 148 return str().find(C, From); 155 size_t find(StringRef Str, size_t From = 0) const { 156 return str().find(Str, From); 163 size_t rfind(char C, size_t From = StringRef::npos) const { 164 return str().rfind(C, From); 177 size_t find_first_of(char C, size_t From = 0) const { 178 return str().find_first_of(C, From); 185 size_t find_first_of(StringRef Chars, size_t From = 0) const { 186 return str().find_first_of(Chars, From); [all …]
|
D | StringRef.h | 295 size_t find(char C, size_t From = 0) const { 296 size_t FindBegin = std::min(From, Length); 310 size_t find_lower(char C, size_t From = 0) const; 318 size_t find_if(function_ref<bool(char)> F, size_t From = 0) const { 319 StringRef S = drop_front(From); 334 size_t find_if_not(function_ref<bool(char)> F, size_t From = 0) const { 335 return find_if([F](char c) { return !F(c); }, From); 343 size_t find(StringRef Str, size_t From = 0) const; 350 size_t find_lower(StringRef Str, size_t From = 0) const; 357 size_t rfind(char C, size_t From = npos) const { [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | SmallString.h | 146 size_t find(char C, size_t From = 0) const { 147 return str().find(C, From); 154 size_t find(StringRef Str, size_t From = 0) const { 155 return str().find(Str, From); 162 size_t rfind(char C, size_t From = StringRef::npos) const { 163 return str().rfind(C, From); 176 size_t find_first_of(char C, size_t From = 0) const { 177 return str().find_first_of(C, From); 184 size_t find_first_of(StringRef Chars, size_t From = 0) const { 185 return str().find_first_of(Chars, From); [all …]
|
D | StringRef.h | 306 size_t find(char C, size_t From = 0) const { 307 size_t FindBegin = std::min(From, Length); 321 size_t find_lower(char C, size_t From = 0) const; 328 size_t find_if(function_ref<bool(char)> F, size_t From = 0) const { 329 StringRef S = drop_front(From); 343 size_t find_if_not(function_ref<bool(char)> F, size_t From = 0) const { 344 return find_if([F](char c) { return !F(c); }, From); 352 size_t find(StringRef Str, size_t From = 0) const; 359 size_t find_lower(StringRef Str, size_t From = 0) const; 366 size_t rfind(char C, size_t From = npos) const { [all …]
|
/third_party/protobuf/src/google/protobuf/stubs/ |
D | casts.h | 60 template<typename To, typename From> 61 inline To implicit_cast(From const &f) { in implicit_cast() 83 template<typename To, typename From> // use like this: down_cast<T*>(foo); 84 inline To down_cast(From* f) { // so we only accept pointers in down_cast() 90 implicit_cast<From*, To>(0); in down_cast() 99 template<typename To, typename From> // use like this: down_cast<T&>(foo); 100 inline To down_cast(From& f) { in down_cast() 107 implicit_cast<From*, ToAsPointer>(0); in down_cast() 117 template<typename To, typename From> 118 inline To bit_cast(const From& from) { in bit_cast() [all …]
|
/third_party/rust/crates/rustix/src/backend/linux_raw/ |
D | conv.rs | 106 impl<'a, Num: ArgNumber, T> From<*mut T> for ArgReg<'a, Num> { 113 impl<'a, Num: ArgNumber, T> From<*const T> for ArgReg<'a, Num> { 121 impl<'a, Num: ArgNumber> From<&'a CStr> for ArgReg<'a, Num> { 129 impl<'a, Num: ArgNumber> From<Option<&'a CStr>> for ArgReg<'a, Num> { impl 143 impl<'a, Num: ArgNumber> From<BorrowedFd<'a>> for ArgReg<'a, Num> { impl 271 impl<'a, Num: ArgNumber> From<ClockId> for ArgReg<'a, Num> { 279 impl<'a, Num: ArgNumber> From<TimerfdClockId> for ArgReg<'a, Num> { 293 impl<'a, Num: ArgNumber> From<Mode> for ArgReg<'a, Num> { 301 impl<'a, Num: ArgNumber> From<(Mode, FileType)> for ArgReg<'a, Num> { 309 impl<'a, Num: ArgNumber> From<crate::fs::AtFlags> for ArgReg<'a, Num> { [all …]
|
/third_party/vixl/test/ |
D | test-operands.cc | 44 aarch32::Operand op = aarch32::Operand::From(42); in TEST_AARCH32() 50 aarch32::Operand op = aarch32::Operand::From(-42); in TEST_AARCH32() 58 aarch32::Operand op = aarch32::Operand::From(-1); in TEST_AARCH32() 64 aarch32::Operand op = aarch32::Operand::From(UINT32_MAX); in TEST_AARCH32() 70 aarch32::Operand op = aarch32::Operand::From(INT32_MAX); in TEST_AARCH32() 76 aarch32::Operand op = aarch32::Operand::From(INT32_MIN); in TEST_AARCH32() 84 aarch32::Operand op = aarch32::Operand::From(INT64_C(-1)); in TEST_AARCH32() 90 aarch32::Operand op = aarch32::Operand::From(INT64_C(-42)); in TEST_AARCH32() 100 aarch32::Operand op = aarch32::Operand::From(&data); in TEST_AARCH32() 108 aarch32::Operand op = aarch32::Operand::From(data); in TEST_AARCH32()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | StringRef.cpp | 58 size_t StringRef::find_lower(char C, size_t From) const { in find_lower() 60 return find_if([L](char D) { return toLower(D) == L; }, From); in find_lower() 133 size_t StringRef::find(StringRef Str, size_t From) const { in find() 134 if (From > Length) in find() 137 const char *Start = Data + From; in find() 138 size_t Size = Length - From; in find() 143 return From; in find() 182 size_t StringRef::find_lower(StringRef Str, size_t From) const { in find_lower() 183 StringRef This = substr(From); in find_lower() 186 return From; in find_lower() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | StringRef.cpp | 72 size_t StringRef::find_lower(char C, size_t From) const { in find_lower() 74 return find_if([L](char D) { return ascii_tolower(D) == L; }, From); in find_lower() 147 size_t StringRef::find(StringRef Str, size_t From) const { in find() 148 if (From > Length) in find() 151 const char *Start = Data + From; in find() 152 size_t Size = Length - From; in find() 157 return From; in find() 196 size_t StringRef::find_lower(StringRef Str, size_t From) const { in find_lower() 197 StringRef This = substr(From); in find_lower() 200 return From; in find_lower() [all …]
|
/third_party/rust/crates/io-lifetimes/src/ |
D | impls_mio.rs | 41 impl From<mio::net::TcpStream> for OwnedFd { 57 impl From<mio::net::TcpStream> for OwnedSocket { 73 impl From<OwnedFd> for mio::net::TcpStream { 89 impl From<OwnedSocket> for mio::net::TcpStream { 121 impl From<mio::net::TcpListener> for OwnedFd { 137 impl From<mio::net::TcpListener> for OwnedSocket { 153 impl From<OwnedFd> for mio::net::TcpListener { 169 impl From<OwnedSocket> for mio::net::TcpListener { 201 impl From<mio::net::UdpSocket> for OwnedFd { 217 impl From<mio::net::UdpSocket> for OwnedSocket { [all …]
|
D | impls_async_std.rs | 48 impl From<async_std::fs::File> for OwnedFd { 64 impl From<async_std::fs::File> for OwnedHandle { 80 impl From<OwnedFd> for async_std::fs::File { 96 impl From<OwnedHandle> for async_std::fs::File { 128 impl From<async_std::net::TcpStream> for OwnedFd { 144 impl From<async_std::net::TcpStream> for OwnedSocket { 160 impl From<OwnedFd> for async_std::net::TcpStream { 176 impl From<OwnedSocket> for async_std::net::TcpStream { 208 impl From<async_std::net::TcpListener> for OwnedFd { 224 impl From<async_std::net::TcpListener> for OwnedSocket { [all …]
|
D | impls_std.rs | 125 impl From<OwnedHandle> for HandleOrInvalid { 157 impl From<std::fs::File> for OwnedFd { 173 impl From<std::fs::File> for OwnedHandle { 189 impl From<OwnedFd> for std::fs::File { 205 impl From<OwnedHandle> for std::fs::File { 237 impl From<std::net::TcpStream> for OwnedFd { 253 impl From<std::net::TcpStream> for OwnedSocket { 269 impl From<OwnedFd> for std::net::TcpStream { 285 impl From<OwnedSocket> for std::net::TcpStream { 317 impl From<std::net::TcpListener> for OwnedFd { [all …]
|
/third_party/node/deps/v8/src/heap/cppgc/ |
D | testing.cc | 16 auto& heap = internal::HeapBase::From(heap_handle_); in OverrideEmbedderStackStateScope() 22 internal::HeapBase::From(heap_handle_).override_stack_state_.reset(); in ~OverrideEmbedderStackStateScope() 29 internal::HeapBase::From(heap_handle_) in StartGarbageCollection() 34 return internal::HeapBase::From(heap_handle_) in PerformMarkingStep() 41 internal::HeapBase::From(heap_handle_) in FinalizeGarbageCollection() 46 internal::HeapBase::From(heap_handle_) in ToggleMainThreadMarking() 52 internal::HeapBase::From(heap_handle_) in ForceCompactionForNextGarbageCollection()
|
D | heap-page.cc | 57 LargePage::Destroy(LargePage::From(page)); in Destroy() 59 NormalPage::Destroy(NormalPage::From(page)); in Destroy() 64 return is_large() ? LargePage::From(this)->PayloadStart() in PayloadStart() 65 : NormalPage::From(this)->PayloadStart(); in PayloadStart() 73 return is_large() ? LargePage::From(this)->PayloadEnd() in PayloadEnd() 74 : NormalPage::From(this)->PayloadEnd(); in PayloadEnd() 82 return is_large() ? LargePage::From(this)->AllocatedBytesAtLastGC() in AllocatedBytesAtLastGC() 83 : NormalPage::From(this)->AllocatedBytesAtLastGC(); in AllocatedBytesAtLastGC() 95 if (!LargePage::From(this)->PayloadContains( in TryObjectHeaderFromInnerAddress() 99 const NormalPage* normal_page = NormalPage::From(this); in TryObjectHeaderFromInnerAddress() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/ |
D | StringView.h | 39 StringView substr(size_t From) const { in substr() argument 40 return StringView(begin() + From, size() - From); in substr() 43 size_t find(char C, size_t From = 0) const { 44 size_t FindBegin = std::min(From, size()); 54 StringView substr(size_t From, size_t To) const { in substr() argument 57 if (From >= size()) in substr() 58 From = size() - 1; in substr() 59 return StringView(First + From, First + To); in substr()
|
/third_party/typescript/tests/baselines/reference/ |
D | declarationEmitUnknownImport2.errors.txt | 3 tests/cases/compiler/declarationEmitUnknownImport2.ts(1,12): error TS2304: Cannot find name 'From'. 4 …/cases/compiler/declarationEmitUnknownImport2.ts(1,12): error TS2503: Cannot find namespace 'From'. 5 …onEmitUnknownImport2.ts(1,12): error TS4000: Import declaration 'Foo' is using private name 'From'. 10 import Foo From './Foo'; // Syntax error 16 !!! error TS2304: Cannot find name 'From'. 18 !!! error TS2503: Cannot find namespace 'From'. 20 !!! error TS4000: Import declaration 'Foo' is using private name 'From'.
|
D | intersectionsAndOptionalProperties.types | 39 type From = { field: null } & Omit<To, 'field'>; 40 >From : { field: null; } & Omit<To, "field"> 44 function foo(v: From) { 45 >foo : (v: From) => void 46 >v : From 52 >x = v : From 54 >v : From 62 >v : From
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/interop/ |
D | Core.cpp | 33 return Napi::Value::From(env, value); in ToJS() 44 return Napi::Value::From(env, value); in ToJS() 55 return Napi::Value::From(env, value); in ToJS() 66 return Napi::Value::From(env, value); in ToJS() 77 return Napi::Value::From(env, value); in ToJS() 88 return Napi::Value::From(env, value); in ToJS() 99 return Napi::Value::From(env, value); in ToJS() 110 return Napi::Value::From(env, value); in ToJS() 121 return Napi::Value::From(env, value); in ToJS() 135 return Napi::Value::From(env, value); in ToJS() [all …]
|
/third_party/rust/crates/clap/src/builder/ |
D | os_str.rs | 44 impl From<&'_ OsStr> for OsStr { 51 impl From<Str> for OsStr { 61 impl From<Str> for OsStr { 68 impl From<&'_ Str> for OsStr { 77 impl From<&'_ Str> for OsStr { 84 impl From<std::ffi::OsString> for OsStr { 91 impl From<&'_ std::ffi::OsString> for OsStr { 98 impl From<std::string::String> for OsStr { 105 impl From<&'_ std::string::String> for OsStr { 111 impl From<&'static std::ffi::OsStr> for OsStr { [all …]
|
/third_party/rust/crates/clap/src/util/ |
D | id.rs | 30 impl From<&'_ Id> for Id { 36 impl From<Str> for Id { 42 impl From<&'_ Str> for Id { 49 impl From<std::string::String> for Id { 56 impl From<&'_ std::string::String> for Id { 62 impl From<&'static str> for Id { 68 impl From<&'_ &'static str> for Id { 74 impl From<Id> for Str { 80 impl From<Id> for String {
|