/external/pdfium/xfa/fde/ |
D | cfde_texteditengine_unittest.cpp | 59 TEST_F(CFDE_TextEditEngineTest, Insert) { in TEST_F() argument 62 engine()->Insert(0, L""); in TEST_F() 66 engine()->Insert(0, L"Hello"); in TEST_F() 70 engine()->Insert(5, L" World"); in TEST_F() 74 engine()->Insert(5, L" New"); in TEST_F() 77 engine()->Insert(100, L" Cat"); in TEST_F() 84 engine()->Insert(0, L"Hello"); in TEST_F() 87 engine()->Insert(5, L" World"); in TEST_F() 91 engine()->Insert(5, L" World"); in TEST_F() 101 engine()->Insert(0, L"Hello"); in TEST_F() [all …]
|
/external/puffin/src/ |
D | puff_io_unittest.cc | 22 ASSERT_TRUE(pw.Insert(pd)); in TestLiteralLength() 36 ASSERT_TRUE(pw.Insert(pd)); in TestLiteralLength() 42 ASSERT_TRUE(pw.Insert(pd)); in TestLiteralLength() 75 ASSERT_TRUE(pw.Insert(pd)); in TEST() 76 ASSERT_TRUE(epw.Insert(pd)); in TEST() 93 ASSERT_TRUE(pw.Insert(pd)); in TEST() 94 ASSERT_TRUE(epw.Insert(pd)); in TEST() 96 ASSERT_TRUE(pw.Insert(pd)); in TEST() 97 ASSERT_TRUE(epw.Insert(pd)); in TEST() 99 ASSERT_TRUE(pw.Insert(pd)); in TEST() [all …]
|
D | puffer.cc | 92 TEST_AND_RETURN_FALSE(pw->Insert(pd)); in PuffDeflate() 98 TEST_AND_RETURN_FALSE(pw->Insert(pd)); in PuffDeflate() 101 TEST_AND_RETURN_FALSE(pw->Insert(pd)); in PuffDeflate() 117 TEST_AND_RETURN_FALSE(pw->Insert(pd)); in PuffDeflate() 127 TEST_AND_RETURN_FALSE(pw->Insert(pd)); in PuffDeflate() 159 TEST_AND_RETURN_FALSE(pw->Insert(pd)); in PuffDeflate() 163 TEST_AND_RETURN_FALSE(pw->Insert(pd)); in PuffDeflate() 215 TEST_AND_RETURN_FALSE(pw->Insert(pd)); in PuffDeflate()
|
/external/perfetto/src/trace_processor/dynamic/ |
D | experimental_slice_layout_generator_unittest.cc | 74 tables::SliceTable::Id Insert( in Insert() function 93 return table->Insert(row).id; in Insert() 101 Insert(&slice_table, 1 /*ts*/, 5 /*dur*/, 1 /*track_id*/, name, in TEST() 118 auto id = Insert(&slice_table, 1 /*ts*/, 5 /*dur*/, 1 /*track_id*/, name, in TEST() 120 Insert(&slice_table, 1 /*ts*/, 5 /*dur*/, 1 /*track_id*/, name, id); in TEST() 137 auto a = Insert(&slice_table, 1 /*ts*/, 5 /*dur*/, 1 /*track_id*/, name, in TEST() 139 auto b = Insert(&slice_table, 1 /*ts*/, 4 /*dur*/, 1 /*track_id*/, name, a); in TEST() 140 auto c = Insert(&slice_table, 1 /*ts*/, 3 /*dur*/, 1 /*track_id*/, name, b); in TEST() 141 auto d = Insert(&slice_table, 1 /*ts*/, 2 /*dur*/, 1 /*track_id*/, name, c); in TEST() 142 auto e = Insert(&slice_table, 1 /*ts*/, 1 /*dur*/, 1 /*track_id*/, name, d); in TEST() [all …]
|
D | experimental_counter_dur_generator_unittest.cc | 36 table.Insert(CounterRow(100 /* ts */, 1 /* track_id */)); in TEST() 37 table.Insert(CounterRow(102 /* ts */, 2 /* track_id */)); in TEST() 38 table.Insert(CounterRow(105 /* ts */, 1 /* track_id */)); in TEST() 39 table.Insert(CounterRow(105 /* ts */, 3 /* track_id */)); in TEST() 40 table.Insert(CounterRow(105 /* ts */, 2 /* track_id */)); in TEST() 41 table.Insert(CounterRow(110 /* ts */, 2 /* track_id */)); in TEST()
|
/external/tensorflow/tensorflow/compiler/jit/graphcycles/ |
D | ordered_set_test.cc | 25 TEST(OrderedSetTest, Insert) { in TEST() argument 27 EXPECT_TRUE(ordered_set.Insert(90)); in TEST() 28 EXPECT_TRUE(ordered_set.Insert(100)); in TEST() 29 EXPECT_TRUE(ordered_set.Insert(80)); in TEST() 31 EXPECT_FALSE(ordered_set.Insert(100)); in TEST() 47 EXPECT_TRUE(ordered_set.Insert(90)); in TEST() 48 EXPECT_TRUE(ordered_set.Insert(100)); in TEST() 49 EXPECT_TRUE(ordered_set.Insert(80)); in TEST() 87 EXPECT_TRUE(ordered_set.Insert(90)); in TEST() 88 EXPECT_TRUE(ordered_set.Insert(100)); in TEST() [all …]
|
/external/webrtc/webrtc/common_audio/ |
D | swap_queue_unittest.cc | 48 EXPECT_TRUE(queue.Insert(&i)); in TEST() 50 EXPECT_TRUE(queue.Insert(&i)); in TEST() 63 EXPECT_TRUE(queue.Insert(&i)); in TEST() 65 EXPECT_TRUE(queue.Insert(&i)); in TEST() 70 EXPECT_FALSE(queue.Insert(&i)); in TEST() 84 EXPECT_TRUE(queue.Insert(&i)); in TEST() 94 EXPECT_TRUE(queue.Insert(&i)); in TEST() 95 EXPECT_TRUE(queue.Insert(&i)); in TEST() 98 EXPECT_FALSE(queue.Insert(&i)); in TEST() 107 EXPECT_TRUE(queue.Insert(&i)); in TEST() [all …]
|
/external/perfetto/src/trace_processor/tables/ |
D | macros_unittest.cc | 76 auto id = event_.Insert(TestEventTable::Row(100, 0)).id; in TEST_F() 82 id = slice_.Insert(TestSliceTable::Row(200, 123, 10, 0)).id; in TEST_F() 94 id = slice_.Insert(TestSliceTable::Row(210, 456, base::nullopt, 0)).id; in TEST_F() 108 event_.Insert(TestEventTable::Row(100, 0)); in TEST_F() 109 slice_.Insert(TestSliceTable::Row(200, 123, 10, 0)); in TEST_F() 113 cpu_slice_.Insert(TestCpuSliceTable::Row(205, 456, 5, 1, 4, 1024, reason)) in TEST_F() 138 slice_.Insert({}); in TEST_F() 142 slice_.Insert(row); in TEST_F() 145 slice_.Insert(row); in TEST_F() 148 slice_.Insert(row); in TEST_F() [all …]
|
D | macros_benchmark.cc | 89 benchmark::DoNotOptimize(root.Insert({})); in BM_TableInsert() 101 child.Insert({}); in BM_TableIteratorChild() 102 root.Insert({}); in BM_TableIteratorChild() 129 root.Insert(row); in BM_TableFilterAndSortRoot() 147 root.Insert({}); in BM_TableFilterRootId() 164 root.Insert(root_row); in BM_TableFilterRootIdAndOther() 181 root.Insert({}); in BM_TableFilterChildId() 182 child.Insert({}); in BM_TableFilterChildId() 200 root.Insert(root_row); in BM_TableFilterChildIdAndSortedInRoot() 204 child.Insert(child_row); in BM_TableFilterChildIdAndSortedInRoot() [all …]
|
/external/llvm/include/llvm/IR/ |
D | IRBuilder.h | 617 InstTy *Insert(InstTy *I, const Twine &Name = "") const { 624 Constant *Insert(Constant *C, const Twine& = "") const { 648 return Insert(ReturnInst::Create(Context)); in CreateRetVoid() 653 return Insert(ReturnInst::Create(Context, V)); in CreateRet() 667 return Insert(ReturnInst::Create(Context, V)); in CreateAggregateRet() 672 return Insert(BranchInst::Create(Dest)); in CreateBr() 680 return Insert(addBranchMetadata(BranchInst::Create(True, False, Cond), 690 return Insert(addBranchMetadata(SwitchInst::Create(V, Dest, NumCases), 698 return Insert(IndirectBrInst::Create(Addr, NumDests)); 706 return Insert(InvokeInst::Create(Callee, NormalDest, UnwindDest, Args), [all …]
|
/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyRegStackify.cpp | 227 static MachineInstr *GetVRegDef(unsigned Reg, const MachineInstr *Insert, in GetVRegDef() argument 237 LIS.getInstructionIndex(*Insert))) in GetVRegDef() 276 static bool IsSafeToMove(const MachineInstr *Def, const MachineInstr *Insert, in IsSafeToMove() argument 279 assert(Def->getParent() == Insert->getParent()); in IsSafeToMove() 288 if (MO.isDead() && Insert->definesRegister(Reg) && in IsSafeToMove() 289 !Insert->readsRegister(Reg)) in IsSafeToMove() 316 VNInfo *InsVNI = LI.getVNInfoBefore(LIS.getInstructionIndex(*Insert)); in IsSafeToMove() 330 MachineBasicBlock::const_iterator D(Def), I(Insert); in IsSafeToMove() 437 MachineInstr *Insert, LiveIntervals &LIS, in MoveForSingleUse() argument 442 MBB.splice(Insert, &MBB, Def); in MoveForSingleUse() [all …]
|
/external/webrtc/webrtc/modules/audio_processing/vad/ |
D | vad_circular_buffer_unittest.cc | 29 circular_buffer->Insert(n); in InsertSequentially() 35 static void Insert(double value, in Insert() function 39 circular_buffer->Insert(value); in Insert() 43 Insert(0.0, num_zeros, circular_buffer); in InsertZeros() 60 circular_buffer->Insert(n); in TEST() 83 Insert(push_val, k, circular_buffer.get()); in TEST() 84 circular_buffer->Insert(0); in TEST() 103 Insert(push_val, num_non_zero_elements, circular_buffer.get()); in TEST() 107 circular_buffer->Insert(0); in TEST() 116 Insert(push_val, num_insertion, circular_buffer.get()); in TEST() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyRegStackify.cpp | 264 static MachineInstr *GetVRegDef(unsigned Reg, const MachineInstr *Insert, in GetVRegDef() argument 274 LIS.getInstructionIndex(*Insert))) in GetVRegDef() 313 static bool IsSafeToMove(const MachineInstr *Def, const MachineInstr *Insert, in IsSafeToMove() argument 315 assert(Def->getParent() == Insert->getParent()); in IsSafeToMove() 325 if (MO.isDead() && Insert->definesRegister(Reg) && in IsSafeToMove() 326 !Insert->readsRegister(Reg)) in IsSafeToMove() 358 MachineBasicBlock::const_iterator D(Def), I(Insert); in IsSafeToMove() 472 MachineInstr *Insert, LiveIntervals &LIS, in MoveForSingleUse() argument 477 MBB.splice(Insert, &MBB, Def); in MoveForSingleUse() 513 MachineBasicBlock::instr_iterator Insert, LiveIntervals &LIS, in RematerializeCheapDef() argument [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | IRBuilder.h | 782 InstTy *Insert(InstTy *I, const Twine &Name = "") const { 789 Constant *Insert(Constant *C, const Twine& = "") const { 813 return Insert(ReturnInst::Create(Context)); in CreateRetVoid() 818 return Insert(ReturnInst::Create(Context, V)); in CreateRet() 832 return Insert(ReturnInst::Create(Context, V)); in CreateAggregateRet() 837 return Insert(BranchInst::Create(Dest)); in CreateBr() 845 return Insert(addBranchMetadata(BranchInst::Create(True, False, Cond), 859 return Insert(Br); in CreateCondBr() 868 return Insert(addBranchMetadata(SwitchInst::Create(V, Dest, NumCases), 876 return Insert(IndirectBrInst::Create(Addr, NumDests)); [all …]
|
/external/python/cpython2/Lib/bsddb/test/ |
D | test_dbtables.py | 69 self.tdb.Insert(tabname, {colname: pickle.dumps(3.14159, 1)}) 71 self.tdb.Insert(tabname, {colname: pickle.dumps(3.14159, 118 self.tdb.Insert(tabname, row) 159 self.tdb.Insert(tabname, 173 self.tdb.Insert(tabname, 178 self.tdb.Insert(tabname, 184 self.tdb.Insert(tabname, 223 self.tdb.Insert(tabname, 231 self.tdb.Insert(tabname, {'a': "A", 'b': "B", 'c': "C", 'd': "D", 233 self.tdb.Insert(tabname, {'a': "-A", 'b': "-B", 'c': "-C", 'd': "-D", [all …]
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | expiring_lru_cache_test.cc | 32 cache.Insert(key, 41); in TEST() 34 cache.Insert(key, 42); in TEST() 44 cache.Insert(key, 43); in TEST() 60 cache1.Insert("a", 1); in TEST() 65 cache2.Insert("a", 1); in TEST() 66 cache2.Insert("b", 2); in TEST() 67 cache2.Insert("c", 3); in TEST() 68 cache2.Insert("d", 4); in TEST() 79 cache2.Insert("e", 5); in TEST() 157 cache.Insert("a", 1); in TEST() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
D | DominatorTreeBatchUpdatesTest.cpp | 22 const auto CFGInsert = CFGBuilder::ActionKind::Insert; 32 const auto Insert = DominatorTree::Insert; variable 41 Res.push_back({CFGU.Action == CFGInsert ? Insert : Delete, in ToDomUpdates() 58 {Insert, B, C}, {Insert, C, D}, {Delete, B, C}, {Insert, B, C}, in TEST() 59 {Insert, B, D}, {Delete, C, D}, {Delete, A, B}}; in TEST() 66 EXPECT_NE(llvm::find(Legalized, DomUpdate{Insert, B, C}), Legalized.end()); in TEST() 67 EXPECT_NE(llvm::find(Legalized, DomUpdate{Insert, B, D}), Legalized.end()); in TEST() 81 {Insert, B, C}, {Insert, C, D}, {Delete, B, C}, {Insert, B, C}, in TEST() 82 {Insert, B, D}, {Delete, C, D}, {Delete, A, B}}; in TEST() 89 EXPECT_NE(llvm::find(Legalized, DomUpdate{Insert, C, B}), Legalized.end()); in TEST() [all …]
|
D | CFGBuilder.cpp | 140 if (NextUpdate.Action == ActionKind::Insert) in applyUpdate() 158 << ((U.Action == ActionKind::Insert) ? "\tIns " : "\tDel ") in dump() 187 const auto Insert = CFGBuilder::ActionKind::Insert; in TEST() local 189 {Insert, {"entry", "a"}}, {Insert, {"a", "b"}}, {Insert, {"a", "c"}}, in TEST() 190 {Insert, {"c", "d"}}, {Insert, {"d", "b"}}, {Insert, {"d", "e"}}, in TEST() 191 {Insert, {"d", "f"}}, {Insert, {"e", "f"}}}; in TEST() 251 const auto Insert = CFGBuilder::ActionKind::Insert; in TEST() local 255 {Insert, {"c", "d"}}, {Insert, {"a", "c"}}, {Insert, {"entry", "a"}}, in TEST()
|
D | DominatorTreeTest.cpp | 670 const auto Insert = CFGBuilder::ActionKind::Insert; variable 685 std::vector<CFGBuilder::Update> Updates = {{Insert, {"12", "10"}}, in TEST() 686 {Insert, {"10", "9"}}, in TEST() 687 {Insert, {"7", "6"}}, in TEST() 688 {Insert, {"7", "5"}}}; in TEST() 697 EXPECT_EQ(LastUpdate->Action, Insert); in TEST() 714 std::vector<CFGBuilder::Update> Updates = {{Insert, {"10", "7"}}}; in TEST() 724 EXPECT_EQ(LastUpdate->Action, Insert); in TEST() 739 std::vector<CFGBuilder::Update> Updates = {{Insert, {"4", "5"}}, in TEST() 740 {Insert, {"8", "9"}}, in TEST() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | LiveRangeShrink.cpp | 167 MachineInstr *Insert = nullptr; in runOnMachineFunction() local 182 Insert = nullptr; in runOnMachineFunction() 188 Insert = nullptr; in runOnMachineFunction() 202 Insert = FindDominatedInstruction(DefInstr, Insert, IOM); in runOnMachineFunction() 204 Insert = nullptr; in runOnMachineFunction() 211 for (MachineInstr *I = Insert; I && IOM[I] == Barrier; in runOnMachineFunction() 214 Insert = nullptr; in runOnMachineFunction() 218 if (DefMO && Insert && NumEligibleUse > 1 && Barrier <= IOM[Insert]) { in runOnMachineFunction() 219 MachineBasicBlock::iterator I = std::next(Insert->getIterator()); in runOnMachineFunction()
|
/external/perfetto/src/traced/probes/filesystem/ |
D | range_tree_unittest.cc | 59 t.Insert(1, a); in TEST() 60 t.Insert(2, a); in TEST() 61 t.Insert(20, b); in TEST() 62 t.Insert(24, a); in TEST() 63 t.Insert(25, c); in TEST() 64 t.Insert(27, d); in TEST()
|
D | lru_inode_cache_unittest.cc | 54 cache.Insert(key1, val1()); in TEST() 56 cache.Insert(key2, val2()); in TEST() 59 cache.Insert(key1, val2()); in TEST() 65 cache.Insert(key1, val1()); in TEST() 66 cache.Insert(key2, val2()); in TEST() 69 cache.Insert(key3, val3()); in TEST()
|
/external/swiftshader/src/Reactor/ |
D | SubzeroReactor.cpp | 1309 vector = Insert(vector, x, 0); in createLoad() 1322 vector = Insert(vector, x, 0); in createLoad() 1323 vector = Insert(vector, y, 1); in createLoad() 2156 RValue<Byte8> Insert(RValue<Byte8> val, RValue<Byte> element, int i) in Insert() function 2168 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 0)) + Int(Extract(y, 0)))), 0); in AddSat() 2169 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 1)) + Int(Extract(y, 1)))), 1); in AddSat() 2170 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 2)) + Int(Extract(y, 2)))), 2); in AddSat() 2171 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 3)) + Int(Extract(y, 3)))), 3); in AddSat() 2172 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 4)) + Int(Extract(y, 4)))), 4); in AddSat() 2173 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 5)) + Int(Extract(y, 5)))), 5); in AddSat() [all …]
|
/external/perfetto/src/trace_processor/importers/common/ |
D | track_tracker.cc | 51 auto id = context_->storage->mutable_thread_track_table()->Insert(row).id; in InternThreadTrack() 63 auto id = context_->storage->mutable_process_track_table()->Insert(row).id; in InternProcessTrack() 75 auto id = context_->storage->mutable_track_table()->Insert(row).id; in InternFuchsiaAsyncTrack() 92 auto id = context_->storage->mutable_gpu_track_table()->Insert(row).id; in InternGpuTrack() 118 context_->storage->mutable_process_track_table()->Insert(track).id; in InternLegacyChromeAsyncTrack() 142 auto id = context_->storage->mutable_process_track_table()->Insert(row).id; in InternAndroidAsyncTrack() 160 auto id = context_->storage->mutable_process_track_table()->Insert(row).id; in InternPerfStackTrack() 172 auto id = context_->storage->mutable_process_track_table()->Insert(row).id; in InternLegacyChromeProcessInstantTrack() 184 context_->storage->mutable_track_table()->Insert({}).id; in GetOrCreateLegacyChromeGlobalInstantTrack() 457 track_id = thread_counter_tracks->Insert(row).id; in ResolveDescriptorTrack() [all …]
|
/external/libchrome/base/sampling_heap_profiler/ |
D | lock_free_address_hash_set_unittest.cc | 65 set.Insert(ptr); in TEST_F() 95 set.Insert(ptr); in TEST_F() 107 set.Insert(reinterpret_cast<void*>(42)); in TEST_F() 125 set_->Insert(ptr); in Run() 131 set_->Insert(reinterpret_cast<void*>(0x1337)); in Run() 152 set.Insert(reinterpret_cast<void*>(i)); in TEST_F() 173 set.Insert(reinterpret_cast<void*>(0x10000 + 0x10 * i)); in TEST_F()
|