Home
last modified time | relevance | path

Searched refs:Elem (Results 1 - 25 of 39) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
H A DconditionalTypeRelaxingConstraintAssignability.js12 export class Elem<
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_) {
48 return Elem;
50 exports.Elem
[all...]
H A DjsxChildrenGenericContextualTypes.js9 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>; };
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>;
[all...]
H A DtsxInvokeComponentType.js5 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" });
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
H A Dnode_hash_map_test.cc173 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(1 in TEST()
[all...]
/third_party/vk-gl-cts/framework/delibs/decpp/
H A DdeArrayUtil.hpp33 template <int LastElementIndex, int Size, typename Elem>
34 const Elem& getSizedArrayElement (const Elem (&array)[Size], typename de::meta::EnableIf<int, LastElementIndex==Size>::Type offset) member
41 template <int Size, typename Elem>
42 const Elem& getArrayElement (const Elem (&array)[Size], int offset) member
/third_party/skia/src/xml/
H A DSkXMLWriter.h42 struct Elem { struct in SkXMLWriter
43 Elem(const char name[], size_t len) in Elem() function
52 void doEnd(Elem* elem);
54 Elem* getEnd();
56 SkTDArray<Elem*> fElems;
H A DSkXMLWriter.cpp58 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/IR/
H A DLLVMContextImpl.cpp109 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/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp472 for (unsigned Elem = 0; Elem < NumElems; ++Elem) in splitUnary()
473 Res[Elem] = Split(Builder, Op[Elem], I.getName() + ".i" + Twine(Elem)); in splitUnary()
494 for (unsigned Elem = 0; Elem < NumElems; ++Elem) in splitBinary()
495 Res[Elem] in splitBinary()
[all...]
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/
H A Dissue-446.hpp3 template <typename Elem>
5 List<Elem> *next;
/third_party/skia/third_party/externals/tint/tools/src/list/
H A Dlist.go54 if ptr.Kind() != reflect.Ptr || ptr.Elem().Kind() != reflect.Slice {
57 return list{ptr.Elem()}
136 return l.v.Type().Elem()
/third_party/rust/crates/strsim-rs/src/
H A Dlib.rs327 pub fn generic_damerau_levenshtein<Elem>(a_elems: &[Elem], b_elems: &[Elem]) -> usize in generic_damerau_levenshtein()
328 where Elem: Eq + Hash + Clone { in generic_damerau_levenshtein()
350 let mut elems: HashMap<Elem, usize> = HashMap::with_capacity(64); in generic_damerau_levenshtein()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
H A Dcompressed_tuple.h60 struct Elem;
62 struct Elem<CompressedTuple<B...>, I> struct
65 using ElemT = typename Elem<D, I>::type;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DStratifiedSets.h94 Optional<StratifiedInfo> find(const T &Elem) const { in find()
95 auto Iter = Values.find(Elem); in find()
343 bool has(const T &Elem) const { return get(Elem).hasValue(); } in has()
H A DLint.cpp573 Constant *Elem = C->getAggregateElement(I); in isZero() local
574 if (isa<UndefValue>(Elem)) in isZero()
577 KnownBits Known = computeKnownBits(Elem, DL); in isZero()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp2182 HexagonTargetLowering::buildVector32(ArrayRef<SDValue> Elem, const SDLoc &dl, in buildVector32() argument
2185 assert(VecTy.getVectorNumElements() == Elem.size()); in buildVector32()
2187 SmallVector<ConstantInt*,4> Consts(Elem.size()); in buildVector32()
2188 bool AllConst = getBuildVectorConstInts(Elem, VecTy, DAG, Consts); in buildVector32()
2190 unsigned First, Num = Elem.size(); in buildVector32()
2192 if (!isUndef(Elem[First])) in buildVector32()
2202 assert(Elem.size() == 2); in buildVector32()
2209 {Elem[1], Elem[0]}, DAG); in buildVector32()
2228 if (Elem[ in buildVector32()
2265 buildVector64(ArrayRef<SDValue> Elem, const SDLoc &dl, MVT VecTy, SelectionDAG &DAG) const buildVector64() argument
[all...]
H A DHexagonISelLowering.h344 SDValue buildVector32(ArrayRef<SDValue> Elem, const SDLoc &dl, MVT VecTy,
346 SDValue buildVector64(ArrayRef<SDValue> Elem, const SDLoc &dl, MVT VecTy,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp264 // and index, where the index is element Elem of a vector.
267 bool selectBDVAddr12Only(SDValue Addr, SDValue Elem, SDValue &Base,
697 bool SystemZDAGToDAGISel::selectBDVAddr12Only(SDValue Addr, SDValue Elem, in selectBDVAddr12Only() argument
712 Index.getOperand(1) == Elem) { in selectBDVAddr12Only()
1181 unsigned Elem = ElemN->getZExtValue(); in tryGather() local
1183 if (Elem >= VT.getVectorNumElements()) in tryGather()
1201 CurDAG->getTargetConstant(Elem, DL, MVT::i32), Load->getChain() in tryGather()
1223 unsigned Elem = ElemN->getZExtValue(); in tryScatter() local
1224 if (Elem >= VT.getVectorNumElements()) in tryScatter()
1234 Vec, Base, Disp, Index, CurDAG->getTargetConstant(Elem, D in tryScatter()
[all...]
H A DSystemZISelLowering.cpp4351 unsigned Elem = Bytes[Start + I]; in getShuffleInput() local
4353 Base = Elem - I; in getShuffleInput()
4357 } else if (unsigned(Base) != Elem - I) in getShuffleInput()
4478 // Add an extra element to the shuffle, taking it from element Elem of Op.
4484 bool GeneralShuffle::add(SDValue Op, unsigned Elem) { in add() argument
4498 unsigned Byte = ((Elem * FromBytesPerElement) % SystemZ::VectorBytes + in add()
4703 unsigned Elem = cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue(); in tryBuildVectorShuffle() local
4704 if (!GS.add(Op.getOperand(0), Elem)) in tryBuildVectorShuffle()
4750 for (auto Elem : Elems) { in buildVector()
4751 if (!Elem in buildVector()
4824 SDValue Elem = Elems[I]; buildVector() local
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_node/tools/src/cmd/idlgen/
H A Dmain.go358 s.visitType(t.Elem)
360 s.visitType(t.Elem)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
H A DModuleSummaryIndexYAML.h215 auto &Elem = V.find(KeyInt)->second; in inputOne() local
223 Elem.SummaryList.push_back(std::make_unique<FunctionSummary>( in inputOne()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64AddressingModes.h757 return all_of(Parts, [&](T Elem) { return Elem == Parts[0]; }); in isSVEMaskOfIdenticalElements()
/third_party/rust/crates/memchr/bench/data/code/
H A Drust-library.rs3196 struct Elem; in test_drop() structure names
3197 impl Drop for Elem { in test_drop()
3206 ring.push_back(Elem); in test_drop()
3207 ring.push_front(Elem); in test_drop()
3208 ring.push_back(Elem); in test_drop()
3209 ring.push_front(Elem); in test_drop()
3218 struct Elem; in test_drop_with_pop() structure names
3219 impl Drop for Elem { in test_drop_with_pop()
3228 ring.push_back(Elem); in test_drop_with_pop()
3229 ring.push_front(Elem); in test_drop_with_pop()
3244 struct Elem; test_drop_clear() structure names
7023 struct Elem(i32); test_vec_truncate_drop() structure names
11862 struct Elem; test_drop() structure names
11884 struct Elem; test_drop_with_pop() structure names
11910 struct Elem; test_drop_clear() structure names
44031 struct Elem(i32); test_vec_deque_truncate_drop() structure names
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp2460 Value *Elem = Builder.CreateBitCast(Src, DestVTy->getElementType()); in visitBitCast() local
2461 return InsertElementInst::Create(UndefValue::get(DestTy), Elem, in visitBitCast()
2492 Value *Elem = in visitBitCast() local
2495 return CastInst::Create(Instruction::BitCast, Elem, DestTy); in visitBitCast()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h1865 const Node *Elem; member in BracedExpr
1870 : Node(KBracedExpr), Elem(Elem_), Init(Init_), IsArray(IsArray_) {} in BracedExpr()
1872 template<typename Fn> void match(Fn F) const { F(Elem, Init, IsArray); } in match()
1877 Elem->print(S);
1881 Elem->print(S);
2253 void push_back(const T& Elem) { in push_back() argument
2256 *Last++ = Elem; in push_back()

Completed in 58 milliseconds

12