/third_party/typescript/tests/baselines/reference/ |
D | conditionalTypeRelaxingConstraintAssignability.types | 24 export class Elem< 25 >Elem : Elem<C> 37 new Elem(undefined as ElChildren.Void); 38 >new Elem(undefined as ElChildren.Void) : Elem<undefined> 39 >Elem : typeof Elem 44 new Elem('' as ElChildren.Text); 45 >new Elem('' as ElChildren.Text) : Elem<string> 46 >Elem : typeof Elem 51 new Elem('' as ElChildren.Void | ElChildren.Text); // error 52 >new Elem('' as ElChildren.Void | ElChildren.Text) : Elem<string | undefined> [all …]
|
D | conditionalTypeRelaxingConstraintAssignability.js | 12 export class Elem< class 21 new Elem(undefined as ElChildren.Void); 22 new Elem('' as ElChildren.Text); 23 new Elem('' as ElChildren.Void | ElChildren.Text); // error 24 new Elem('' as ElChildren); // error 43 exports.Elem = void 0; 44 var Elem = /** @class */ (function () { 45 function Elem(children_) { class in Elem 48 return Elem; 50 exports.Elem = Elem; [all …]
|
D | jsxChildrenGenericContextualTypes.js | 9 const Elem = <T,U=never>(p: { prop: T, children: (t: T) => T }) => <div></div>; 10 Elem({prop: {a: "x"}, children: i => ({a: "z"})}); 11 const q = <Elem prop={{a: "x"}} children={i => ({a: "z"})} /> 12 const qq = <Elem prop={{a: "x"}}>{i => ({a: "z"})}</Elem> 27 var Elem = function (p) { return <div></div>; }; class 28 Elem({ prop: { a: "x" }, children: function (i) { return ({ a: "z" }); } }); 29 var q = <Elem prop={{ a: "x" }} children={function (i) { return ({ a: "z" }); }}/>; 30 var qq = <Elem prop={{ a: "x" }}>{function (i) { return ({ a: "z" }); }}</Elem>;
|
D | tsxInvokeComponentType.symbols | 7 declare const Elem: ComponentType<{ someKey: string }>; 8 >Elem : Symbol(Elem, Decl(tsxInvokeComponentType.tsx, 3, 13)) 12 const bad = <Elem />; 14 >Elem : Symbol(Elem, Decl(tsxInvokeComponentType.tsx, 3, 13)) 16 const good = <Elem someKey="ok" />; 18 >Elem : Symbol(Elem, Decl(tsxInvokeComponentType.tsx, 3, 13))
|
D | tsxInvokeComponentType.types | 7 declare const Elem: ComponentType<{ someKey: string }>; 8 >Elem : React.ComponentType<{ someKey: string; }> 11 const bad = <Elem />; 13 ><Elem /> : JSX.Element 14 >Elem : React.ComponentType<{ someKey: string; }> 16 const good = <Elem someKey="ok" />; 18 ><Elem someKey="ok" /> : JSX.Element 19 >Elem : React.ComponentType<{ someKey: string; }>
|
D | conditionalTypeRelaxingConstraintAssignability.symbols | 34 export class Elem< 35 >Elem : Symbol(Elem, Decl(conditionalTypeRelaxingConstraintAssignability.ts, 8, 83)) 44 >children_ : Symbol(Elem.children_, Decl(conditionalTypeRelaxingConstraintAssignability.ts, 13, 14)) 52 new Elem(undefined as ElChildren.Void); 53 >Elem : Symbol(Elem, Decl(conditionalTypeRelaxingConstraintAssignability.ts, 8, 83)) 58 new Elem('' as ElChildren.Text); 59 >Elem : Symbol(Elem, Decl(conditionalTypeRelaxingConstraintAssignability.ts, 8, 83)) 63 new Elem('' as ElChildren.Void | ElChildren.Text); // error 64 >Elem : Symbol(Elem, Decl(conditionalTypeRelaxingConstraintAssignability.ts, 8, 83)) 70 new Elem('' as ElChildren); // error [all …]
|
D | jsxChildrenGenericContextualTypes.symbols | 24 const Elem = <T,U=never>(p: { prop: T, children: (t: T) => T }) => <div></div>; 25 >Elem : Symbol(Elem, Decl(jsxChildrenGenericContextualTypes.tsx, 7, 5)) 38 Elem({prop: {a: "x"}, children: i => ({a: "z"})}); 39 >Elem : Symbol(Elem, Decl(jsxChildrenGenericContextualTypes.tsx, 7, 5)) 46 const q = <Elem prop={{a: "x"}} children={i => ({a: "z"})} /> 48 >Elem : Symbol(Elem, Decl(jsxChildrenGenericContextualTypes.tsx, 7, 5)) 55 const qq = <Elem prop={{a: "x"}}>{i => ({a: "z"})}</Elem> 57 >Elem : Symbol(Elem, Decl(jsxChildrenGenericContextualTypes.tsx, 7, 5)) 62 >Elem : Symbol(Elem, Decl(jsxChildrenGenericContextualTypes.tsx, 7, 5))
|
D | jsxChildrenGenericContextualTypes.types | 14 const Elem = <T,U=never>(p: { prop: T, children: (t: T) => T }) => <div></div>; 15 >Elem : <T, U = never>(p: { prop: T; children: (t: T) => T; }) => JSX.Element 25 Elem({prop: {a: "x"}, children: i => ({a: "z"})}); 26 >Elem({prop: {a: "x"}, children: i => ({a: "z"})}) : JSX.Element 27 >Elem : <T, U = never>(p: { prop: T; children: (t: T) => T; }) => JSX.Element 41 const q = <Elem prop={{a: "x"}} children={i => ({a: "z"})} /> 43 ><Elem prop={{a: "x"}} children={i => ({a: "z"})} /> : JSX.Element 44 >Elem : <T, U = never>(p: { prop: T; children: (t: T) => T; }) => JSX.Element 57 const qq = <Elem prop={{a: "x"}}>{i => ({a: "z"})}</Elem> 59 ><Elem prop={{a: "x"}}>{i => ({a: "z"})}</Elem> : JSX.Element [all …]
|
D | tsxInvokeComponentType.js | 5 declare const Elem: ComponentType<{ someKey: string }>; 7 const bad = <Elem />; 9 const good = <Elem someKey="ok" />; 23 var bad = react_1["default"].createElement(Elem, null); 24 var good = react_1["default"].createElement(Elem, { someKey: "ok" });
|
D | jsxChildrenGenericContextualTypes.errors.txt | 14 const Elem = <T,U=never>(p: { prop: T, children: (t: T) => T }) => <div></div>; 15 Elem({prop: {a: "x"}, children: i => ({a: "z"})}); 16 const q = <Elem prop={{a: "x"}} children={i => ({a: "z"})} /> 17 const qq = <Elem prop={{a: "x"}}>{i => ({a: "z"})}</Elem>
|
D | tsxInvokeComponentType.errors.txt | 8 declare const Elem: ComponentType<{ someKey: string }>; 10 const bad = <Elem />; 15 const good = <Elem someKey="ok" />;
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/ |
D | node_hash_map_test.cc | 173 auto Elem = [](int key, int value) { in TEST() local 177 EXPECT_THAT(set1, UnorderedElementsAre(Elem(7, -7), Elem(17, -17))); in TEST() 178 EXPECT_THAT(set2, UnorderedElementsAre(Elem(7, -70), Elem(19, -190))); in TEST() 186 UnorderedElementsAre(Elem(7, -7), Elem(17, -17), Elem(19, -190))); in TEST() 187 EXPECT_THAT(set2, UnorderedElementsAre(Elem(7, -70))); in TEST() 193 EXPECT_THAT(set1, UnorderedElementsAre(Elem(17, -17), Elem(19, -190))); in TEST() 201 EXPECT_THAT(*insert_result.position, Elem(7, -70)); in TEST() 202 EXPECT_THAT(set2, UnorderedElementsAre(Elem(7, -70))); in TEST() 208 EXPECT_THAT(set1, UnorderedElementsAre(Elem(19, -190))); in TEST() 216 EXPECT_THAT(*insert_result.position, Elem(17, 23)); in TEST() [all …]
|
/third_party/vk-gl-cts/framework/delibs/decpp/ |
D | deArrayUtil.hpp | 33 template <int LastElementIndex, int Size, typename Elem> 34 const Elem& getSizedArrayElement (const Elem (&array)[Size], typename de::meta::EnableIf<int, LastE… in getSizedArrayElement() 41 template <int Size, typename Elem> 42 const Elem& getArrayElement (const Elem (&array)[Size], int offset) in getArrayElement()
|
/third_party/typescript/tests/cases/compiler/ |
D | conditionalTypeRelaxingConstraintAssignability.ts | 12 export class Elem< class 21 new Elem(undefined as ElChildren.Void); 22 new Elem('' as ElChildren.Text); 23 new Elem('' as ElChildren.Void | ElChildren.Text); // error 24 new Elem('' as ElChildren); // error
|
D | jsxChildrenGenericContextualTypes.tsx | 10 const Elem = <T,U=never>(p: { prop: T, children: (t: T) => T }) => <div></div>; 11 Elem({prop: {a: "x"}, children: i => ({a: "z"})}); 12 const q = <Elem prop={{a: "x"}} children={i => ({a: "z"})} /> 13 const qq = <Elem prop={{a: "x"}}>{i => ({a: "z"})}</Elem>
|
D | tsxInvokeComponentType.tsx | 7 declare const Elem: ComponentType<{ someKey: string }>; 9 const bad = <Elem />; 11 const good = <Elem someKey="ok" />;
|
/third_party/flutter/skia/src/xml/ |
D | SkXMLWriter.h | 42 struct Elem { struct 43 Elem(const char name[], size_t len) in Elem() function 52 void doEnd(Elem* elem); argument 54 Elem* getEnd(); 56 SkTDArray<Elem*> fElems;
|
D | SkXMLWriter.cpp | 58 void SkXMLWriter::doEnd(Elem* elem) { in doEnd() 68 Elem** elem = fElems.push(); in doStart() 69 *elem = new Elem(name, length); in doStart() 73 SkXMLWriter::Elem* SkXMLWriter::getEnd() { in getEnd() 74 Elem* elem; in getEnd() 216 Elem* elem = fElems.top(); in onAddText() 229 Elem* elem = getEnd(); in onEndElement() 285 Elem* elem = this->getEnd(); in onEndElement()
|
/third_party/skia/src/xml/ |
D | SkXMLWriter.h | 42 struct Elem { struct 43 Elem(const char name[], size_t len) in Elem() function 52 void doEnd(Elem* elem); argument 54 Elem* getEnd(); 56 SkTDArray<Elem*> fElems;
|
D | SkXMLWriter.cpp | 58 void SkXMLWriter::doEnd(Elem* elem) { in doEnd() 68 Elem** elem = fElems.push(); in doStart() 69 *elem = new Elem(name, length); in doStart() 73 SkXMLWriter::Elem* SkXMLWriter::getEnd() { in getEnd() 74 Elem* elem; in getEnd() 211 Elem* elem = fElems.top(); in onAddText() 224 Elem* elem = getEnd(); in onEndElement() 294 Elem* elem = this->getEnd(); in onEndElement()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | Scalarizer.cpp | 472 for (unsigned Elem = 0; Elem < NumElems; ++Elem) in splitUnary() local 473 Res[Elem] = Split(Builder, Op[Elem], I.getName() + ".i" + Twine(Elem)); in splitUnary() 494 for (unsigned Elem = 0; Elem < NumElems; ++Elem) in splitBinary() local 495 Res[Elem] = Split(Builder, Op0[Elem], Op1[Elem], in splitBinary() 496 I.getName() + ".i" + Twine(Elem)); in splitBinary() 554 for (unsigned Elem = 0; Elem < NumElems; ++Elem) { in splitCall() local 561 ScalarCallOps.push_back(Scattered[J][Elem]); in splitCall() 564 Res[Elem] = Builder.CreateCall(NewIntrin, ScalarCallOps, in splitCall() 565 CI.getName() + ".i" + Twine(Elem)); in splitCall()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | LLVMContextImpl.cpp | 109 FoldingSetIterator<AttributeImpl> Elem = I++; in ~LLVMContextImpl() local 110 delete &*Elem; in ~LLVMContextImpl() 117 FoldingSetIterator<AttributeListImpl> Elem = I++; in ~LLVMContextImpl() local 118 delete &*Elem; in ~LLVMContextImpl() 124 FoldingSetIterator<AttributeSetNode> Elem = I++; in ~LLVMContextImpl() local 125 delete &*Elem; in ~LLVMContextImpl()
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/ |
D | issue-446.hpp | 3 template <typename Elem> 5 List<Elem> *next;
|
/third_party/skia/third_party/externals/tint/tools/src/list/ |
D | list.go | 54 if ptr.Kind() != reflect.Ptr || ptr.Elem().Kind() != reflect.Slice { 57 return list{ptr.Elem()} 136 return l.v.Type().Elem()
|
/third_party/googletest/docs/ |
D | gmock_cheat_sheet.md | 59 template <typename Elem> 64 virtual void Push(const Elem& x) = 0; 72 template <typename Elem> 73 class MockStack : public StackInterface<Elem> { 76 MOCK_METHOD(void, Push, (const Elem& x), (override));
|