Searched refs:Insert (Results 1 - 25 of 267) sorted by relevance

1234567891011

/external/libchrome/base/trace_event/
H A Dheap_profiler_type_name_deduplicator_unittest.cc46 ASSERT_EQ(1, dedup->Insert(type_name));
71 ASSERT_EQ(1, dedup->Insert(kInt));
72 ASSERT_EQ(2, dedup->Insert(kBool));
73 ASSERT_EQ(3, dedup->Insert(kString));
76 ASSERT_EQ(2, dedup->Insert(kBool));
77 ASSERT_EQ(1, dedup->Insert(kInt));
78 ASSERT_EQ(3, dedup->Insert(kString));
81 ASSERT_EQ(0, dedup->Insert(nullptr));
H A Dheap_profiler_stack_frame_deduplicator_unittest.cc35 ASSERT_EQ(2, dedup->Insert(std::begin(bt), std::end(bt)));
64 ASSERT_EQ(2, dedup->Insert(std::begin(bt), std::end(bt)));
97 ASSERT_EQ(1, dedup->Insert(std::begin(bt0), std::end(bt0)));
98 ASSERT_EQ(3, dedup->Insert(std::begin(bt1), std::end(bt1)));
129 ASSERT_EQ(1, dedup->Insert(std::begin(bt0), std::end(bt0)));
130 ASSERT_EQ(2, dedup->Insert(std::begin(bt1), std::end(bt1)));
146 ASSERT_EQ(1, dedup->Insert(std::begin(bt0), std::end(bt0)));
147 ASSERT_EQ(2, dedup->Insert(std::begin(bt1), std::end(bt1)));
H A Dheap_profiler_type_name_deduplicator.h27 int Insert(const char* type_name);
/external/perfetto/src/traced/probes/filesystem/
H A Drange_tree_unittest.cc60 t.Insert(1, a);
61 t.Insert(2, a);
62 t.Insert(20, b);
63 t.Insert(24, a);
64 t.Insert(25, c);
65 t.Insert(27, d);
H A Dlru_inode_cache_unittest.cc54 cache.Insert(key1, val1());
56 cache.Insert(key2, val2());
59 cache.Insert(key1, val2());
65 cache.Insert(key1, val1());
66 cache.Insert(key2, val2());
69 cache.Insert(key3, val3());
H A Dlru_inode_cache.cc30 Insert(map_it, std::move(list_entry->first), std::move(list_entry->second));
34 void LRUInodeCache::Insert(InodeKey k, InodeMapValue v) { function in class:perfetto::LRUInodeCache
36 return Insert(it, std::move(k), std::move(v));
39 void LRUInodeCache::Insert(typename MapType::iterator map_it, function in class:perfetto::LRUInodeCache
H A Dlru_inode_cache.h39 void Insert(InodeKey k, InodeMapValue v);
46 void Insert(MapType::iterator map_it, InodeKey k, InodeMapValue v);
H A Drange_tree.h57 void Insert(Inode inode, DataType value);
/external/webrtc/webrtc/common_audio/
H A Dswap_queue_unittest.cc48 EXPECT_TRUE(queue.Insert(&i));
50 EXPECT_TRUE(queue.Insert(&i));
63 EXPECT_TRUE(queue.Insert(&i));
65 EXPECT_TRUE(queue.Insert(&i));
67 // Ensure that the value is not swapped when doing an Insert
70 EXPECT_FALSE(queue.Insert(&i));
73 // Ensure that the Insert didn't overwrite anything in the queue.
84 EXPECT_TRUE(queue.Insert(&i));
94 EXPECT_TRUE(queue.Insert(&i));
95 EXPECT_TRUE(queue.Insert(
[all...]
/external/webrtc/webrtc/modules/audio_processing/vad/
H A Dvad_circular_buffer_unittest.cc29 circular_buffer->Insert(n);
35 static void Insert(double value, function in namespace:webrtc
39 circular_buffer->Insert(value);
43 Insert(0.0, num_zeros, circular_buffer);
60 circular_buffer->Insert(n);
83 Insert(push_val, k, circular_buffer.get());
84 circular_buffer->Insert(0);
103 Insert(push_val, num_non_zero_elements, circular_buffer.get());
107 circular_buffer->Insert(0);
116 Insert(push_va
[all...]
H A Dvad_circular_buffer.h33 // Insert new value into the buffer.
34 void Insert(double value);
/external/dng_sdk/source/
H A Ddng_string_list.h60 void Insert (uint32 index,
65 Insert (Count (), s);
/external/puffin/src/
H A Dpuff_io_unittest.cc24 ASSERT_TRUE(pw.Insert(pd, &error));
38 ASSERT_TRUE(pw.Insert(pd, &error));
44 ASSERT_TRUE(pw.Insert(pd, &error));
78 ASSERT_TRUE(pw.Insert(pd, &error));
79 ASSERT_TRUE(epw.Insert(pd, &error));
96 ASSERT_TRUE(pw.Insert(pd, &error));
97 ASSERT_TRUE(epw.Insert(pd, &error));
99 ASSERT_TRUE(pw.Insert(pd, &error));
100 ASSERT_TRUE(epw.Insert(pd, &error));
102 ASSERT_TRUE(pw.Insert(p
[all...]
H A Dpuff_writer.h31 virtual bool Insert(const PuffData& pd, Error* error) = 0;
58 bool Insert(const PuffData& pd, Error* error) override;
/external/pdfium/xfa/fde/
H A Dcfde_texteditengine_unittest.cpp57 TEST_F(CFDE_TextEditEngineTest, Insert) {
60 engine()->Insert(0, L"");
64 engine()->Insert(0, L"Hello");
68 engine()->Insert(5, L" World");
72 engine()->Insert(5, L" New");
75 engine()->Insert(100, L" Cat");
82 engine()->Insert(0, L"Hello");
85 engine()->Insert(5, L" World");
89 engine()->Insert(5, L" World");
99 engine()->Insert(
[all...]
/external/v8/src/
H A Dcompilation-dependencies.h26 void Insert(DependentCode::DependencyGroup group, Handle<HeapObject> handle);
29 Insert(DependentCode::kInitialMapChangedGroup, map);
32 Insert(DependentCode::kFieldOwnerGroup, map);
40 Insert(DependentCode::kPropertyCellChangedGroup, cell);
43 Insert(DependentCode::kAllocationSiteTenuringChangedGroup, site);
/external/tensorflow/tensorflow/core/platform/cloud/
H A Dexpiring_lru_cache_test.cc32 cache.Insert(key, 41);
34 cache.Insert(key, 42);
44 cache.Insert(key, 43);
60 cache1.Insert("a", 1);
65 cache2.Insert("a", 1);
66 cache2.Insert("b", 2);
67 cache2.Insert("c", 3);
68 cache2.Insert("d", 4);
79 cache2.Insert("e", 5);
157 cache.Insert("
[all...]
/external/llvm/include/llvm/IR/
H A DIRBuilder.h615 /// \brief Insert and return the specified instruction.
617 InstTy *Insert(InstTy *I, const Twine &Name = "") const { function in class:llvm::IRBuilder
624 Constant *Insert(Constant *C, const Twine& = "") const { function in class:llvm::IRBuilder
648 return Insert(ReturnInst::Create(Context));
653 return Insert(ReturnInst::Create(Context, V));
667 return Insert(ReturnInst::Create(Context, V));
672 return Insert(BranchInst::Create(Dest));
680 return Insert(addBranchMetadata(BranchInst::Create(True, False, Cond),
690 return Insert(addBranchMetadata(SwitchInst::Create(V, Dest, NumCases),
698 return Insert(IndirectBrIns
[all...]
/external/swiftshader/third_party/LLVM/include/llvm/Support/
H A DIRBuilder.h381 /// Insert - Insert and return the specified instruction.
383 InstTy *Insert(InstTy *I, const Twine &Name = "") const { function in class:llvm::IRBuilder
390 /// Insert - No-op overload to handle constants.
391 Constant *Insert(Constant *C, const Twine& = "") const { function in class:llvm::IRBuilder
401 return Insert(ReturnInst::Create(Context));
408 return Insert(ReturnInst::Create(Context, V));
422 return Insert(ReturnInst::Create(Context, V));
427 return Insert(BranchInst::Create(Dest));
433 return Insert(BranchIns
[all...]
/external/python/cpython2/Lib/bsddb/test/
H A Dtest_dbtables.py69 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(tabnam
[all...]
/external/pdfium/xfa/fxfa/parser/
H A Dcxfa_attachnodelist.h22 bool Insert(CXFA_Node* pNewNode, CXFA_Node* pBeforeNode) override;
H A Dcxfa_arraynodelist.h25 bool Insert(CXFA_Node* pNewNode, CXFA_Node* pBeforeNode) override;
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
H A Dexternal_constant_pool.h46 void Insert(string name, const Literal& literal, int64 alignment);
H A Dexternal_constant_pool_test.cc36 constant_pool.Insert("name-0", *literal, 4);
53 constant_pool.Insert("name-0", *literal, 4);
72 constant_pool.Insert(name, *literal, alignment);
/external/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegStackify.cpp227 static MachineInstr *GetVRegDef(unsigned Reg, const MachineInstr *Insert, argument
237 LIS.getInstructionIndex(*Insert)))
271 // Test whether it's safe to move Def to just before Insert.
276 static bool IsSafeToMove(const MachineInstr *Def, const MachineInstr *Insert, argument
279 assert(Def->getParent() == Insert->getParent());
287 // If the register is dead here and at Insert, ignore it.
288 if (MO.isDead() && Insert->definesRegister(Reg) &&
289 !Insert->readsRegister(Reg))
305 // Insert will change which value numbers are seen.
316 VNInfo *InsVNI = LI.getVNInfoBefore(LIS.getInstructionIndex(*Insert));
434 MoveForSingleUse(unsigned Reg, MachineOperand& Op, MachineInstr *Def, MachineBasicBlock &MBB, MachineInstr *Insert, LiveIntervals &LIS, WebAssemblyFunctionInfo &MFI, MachineRegisterInfo &MRI) argument
476 RematerializeCheapDef( unsigned Reg, MachineOperand &Op, MachineInstr &Def, MachineBasicBlock &MBB, MachineBasicBlock::instr_iterator Insert, LiveIntervals &LIS, WebAssemblyFunctionInfo &MFI, MachineRegisterInfo &MRI, const WebAssemblyInstrInfo *TII, const WebAssemblyRegisterInfo *TRI) argument
536 MoveAndTeeForMultiUse( unsigned Reg, MachineOperand &Op, MachineInstr *Def, MachineBasicBlock &MBB, MachineInstr *Insert, LiveIntervals &LIS, WebAssemblyFunctionInfo &MFI, MachineRegisterInfo &MRI, const WebAssemblyInstrInfo *TII) argument
591 TreeWalkerState(MachineInstr *Insert) argument
672 MaybeCommute(MachineInstr *Insert, TreeWalkerState &TreeWalker, const WebAssemblyInstrInfo *TII) argument
724 MachineInstr *Insert = &*MII; local
[all...]

Completed in 1181 milliseconds

1234567891011