Home
last modified time | relevance | path

Searched refs:Extract (Results 1 – 25 of 378) sorted by relevance

12345678910>>...16

/external/libtextclassifier/utils/
Dtoken-feature-extractor_test.cc49 extractor.Extract(Token{"Hello", 0, 5}, true, &sparse_features, in TEST_F()
77 extractor.Extract(Token{"world!", 23, 29}, false, &sparse_features, in TEST_F()
119 extractor.Extract(Token{"Hello", 0, 5}, true, &sparse_features, in TEST_F()
128 extractor.Extract(Token{"world!", 23, 29}, false, &sparse_features, in TEST_F()
148 extractor.Extract(Token{"Hělló", 0, 5}, true, &sparse_features, in TEST_F()
176 extractor.Extract(Token{"world!", 23, 29}, false, &sparse_features, in TEST_F()
218 extractor.Extract(Token{"Hělló", 0, 5}, true, &sparse_features, in TEST_F()
227 extractor.Extract(Token{"world!", 23, 29}, false, &sparse_features, in TEST_F()
248 extractor.Extract(Token{"Hělló", 0, 5}, true, &sparse_features, in TEST_F()
254 extractor.Extract(Token{"world!", 23, 29}, false, &sparse_features, in TEST_F()
[all …]
/external/libchrome/base/metrics/
Dhistogram_samples_unittest.cc30 TEST(SingleSampleTest, Extract) { in TEST() argument
34 SingleSample s = sample.Extract(/*disable=*/false); in TEST()
38 s = sample.Extract(/*disable=*/false); in TEST()
45 EXPECT_EQ(0U, sample.Extract(/*disable=*/false).count); in TEST()
49 EXPECT_EQ(1U, sample.Extract(/*disable=*/true).count); in TEST()
53 EXPECT_EQ(0U, sample.Extract(/*disable=*/false).count); in TEST()
63 EXPECT_EQ(7U, sample.Extract(/*disable=*/false).count); in TEST()
68 EXPECT_EQ(3U, sample.Extract(/*disable=*/false).count); in TEST()
76 EXPECT_EQ(1U, sample.Extract(/*disable=*/false).count); in TEST()
81 sample.Extract(/*disable=*/false).count); in TEST()
/external/llvm/lib/CodeGen/
DInterleavedAccessPass.cpp209 auto *Extract = dyn_cast<ExtractElementInst>(*UI); in lowerInterleavedLoad() local
210 if (Extract && isa<ConstantInt>(Extract->getIndexOperand())) { in lowerInterleavedLoad()
211 Extracts.push_back(Extract); in lowerInterleavedLoad()
280 for (auto *Extract : Extracts) { in tryReplaceExtracts() local
283 auto *IndexOperand = cast<ConstantInt>(Extract->getIndexOperand()); in tryReplaceExtracts()
293 if (!DT->dominates(Shuffle, Extract)) in tryReplaceExtracts()
303 assert(Extract->getOperand(0) == Shuffle->getOperand(0) && in tryReplaceExtracts()
305 ReplacementMap[Extract] = std::make_pair(Shuffle, I); in tryReplaceExtracts()
310 if (ReplacementMap.count(Extract)) in tryReplaceExtracts()
316 if (!ReplacementMap.count(Extract)) in tryReplaceExtracts()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DInterleavedAccessPass.cpp289 auto *Extract = dyn_cast<ExtractElementInst>(*UI); in lowerInterleavedLoad() local
290 if (Extract && isa<ConstantInt>(Extract->getIndexOperand())) { in lowerInterleavedLoad()
291 Extracts.push_back(Extract); in lowerInterleavedLoad()
360 for (auto *Extract : Extracts) { in tryReplaceExtracts() local
362 auto *IndexOperand = cast<ConstantInt>(Extract->getIndexOperand()); in tryReplaceExtracts()
371 if (!DT->dominates(Shuffle, Extract)) in tryReplaceExtracts()
381 assert(Extract->getOperand(0) == Shuffle->getOperand(0) && in tryReplaceExtracts()
383 ReplacementMap[Extract] = std::make_pair(Shuffle, I); in tryReplaceExtracts()
388 if (ReplacementMap.count(Extract)) in tryReplaceExtracts()
394 if (!ReplacementMap.count(Extract)) in tryReplaceExtracts()
[all …]
/external/swiftshader/src/Reactor/
DSubzeroReactor.cpp931 Int x = Extract(v, 0); in createStore()
943 Int x = Extract(v, 0); in createStore()
945 Int y = Extract(v, 1); in createStore()
2728 RValue<Byte> Extract(RValue<Byte8> val, int i) in Extract() function
2748 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 0)) + Int(Extract(y, 0)))), 0); in AddSat()
2749 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 1)) + Int(Extract(y, 1)))), 1); in AddSat()
2750 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 2)) + Int(Extract(y, 2)))), 2); in AddSat()
2751 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 3)) + Int(Extract(y, 3)))), 3); in AddSat()
2752 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 4)) + Int(Extract(y, 4)))), 4); in AddSat()
2753 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 5)) + Int(Extract(y, 5)))), 5); in AddSat()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-xray/
Dxray-extract.cpp33 static cl::SubCommand Extract("extract", "Extract instrumentation maps"); variable
36 cl::sub(Extract));
40 cl::sub(Extract));
43 cl::sub(Extract));
47 cl::sub(Extract));
50 cl::sub(Extract));
74 static CommandRegistration Unused(&Extract, []() -> Error { in __anon6df76ed40202()
/external/swiftshader/src/Device/
DBlitter.cpp1008 if(writeA) { *Pointer<SByte>(element + 3) = SByte(Extract(c, 3)); } in write()
1012 if(writeB) { *Pointer<SByte>(element) = SByte(Extract(c, 2)); } in write()
1013 if(writeG) { *Pointer<SByte>(element + 1) = SByte(Extract(c, 1)); } in write()
1014 if(writeR) { *Pointer<SByte>(element + 2) = SByte(Extract(c, 0)); } in write()
1020 if(writeA) { *Pointer<SByte>(element + 3) = SByte(Extract(c, 3)); } in write()
1023 if(writeB) { *Pointer<SByte>(element + 2) = SByte(Extract(c, 2)); } in write()
1026 if(writeG) { *Pointer<SByte>(element + 1) = SByte(Extract(c, 1)); } in write()
1029 if(writeR) { *Pointer<SByte>(element) = SByte(Extract(c, 0)); } in write()
1038 UInt((Extract(c, 0)) | (Extract(c, 1) << 10) | (Extract(c, 2) << 20) | (Extract(c, 3) << 30)); in write()
1048 …(UInt(Extract(c, 0) | (Extract(c, 1) << 10) | (Extract(c, 2) << 20) | (Extract(c, 3) << 30)) & UIn… in write()
[all …]
/external/llvm/test/CodeGen/SystemZ/
Dtdc-04.ll7 ; Extract sign bit.
17 ; Extract negated sign bit.
27 ; Extract sign bit.
37 ; Extract negated sign bit.
47 ; Extract sign bit.
57 ; Extract negated sign bit.
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SystemZ/
Dtdc-04.ll7 ; Extract sign bit.
17 ; Extract negated sign bit.
27 ; Extract sign bit.
37 ; Extract negated sign bit.
47 ; Extract sign bit.
57 ; Extract negated sign bit.
/external/swiftshader/src/Renderer/
DBlitter.cpp862 if(writeA) { *Pointer<SByte>(element + 3) = SByte(Extract(c, 3)); } in write()
868 if(writeB) { *Pointer<SByte>(element + 2) = SByte(Extract(c, 2)); } in write()
870 if(writeG) { *Pointer<SByte>(element + 1) = SByte(Extract(c, 1)); } in write()
872 if(writeR) { *Pointer<SByte>(element) = SByte(Extract(c, 0)); } in write()
875 if(writeA) { *Pointer<Byte>(element + 3) = Byte(Extract(c, 3)); } in write()
881 if(writeB) { *Pointer<Byte>(element + 2) = Byte(Extract(c, 2)); } in write()
883 if(writeG) { *Pointer<Byte>(element + 1) = Byte(Extract(c, 1)); } in write()
885 if(writeR) { *Pointer<Byte>(element) = Byte(Extract(c, 0)); } in write()
888 if(writeA) { *Pointer<Short>(element + 6) = Short(Extract(c, 3)); } in write()
894 if(writeB) { *Pointer<Short>(element + 4) = Short(Extract(c, 2)); } in write()
[all …]
/external/libmpeg2/common/arm/
Dimpeg2_inter_pred.s320 vext.8 d24, d0, d1, #1 @Extract pixels (1-8) of row1
322 vext.8 d28, d2, d3, #1 @Extract pixels (1-8) of row5
324 vext.8 d16, d4, d5, #1 @Extract pixels (1-8) of row2
326 vext.8 d20, d6, d7, #1 @Extract pixels (1-8) of row6
338 vext.8 d1, d25, d26, #1 @Extract pixels (1-8) of row3
340 vext.8 d3, d29, d30, #1 @Extract pixels (1-8) of row7
344 vext.8 d5, d17, d18, #1 @Extract pixels (1-8) of row4
346 vext.8 d7, d21, d22, #1 @Extract pixels (1-8) of row8
432 vext.8 d1, d0, d1, #1 @Extract pixels (1-8) of row1
436 vext.8 d3, d2, d3, #1 @Extract pixels (1-8) of row5
[all …]
/external/tensorflow/tensorflow/core/lib/gtl/
Dtop_n_test.cc67 v = ConsumeRawPtr(top.Extract()); in TestIntTopNHelper()
132 std::vector<string> s = ConsumeRawPtr(top.Extract()); in TEST()
142 std::vector<string> s = ConsumeRawPtr(top2.Extract()); in TEST()
148 std::vector<string> s = ConsumeRawPtr(top3.Extract()); in TEST()
161 std::vector<string> s = ConsumeRawPtr(top4.Extract()); in TEST()
186 std::vector<string *> extract = ConsumeRawPtr(topn.Extract()); in TEST()
203 std::vector<StrPtr> extract = ConsumeRawPtr(topn.Extract()); in TEST()
/external/llvm/include/llvm/DebugInfo/CodeView/
DStreamArray.h114 : IterRef(Array.Stream), Array(&Array), HadError(HadError), Extract(E) {
115 auto EC = Extract(IterRef, ThisLen, ThisValue);
122 explicit VarStreamArrayIterator(const Extractor &E) : Extract(E) {} in VarStreamArrayIterator()
157 auto EC = Extract(IterRef, ThisLen, ThisValue);
193 Extractor Extract; variable
/external/swiftshader/third_party/llvm-7.0/llvm/docs/CommandGuide/
Dllvm-extract.rst36 Extract the function named *function-name* from the LLVM bitcode. May be
41 Extract the function(s) matching *function-regular-expr* from the LLVM bitcode.
47 Extract the global variable named *global-name* from the LLVM bitcode. May be
52 Extract the global variable(s) matching *global-regular-expr* from the LLVM
/external/llvm/docs/CommandGuide/
Dllvm-extract.rst36 Extract the function named *function-name* from the LLVM bitcode. May be
41 Extract the function(s) matching *function-regular-expr* from the LLVM bitcode.
47 Extract the global variable named *global-name* from the LLVM bitcode. May be
52 Extract the global variable(s) matching *global-regular-expr* from the LLVM
/external/lzma/CPP/7zip/Bundles/SFXWin/
Dresource.rc21 DEFPUSHBUTTON "Extract", IDOK, bx2, by, bxs, bys, WS_GROUP
36 DEFPUSHBUTTON "Extract", IDOK, bx2, by, bxs, bys, WS_GROUP
45 #include "../../UI/GUI/Extract.rc"
/external/swiftshader/src/Pipeline/
DShaderCore.cpp567 Int index0 = Extract(index, 0); in operator []()
568 Int index1 = Extract(index, 1); in operator []()
569 Int index2 = Extract(index, 2); in operator []()
570 Int index3 = Extract(index, 3); in operator []()
574 r.x.x = Extract(x[0][index0], 0); in operator []()
575 r.x.y = Extract(x[0][index1], 1); in operator []()
576 r.x.z = Extract(x[0][index2], 2); in operator []()
577 r.x.w = Extract(x[0][index3], 3); in operator []()
579 r.y.x = Extract(y[0][index0], 0); in operator []()
580 r.y.y = Extract(y[0][index1], 1); in operator []()
[all …]
/external/swiftshader/src/Shader/
DShaderCore.cpp567 Int index0 = Extract(index, 0); in operator []()
568 Int index1 = Extract(index, 1); in operator []()
569 Int index2 = Extract(index, 2); in operator []()
570 Int index3 = Extract(index, 3); in operator []()
574 r.x.x = Extract(x[0][index0], 0); in operator []()
575 r.x.y = Extract(x[0][index1], 1); in operator []()
576 r.x.z = Extract(x[0][index2], 2); in operator []()
577 r.x.w = Extract(x[0][index3], 3); in operator []()
579 r.y.x = Extract(y[0][index0], 0); in operator []()
580 r.y.y = Extract(y[0][index1], 1); in operator []()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DBinaryStreamArray.h147 : IterRef(Array.Stream.drop_front(Offset)), Extract(E), in VarStreamArrayIterator()
152 auto EC = Extract(IterRef, ThisLen, ThisValue); in VarStreamArrayIterator()
161 explicit VarStreamArrayIterator(const Extractor &E) : Extract(E) {} in VarStreamArrayIterator()
201 auto EC = Extract(IterRef, ThisLen, ThisValue);
231 Extractor Extract; variable
/external/swiftshader/third_party/LLVM/docs/CommandGuide/
Dllvm-extract.pod37 Extract the function named I<function-name> from the LLVM bitcode. May be
42 Extract the function(s) matching I<function-regular-expr> from the LLVM bitcode.
48 Extract the global variable named I<global-name> from the LLVM bitcode. May be
53 Extract the global variable(s) matching I<global-regular-expr> from the LLVM
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZInstrSystem.td21 // Extract PSW.
73 // Extract primary ASN (and instance).
79 // Extract secondary ASN (and instance).
91 // Extract and set extended authority.
282 // Extract stacked registers.
288 // Extract stacked state.
359 // Extract CPU attribute.
363 // Extract CPU time.
424 // Extract coprocessor-group address.
428 // Extract CPU counter.
[all …]
/external/llvm/tools/llvm-ar/
Dllvm-ar.cpp134 Extract, ///< Extract files back to file system enumerator
236 case 'x': ++NumOperations; Operation = Extract; break; in parseCommandLine()
305 if (OriginalDates && Operation != Extract) in parseCommandLine()
390 case Extract: in shouldCreateArchive()
404 if (Operation == Extract && OldArchive->isThin()) in performReadOperation()
431 case Extract: in performReadOperation()
680 case Extract: in performOperation()
/external/llvm/lib/Transforms/Vectorize/
DLoadStoreVectorizer.cpp782 Value *Extract = Builder.CreateExtractElement(Store->getValueOperand(), in vectorizeStoreChain() local
784 if (Extract->getType() != StoreTy->getScalarType()) in vectorizeStoreChain()
785 Extract = Builder.CreateBitCast(Extract, StoreTy->getScalarType()); in vectorizeStoreChain()
788 Builder.CreateInsertElement(Vec, Extract, Builder.getInt32(NewIdx)); in vectorizeStoreChain()
795 Value *Extract = Store->getValueOperand(); in vectorizeStoreChain() local
796 if (Extract->getType() != StoreTy->getScalarType()) in vectorizeStoreChain()
797 Extract = in vectorizeStoreChain()
798 Builder.CreateBitOrPointerCast(Extract, StoreTy->getScalarType()); in vectorizeStoreChain()
801 Builder.CreateInsertElement(Vec, Extract, Builder.getInt32(I)); in vectorizeStoreChain()
/external/llvm/test/CodeGen/AMDGPU/
Dshift-and-i128-ubfe.ll3 ; Extract the high bit of the 1st quarter
25 ; Extract the high bit of the 2nd quarter
47 ; Extract the high bit of the 3rd quarter
69 ; Extract the high bit of the 4th quarter
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dshift-and-i128-ubfe.ll3 ; Extract the high bit of the 1st quarter
25 ; Extract the high bit of the 2nd quarter
48 ; Extract the high bit of the 3rd quarter
70 ; Extract the high bit of the 4th quarter

12345678910>>...16