/third_party/skia/src/core/ |
D | SkWriter32.h | 59 uint32_t* reserve(size_t size) { in reserve() function 102 *(int32_t*)this->reserve(sizeof(value)) = value & 0xFF; in write8() 106 *(int32_t*)this->reserve(sizeof(value)) = value & 0xFFFF; in write16() 110 *(int32_t*)this->reserve(sizeof(value)) = value; in write32() 114 *(SkScalar*)this->reserve(sizeof(value)) = value; in writeScalar() 118 *(SkPoint*)this->reserve(sizeof(pt)) = pt; in writePoint() 122 *(SkPoint3*)this->reserve(sizeof(pt)) = pt; in writePoint3() 126 *(SkRect*)this->reserve(sizeof(rect)) = rect; in writeRect() 130 *(SkIRect*)this->reserve(sizeof(rect)) = rect; in writeIRect() 134 rrect.writeToMemory(this->reserve(SkRRect::kSizeInMemory)); in writeRRect() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | HandleAllocator_unittest.cpp | 29 allocator.reserve(id); in TEST() 54 allocator.reserve(randomHandle); in TEST() 86 limitedAllocator.reserve(count); in TEST() 99 allocator.reserve(maxUintHandle); in TEST() 111 allocator.reserve(maxUintHandle - 1); in TEST() 112 allocator.reserve(maxUintHandle); in TEST() 123 allocator.reserve(3); in TEST() 145 allocator.reserve(3); in TEST() 160 allocator.reserve(5); in TEST() 161 allocator.reserve(6); in TEST() [all …]
|
D | CLContext.cpp | 43 devices.reserve(mDevices.size()); in getInfo() 104 propArray.reserve(propIt - properties); in createCommandQueueWithProperties() 215 propArray.reserve(propIt - properties); in createSamplerWithProperties() 276 devs.reserve(numDevices); in createProgramWithBinary() 291 devs.reserve(numDevices); in createProgramWithBuiltInKernels() 309 devices.reserve(numDevices); in linkProgram() 315 programs.reserve(numInputPrograms); in linkProgram()
|
D | CLProgram.cpp | 25 devices.reserve(numDevices); in build() 51 devices.reserve(numDevices); in compile() 57 programs.reserve(numInputHeaders); in compile() 99 devices.reserve(mDevices.size()); in getInfo() 171 krnls.reserve(createFuncs.size()); in createKernels()
|
/third_party/libunwind/libunwind/src/mi/ |
D | mempool.c | 110 mempool_init (struct mempool *pool, size_t obj_size, size_t reserve) in mempool_init() argument 122 if (!reserve) in mempool_init() 124 reserve = pg_size / obj_size / 4; in mempool_init() 125 if (!reserve) in mempool_init() 126 reserve = 16; in mempool_init() 130 pool->reserve = reserve; in mempool_init() 131 pool->chunk_size = UNW_ALIGN(2*reserve*obj_size, pg_size); in mempool_init() 144 if (pool->num_free <= pool->reserve) in mempool_alloc()
|
/third_party/pulseaudio/src/modules/alsa/ |
D | meson.build | 7 '../reserve-wrap.c', 16 '../reserve-wrap.h', 20 libalsa_util_sources += [ '../reserve.c', '../reserve-monitor.c' ] 21 libalsa_util_headers += [ '../reserve.h', '../reserve-monitor.h' ]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmWorkgroupMemoryTests.cpp | 286 outputData.reserve(numElements); in addComputeWorkgroupMemoryTests() 313 outputData.reserve(numElements); in addComputeWorkgroupMemoryTests() 345 outputData.reserve(numElements); in addComputeWorkgroupMemoryTests() 378 outputData.reserve(numElements); in addComputeWorkgroupMemoryTests() 404 outputData.reserve(numElements); in addComputeWorkgroupMemoryTests() 435 outputData.reserve(numElements); in addComputeWorkgroupMemoryTests() 468 outputData.reserve(numElements); in addComputeWorkgroupMemoryTests() 500 inputData.reserve(numElements); in addComputeWorkgroupMemoryTests() 504 outputData.reserve(numElements); in addComputeWorkgroupMemoryTests() 530 inputData.reserve(numElements); in addComputeWorkgroupMemoryTests() [all …]
|
D | vktSpvAsmIndexingTests.cpp | 79 inputData.reserve(numInputFloats); in addComputeIndexingStructTests() 83 indexSelectorData.reserve(numItems); in addComputeIndexingStructTests() 234 outputData.reserve(numItems); in addComputeIndexingStructTests() 295 inputData.reserve(numInputFloats); in addGraphicsIndexingStructTests() 299 indexSelectorData.reserve(numItems); in addGraphicsIndexingStructTests() 480 outputData.reserve(numItems); in addGraphicsIndexingStructTests() 681 inputData.reserve(numInputFloats); in addComputeIndexingNon16BaseAlignmentTests() 694 outputData.reserve(numOutputFloats); in addComputeIndexingNon16BaseAlignmentTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
D | vktSpvAsmWorkgroupMemoryTests.cpp | 286 outputData.reserve(numElements); in addComputeWorkgroupMemoryTests() 313 outputData.reserve(numElements); in addComputeWorkgroupMemoryTests() 345 outputData.reserve(numElements); in addComputeWorkgroupMemoryTests() 378 outputData.reserve(numElements); in addComputeWorkgroupMemoryTests() 404 outputData.reserve(numElements); in addComputeWorkgroupMemoryTests() 435 outputData.reserve(numElements); in addComputeWorkgroupMemoryTests() 468 outputData.reserve(numElements); in addComputeWorkgroupMemoryTests() 500 inputData.reserve(numElements); in addComputeWorkgroupMemoryTests() 504 outputData.reserve(numElements); in addComputeWorkgroupMemoryTests() 530 inputData.reserve(numElements); in addComputeWorkgroupMemoryTests() [all …]
|
D | vktSpvAsmIndexingTests.cpp | 79 inputData.reserve(numInputFloats); in addComputeIndexingStructTests() 83 indexSelectorData.reserve(numItems); in addComputeIndexingStructTests() 234 outputData.reserve(numItems); in addComputeIndexingStructTests() 295 inputData.reserve(numInputFloats); in addGraphicsIndexingStructTests() 299 indexSelectorData.reserve(numItems); in addGraphicsIndexingStructTests() 480 outputData.reserve(numItems); in addGraphicsIndexingStructTests() 681 inputData.reserve(numInputFloats); in addComputeIndexingNon16BaseAlignmentTests() 694 outputData.reserve(numOutputFloats); in addComputeIndexingNon16BaseAlignmentTests()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/test/tinyxml/ |
D | tinystr.cpp | 37 void TiXmlString::reserve (size_type cap) in reserve() function in TiXmlString 73 reserve (newsize + capacity()); in append() 84 tmp.reserve(a.length() + b.length()); in operator +() 94 tmp.reserve(a.length() + b_len); in operator +() 104 tmp.reserve(a_len + b.length()); in operator +()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/pae/ |
D | ieee802_1x_kay_i.h | 157 u8 reserve; member 231 u8 reserve; member 293 u8 reserve:1; member 299 u8 reserve:1; member 342 u8 reserve:4; member 348 u8 reserve:4; member 386 u8 reserve; member 409 u8 reserve; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/pae/ |
D | ieee802_1x_kay_i.h | 157 u8 reserve; member 231 u8 reserve; member 293 u8 reserve:1; member 299 u8 reserve:1; member 342 u8 reserve:4; member 348 u8 reserve:4; member 386 u8 reserve; member 409 u8 reserve; member
|
/third_party/NuttX/drivers/usbdev/gadget/ |
D | usbd_video.c | 503 res = &(uvc->reserve); in uvc_video_tran_nocp() 652 struct nocp_reserve *reserve; in uvc_nocp_continue() local 661 reserve = &(uvc->reserve); in uvc_nocp_continue() 665 if (reserve->res != NULL) in uvc_nocp_continue() 668 j = (reserve->resl > NOCP_RESERVE_MAX) ? NOCP_RESERVE_MAX : reserve->resl; in uvc_nocp_continue() 671 reserve->res[i] = reserve->res_buf[i]; in uvc_nocp_continue() 691 reserve->res = NULL; in uvc_nocp_continue() 692 reserve->resl = res; in uvc_nocp_continue() 704 reserve->res_buf[i] = p[i]; in uvc_nocp_continue() 706 reserve->resl = j; in uvc_nocp_continue() [all …]
|
/third_party/skia/include/private/ |
D | SkTDArray.h | 160 void setReserve(int reserve) { in setReserve() argument 161 SkASSERT(reserve >= 0); in setReserve() 162 if (reserve > fReserve) { in setReserve() 163 this->resizeStorageToAtLeast(reserve); in setReserve() 166 void reserve(size_t n) { in reserve() function 372 uint32_t reserve = (uint32_t)count + 4; in resizeStorageToAtLeast() local 373 reserve += reserve / 4; in resizeStorageToAtLeast() 374 SkASSERT_RELEASE( SkTFitsIn<int>(reserve) ); in resizeStorageToAtLeast() 376 fReserve = SkTo<int>(reserve); in resizeStorageToAtLeast()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
D | vktPipelineSpecConstantUtil.hpp | 62 vec.reserve(1); in makeVector() 71 vec.reserve(2); in makeVector() 81 vec.reserve(3); in makeVector() 92 vec.reserve(4); in makeVector()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineSpecConstantUtil.hpp | 62 vec.reserve(1); in makeVector() 71 vec.reserve(2); in makeVector() 81 vec.reserve(3); in makeVector() 92 vec.reserve(4); in makeVector()
|
/third_party/gn/src/base/strings/ |
D | utf_string_conversion_utils.cc | 102 output->reserve(src_len); in PrepareForUTF8Output() 105 output->reserve(src_len * 3); in PrepareForUTF8Output() 121 output->reserve(src_len); in PrepareForUTF16Or32Output() 125 output->reserve(src_len / 2); in PrepareForUTF16Or32Output()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | PassResourceUsageTracker.cpp | 152 result.buffers.reserve(mBufferUsages.size()); in AcquireSyncScopeUsage() 153 result.bufferUsages.reserve(mBufferUsages.size()); in AcquireSyncScopeUsage() 154 result.textures.reserve(mTextureUsages.size()); in AcquireSyncScopeUsage() 155 result.textureUsages.reserve(mTextureUsages.size()); in AcquireSyncScopeUsage() 233 result.querySets.reserve(mQueryAvailabilities.size()); in AcquireResourceUsage() 234 result.queryAvailabilities.reserve(mQueryAvailabilities.size()); in AcquireResourceUsage()
|
/third_party/skia/third_party/externals/spirv-cross/ |
D | spirv_cross_containers.hpp | 216 reserve(count); in SmallVector() 249 reserve(other.buffer_size); in operator =() 272 reserve(other.buffer_size); in operator =() 300 reserve(this->buffer_size + 1); in push_back() 307 reserve(this->buffer_size + 1); in push_back() 323 reserve(this->buffer_size + 1); in emplace_back() 328 void reserve(size_t count) SPIRV_CROSS_NOEXCEPT in reserve() function in SPIRV_CROSS_NAMESPACE::SmallVector 381 reserve(this->buffer_size + count); in insert() 512 reserve(new_size); in resize() 681 ret.reserve(target_size); in str()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsStateChangePerfTestCases.cpp | 106 indices.reserve(triangleCount*3); in genIndices() 118 coords.reserve(triangleCount * 3 * 2); in genCoords() 152 data.reserve(width*height*4); in genTextureData() 239 m_indexBuffers.reserve(count); in requireIndexBuffers() 269 m_coordBuffers.reserve(count); in requireCoordBuffers() 297 m_programs.reserve(count); in requirePrograms() 341 m_textures.reserve(count); in requireTextures() 384 m_framebuffers.reserve(count); in requireFramebuffers() 421 m_renderbuffers.reserve(count); in requireRenderbuffers() 450 m_samplers.reserve(count); in requireSamplers() [all …]
|
/third_party/openssl/test/ |
D | stack_test.c | 53 static int test_int_stack(int reserve) in test_int_stack() argument 88 || (reserve > 0 && !TEST_true(sk_sint_reserve(s, 5 * reserve)))) in test_int_stack() 174 static int test_uchar_stack(int reserve) in test_uchar_stack() argument 183 || (reserve > 0 && !TEST_true(sk_uchar_reserve(s, 5 * reserve)))) in test_uchar_stack()
|
/third_party/json/tests/src/ |
D | unit-convenience.cpp | 26 void reserve(std::size_t s) in reserve() function 28 impl.reserve(s); in reserve() 68 void reserve(std::size_t s) in reserve() function 70 impl.reserve(s); in reserve()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/ |
D | vktSynchronizationUtil.cpp | 514 m_waitSemaphores.reserve(submitInfoCount); in LegacySynchronizationWrapper() 515 m_signalSemaphores.reserve(submitInfoCount); in LegacySynchronizationWrapper() 516 m_waitDstStageMasks.reserve(submitInfoCount); in LegacySynchronizationWrapper() 517 m_commandBuffers.reserve(submitInfoCount); in LegacySynchronizationWrapper() 518 m_submitInfoData.reserve(submitInfoCount); in LegacySynchronizationWrapper() 521 m_timelineSemaphoreValues.reserve(2 * submitInfoCount); in LegacySynchronizationWrapper() 607 memoryBarriers.reserve(memoryBarrierCount); in cmdPipelineBarrier() 631 bufferMemoryBarriers.reserve(bufferMemoryBarrierCount); in cmdPipelineBarrier() 660 imageMemoryBarriers.reserve(imageMemoryBarrierCount); in cmdPipelineBarrier() 753 memoryBarriers.reserve(memoryBarrierCount); in cmdWaitEvents() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/ |
D | vktSynchronizationUtil.cpp | 514 m_waitSemaphores.reserve(submitInfoCount); in LegacySynchronizationWrapper() 515 m_signalSemaphores.reserve(submitInfoCount); in LegacySynchronizationWrapper() 516 m_waitDstStageMasks.reserve(submitInfoCount); in LegacySynchronizationWrapper() 517 m_commandBuffers.reserve(submitInfoCount); in LegacySynchronizationWrapper() 518 m_submitInfoData.reserve(submitInfoCount); in LegacySynchronizationWrapper() 521 m_timelineSemaphoreValues.reserve(2 * submitInfoCount); in LegacySynchronizationWrapper() 607 memoryBarriers.reserve(memoryBarrierCount); in cmdPipelineBarrier() 631 bufferMemoryBarriers.reserve(bufferMemoryBarrierCount); in cmdPipelineBarrier() 660 imageMemoryBarriers.reserve(imageMemoryBarrierCount); in cmdPipelineBarrier() 753 memoryBarriers.reserve(memoryBarrierCount); in cmdWaitEvents() [all …]
|