/art/compiler/optimizing/ |
ssa_liveness_analysis_test.cc | 33 allocator_(&pool_), 34 graph_(CreateGraph(&allocator_)), 46 entry_ = new (&allocator_) HBasicBlock(graph_); 54 HBasicBlock* successor = new (&allocator_) HBasicBlock(graph); 61 ArenaAllocator allocator_; member in class:art::SsaLivenessAnalysisTest 71 HInstruction* arg = new (&allocator_) HParameterValue( 76 HInstruction* ret = new (&allocator_) HReturn(arg); 78 block->AddInstruction(new (&allocator_) HExit()); 91 HInstruction* array = new (&allocator_) HParameterValue( 93 HInstruction* index = new (&allocator_) HParameterValue [all...] |
nodes_vector_test.cc | 30 allocator_(&pool_), 31 graph_(CreateGraph(&allocator_)) { 39 entry_block_ = new (&allocator_) HBasicBlock(graph_); 40 exit_block_ = new (&allocator_) HBasicBlock(graph_); 45 parameter_ = new (&allocator_) HParameterValue(graph_->GetDexFile(), 54 ArenaAllocator allocator_; member in class:art::NodesVectorTest 121 HVecOperation* v0 = new (&allocator_) 122 HVecReplicateScalar(&allocator_, parameter_, Primitive::kPrimInt, 4); 123 HVecOperation* v1 = new (&allocator_) 124 HVecReplicateScalar(&allocator_, parameter_, Primitive::kPrimInt, 4) [all...] |
bounds_check_elimination_test.cc | 36 BoundsCheckEliminationTest() : pool_(), allocator_(&pool_) { 37 graph_ = CreateGraph(&allocator_); 60 ArenaAllocator allocator_; member in class:art::BoundsCheckEliminationTest 69 HBasicBlock* entry = new (&allocator_) HBasicBlock(graph_); 72 HInstruction* parameter1 = new (&allocator_) 74 HInstruction* parameter2 = new (&allocator_) 82 HBasicBlock* block1 = new (&allocator_) HBasicBlock(graph_); 84 HInstruction* cmp = new (&allocator_) HGreaterThanOrEqual(parameter2, constant_0); 85 HIf* if_inst = new (&allocator_) HIf(cmp); 90 HBasicBlock* block2 = new (&allocator_) HBasicBlock(graph_) [all...] |
loop_optimization_test.cc | 31 allocator_(&pool_), 32 graph_(CreateGraph(&allocator_)), 33 iva_(new (&allocator_) HInductionVarAnalysis(graph_)), 34 loop_opt_(new (&allocator_) HLoopOptimization(graph_, nullptr, iva_)) { 43 entry_block_ = new (&allocator_) HBasicBlock(graph_); 44 return_block_ = new (&allocator_) HBasicBlock(graph_); 45 exit_block_ = new (&allocator_) HBasicBlock(graph_); 51 parameter_ = new (&allocator_) HParameterValue(graph_->GetDexFile(), 56 return_block_->AddInstruction(new (&allocator_) HReturnVoid()); 57 exit_block_->AddInstruction(new (&allocator_) HExit()) 105 ArenaAllocator allocator_; member in class:art::LoopOptimizationTest [all...] |
licm_test.cc | 33 allocator_(&pool_), 43 graph_ = CreateGraph(&allocator_); 51 entry_ = new (&allocator_) HBasicBlock(graph_); 52 loop_preheader_ = new (&allocator_) HBasicBlock(graph_); 53 loop_header_ = new (&allocator_) HBasicBlock(graph_); 54 loop_body_ = new (&allocator_) HBasicBlock(graph_); 55 return_ = new (&allocator_) HBasicBlock(graph_); 56 exit_ = new (&allocator_) HBasicBlock(graph_); 77 parameter_ = new (&allocator_) HParameterValue(graph_->GetDexFile(), 84 loop_preheader_->AddInstruction(new (&allocator_) HGoto()) 101 ArenaAllocator allocator_; member in class:art::LICMTest [all...] |
scheduler_test.cc | 75 SchedulerTest() : pool_(), allocator_(&pool_) { 76 graph_ = CreateGraph(&allocator_); 81 HBasicBlock* entry = new (&allocator_) HBasicBlock(graph_); 82 HBasicBlock* block1 = new (&allocator_) HBasicBlock(graph_); 102 HInstruction* array = new (&allocator_) HParameterValue(graph_->GetDexFile(), 108 HInstruction* add1 = new (&allocator_) HAdd(Primitive::kPrimInt, c1, c2); 109 HInstruction* add2 = new (&allocator_) HAdd(Primitive::kPrimInt, add1, c2); 110 HInstruction* mul = new (&allocator_) HMul(Primitive::kPrimInt, add1, add2); 111 HInstruction* div_check = new (&allocator_) HDivZeroCheck(add2, 0); 112 HInstruction* div = new (&allocator_) HDiv(Primitive::kPrimInt, add1, div_check, 0) 339 ArenaAllocator allocator_; member in class:art::SchedulerTest [all...] |
induction_var_analysis_test.cc | 34 allocator_(&pool_), 47 graph_ = CreateGraph(&allocator_); 55 loop_preheader_[d] = new (&allocator_) HBasicBlock(graph_); 57 loop_header_[d] = new (&allocator_) HBasicBlock(graph_); 63 loop_body_[d] = new (&allocator_) HBasicBlock(graph_); 82 entry_ = new (&allocator_) HBasicBlock(graph_); 85 return_ = new (&allocator_) HBasicBlock(graph_); 87 exit_ = new (&allocator_) HBasicBlock(graph_); 96 parameter_ = new (&allocator_) HParameterValue( 106 return_->AddInstruction(new (&allocator_) HReturnVoid()) 206 ArenaAllocator allocator_; member in class:art::InductionVarAnalysisTest [all...] |
load_store_analysis_test.cc | 27 LoadStoreAnalysisTest() : pool_(), allocator_(&pool_) { 28 graph_ = CreateGraph(&allocator_); 32 ArenaAllocator allocator_; member in class:art::LoadStoreAnalysisTest 37 HBasicBlock* entry = new (&allocator_) HBasicBlock(graph_); 51 HInstruction* array = new (&allocator_) HParameterValue( 53 HInstruction* index = new (&allocator_) HParameterValue( 58 HInstruction* array_get1 = new (&allocator_) HArrayGet(array, c1, Primitive::kPrimInt, 0); 59 HInstruction* array_get2 = new (&allocator_) HArrayGet(array, c2, Primitive::kPrimInt, 0); 60 HInstruction* array_set1 = new (&allocator_) HArraySet(array, c1, c3, Primitive::kPrimInt, 0); 61 HInstruction* array_set2 = new (&allocator_) HArraySet(array, index, c3, Primitive::kPrimInt, 0) [all...] |
constant_folding_test.cc | 37 ConstantFoldingTest() : pool_(), allocator_(&pool_) { 38 graph_ = CreateGraph(&allocator_); 47 graph_ = CreateCFG(&allocator_, data, return_type); 92 ArenaAllocator allocator_; member in class:art::ConstantFoldingTest 745 graph_ = CreateGraph(&allocator_); 746 HBasicBlock* entry_block = new (&allocator_) HBasicBlock(graph_); 749 HBasicBlock* block = new (&allocator_) HBasicBlock(graph_); 751 HBasicBlock* exit_block = new (&allocator_) HBasicBlock(graph_); 758 HInstruction* parameter = new (&allocator_) HParameterValue( 761 entry_block->AddInstruction(new (&allocator_) HGoto()) [all...] |
gvn.cc | 40 : allocator_(allocator), 53 : allocator_(allocator), 93 buckets_[index] = new (allocator_) Node(instruction, hash_code, buckets_[index]); 192 buckets_[new_index] = node->Dup(allocator_, buckets_[new_index]); 233 clone_current = node->Dup(allocator_, nullptr); 329 ArenaAllocator* const allocator_; member in class:art::ValueSet 357 allocator_(allocator), 371 ArenaAllocator* const allocator_; member in class:art::GlobalValueNumberer 410 sets_[graph_->GetEntryBlock()->GetBlockId()] = new (allocator_) ValueSet(allocator_); [all...] |
/external/webrtc/webrtc/call/ |
bitrate_allocator_unittest.cc | 39 BitrateAllocatorTest() : allocator_(new BitrateAllocator()) { 40 allocator_->OnNetworkChanged(300000u, 0, 0); 44 rtc::scoped_ptr<BitrateAllocator> allocator_; member in class:webrtc::BitrateAllocatorTest 50 allocator_->AddBitrateObserver(&bitrate_observer, 100000, 1500000); 52 allocator_->OnNetworkChanged(200000, 0, 0); 57 allocator_->OnNetworkChanged(4000000, 0, 0); 60 allocator_->AddBitrateObserver(&bitrate_observer, 100000, 4000000); 64 allocator_->AddBitrateObserver(&bitrate_observer, 100000, 1500000); 67 allocator_->OnNetworkChanged(1500000, 0, 0); 75 allocator_->AddBitrateObserver(&bitrate_observer_1, 100000, 300000) 111 rtc::scoped_ptr<BitrateAllocator> allocator_; member in class:webrtc::BitrateAllocatorTestNoEnforceMin [all...] |
/art/runtime/ |
linear_alloc.cc | 23 LinearAlloc::LinearAlloc(ArenaPool* pool) : lock_("linear alloc"), allocator_(pool) { 28 return allocator_.Realloc(ptr, old_size, new_size); 33 return allocator_.Alloc(size); 38 return allocator_.AllocAlign16(size); 43 return allocator_.BytesUsed(); 48 return allocator_.GetArenaPool(); 53 return allocator_.Contains(ptr); 57 return allocator_.Contains(ptr);
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/ |
stack.h | 35 Stack(Allocator* allocator, size_t stackCapacity) : allocator_(allocator), ownAllocator_(0), stack_(0), stackTop_(0), stackEnd_(0), initialCapacity_(stackCapacity) {
41 : allocator_(rhs.allocator_),
48 rhs.allocator_ = 0;
67 allocator_ = rhs.allocator_;
74 rhs.allocator_ = 0;
86 internal::Swap(allocator_, rhs.allocator_);
138 return allocator_ != 0; 185 Allocator* allocator_; member in class:internal::Stack [all...] |
/external/google-breakpad/src/common/ |
memory_unittest.cc | 70 PageAllocator allocator_; local 71 wasteful_vector<int> v(&allocator_); 77 PageAllocator allocator_; local 78 wasteful_vector<unsigned> v(&allocator_); 92 PageAllocator allocator_; local 93 wasteful_vector<unsigned> v(&allocator_); 96 ASSERT_TRUE(allocator_.OwnsPointer(&v[0]));
|
memory.h | 168 explicit PageStdAllocator(PageAllocator& allocator): allocator_(allocator) {} 170 : allocator_(other.allocator_) {} 173 return static_cast<pointer>(allocator_.Alloc(sizeof(T) * n)); 186 // otherwise complain that `other.allocator_` is private in the constructor 190 PageAllocator& allocator_; member in struct:google_breakpad::PageStdAllocator
|
/external/libchrome/base/metrics/ |
persistent_memory_allocator_unittest.cc | 61 allocator_.reset(); 63 allocator_.reset(new PersistentMemoryAllocator( 66 allocator_->CreateTrackingHistograms(allocator_->Name()); 70 allocator_.reset(); 74 PersistentMemoryAllocator::Iterator iter(allocator_.get()); 89 std::unique_ptr<PersistentMemoryAllocator> allocator_; member in class:base::PersistentMemoryAllocatorTest 94 EXPECT_EQ(TEST_ID, allocator_->Id()); 95 EXPECT_TRUE(allocator_->used_histogram_); 97 allocator_->used_histogram_->histogram_name()) 279 PersistentMemoryAllocator allocator_; member in class:base::AllocatorThread [all...] |
persistent_histogram_allocator_unittest.cc | 39 allocator_ = GlobalHistogramAllocator::Get()->memory_allocator(); 43 allocator_ = nullptr; 49 PersistentMemoryAllocator* allocator_ = nullptr; member in class:base::PersistentHistogramAllocatorTest 57 allocator_->GetMemoryInfo(&meminfo0); 65 allocator_->GetMemoryInfo(&meminfo1); 73 allocator_->GetMemoryInfo(&meminfo2); 81 allocator_->GetMemoryInfo(&meminfo3); 92 allocator_->GetMemoryInfo(&meminfo4); 95 PersistentMemoryAllocator::Iterator iter(allocator_);
|
/art/runtime/mirror/ |
class_loader.h | 59 GetField64(OFFSET_OF_OBJECT_MEMBER(ClassLoader, allocator_))); 63 SetField64<false>(OFFSET_OF_OBJECT_MEMBER(ClassLoader, allocator_), 84 uint64_t allocator_; member in class:art::mirror::ClassLoader
|
/system/core/libmemunreachable/ |
ScopedSignalHandler.h | 35 explicit ScopedSignalHandler(Allocator<Fn> allocator) : allocator_(allocator), signal_(-1) {} 42 handler_ = SignalFn(std::allocator_arg, allocator_, 71 Allocator<Fn> allocator_; member in class:android::ScopedSignalHandler
|
LeakFolding.h | 27 : allocator_(allocator), 45 Allocator<void> allocator_; member in class:android::LeakFolding
|
LeakFolding.cpp | 31 SCCList<LeakInfo> scc_list{allocator_}; 34 Allocator<SCCInfo> scc_allocator = allocator_; 60 std::function<void(SCCInfo*)> walk(std::allocator_arg, allocator_, [&](SCCInfo* scc) { 72 Allocator<LeakInfo> leak_allocator = allocator_; 78 std::forward_as_tuple(range, allocator_));
|
/external/ImageMagick/Magick++/lib/Magick++/ |
Blob.h | 68 // Specify allocator_ as "MallocAllocator" if memory is allocated 72 const Allocator allocator_=NewAllocator);
|
/external/webrtc/talk/app/webrtc/ |
datachannel_unittest.cc | 513 SctpSidAllocator allocator_; member in class:SctpSidAllocatorTest 520 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_SERVER, &id)); 522 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_CLIENT, &id)); 524 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_SERVER, &id)); 526 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_CLIENT, &id)); 533 EXPECT_TRUE(allocator_.ReserveSid(old_id)); 536 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_SERVER, &new_id)); 540 EXPECT_TRUE(allocator_.ReserveSid(old_id)); 541 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_CLIENT, &new_id)); 549 EXPECT_TRUE(allocator_.ReserveSid(odd_id)) [all...] |
/external/v8/src/zone/ |
zone.cc | 50 allocator_(allocator), 54 allocator_->ZoneCreation(this); 58 allocator_->ZoneDestruction(this); 104 allocator_->ReturnSegment(current); 116 Segment* result = allocator_->GetSegment(requested_size);
|
/hardware/qcom/display/msm8996/libgralloc1/ |
gr_buf_mgr.cpp | 54 allocator_ = new Allocator(); 55 allocator_->Init(); 80 if (allocator_) { 81 delete allocator_; 109 descriptor->SetColorFormat(allocator_->GetImplDefinedFormat(descriptor->GetProducerUsage(), 118 shared = allocator_->CheckForBufferSharing(num_descriptors, descriptors, &max_buf_index); 165 allocator_->GetAlignedWidthAndHeight(descriptor, &alignedw, &alignedh); 195 if (allocator_->FreeBuffer(reinterpret_cast<void *>(hnd->base), hnd->size, hnd->offset, 201 if (allocator_->FreeBuffer(reinterpret_cast<void *>(hnd->base_metadata), meta_size, 222 int ion_handle = allocator_->ImportBuffer(hnd->fd) [all...] |