/third_party/flutter/skia/third_party/externals/angle2/src/common/ |
D | MemoryBuffer.cpp | 85 bool ScratchBuffer::get(size_t requestedSize, MemoryBuffer **memoryBufferOut) in get() argument 87 return getImpl(requestedSize, memoryBufferOut, Optional<uint8_t>::Invalid()); in get() 90 bool ScratchBuffer::getInitialized(size_t requestedSize, in getInitialized() argument 94 return getImpl(requestedSize, memoryBufferOut, Optional<uint8_t>(initValue)); in getInitialized() 97 bool ScratchBuffer::getImpl(size_t requestedSize, in getImpl() argument 101 if (mScratchMemory.size() == requestedSize) in getImpl() 108 if (mScratchMemory.size() > requestedSize) in getImpl() 113 if (mResetCounter == 0 || mScratchMemory.size() < requestedSize) in getImpl() 116 if (!mScratchMemory.resize(requestedSize)) in getImpl() 127 ASSERT(mScratchMemory.size() >= requestedSize); in getImpl()
|
D | MemoryBuffer.h | 69 bool get(size_t requestedSize, MemoryBuffer **memoryBufferOut); 72 bool getInitialized(size_t requestedSize, MemoryBuffer **memoryBufferOut, uint8_t initValue); 80 bool getImpl(size_t requestedSize, MemoryBuffer **memoryBufferOut, Optional<uint8_t> initValue);
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | MemoryBuffer.cpp | 111 bool ScratchBuffer::get(size_t requestedSize, MemoryBuffer **memoryBufferOut) in get() argument 113 return getImpl(requestedSize, memoryBufferOut, Optional<uint8_t>::Invalid()); in get() 116 bool ScratchBuffer::getInitialized(size_t requestedSize, in getInitialized() argument 120 return getImpl(requestedSize, memoryBufferOut, Optional<uint8_t>(initValue)); in getInitialized() 123 bool ScratchBuffer::getImpl(size_t requestedSize, in getImpl() argument 127 if (mScratchMemory.size() == requestedSize) in getImpl() 134 if (mScratchMemory.size() > requestedSize) in getImpl() 139 if (mScratchMemory.size() < requestedSize) in getImpl() 141 if (!mScratchMemory.resize(requestedSize)) in getImpl() 152 ASSERT(mScratchMemory.size() >= requestedSize); in getImpl()
|
D | MemoryBuffer.h | 73 bool get(size_t requestedSize, MemoryBuffer **memoryBufferOut); 76 bool getInitialized(size_t requestedSize, MemoryBuffer **memoryBufferOut, uint8_t initValue); 84 bool getImpl(size_t requestedSize, MemoryBuffer **memoryBufferOut, Optional<uint8_t> initValue);
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | ByteBufferWriter.java | 114 private static byte[] getOrCreateBuffer(int requestedSize) { in getOrCreateBuffer() argument 115 requestedSize = max(requestedSize, MIN_CACHED_BUFFER_SIZE); in getOrCreateBuffer() 119 if (buffer == null || needToReallocate(requestedSize, buffer.length)) { in getOrCreateBuffer() 120 buffer = new byte[requestedSize]; in getOrCreateBuffer() 123 if (requestedSize <= MAX_CACHED_BUFFER_SIZE) { in getOrCreateBuffer() 130 private static boolean needToReallocate(int requestedSize, int bufferLength) { in needToReallocate() argument 132 return bufferLength < requestedSize in needToReallocate() 133 && bufferLength < requestedSize * BUFFER_REALLOCATION_THRESHOLD; in needToReallocate()
|
/third_party/skia/src/gpu/ |
D | GrSubRunAllocator.h | 27 static constexpr int PlatformMinimumSizeWithOverhead(int requestedSize, int assumedAlignment) { in PlatformMinimumSizeWithOverhead() argument 29 requestedSize, assumedAlignment, sizeof(Block), kMaxAlignment); in PlatformMinimumSizeWithOverhead() 33 int requestedSize, int assumedAlignment, int blockSize, int maxAlignment) { in MinimumSizeWithOverhead() argument 34 SkASSERT_RELEASE(0 <= requestedSize && requestedSize < kMaxByteSize); in MinimumSizeWithOverhead() 56 int minimumSize = AlignUp(requestedSize, minAlignment) in MinimumSizeWithOverhead()
|
D | GrSubRunAllocator.cpp | 61 void GrBagOfBytes::needMoreBytes(int requestedSize, int alignment) { in needMoreBytes() argument 64 std::max(requestedSize, nextBlockSize), kAllocationAlignment); in needMoreBytes() 75 SkASSERT(fCapacity >= requestedSize); in needMoreBytes()
|
/third_party/skia/third_party/externals/oboe/src/common/ |
D | QuirksManager.cpp | 30 int32_t requestedSize) { in clipBufferSize() argument 32 return requestedSize; in clipBufferSize() 47 int32_t adjustedSize = requestedSize; in clipBufferSize()
|
D | QuirksManager.h | 82 int32_t clipBufferSize(AudioStream &stream, int32_t requestedSize);
|
/third_party/skia/experimental/graphite/src/ |
D | DrawBufferManager.cpp | 28 static bool can_fit(size_t requestedSize, in can_fit() argument 33 return requestedSize <= (buffer->size() - startOffset); in can_fit()
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/ |
D | RingBuffer.h | 41 UploadHandle SubAllocate(size_t requestedSize);
|
/third_party/skia/src/codec/ |
D | SkIcoCodec.h | 83 int chooseCodec(const SkISize& requestedSize, int startIndex);
|
D | SkIcoCodec.cpp | 234 int SkIcoCodec::chooseCodec(const SkISize& requestedSize, int startIndex) { in chooseCodec() argument 239 if (fEmbeddedCodecs->operator[](i)->dimensions() == requestedSize) { in chooseCodec()
|
/third_party/flutter/skia/src/codec/ |
D | SkIcoCodec.h | 83 int chooseCodec(const SkISize& requestedSize, int startIndex);
|
D | SkIcoCodec.cpp | 227 int SkIcoCodec::chooseCodec(const SkISize& requestedSize, int startIndex) { in chooseCodec() argument 232 if (fEmbeddedCodecs->operator[](i)->dimensions() == requestedSize) { in chooseCodec()
|
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/ |
D | shifted_box.dart | 735 /// The [requestedSize] and [alignment] arguments must not be null. 741 @required Size requestedSize, 744 }) : assert(requestedSize != null), 745 _requestedSize = requestedSize, 749 Size get requestedSize => _requestedSize; 751 set requestedSize(Size value) {
|
/third_party/flutter/flutter/packages/flutter/lib/src/material/ |
D | chip.dart | 2346 final double requestedSize = math.max(0.0, contentSize); 2348 width: requestedSize, 2349 height: requestedSize, 2368 final double requestedSize = math.max(0.0, contentSize); 2370 width: requestedSize, 2371 height: requestedSize,
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | Renderer11.h | 426 size_t requestedSize,
|
D | Renderer11.cpp | 3689 size_t requestedSize, in getScratchMemoryBuffer() argument 3692 ANGLE_CHECK_GL_ALLOC(context11, mScratchMemoryBuffer.get(requestedSize, bufferOut)); in getScratchMemoryBuffer()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | Renderer11.h | 407 size_t requestedSize,
|
D | Renderer11.cpp | 4026 size_t requestedSize, in getScratchMemoryBuffer() argument 4029 ANGLE_CHECK_GL_ALLOC(context11, mScratchMemoryBuffer.get(requestedSize, bufferOut)); in getScratchMemoryBuffer()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineMultisampleTests.cpp | 5188 void combinationsRecursive(const ElementsVector& elements, size_t requestedSize, CombinationVector&… in combinationsRecursive() argument 5190 if (partial.size() == requestedSize) in combinationsRecursive() 5197 combinationsRecursive(elements, requestedSize, solutions, partial); in combinationsRecursive() 5203 CombinationVector combinations(const ElementsVector& elements, size_t requestedSize) in combinations() argument 5208 combinationsRecursive(elements, requestedSize, solutions, partial); in combinations()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
D | vktPipelineMultisampleTests.cpp | 5188 void combinationsRecursive(const ElementsVector& elements, size_t requestedSize, CombinationVector&… in combinationsRecursive() argument 5190 if (partial.size() == requestedSize) in combinationsRecursive() 5197 combinationsRecursive(elements, requestedSize, solutions, partial); in combinationsRecursive() 5203 CombinationVector combinations(const ElementsVector& elements, size_t requestedSize) in combinations() argument 5208 combinationsRecursive(elements, requestedSize, solutions, partial); in combinations()
|
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/ |
D | basic.dart | 2532 requestedSize: size, 2541 ..requestedSize = size
|