Home
last modified time | relevance | path

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

12345678910>>...33

/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.cpp153 return std::make_pair(BinOpToken::Invalid, ""); in parseBinOpToken()
157 return std::make_pair(BinOpToken::ShiftLeft, Expr.substr(2).ltrim()); in parseBinOpToken()
159 return std::make_pair(BinOpToken::ShiftRight, Expr.substr(2).ltrim()); in parseBinOpToken()
165 return std::make_pair(BinOpToken::Invalid, Expr); in parseBinOpToken()
180 return std::make_pair(Op, Expr.substr(1).ltrim()); in parseBinOpToken()
210 return std::make_pair(Expr.substr(0, FirstNonSymbol), in parseSymbol()
222 return std::make_pair(unexpectedToken(Expr, Expr, "expected '('"), ""); in evalDecodeOperand()
228 return std::make_pair( in evalDecodeOperand()
233 return std::make_pair( in evalDecodeOperand()
240 return std::make_pair(OpIdxExpr, ""); in evalDecodeOperand()
[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/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/ceres-solver/internal/ceres/
Dcovariance_test.cc89 covariance_blocks.push_back(make_pair(block1, block1)); in TEST()
90 covariance_blocks.push_back(make_pair(block4, block4)); in TEST()
91 covariance_blocks.push_back(make_pair(block2, block2)); in TEST()
92 covariance_blocks.push_back(make_pair(block3, block3)); in TEST()
93 covariance_blocks.push_back(make_pair(block2, block3)); in TEST()
94 covariance_blocks.push_back(make_pair(block4, block1)); // reversed in TEST()
273 all_covariance_blocks_.push_back(make_pair(x, x)); in SetUp()
274 all_covariance_blocks_.push_back(make_pair(y, y)); in SetUp()
275 all_covariance_blocks_.push_back(make_pair(z, z)); in SetUp()
276 all_covariance_blocks_.push_back(make_pair(x, y)); in SetUp()
[all …]
Dgraph.h80 edge_weights_.erase(make_pair(vertex, *it)); in RemoveVertex()
82 edge_weights_.erase(make_pair(*it, vertex)); in RemoveVertex()
106 edge_weights_[make_pair(vertex1, vertex2)] = weight; in AddEdge()
108 edge_weights_[make_pair(vertex2, vertex1)] = weight; in AddEdge()
129 return FindWithDefault(edge_weights_, make_pair(vertex1, vertex2), 0.0); in EdgeWeight()
131 return FindWithDefault(edge_weights_, make_pair(vertex2, vertex1), 0.0); in EdgeWeight()
Dblock_random_access_sparse_matrix_test.cc50 block_pairs.insert(make_pair(0, 0)); in TEST()
53 block_pairs.insert(make_pair(1, 1)); in TEST()
56 block_pairs.insert(make_pair(1, 2)); in TEST()
59 block_pairs.insert(make_pair(2, 0)); in TEST()
130 block_pairs.insert(make_pair(0, 0)); in SetUp()
/external/v8/test/cctest/interpreter/
Dtest-interpreter.cc1523 std::make_pair(factory->undefined_value(), true), in TEST()
1524 std::make_pair(factory->null_value(), true), in TEST()
1525 std::make_pair(factory->false_value(), true), in TEST()
1526 std::make_pair(factory->true_value(), false), in TEST()
1527 std::make_pair(factory->NewNumber(9.1), false), in TEST()
1528 std::make_pair(factory->NewNumberFromInt(0), true), in TEST()
1529 std::make_pair( in TEST()
1532 std::make_pair( in TEST()
1558 std::make_pair("return typeof undefined;", "undefined"), in TEST()
1559 std::make_pair("return typeof null;", "object"), in TEST()
[all …]
/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/lldb/test/functionalities/thread/concurrent_events/
Dmain.cpp166 actions.push_back(std::make_pair(num_breakpoint_threads, breakpoint_func)); in dotest()
167 actions.push_back(std::make_pair(num_watchpoint_threads, watchpoint_func)); in dotest()
168 actions.push_back(std::make_pair(num_signal_threads, signal_func)); in dotest()
169 actions.push_back(std::make_pair(num_crash_threads, crash_func)); in dotest()
172 actions.push_back(std::make_pair(num_delay_breakpoint_threads, breakpoint_func)); in dotest()
173 actions.push_back(std::make_pair(num_delay_watchpoint_threads, watchpoint_func)); in dotest()
174 actions.push_back(std::make_pair(num_delay_signal_threads, signal_func)); in dotest()
175 actions.push_back(std::make_pair(num_delay_crash_threads, crash_func)); in dotest()
/external/libcxx/test/std/containers/associative/multimap/multimap.ops/
Dcount.pass.cpp149 m.insert ( std::make_pair<PC, double> ( PC::make(5), 1 )); in main()
150 m.insert ( std::make_pair<PC, double> ( PC::make(5), 2 )); in main()
151 m.insert ( std::make_pair<PC, double> ( PC::make(5), 3 )); in main()
152 m.insert ( std::make_pair<PC, double> ( PC::make(7), 1 )); in main()
153 m.insert ( std::make_pair<PC, double> ( PC::make(7), 2 )); in main()
154 m.insert ( std::make_pair<PC, double> ( PC::make(7), 3 )); in main()
155 m.insert ( std::make_pair<PC, double> ( PC::make(9), 1 )); in main()
156 m.insert ( std::make_pair<PC, double> ( PC::make(9), 2 )); in main()
157 m.insert ( std::make_pair<PC, double> ( PC::make(9), 3 )); in main()
Dfind.pass.cpp199 m.insert ( std::make_pair<PC, double> ( PC::make(5), 1 )); in main()
200 m.insert ( std::make_pair<PC, double> ( PC::make(5), 2 )); in main()
201 m.insert ( std::make_pair<PC, double> ( PC::make(5), 3 )); in main()
202 m.insert ( std::make_pair<PC, double> ( PC::make(7), 1 )); in main()
203 m.insert ( std::make_pair<PC, double> ( PC::make(7), 2 )); in main()
204 m.insert ( std::make_pair<PC, double> ( PC::make(7), 3 )); in main()
205 m.insert ( std::make_pair<PC, double> ( PC::make(9), 1 )); in main()
206 m.insert ( std::make_pair<PC, double> ( PC::make(9), 2 )); in main()
207 m.insert ( std::make_pair<PC, double> ( PC::make(9), 3 )); in main()
Dupper_bound.pass.cpp209 m.insert ( std::make_pair<PC, double> ( PC::make(5), 1 )); in main()
210 m.insert ( std::make_pair<PC, double> ( PC::make(5), 2 )); in main()
211 m.insert ( std::make_pair<PC, double> ( PC::make(5), 3 )); in main()
212 m.insert ( std::make_pair<PC, double> ( PC::make(7), 1 )); in main()
213 m.insert ( std::make_pair<PC, double> ( PC::make(7), 2 )); in main()
214 m.insert ( std::make_pair<PC, double> ( PC::make(7), 3 )); in main()
215 m.insert ( std::make_pair<PC, double> ( PC::make(9), 1 )); in main()
216 m.insert ( std::make_pair<PC, double> ( PC::make(9), 2 )); in main()
217 m.insert ( std::make_pair<PC, double> ( PC::make(9), 3 )); in main()
Dlower_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()
/external/libcxx/test/std/utilities/utility/pairs/pairs.spec/
Dmake_pair.pass.cpp22 P1 p1 = std::make_pair(3, 4); in main()
30 P1 p1 = std::make_pair(std::unique_ptr<int>(new int(3)), 4); in main()
36 P1 p1 = std::make_pair(nullptr, 4); in main()
45 constexpr P1 p1 = std::make_pair(3, 4); in main()
/external/llvm/include/llvm/Target/
DTargetSelectionDAGInfo.h100 return std::make_pair(SDValue(), SDValue()); in EmitTargetCodeForMemcmp()
111 return std::make_pair(SDValue(), SDValue()); in EmitTargetCodeForMemchr()
126 return std::make_pair(SDValue(), SDValue()); in EmitTargetCodeForStrcpy()
139 return std::make_pair(SDValue(), SDValue()); in EmitTargetCodeForStrcmp()
145 return std::make_pair(SDValue(), SDValue()); in EmitTargetCodeForStrlen()
152 return std::make_pair(SDValue(), SDValue()); in EmitTargetCodeForStrnlen()
/external/llvm/lib/DebugInfo/Symbolize/
DSymbolize.cpp261 const auto &I = ObjectPairForPathArch.find(std::make_pair(Path, ArchName)); in getOrCreateObjectPair()
268 std::make_pair(std::make_pair(Path, ArchName), EC)); in getOrCreateObjectPair()
282 ObjectPair Res = std::make_pair(Obj, DbgObj); in getOrCreateObjectPair()
284 std::make_pair(std::make_pair(Path, ArchName), Res)); in getOrCreateObjectPair()
296 BinaryForPath.insert(std::make_pair(Path, EC)); in getOrCreateObject()
300 BinaryForPath.insert(std::make_pair(Path, std::move(BinOrErr.get()))); in getOrCreateObject()
310 const auto &I = ObjectForUBPathAndArch.find(std::make_pair(Path, ArchName)); in getOrCreateObject()
320 std::make_pair(std::make_pair(Path, ArchName), EC)); in getOrCreateObject()
324 ObjectForUBPathAndArch.insert(std::make_pair(std::make_pair(Path, ArchName), in getOrCreateObject()
357 Modules.insert(std::make_pair(ModuleName, EC)); in getOrCreateModuleInfo()
[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/openfst/src/include/fst/script/
Dscript-impl.h100 using std::pair; using std::make_pair;
128 this->SetEntry(make_pair(operation_name, arc_type), op); in RegisterOperation()
133 return this->GetEntry(make_pair(operation_name, arc_type)); in GetOperation()
174 make_pair(#Op, Arc::Type()), Op<Arc>)
/external/llvm/lib/Transforms/ObjCARC/
DBlotMapVector.h51 Map.insert(std::make_pair(Arg, size_t(0)));
55 Vector.push_back(std::make_pair(Arg, ValueT()));
63 Map.insert(std::make_pair(InsertPair.first, size_t(0))); in insert()
68 return std::make_pair(Vector.begin() + Num, true); in insert()
70 return std::make_pair(Vector.begin() + Pair.first->second, false); in insert()
/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp449 return std::make_pair(align(Size, I.getAlignment()), Zero); in visitAllocaInst()
454 return std::make_pair(align(Size, I.getAlignment()), Zero); in visitAllocaInst()
467 return std::make_pair(align(Size, A.getParamAlignment()), Zero); in visitArgument()
492 return std::make_pair(Size, Zero); in visitCallSite()
502 return std::make_pair(Size, Zero); in visitCallSite()
509 return std::make_pair(Size, Zero); in visitCallSite()
522 return std::make_pair(Zero, Zero); in visitConstantPointerNull()
542 return std::make_pair(PtrData.first, PtrData.second + Offset); in visitGEPOperator()
556 return std::make_pair(align(Size, GV.getAlignment()), Zero); in visitGlobalVariable()
583 return std::make_pair(Zero, Zero); in visitUndefValue()
[all …]

12345678910>>...33