Home
last modified time | relevance | path

Searched refs:allocation (Results 1 – 25 of 1735) sorted by relevance

12345678910>>...70

/external/grpc-grpc/test/core/resource_quota/memory_quota_fuzzer_corpus/
Dtestcase-replenish-nullchk9 allocation: 2
28 allocation: 7
38 allocation: 3
44 allocation: 2
54 allocation: 2
73 allocation: 2
83 allocation: 2
92 allocation: 2
101 allocation: 2
122 allocation: 2
[all …]
Dtestcase-457457684722483213 allocation: 4225395
17 allocation: 8
22 allocation: 6
27 allocation: 2048
32 allocation: 2048
45 allocation: 3
50 allocation: 2048
62 allocation: 117440513
67 allocation: 9459968
71 allocation: -65536
[all …]
/external/webrtc/modules/video_coding/svc/
Dsvc_rate_allocator_unittest.cc59 VideoBitrateAllocation allocation = in TEST() local
62 EXPECT_GT(allocation.GetSpatialLayerSum(0), 0u); in TEST()
63 EXPECT_EQ(allocation.GetSpatialLayerSum(1), 0u); in TEST()
70 VideoBitrateAllocation allocation = in TEST() local
73 EXPECT_GT(allocation.GetSpatialLayerSum(0), 0u); in TEST()
74 EXPECT_GT(allocation.GetSpatialLayerSum(1), 0u); in TEST()
75 EXPECT_EQ(allocation.GetSpatialLayerSum(2), 0u); in TEST()
82 VideoBitrateAllocation allocation = in TEST() local
85 EXPECT_GT(allocation.GetSpatialLayerSum(0), 0u); in TEST()
86 EXPECT_GT(allocation.GetSpatialLayerSum(1), 0u); in TEST()
[all …]
/external/webrtc/modules/rtp_rtcp/source/
Drtp_video_layers_allocation_extension.cc72 bool AllocationIsValid(const VideoLayersAllocation& allocation) { in AllocationIsValid() argument
77 allocation.active_spatial_layers, in AllocationIsValid()
87 for (const auto& spatial_layer : allocation.active_spatial_layers) { in AllocationIsValid()
102 if (allocation.resolution_and_frame_rate_is_valid) { in AllocationIsValid()
117 if (allocation.rtp_stream_index < 0 || in AllocationIsValid()
118 (!allocation.active_spatial_layers.empty() && in AllocationIsValid()
119 allocation.rtp_stream_index > max_rtp_stream_idx)) { in AllocationIsValid()
132 const VideoLayersAllocation& allocation) { in SpatialLayersBitmasksPerRtpStream() argument
133 RTC_DCHECK(AllocationIsValid(allocation)); in SpatialLayersBitmasksPerRtpStream()
135 for (const auto& layer : allocation.active_spatial_layers) { in SpatialLayersBitmasksPerRtpStream()
[all …]
/external/mesa3d/src/gallium/frontends/nine/
Dnine_memory_helper.c243 debug_dump_allocation_state(struct nine_allocation *allocation) in debug_dump_allocation_state() argument
245 switch(allocation->allocation_type) { in debug_dump_allocation_state()
248 debug_dump_memfd_state(allocation->memory.memfd.file, true); in debug_dump_allocation_state()
250 allocation->memory.memfd.region->offset, allocation->memory.memfd.region->size); in debug_dump_allocation_state()
254 allocation->memory.submemfd.relative_offset); in debug_dump_allocation_state()
256 debug_dump_memfd_state(allocation->memory.submemfd.parent->file, false); in debug_dump_allocation_state()
258 allocation->memory.submemfd.parent->region->offset, in debug_dump_allocation_state()
259 allocation->memory.submemfd.parent->region->size); in debug_dump_allocation_state()
282 debug_dump_allocation_state(struct nine_allocation *allocation) in debug_dump_allocation_state() argument
284 (void)allocation; in debug_dump_allocation_state()
[all …]
/external/pcre/testdata/
Dtestoutput8-32-313 Memory allocation - compiled block : 184
14 Memory allocation - code portion : 48
25 Memory allocation - compiled block : 212
26 Memory allocation - code portion : 76
41 Memory allocation - compiled block : 208
42 Memory allocation - code portion : 72
57 Memory allocation - compiled block : 196
58 Memory allocation - code portion : 60
68 Memory allocation - compiled block : 156
69 Memory allocation - code portion : 20
[all …]
Dtestoutput8-16-213 Memory allocation - compiled block : 160
14 Memory allocation - code portion : 24
25 Memory allocation - compiled block : 174
26 Memory allocation - code portion : 38
41 Memory allocation - compiled block : 172
42 Memory allocation - code portion : 36
57 Memory allocation - compiled block : 182
58 Memory allocation - code portion : 46
68 Memory allocation - compiled block : 146
69 Memory allocation - code portion : 10
[all …]
Dtestoutput8-8-213 Memory allocation - compiled block : 153
14 Memory allocation - code portion : 17
25 Memory allocation - compiled block : 161
26 Memory allocation - code portion : 25
41 Memory allocation - compiled block : 159
42 Memory allocation - code portion : 23
57 Memory allocation - compiled block : 177
58 Memory allocation - code portion : 41
68 Memory allocation - compiled block : 143
69 Memory allocation - code portion : 7
[all …]
Dtestoutput8-32-213 Memory allocation - compiled block : 184
14 Memory allocation - code portion : 48
25 Memory allocation - compiled block : 212
26 Memory allocation - code portion : 76
41 Memory allocation - compiled block : 208
42 Memory allocation - code portion : 72
57 Memory allocation - compiled block : 196
58 Memory allocation - code portion : 60
68 Memory allocation - compiled block : 156
69 Memory allocation - code portion : 20
[all …]
Dtestoutput8-8-413 Memory allocation - compiled block : 161
14 Memory allocation - code portion : 25
25 Memory allocation - compiled block : 171
26 Memory allocation - code portion : 35
41 Memory allocation - compiled block : 169
42 Memory allocation - code portion : 33
57 Memory allocation - compiled block : 181
58 Memory allocation - code portion : 45
68 Memory allocation - compiled block : 147
69 Memory allocation - code portion : 11
[all …]
Dtestoutput8-32-413 Memory allocation - compiled block : 184
14 Memory allocation - code portion : 48
25 Memory allocation - compiled block : 212
26 Memory allocation - code portion : 76
41 Memory allocation - compiled block : 208
42 Memory allocation - code portion : 72
57 Memory allocation - compiled block : 196
58 Memory allocation - code portion : 60
68 Memory allocation - compiled block : 156
69 Memory allocation - code portion : 20
[all …]
Dtestoutput8-16-413 Memory allocation - compiled block : 168
14 Memory allocation - code portion : 32
25 Memory allocation - compiled block : 184
26 Memory allocation - code portion : 48
41 Memory allocation - compiled block : 182
42 Memory allocation - code portion : 46
57 Memory allocation - compiled block : 186
58 Memory allocation - code portion : 50
68 Memory allocation - compiled block : 150
69 Memory allocation - code portion : 14
[all …]
Dtestoutput8-8-313 Memory allocation - compiled block : 157
14 Memory allocation - code portion : 21
25 Memory allocation - compiled block : 166
26 Memory allocation - code portion : 30
41 Memory allocation - compiled block : 164
42 Memory allocation - code portion : 28
57 Memory allocation - compiled block : 179
58 Memory allocation - code portion : 43
68 Memory allocation - compiled block : 145
69 Memory allocation - code portion : 9
[all …]
Dtestoutput8-16-313 Memory allocation - compiled block : 168
14 Memory allocation - code portion : 32
25 Memory allocation - compiled block : 184
26 Memory allocation - code portion : 48
41 Memory allocation - compiled block : 182
42 Memory allocation - code portion : 46
57 Memory allocation - compiled block : 186
58 Memory allocation - code portion : 50
68 Memory allocation - compiled block : 150
69 Memory allocation - code portion : 14
[all …]
/external/pigweed/pw_allocator/
Dsynchronized_allocator_test.cc180 Allocation allocation{ptr, layout}; in TestAllocate() local
181 allocation.Paint(); in TestAllocate()
182 allocations.push_back(allocation); in TestAllocate()
186 for (const auto& allocation : allocations) { in TestAllocate() local
187 EXPECT_EQ(allocation.Inspect(), allocation.layout.size()); in TestAllocate()
188 synchronized.Deallocate(allocation.ptr); in TestAllocate()
210 Allocation allocation{ptr, layout}; in TestResize() local
211 allocation.Paint(); in TestResize()
212 allocations.push_back(allocation); in TestResize()
217 for (auto& allocation : allocations) { in TestResize() local
[all …]
/external/tensorflow/tensorflow/lite/
Dallocation_test.cc36 MMAPAllocation allocation("/tmp/tflite_model_1234", &error_reporter); in TEST() local
37 EXPECT_FALSE(allocation.valid()); in TEST()
46 MMAPAllocation allocation( in TEST() local
49 ASSERT_TRUE(allocation.valid()); in TEST()
50 EXPECT_GT(allocation.fd(), 0); in TEST()
51 EXPECT_GT(allocation.bytes(), 0); in TEST()
52 EXPECT_NE(allocation.base(), nullptr); in TEST()
62 MMAPAllocation allocation(-1, &error_reporter); in TEST() local
63 EXPECT_FALSE(allocation.valid()); in TEST()
110 MMAPAllocation allocation(fd, &error_reporter); in TEST() local
[all …]
Dmodel_builder.cc48 std::unique_ptr<Allocation> allocation; in GetAllocationFromFile() local
50 allocation = std::make_unique<MMAPAllocation>(filename, error_reporter); in GetAllocationFromFile()
52 allocation = std::make_unique<FileCopyAllocation>(filename, error_reporter); in GetAllocationFromFile()
54 return allocation; in GetAllocationFromFile()
78 std::unique_ptr<Allocation> allocation( in BuildFromBuffer() local
80 return BuildFromAllocation(std::move(allocation), error_reporter); in BuildFromBuffer()
87 std::unique_ptr<Allocation> allocation( in VerifyAndBuildFromBuffer() local
89 return VerifyAndBuildFromAllocation(std::move(allocation), extra_verifier, in VerifyAndBuildFromBuffer()
94 std::unique_ptr<Allocation> allocation, ErrorReporter* error_reporter) { in BuildFromAllocation() argument
96 std::move(allocation), ValidateErrorReporter(error_reporter))); in BuildFromAllocation()
[all …]
/external/executorch/backends/vulkan/runtime/vk_api/memory/
DAllocation.cpp29 : allocator(VK_NULL_HANDLE), allocation(VK_NULL_HANDLE), is_copy_(false) {} in Allocation()
35 : allocator(vma_allocator), allocation(VK_NULL_HANDLE), is_copy_(false) { in Allocation()
37 allocator, &mem_props, &create_info, &allocation, nullptr)); in Allocation()
42 allocation(other.allocation), in Allocation()
47 allocation(other.allocation), in Allocation()
49 other.allocation = VK_NULL_HANDLE; in Allocation()
53 VmaAllocation tmp_allocation = allocation; in operator =()
56 allocation = other.allocation; in operator =()
59 other.allocation = tmp_allocation; in operator =()
68 if (allocation != VK_NULL_HANDLE && !is_copy_) { in ~Allocation()
[all …]
/external/tensorflow/tensorflow/compiler/xrt/
Dxrt_state.cc120 XRTBufferAllocation::XRTBufferAllocation(const se::DeviceMemoryBase& allocation, in XRTBufferAllocation() argument
123 : allocation_(allocation), in XRTBufferAllocation()
144 const se::DeviceMemoryBase& XRTBufferAllocation::allocation() { in allocation() function in tensorflow::XRTBufferAllocation
172 xla::Backend* backend, int device_ordinal, XRTTupleAllocation** allocation, in CreateAndTransfer() argument
188 *allocation = new XRTTupleAllocation(device_ordinal, allocator, in CreateAndTransfer()
191 (*allocation) in CreateAndTransfer()
193 (*allocation)->SetDeviceMemorySize(); in CreateAndTransfer()
199 xla::Backend* backend, int device_ordinal, XRTTupleAllocation** allocation, in CreateUninitialized() argument
211 *allocation = new XRTTupleAllocation(device_ordinal, allocator, in CreateUninitialized()
214 (*allocation) in CreateUninitialized()
[all …]
/external/angle/src/common/
DPoolAlloc_unittest.cpp23 void *allocation = poolAllocator.allocate(numBytes); in TEST() local
25 EXPECT_NE(nullptr, allocation); in TEST()
27 uint32_t *writePtr = static_cast<uint32_t *>(allocation); in TEST()
31 allocation = poolAllocator.allocate(numBytes); in TEST()
32 EXPECT_NE(nullptr, allocation); in TEST()
34 allocation = poolAllocator.allocate(10 * 1024); in TEST()
43 allocation = poolAllocator.allocate(numBytes); in TEST()
44 EXPECT_NE(nullptr, allocation); in TEST()
47 memset(allocation, 0xb8, numBytes); in TEST()
68 void *allocation = poolAllocator.allocate(numBytes); in TEST_P() local
[all …]
/external/tensorflow/tensorflow/core/framework/
Dlog_memory.cc54 MemoryLogTensorAllocation allocation; in RecordTensorAllocation() local
55 allocation.set_step_id(step_id); in RecordTensorAllocation()
56 allocation.set_kernel_name(kernel_name); in RecordTensorAllocation()
57 tensor.FillDescription(allocation.mutable_tensor()); in RecordTensorAllocation()
58 OutputToLog(allocation); in RecordTensorAllocation()
83 MemoryLogRawAllocation allocation; in RecordRawAllocation() local
84 allocation.set_step_id(step_id); in RecordRawAllocation()
85 allocation.set_operation(operation); in RecordRawAllocation()
86 allocation.set_num_bytes(static_cast<int64_t>(num_bytes)); in RecordRawAllocation()
87 allocation.set_ptr(reinterpret_cast<uintptr_t>(ptr)); in RecordRawAllocation()
[all …]
/external/cronet/stable/third_party/libc++/src/test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/
Dnew_delete_object.pass.cpp37 std::same_as<int*> decltype(auto) allocation = allocator.template new_object<int>(); in test()
38 std::fill(allocation, allocation + 1, 4); in test()
41 allocator.delete_object(allocation); in test()
44 std::same_as<int*> decltype(auto) allocation = allocator.template new_object<int>(3); in test()
45 assert(*allocation == 3); in test()
46 std::fill(allocation, allocation + 1, 4); in test()
49 allocator.delete_object(allocation); in test()
60 std::same_as<TrackConstruction*> decltype(auto) allocation = in test()
65 allocator.delete_object(allocation); in test()
/external/cronet/tot/third_party/libc++/src/test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/
Dnew_delete_object.pass.cpp37 std::same_as<int*> decltype(auto) allocation = allocator.template new_object<int>(); in test()
38 std::fill(allocation, allocation + 1, 4); in test()
41 allocator.delete_object(allocation); in test()
44 std::same_as<int*> decltype(auto) allocation = allocator.template new_object<int>(3); in test()
45 assert(*allocation == 3); in test()
46 std::fill(allocation, allocation + 1, 4); in test()
49 allocator.delete_object(allocation); in test()
60 std::same_as<TrackConstruction*> decltype(auto) allocation = in test()
65 allocator.delete_object(allocation); in test()
/external/linux-kselftest/tools/testing/selftests/resctrl/
Dmba_test.c27 static int runs_per_allocation, allocation = 100; in mba_setup() local
43 if (allocation < ALLOCATION_MIN || allocation > ALLOCATION_MAX) in mba_setup()
46 sprintf(allocation_str, "%d", allocation); in mba_setup()
49 allocation -= ALLOCATION_STEP; in mba_setup()
56 int allocation, runs; in show_mba_info() local
61 for (allocation = 0; allocation < ALLOCATION_MAX / ALLOCATION_STEP; in show_mba_info()
62 allocation++) { in show_mba_info()
72 for (runs = NUM_OF_RUNS * allocation + 1; in show_mba_info()
73 runs < NUM_OF_RUNS * allocation + NUM_OF_RUNS ; runs++) { in show_mba_info()
87 ALLOCATION_MAX - ALLOCATION_STEP * allocation); in show_mba_info()
/external/webrtc/call/
Dbitrate_allocator.cc81 std::map<BitrateAllocatorObserver*, int>* allocation) { in DistributeBitrateEvenly() argument
82 RTC_DCHECK_EQ(allocation->size(), allocatable_tracks.size()); in DistributeBitrateEvenly()
87 allocation->at(observer_config.observer) != 0) { in DistributeBitrateEvenly()
98 extra_allocation + allocation->at(it->second->observer); in DistributeBitrateEvenly()
107 allocation->at(it->second->observer) = total_allocation; in DistributeBitrateEvenly()
122 std::map<BitrateAllocatorObserver*, int>* allocation) { in DistributeBitrateRelatively() argument
123 RTC_DCHECK_EQ(allocation->size(), allocatable_tracks.size()); in DistributeBitrateRelatively()
169 allocation->at(priority_rate_observer.allocation_key) += in DistributeBitrateRelatively()
181 allocation->at(priority_rate_observer.allocation_key) += in DistributeBitrateRelatively()
191 std::map<BitrateAllocatorObserver*, int> allocation; in LowRateAllocation() local
[all …]

12345678910>>...70