Home
last modified time | relevance | path

Searched refs:make_pair (Results 1 – 25 of 1091) sorted by relevance

12345678910>>...44

/external/swiftshader/third_party/LLVM/lib/Target/PTX/
DPTXFPRoundingModePass.cpp88 Instrs[PTX::FADDrr32] = std::make_pair(1U, (unsigned)RndNearestEven); in initializeMap()
89 Instrs[PTX::FADDri32] = std::make_pair(1U, (unsigned)RndNearestEven); in initializeMap()
90 Instrs[PTX::FADDrr64] = std::make_pair(1U, (unsigned)RndNearestEven); in initializeMap()
91 Instrs[PTX::FADDri64] = std::make_pair(1U, (unsigned)RndNearestEven); in initializeMap()
92 Instrs[PTX::FSUBrr32] = std::make_pair(1U, (unsigned)RndNearestEven); in initializeMap()
93 Instrs[PTX::FSUBri32] = std::make_pair(1U, (unsigned)RndNearestEven); in initializeMap()
94 Instrs[PTX::FSUBrr64] = std::make_pair(1U, (unsigned)RndNearestEven); in initializeMap()
95 Instrs[PTX::FSUBri64] = std::make_pair(1U, (unsigned)RndNearestEven); in initializeMap()
96 Instrs[PTX::FMULrr32] = std::make_pair(1U, (unsigned)RndNearestEven); in initializeMap()
97 Instrs[PTX::FMULri32] = std::make_pair(1U, (unsigned)RndNearestEven); in initializeMap()
[all …]
/external/libtextclassifier/tests/
Dtextclassifier_jni_test.cc27 EXPECT_EQ(ConvertIndicesBMPToUTF8("hello", {0, 5}), std::make_pair(0, 5)); in TEST()
28 EXPECT_EQ(ConvertIndicesUTF8ToBMP("hello", {0, 5}), std::make_pair(0, 5)); in TEST()
31 std::make_pair(0, 5)); in TEST()
33 std::make_pair(0, 5)); in TEST()
35 std::make_pair(0, 5)); in TEST()
37 std::make_pair(0, 6)); in TEST()
40 std::make_pair(6, 11)); in TEST()
42 std::make_pair(6, 11)); in TEST()
44 std::make_pair(6, 11)); in TEST()
46 std::make_pair(6, 12)); in TEST()
[all …]
Dtext-classification-model_test.cc54 std::make_pair(15, 27)); in TEST()
59 std::make_pair(0, 27)); in TEST()
62 EXPECT_EQ(std::make_pair(0, 1), model->SuggestSelection("a", {0, 1})); in TEST()
65 EXPECT_EQ(std::make_pair(0, 4), model->SuggestSelection("asdf", {0, 4})); in TEST()
75 EXPECT_EQ(std::make_pair(0, 27), in TEST()
77 EXPECT_EQ(std::make_pair(0, 27), in TEST()
79 EXPECT_EQ(std::make_pair(0, 27), in TEST()
81 EXPECT_EQ(std::make_pair(6, 33), in TEST()
158 EXPECT_EQ(std::make_pair(3, 10), in TEST()
160 EXPECT_EQ(std::make_pair(0, 6), model->StripPunctuation({0, 6}, "(abcd)")); in TEST()
[all …]
/external/llvm/unittests/ADT/
DMapVectorTest.cpp21 R = MV1.insert(std::make_pair(1, 2)); in TEST()
46 R = MV.insert(std::make_pair(1, 2)); in TEST()
52 R = MV.insert(std::make_pair(1, 3)); in TEST()
58 R = MV.insert(std::make_pair(4, 5)); in TEST()
72 R = MV.insert(std::make_pair(4, 7)); in TEST()
86 MV.insert(std::make_pair(1, 2)); in TEST()
87 MV.insert(std::make_pair(3, 4)); in TEST()
88 MV.insert(std::make_pair(5, 6)); in TEST()
109 MV.insert(std::make_pair(1, 11)); in TEST()
110 MV.insert(std::make_pair(2, 12)); in TEST()
[all …]
DHashingTest.cpp81 EXPECT_EQ(hash_combine(42, 43), hash_value(std::make_pair(42, 43))); in TEST()
82 EXPECT_NE(hash_combine(43, 42), hash_value(std::make_pair(42, 43))); in TEST()
83 EXPECT_NE(hash_combine(42, 43), hash_value(std::make_pair(42ull, 43ull))); in TEST()
84 EXPECT_NE(hash_combine(42, 43), hash_value(std::make_pair(42, 43ull))); in TEST()
85 EXPECT_NE(hash_combine(42, 43), hash_value(std::make_pair(42ull, 43))); in TEST()
90 hash_value(std::make_pair(42, std::make_pair(43, 44)))); in TEST()
91 EXPECT_EQ(hash_value(std::make_pair(42, std::make_pair(43, 44))), in TEST()
92 hash_value(std::make_pair(std::make_pair(42, 43), 44))); in TEST()
97 hash_value(std::make_pair('0', std::make_pair(1ull, '2')))); in TEST()
102 hash_value(std::make_pair(obj1, std::make_pair(obj2, obj3)))); in TEST()
[all …]
DDAGDeltaAlgorithmTest.cpp66 Deps.push_back(std::make_pair(3, 1)); in TEST()
80 Deps.push_back(std::make_pair(1, 0)); in TEST()
81 Deps.push_back(std::make_pair(2, 0)); in TEST()
82 Deps.push_back(std::make_pair(4, 0)); in TEST()
83 Deps.push_back(std::make_pair(3, 2)); in TEST()
/external/webrtc/talk/session/media/
Dcurrentspeakermonitor_unittest.cc97 info.active_streams.push_back(std::make_pair(kSsrc1, 3)); in TEST_F()
98 info.active_streams.push_back(std::make_pair(kSsrc2, 7)); in TEST_F()
106 info.active_streams.push_back(std::make_pair(kSsrc1, 3)); in TEST_F()
107 info.active_streams.push_back(std::make_pair(kSsrc2, 7)); in TEST_F()
119 info.active_streams.push_back(std::make_pair(kSsrc1, 3)); in TEST_F()
120 info.active_streams.push_back(std::make_pair(kSsrc2, 7)); in TEST_F()
126 info.active_streams.push_back(std::make_pair(kSsrc1, 3)); in TEST_F()
127 info.active_streams.push_back(std::make_pair(kSsrc2, 7)); in TEST_F()
133 info.active_streams.push_back(std::make_pair(kSsrc1, 9)); in TEST_F()
134 info.active_streams.push_back(std::make_pair(kSsrc2, 1)); in TEST_F()
[all …]
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/
Dp1-0x.cpp23 template<typename T, typename U> pair<T, U> make_pair(T, U);
64 int *ip1 = first_arg_pair(make_pair(ip, 17)); in test_pair_deduction()
65 int *ip2 = first_arg_pair(make_pair(ip, 17), make_pair(fp, 17)); in test_pair_deduction()
66 int *ip3 = first_arg_pair(make_pair(ip, 17), make_pair(fp, 17), in test_pair_deduction()
67 make_pair(dp, 17)); in test_pair_deduction()
68 float *fp1 = second_arg_pair(make_pair(ip, 17), make_pair(fp, 17)); in test_pair_deduction()
69 float *fp2 = second_arg_pair(make_pair(ip, 17), make_pair(fp, 17), in test_pair_deduction()
70 make_pair(dp, 17)); in test_pair_deduction()
73 no_type nt3 = second_arg_pair(make_pair(ip, 17)); in test_pair_deduction()
76 …first_arg_pair(make_pair(ip, 17), 16); // expected-error{{no matching function for call to 'first_… in test_pair_deduction()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldChecker.cpp155 return std::make_pair(BinOpToken::Invalid, ""); in parseBinOpToken()
159 return std::make_pair(BinOpToken::ShiftLeft, Expr.substr(2).ltrim()); in parseBinOpToken()
161 return std::make_pair(BinOpToken::ShiftRight, Expr.substr(2).ltrim()); in parseBinOpToken()
167 return std::make_pair(BinOpToken::Invalid, Expr); in parseBinOpToken()
182 return std::make_pair(Op, Expr.substr(1).ltrim()); in parseBinOpToken()
212 return std::make_pair(Expr.substr(0, FirstNonSymbol), in parseSymbol()
224 return std::make_pair(unexpectedToken(Expr, Expr, "expected '('"), ""); in evalDecodeOperand()
230 return std::make_pair( in evalDecodeOperand()
235 return std::make_pair( in evalDecodeOperand()
242 return std::make_pair(OpIdxExpr, ""); in evalDecodeOperand()
[all …]
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCDuplexInfo.cpp30 std::make_pair((unsigned)V4_SA1_addi, 0),
31 std::make_pair((unsigned)V4_SA1_addrx, 6144),
32 std::make_pair((unsigned)V4_SA1_addsp, 3072),
33 std::make_pair((unsigned)V4_SA1_and1, 4608),
34 std::make_pair((unsigned)V4_SA1_clrf, 6768),
35 std::make_pair((unsigned)V4_SA1_clrfnew, 6736),
36 std::make_pair((unsigned)V4_SA1_clrt, 6752),
37 std::make_pair((unsigned)V4_SA1_clrtnew, 6720),
38 std::make_pair((unsigned)V4_SA1_cmpeqi, 6400),
39 std::make_pair((unsigned)V4_SA1_combine0i, 7168),
[all …]
/external/vboot_reference/scripts/keygeneration/
Dcreate_new_keys.sh95 make_pair ec_root_key ${EC_ROOT_KEY_ALGOID}
96 make_pair ec_data_key ${EC_DATAKEY_ALGOID} ${eckey_version}
97 make_pair root_key ${root_key_algoid}
98 make_pair firmware_data_key ${FIRMWARE_DATAKEY_ALGOID} ${fkey_version}
100 make_pair dev_firmware_data_key ${DEV_FIRMWARE_DATAKEY_ALGOID} ${fkey_version}
102 make_pair kernel_subkey ${KERNEL_SUBKEY_ALGOID} ${ksubkey_version}
103 make_pair kernel_data_key ${KERNEL_DATAKEY_ALGOID} ${kdatakey_version}
106 make_pair recovery_key ${recovery_key_algoid}
107 make_pair recovery_kernel_data_key ${recovery_kernel_algoid}
108 make_pair installer_kernel_data_key ${installer_kernel_algoid}
/external/webrtc/webrtc/libjingle/xmllite/
Dxmlnsstack.cc49 return std::make_pair(NS_XML, true); in NsForPrefix()
51 return std::make_pair(NS_XMLNS, true); in NsForPrefix()
53 return std::make_pair(STR_EMPTY, false); in NsForPrefix()
60 return std::make_pair(*(pos + 1), true); in NsForPrefix()
64 return std::make_pair(STR_EMPTY, true); // default namespace in NsForPrefix()
66 return std::make_pair(STR_EMPTY, false); // none found in NsForPrefix()
78 return std::make_pair(std::string("xml"), true); in PrefixForNs()
80 return std::make_pair(std::string("xmlns"), true); in PrefixForNs()
82 return std::make_pair(STR_EMPTY, true); in PrefixForNs()
89 return std::make_pair(*pos, true); in PrefixForNs()
[all …]
/external/v8/tools/clang/blink_gc_plugin/
DCheckFieldsVisitor.cpp47 invalid_fields_.push_back(std::make_pair(current_, kMemberInUnmanaged)); in AtMember()
55 invalid_fields_.push_back(std::make_pair(current_, kIteratorToGCManaged)); in AtIterator()
64 invalid_fields_.push_back(std::make_pair(current_, kPtrFromHeapToStack)); in AtValue()
71 invalid_fields_.push_back(std::make_pair(current_, kGCDerivedPartObject)); in AtValue()
87 invalid_fields_.push_back(std::make_pair(current_, in AtValue()
100 invalid_fields_.push_back(std::make_pair( in AtValue()
108 invalid_fields_.push_back(std::make_pair(current_, error)); in AtValue()
114 invalid_fields_.push_back(std::make_pair(current_, kOwnPtrToGCManaged)); in AtCollection()
116 invalid_fields_.push_back(std::make_pair(current_, kUniquePtrToGCManaged)); in AtCollection()
/external/eigen/unsupported/test/
Dcxx11_tensor_padding.cpp23 paddings[0] = std::make_pair(0, 0); in test_simple_padding()
24 paddings[1] = std::make_pair(2, 1); in test_simple_padding()
25 paddings[2] = std::make_pair(3, 4); in test_simple_padding()
26 paddings[3] = std::make_pair(0, 0); in test_simple_padding()
58 paddings[0] = std::make_pair(0, 0); in test_padded_expr()
59 paddings[1] = std::make_pair(2, 1); in test_padded_expr()
60 paddings[2] = std::make_pair(3, 4); in test_padded_expr()
61 paddings[3] = std::make_pair(0, 0); in test_padded_expr()
/external/libcxx/test/std/containers/associative/multimap/multimap.ops/
Dcount.pass.cpp150 m.insert ( std::make_pair<PC, double> ( PC::make(5), 1 )); in main()
151 m.insert ( std::make_pair<PC, double> ( PC::make(5), 2 )); in main()
152 m.insert ( std::make_pair<PC, double> ( PC::make(5), 3 )); in main()
153 m.insert ( std::make_pair<PC, double> ( PC::make(7), 1 )); in main()
154 m.insert ( std::make_pair<PC, double> ( PC::make(7), 2 )); in main()
155 m.insert ( std::make_pair<PC, double> ( PC::make(7), 3 )); in main()
156 m.insert ( std::make_pair<PC, double> ( PC::make(9), 1 )); in main()
157 m.insert ( std::make_pair<PC, double> ( PC::make(9), 2 )); in main()
158 m.insert ( std::make_pair<PC, double> ( PC::make(9), 3 )); in main()
Dfind.pass.cpp200 m.insert ( std::make_pair<PC, double> ( PC::make(5), 1 )); in main()
201 m.insert ( std::make_pair<PC, double> ( PC::make(5), 2 )); in main()
202 m.insert ( std::make_pair<PC, double> ( PC::make(5), 3 )); in main()
203 m.insert ( std::make_pair<PC, double> ( PC::make(7), 1 )); in main()
204 m.insert ( std::make_pair<PC, double> ( PC::make(7), 2 )); in main()
205 m.insert ( std::make_pair<PC, double> ( PC::make(7), 3 )); in main()
206 m.insert ( std::make_pair<PC, double> ( PC::make(9), 1 )); in main()
207 m.insert ( std::make_pair<PC, double> ( PC::make(9), 2 )); in main()
208 m.insert ( std::make_pair<PC, double> ( PC::make(9), 3 )); in main()
Dupper_bound.pass.cpp210 m.insert ( std::make_pair<PC, double> ( PC::make(5), 1 )); in main()
211 m.insert ( std::make_pair<PC, double> ( PC::make(5), 2 )); in main()
212 m.insert ( std::make_pair<PC, double> ( PC::make(5), 3 )); in main()
213 m.insert ( std::make_pair<PC, double> ( PC::make(7), 1 )); in main()
214 m.insert ( std::make_pair<PC, double> ( PC::make(7), 2 )); in main()
215 m.insert ( std::make_pair<PC, double> ( PC::make(7), 3 )); in main()
216 m.insert ( std::make_pair<PC, double> ( PC::make(9), 1 )); in main()
217 m.insert ( std::make_pair<PC, double> ( PC::make(9), 2 )); in main()
218 m.insert ( std::make_pair<PC, double> ( PC::make(9), 3 )); in main()
Dlower_bound.pass.cpp211 m.insert ( std::make_pair<PC, double> ( PC::make(5), 1 )); in main()
212 m.insert ( std::make_pair<PC, double> ( PC::make(5), 2 )); in main()
213 m.insert ( std::make_pair<PC, double> ( PC::make(5), 3 )); in main()
214 m.insert ( std::make_pair<PC, double> ( PC::make(7), 1 )); in main()
215 m.insert ( std::make_pair<PC, double> ( PC::make(7), 2 )); in main()
216 m.insert ( std::make_pair<PC, double> ( PC::make(7), 3 )); in main()
217 m.insert ( std::make_pair<PC, double> ( PC::make(9), 1 )); in main()
218 m.insert ( std::make_pair<PC, double> ( PC::make(9), 2 )); in main()
219 m.insert ( std::make_pair<PC, double> ( PC::make(9), 3 )); in main()
/external/llvm/lib/DebugInfo/Symbolize/
DSymbolize.cpp293 const auto &I = ObjectPairForPathArch.find(std::make_pair(Path, ArchName)); in getOrCreateObjectPair()
300 ObjectPairForPathArch.insert(std::make_pair(std::make_pair(Path, ArchName), in getOrCreateObjectPair()
315 ObjectPair Res = std::make_pair(Obj, DbgObj); in getOrCreateObjectPair()
317 std::make_pair(std::make_pair(Path, ArchName), Res)); in getOrCreateObjectPair()
329 BinaryForPath.insert(std::make_pair(Path, OwningBinary<Binary>())); in getOrCreateObject()
333 BinaryForPath.insert(std::make_pair(Path, std::move(BinOrErr.get()))); in getOrCreateObject()
342 const auto &I = ObjectForUBPathAndArch.find(std::make_pair(Path, ArchName)); in getOrCreateObject()
349 ObjectForUBPathAndArch.insert(std::make_pair( in getOrCreateObject()
350 std::make_pair(Path, ArchName), std::unique_ptr<ObjectFile>())); in getOrCreateObject()
354 ObjectForUBPathAndArch.insert(std::make_pair(std::make_pair(Path, ArchName), in getOrCreateObject()
[all …]
/external/swiftshader/third_party/LLVM/unittests/ADT/
DDAGDeltaAlgorithmTest.cpp66 Deps.push_back(std::make_pair(3, 1)); in TEST()
80 Deps.push_back(std::make_pair(1, 0)); in TEST()
81 Deps.push_back(std::make_pair(2, 0)); in TEST()
82 Deps.push_back(std::make_pair(4, 0)); in TEST()
83 Deps.push_back(std::make_pair(3, 2)); in TEST()
/external/libcxx/test/std/utilities/utility/pairs/pairs.spec/
Dmake_pair.pass.cpp24 P1 p1 = std::make_pair(3, static_cast<short>(4)); in main()
32 P1 p1 = std::make_pair(std::unique_ptr<int>(new int(3)), static_cast<short>(4)); in main()
38 P1 p1 = std::make_pair(nullptr, static_cast<short>(4)); in main()
46 constexpr P1 p1 = std::make_pair(3, static_cast<short>(4)); in main()
/external/llvm/include/llvm/CodeGen/
DSelectionDAGTargetInfo.h95 return std::make_pair(SDValue(), SDValue()); in EmitTargetCodeForMemcmp()
106 return std::make_pair(SDValue(), SDValue()); in EmitTargetCodeForMemchr()
120 return std::make_pair(SDValue(), SDValue()); in EmitTargetCodeForStrcpy()
132 return std::make_pair(SDValue(), SDValue()); in EmitTargetCodeForStrcmp()
138 return std::make_pair(SDValue(), SDValue()); in EmitTargetCodeForStrlen()
145 return std::make_pair(SDValue(), SDValue()); in EmitTargetCodeForStrnlen()
/external/clang/lib/Driver/
DSanitizerArgs.cpp309 std::make_pair(Address, Thread), std::make_pair(Address, Memory), in SanitizerArgs()
310 std::make_pair(Thread, Memory), std::make_pair(Leak, Thread), in SanitizerArgs()
311 std::make_pair(Leak, Memory), std::make_pair(KernelAddress, Address), in SanitizerArgs()
312 std::make_pair(KernelAddress, Leak), in SanitizerArgs()
313 std::make_pair(KernelAddress, Thread), in SanitizerArgs()
314 std::make_pair(KernelAddress, Memory), in SanitizerArgs()
315 std::make_pair(Efficiency, Address), in SanitizerArgs()
316 std::make_pair(Efficiency, Leak), in SanitizerArgs()
317 std::make_pair(Efficiency, Thread), in SanitizerArgs()
318 std::make_pair(Efficiency, Memory), in SanitizerArgs()
[all …]
/external/clang/test/SemaTemplate/
Dtypename-specifier-4.cpp22 struct make_pair { struct
29 int a0[is_same<metafun_apply2<make_pair, int, float>::type, argument
32 typename make_pair::template apply<int, float>,
37 make_pair::apply<int, float>
49 int a2[is_same<swap_and_apply2<make_pair>::apply<int, float>::type,
60 int a3[is_same<swap_and_apply2b<make_pair>::apply<int, float>::type,
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmVariablePointersTests.cpp1405 …resources.inputs.push_back(std::make_pair(VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, BufferSp(new Float32B… in addVariablePointersGraphicsGroup()
1406 …resources.inputs.push_back(std::make_pair(VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, BufferSp(new Float32B… in addVariablePointersGraphicsGroup()
1407 …resources.inputs.push_back(std::make_pair(VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, BufferSp(new Float32B… in addVariablePointersGraphicsGroup()
1408 …resources.outputs.push_back(std::make_pair(VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, BufferSp(new Float32… in addVariablePointersGraphicsGroup()
1427 …resources.inputs.push_back(std::make_pair(VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, BufferSp(new Float32B… in addVariablePointersGraphicsGroup()
1428 …resources.inputs.push_back(std::make_pair(VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, BufferSp(new Float32B… in addVariablePointersGraphicsGroup()
1429 …resources.inputs.push_back(std::make_pair(VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, BufferSp(new Float32B… in addVariablePointersGraphicsGroup()
1430 …resources.outputs.push_back(std::make_pair(VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, BufferSp(new Float32… in addVariablePointersGraphicsGroup()
1457 …resources.inputs.push_back(std::make_pair(VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, BufferSp(new Float32B… in addVariablePointersGraphicsGroup()
1458 …resources.inputs.push_back(std::make_pair(VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, BufferSp(new Float32B… in addVariablePointersGraphicsGroup()
[all …]

12345678910>>...44