Home
last modified time | relevance | path

Searched refs:allocator_ (Results 1 – 25 of 58) sorted by relevance

123

/external/webrtc/webrtc/call/
Dbitrate_allocator_unittest.cc39 BitrateAllocatorTest() : allocator_(new BitrateAllocator()) { in BitrateAllocatorTest()
40 allocator_->OnNetworkChanged(300000u, 0, 0); in BitrateAllocatorTest()
44 rtc::scoped_ptr<BitrateAllocator> allocator_; member in webrtc::BitrateAllocatorTest
50 allocator_->AddBitrateObserver(&bitrate_observer, 100000, 1500000); in TEST_F()
52 allocator_->OnNetworkChanged(200000, 0, 0); in TEST_F()
57 allocator_->OnNetworkChanged(4000000, 0, 0); in TEST_F()
60 allocator_->AddBitrateObserver(&bitrate_observer, 100000, 4000000); in TEST_F()
64 allocator_->AddBitrateObserver(&bitrate_observer, 100000, 1500000); in TEST_F()
67 allocator_->OnNetworkChanged(1500000, 0, 0); in TEST_F()
75 allocator_->AddBitrateObserver(&bitrate_observer_1, 100000, 300000); in TEST_F()
[all …]
/external/google-breakpad/src/common/
Dmemory_unittest.cc70 PageAllocator allocator_; in TEST() local
71 wasteful_vector<int> v(&allocator_); in TEST()
77 PageAllocator allocator_; in TEST() local
78 wasteful_vector<unsigned> v(&allocator_); in TEST()
92 PageAllocator allocator_; in TEST() local
93 wasteful_vector<unsigned> v(&allocator_); in TEST()
96 ASSERT_TRUE(allocator_.OwnsPointer(&v[0])); in TEST()
Dmemory.h168 explicit PageStdAllocator(PageAllocator& allocator): allocator_(allocator) {} in PageStdAllocator()
170 : allocator_(other.allocator_) {} in PageStdAllocator()
173 return static_cast<pointer>(allocator_.Alloc(sizeof(T) * n));
190 PageAllocator& allocator_; member
/external/webrtc/talk/app/webrtc/
Ddatachannel_unittest.cc513 SctpSidAllocator allocator_; member in SctpSidAllocatorTest
520 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_SERVER, &id)); in TEST_F()
522 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_CLIENT, &id)); in TEST_F()
524 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_SERVER, &id)); in TEST_F()
526 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_CLIENT, &id)); in TEST_F()
533 EXPECT_TRUE(allocator_.ReserveSid(old_id)); in TEST_F()
536 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_SERVER, &new_id)); in TEST_F()
540 EXPECT_TRUE(allocator_.ReserveSid(old_id)); in TEST_F()
541 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_CLIENT, &new_id)); in TEST_F()
549 EXPECT_TRUE(allocator_.ReserveSid(odd_id)); in TEST_F()
[all …]
/external/webrtc/webrtc/p2p/client/
Dportallocator_unittest.cc105 allocator_.reset(new cricket::BasicPortAllocator( in PortAllocatorTest()
109 allocator_->set_step_delay(cricket::kMinimumStepDelay); in PortAllocatorTest()
139 return allocator_->SetPortRange(min_port, max_port); in SetPortRange()
143 allocator_.reset(new cricket::BasicPortAllocator(&network_manager_)); in ResetWithNoServersOrNat()
144 allocator_->set_step_delay(cricket::kMinimumStepDelay); in ResetWithNoServersOrNat()
175 allocator_->AddTurnServer(turn_server); in AddTurnServers()
206 allocator_->CreateSession( in CreateSession()
324 return *allocator_; in allocator()
341 for (size_t i = 0; i < allocator_->turn_servers().size(); ++i) { in HasRelayAddress()
342 cricket::RelayServerConfig server_config = allocator_->turn_servers()[i]; in HasRelayAddress()
[all …]
Dbasicportallocator.cc150 allocator_(allocator), network_thread_(NULL), in BasicPortAllocatorSession()
156 allocator_->network_manager()->SignalNetworksChanged.connect( in BasicPortAllocatorSession()
158 allocator_->network_manager()->StartUpdating(); in BasicPortAllocatorSession()
162 allocator_->network_manager()->StopUpdating(); in ~BasicPortAllocatorSession()
246 PortConfiguration* config = new PortConfiguration(allocator_->stun_servers(), in GetPortConfigurations()
250 for (const RelayServerConfig& turn_server : allocator_->turn_servers()) { in GetPortConfigurations()
315 rtc::NetworkManager* network_manager = allocator_->network_manager(); in GetNetworks()
334 return allocator_->network_ignore_mask() & in GetNetworks()
442 if (allocator_->proxy().type != rtc::PROXY_NONE) in AddAllocatedPort()
443 port->set_proxy(allocator_->user_agent(), allocator_->proxy()); in AddAllocatedPort()
[all …]
Dbasicportallocator.h104 virtual BasicPortAllocator* allocator() { return allocator_; } in allocator()
186 BasicPortAllocator* allocator_; variable
/external/opencv3/modules/core/include/opencv2/core/
Dcuda.inl.hpp58 GpuMat::GpuMat(Allocator* allocator_) in GpuMat() argument
59 …), rows(0), cols(0), step(0), data(0), refcount(0), datastart(0), dataend(0), allocator(allocator_) in GpuMat()
63 GpuMat::GpuMat(int rows_, int cols_, int type_, Allocator* allocator_) in GpuMat() argument
64 …), rows(0), cols(0), step(0), data(0), refcount(0), datastart(0), dataend(0), allocator(allocator_) in GpuMat()
71 GpuMat::GpuMat(Size size_, int type_, Allocator* allocator_) in GpuMat() argument
72 …), rows(0), cols(0), step(0), data(0), refcount(0), datastart(0), dataend(0), allocator(allocator_) in GpuMat()
79 GpuMat::GpuMat(int rows_, int cols_, int type_, Scalar s_, Allocator* allocator_) in GpuMat() argument
80 …), rows(0), cols(0), step(0), data(0), refcount(0), datastart(0), dataend(0), allocator(allocator_) in GpuMat()
90 GpuMat::GpuMat(Size size_, int type_, Scalar s_, Allocator* allocator_) in GpuMat() argument
91 …), rows(0), cols(0), step(0), data(0), refcount(0), datastart(0), dataend(0), allocator(allocator_) in GpuMat()
[all …]
Dprivate.cuda.hpp113 GpuMat::Allocator* getAllocator() const { return allocator_; } in getAllocator()
116 GpuMat::Allocator* allocator_; member in cv::cuda::BufferPool
/external/gemmlowp/internal/
Dunpack.h33 : allocator_(_allocator), block_params_(_block_params) { in PackedResult()
34 matrix_handle_ = allocator_->Reserve<std::int32_t>(block_params_.l2_rows * in PackedResult()
42 allocator_->GetPointer<std::int32_t>(matrix_handle_), in Map()
48 allocator_->GetPointer<const std::int32_t>(matrix_handle_), in Map()
53 Allocator* allocator_;
Dpack.h54 : allocator_(allocator), in PackedSideBlock()
58 allocator_->Reserve<std::uint8_t>(params_.l2_width * params_.l2_depth); in PackedSideBlock()
60 allocator_->Reserve<std::int32_t>(params_.l2_width); in PackedSideBlock()
78 return allocator_->GetPointer<std::uint8_t>(data_handle_) + pos_; in current_data()
82 return allocator_->GetPointer<std::uint8_t>(data_handle_) + pos_; in current_data()
86 return allocator_->GetPointer<std::int32_t>(sums_of_each_slice_handle_); in sums_of_each_slice()
90 return allocator_->GetPointer<const std::int32_t>( in sums_of_each_slice()
105 Allocator* const allocator_; variable
Dsingle_thread_gemm.h35 Allocator* allocator() { return &allocator_; } in allocator()
38 Allocator allocator_;
/external/v8/src/
Dsplay-tree-inl.h26 root_ = new(allocator_) Node(key, Config::NoValue()); in Insert()
38 Node* node = new(allocator_) Node(key, Config::NoValue()); in Insert()
281 List<Node*, Allocator> nodes_to_visit(10, allocator_); in ForEachNode()
282 nodes_to_visit.Add(root_, allocator_); in ForEachNode()
286 if (node->left() != NULL) nodes_to_visit.Add(node->left(), allocator_); in ForEachNode()
287 if (node->right() != NULL) nodes_to_visit.Add(node->right(), allocator_); in ForEachNode()
Dsplay-tree.h39 : root_(NULL), allocator_(allocator) {} in root_()
54 AllocationPolicy allocator() { return allocator_; } in allocator()
195 AllocationPolicy allocator_; variable
Dstring-stream.h104 : allocator_(allocator), in allocator_() function
108 buffer_(allocator_->allocate(kInitialCapacity)) { in allocator_()
169 StringAllocator* allocator_; variable
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_dumper.cc80 threads_(&allocator_, 8), in LinuxDumper()
81 mappings_(&allocator_), in LinuxDumper()
82 auxv_(&allocator_, AT_MAX + 1) { in LinuxDumper()
111 linux_gate = allocator_.Alloc(mapping.size); in ElfFileIdentifierForMapping()
305 LineReader* const line_reader = new(allocator_) LineReader(fd); in EnumerateMappings()
357 MappingInfo* const module = new(allocator_) MappingInfo; in EnumerateMappings()
Dlinux_dumper.h102 PageAllocator* allocator() { return &allocator_; } in allocator()
175 mutable PageAllocator allocator_; variable
Dlinux_ptrace_dumper.cc171 LineReader* const line_reader = new(allocator_) LineReader(fd); in GetThreadInfoByIndex()
318 DirectoryReader* dir_reader = new(allocator_) DirectoryReader(fd); in EnumerateThreads()
/external/libchrome/base/containers/
Dstack_container.h147 StackContainer() : allocator_(&stack_data_), container_(allocator_) { in StackContainer()
178 Allocator allocator_; variable
/external/webrtc/webrtc/p2p/base/
Dtransport.h168 PortAllocator* port_allocator() { return allocator_; } in port_allocator()
306 PortAllocator* const allocator_; variable
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_symbolizer_posix_libcdep.cc249 : addr2line_path_(addr2line_path), allocator_(allocator), in Addr2LinePool()
277 new(*allocator_) Addr2LineProcess(addr2line_path_, module_name); in SendCommand()
289 LowLevelAllocator *allocator_; member in __sanitizer::Addr2LinePool
/external/v8/test/cctest/
Dcctest.cc51 v8::ArrayBuffer::Allocator* CcTest::allocator_ = NULL; member in CcTest
89 create_params.array_buffer_allocator = allocator_; in Run()
Dcctest.h135 return allocator_; in EXTENSION_LIST()
140 allocator_ = allocator; in EXTENSION_LIST()
176 static v8::ArrayBuffer::Allocator* allocator_; in EXTENSION_LIST() local
/external/v8/src/interpreter/
Dbytecode-generator.cc186 allocator_(builder()) { in RegisterAllocationScope()
198 !current_scope->allocator_.HasConsecutiveAllocations())) { in NewRegister()
201 return allocator_.NewRegister(); in NewRegister()
213 allocator_.PrepareForConsecutiveAllocations(count); in PrepareForConsecutiveAllocations()
217 return allocator_.NextConsecutiveRegister(); in NextConsecutiveRegister()
221 return allocator_.RegisterIsAllocatedInThisScope(reg); in RegisterIsAllocatedInThisScope()
232 BytecodeRegisterAllocator allocator_; member in v8::internal::interpreter::BytecodeGenerator::RegisterAllocationScope
246 allocator_(generator), in ExpressionResultScope()
265 const RegisterAllocationScope* allocator() const { return &allocator_; } in allocator()
278 RegisterAllocationScope allocator_; member in v8::internal::interpreter::BytecodeGenerator::ExpressionResultScope
/external/opencv3/modules/cudalegacy/include/opencv2/cudalegacy/
DNCV.hpp637 NCVVectorAlloc(INCVMemAllocator &allocator_, Ncv32u length_) in NCVVectorAlloc() argument
639 allocator(allocator_) in NCVVectorAlloc()
851 NCVMatrixAlloc(INCVMemAllocator &allocator_, Ncv32u width_, Ncv32u height_, Ncv32u pitch_=0) in NCVMatrixAlloc() argument
853 allocator(allocator_) in NCVMatrixAlloc()

123