Home
last modified time | relevance | path

Searched refs:bufferSize (Results 1 - 25 of 478) sorted by relevance

12345678910>>...20

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DD3DTextureTest.cpp738 const size_t bufferSize = 32; in TEST_P() local
741 createPBuffer(bufferSize, bufferSize, EGL_NO_TEXTURE, EGL_NO_TEXTURE, 1, 0); in TEST_P()
749 glViewport(0, 0, static_cast<GLsizei>(bufferSize), static_cast<GLsizei>(bufferSize)); in TEST_P()
754 EXPECT_PIXEL_EQ(static_cast<GLint>(bufferSize) / 2, static_cast<GLint>(bufferSize) / 2, 255, 0, in TEST_P()
774 const size_t bufferSize = 32; in TEST_P() local
777 createPBuffer(bufferSize, bufferSize, EGL_NO_TEXTUR in TEST_P()
825 const size_t bufferSize = 32; TEST_P() local
894 constexpr size_t bufferSize = 32; TEST_P() local
907 constexpr size_t bufferSize = 32; TEST_P() local
969 constexpr size_t bufferSize = 32; TEST_P() local
998 constexpr size_t bufferSize = 32; TEST_P() local
1042 constexpr size_t bufferSize = 32; TEST_P() local
1055 constexpr size_t bufferSize = 32; TEST_P() local
1071 const size_t bufferSize = 32; TEST_P() local
1117 constexpr size_t bufferSize = 32; TEST_P() local
1159 constexpr size_t bufferSize = 32; TEST_P() local
1209 const UINT bufferSize = 32; RunClearTest() local
1365 const UINT bufferSize = 32; TEST_P() local
1415 const UINT bufferSize = 32; TEST_P() local
1550 const UINT bufferSize = 32; TEST_P() local
1666 const UINT bufferSize = 32; RunYUVTest() local
[all...]
/third_party/skia/tests/
H A DFrontBufferedStreamTest.cpp57 static void test_incremental_buffering(skiatest::Reporter* reporter, size_t bufferSize) { in test_incremental_buffering() argument
64 std::unique_ptr<SkStream>(memStream), bufferSize); in test_incremental_buffering()
69 test_read(reporter, bufferedStream.get(), gAbcs, bufferSize / 2); in test_incremental_buffering()
74 test_read(reporter, bufferedStream.get(), gAbcs, bufferSize / 4); in test_incremental_buffering()
77 test_read(reporter, bufferedStream.get(), gAbcs + bufferSize / 4, bufferSize / 2); in test_incremental_buffering()
82 test_read(reporter, bufferedStream.get(), gAbcs, bufferSize << 1); in test_incremental_buffering()
90 static void test_perfectly_sized_buffer(skiatest::Reporter* reporter, size_t bufferSize) { in test_perfectly_sized_buffer() argument
93 std::unique_ptr<SkStream>(memStream), bufferSize); in test_perfectly_sized_buffer()
97 test_read(reporter, bufferedStream.get(), gAbcs, bufferSize); in test_perfectly_sized_buffer()
110 test_skipping(skiatest::Reporter* reporter, size_t bufferSize) test_skipping() argument
161 test_read_beyond_buffer(skiatest::Reporter* reporter, size_t bufferSize) test_read_beyond_buffer() argument
210 test_length_combos(skiatest::Reporter* reporter, size_t bufferSize) test_length_combos() argument
223 test_initial_offset(skiatest::Reporter* reporter, size_t bufferSize) test_initial_offset() argument
254 test_buffers(skiatest::Reporter* reporter, size_t bufferSize) test_buffers() argument
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf/
H A DSegmentedBufferHelper.cs163 return state.bufferPos == state.bufferSize && !state.segmentedBufferHelper.RefillBuffer(ref buffer, ref state, false); in IsAtEnd()
170 if (state.totalBytesRetired + state.bufferSize == state.currentLimit) in RefillFromReadOnlySequence()
183 state.totalBytesRetired += state.bufferSize; in RefillFromReadOnlySequence()
186 state.bufferSize = 0; in RefillFromReadOnlySequence()
190 state.bufferSize = buffer.Length; in RefillFromReadOnlySequence()
197 if (state.bufferSize == 0) in RefillFromReadOnlySequence()
212 state.totalBytesRetired + state.bufferSize + state.bufferSizeAfterLimit; in RefillFromReadOnlySequence()
225 if (state.totalBytesRetired + state.bufferSize == state.currentLimit) in RefillFromCodedInputStream()
240 state.totalBytesRetired += state.bufferSize; in RefillFromCodedInputStream()
243 state.bufferSize in RefillFromCodedInputStream()
[all...]
H A DParsingPrimitives.cs86 if (state.bufferPos + 2 <= state.bufferSize) in ParseTag()
166 if (state.bufferPos + 10 > state.bufferSize) in ParseRawVarint64()
220 if (state.bufferPos + 5 > state.bufferSize) in ParseRawVarint32()
329 if (state.bufferPos + ulongLength > state.bufferSize) in ParseRawLittleEndian32()
355 if (state.bufferPos + length > state.bufferSize) in ParseRawLittleEndian64()
384 if (!BitConverter.IsLittleEndian || state.bufferPos + length > state.bufferSize) in ParseDouble()
400 if (!BitConverter.IsLittleEndian || state.bufferPos + length > state.bufferSize) in ParseFloat()
441 if (size <= state.bufferSize - state.bufferPos) in ReadRawBytes()
479 int pos = state.bufferSize - state.bufferPos; in ReadRawBytesSlow()
483 state.bufferPos = state.bufferSize; in ReadRawBytesSlow()
[all...]
/third_party/musl/libc-test/src/functionalext/fortify/
H A Dstdio.c54 const int bufferSize = 14; in stdio_dynamic_chk_001() local
55 char buf[bufferSize]; // > sizeof(hello_world) in stdio_dynamic_chk_001()
75 const int bufferSize = 65*1024; in stdio_dynamic_chk_002() local
76 char buf[bufferSize]; in stdio_dynamic_chk_002()
91 for (size_t i = read_size; i < bufferSize; ++i) { in stdio_dynamic_chk_002()
109 const int bufferSize = 1; in stdio_dynamic_chk_003() local
110 char buf[bufferSize]; in stdio_dynamic_chk_003()
150 const int bufferSize = 1; in stdio_dynamic_chk_004() local
151 char buf[bufferSize]; in stdio_dynamic_chk_004()
185 const int bufferSize in stdio_dynamic_chk_005() local
205 const int bufferSize = 16; stdio_dynamic_chk_006() local
238 const int bufferSize = 16; stdio_dynamic_chk_007() local
282 const int bufferSize = 20; stdio_dynamic_chk_009() local
299 const int bufferSize = 6; stdio_dynamic_chk_010() local
335 const int bufferSize = 6; stdio_dynamic_chk_011() local
367 const int bufferSize = 6; vsnprintf_test() local
379 const int bufferSize = 6; vsprintf_test() local
[all...]
H A Dunistd.c38 const int bufferSize = 1; in unistd_dynamic_chk_001() local
39 char buf[bufferSize]; in unistd_dynamic_chk_001()
78 const int bufferSize = 2; in unistd_dynamic_chk_002() local
79 char buf[bufferSize]; in unistd_dynamic_chk_002()
118 const int bufferSize = 2; in unistd_dynamic_chk_003() local
119 char buf[bufferSize]; in unistd_dynamic_chk_003()
159 const int bufferSize = 2; in unistd_dynamic_chk_004() local
160 char buf[bufferSize]; in unistd_dynamic_chk_004()
199 const int bufferSize = 2; in unistd_dynamic_chk_005() local
200 char buf[bufferSize]; in unistd_dynamic_chk_005()
396 const int bufferSize = 2; unistd_dynamic_chk_010() local
434 const int bufferSize = 2; unistd_dynamic_chk_011() local
551 const int bufferSize = 1; unistd_dynamic_chk_014() local
588 const int bufferSize = 1; unistd_dynamic_chk_015() local
624 const int bufferSize = 1; unistd_dynamic_chk_016() local
662 const int bufferSize = 1; unistd_dynamic_chk_017() local
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DComputeStorageBufferBarrierTests.cpp30 uint64_t bufferSize = static_cast<uint64_t>(data.size() * sizeof(uint32_t)); in TEST_P() local
32 device, data.data(), bufferSize, wgpu::BufferUsage::Storage | wgpu::BufferUsage::CopySrc); in TEST_P()
53 utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), {{0, buffer, 0, bufferSize}}); in TEST_P()
76 uint64_t bufferSize = static_cast<uint64_t>(data.size() * sizeof(uint32_t)); in TEST_P() local
79 device, data.data(), bufferSize, wgpu::BufferUsage::Storage | wgpu::BufferUsage::CopySrc); in TEST_P()
82 device, data.data(), bufferSize, wgpu::BufferUsage::Storage | wgpu::BufferUsage::CopySrc); in TEST_P()
105 {0, bufferA, 0, bufferSize}, in TEST_P()
106 {1, bufferB, 0, bufferSize}, in TEST_P()
111 {0, bufferB, 0, bufferSize}, in TEST_P()
112 {1, bufferA, 0, bufferSize}, in TEST_P()
142 uint64_t bufferSize = static_cast<uint64_t>(data.size() * sizeof(uint32_t)); TEST_P() local
208 uint64_t bufferSize = static_cast<uint64_t>(data.size() * sizeof(uint32_t)); TEST_P() local
276 uint64_t bufferSize = static_cast<uint64_t>(data.size() * sizeof(uint32_t)); TEST_P() local
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
H A DBufferAllocatedSizeTests.cpp54 const uint32_t bufferSize = kMinBufferSize; in TEST_P() local
55 wgpu::Buffer buffer = CreateBuffer(wgpu::BufferUsage::Uniform, bufferSize); in TEST_P()
57 Align(bufferSize, requiredBufferAlignment)); in TEST_P()
63 const uint32_t bufferSize = std::max(1u + requiredBufferAlignment, kMinBufferSize); in TEST_P() local
65 CreateBuffer(wgpu::BufferUsage::Uniform | wgpu::BufferUsage::Storage, bufferSize); in TEST_P()
67 Align(bufferSize, requiredBufferAlignment)); in TEST_P()
72 const uint32_t bufferSize = kMinBufferSize; in TEST_P() local
74 CreateBuffer(wgpu::BufferUsage::Uniform | wgpu::BufferUsage::Storage, bufferSize); in TEST_P()
76 Align(bufferSize, requiredBufferAlignment)); in TEST_P()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
H A DTextureCopySplitter.cpp76 copy.copies[0].bufferSize = copySize; in Compute2DTextureCopySubresource()
143 copy.copies[0].bufferSize.width = copySize.width + texelOffset.x; in Compute2DTextureCopySubresource()
144 copy.copies[0].bufferSize.height = copySize.height + texelOffset.y; in Compute2DTextureCopySubresource()
145 copy.copies[0].bufferSize.depthOrArrayLayers = copySize.depthOrArrayLayers; in Compute2DTextureCopySubresource()
196 copy.copies[0].bufferSize.width = texelsPerRow; in Compute2DTextureCopySubresource()
197 copy.copies[0].bufferSize.height = copySize.height + texelOffset.y; in Compute2DTextureCopySubresource()
198 copy.copies[0].bufferSize.depthOrArrayLayers = copySize.depthOrArrayLayers; in Compute2DTextureCopySubresource()
220 copy.copies[1].bufferSize.width = copy.copies[1].copySize.width + texelOffsetForCopy1.x; in Compute2DTextureCopySubresource()
221 copy.copies[1].bufferSize.height = copySize.height + texelOffsetForCopy1.y; in Compute2DTextureCopySubresource()
222 copy.copies[1].bufferSize in Compute2DTextureCopySubresource()
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DPersistentCache.cpp33 blob.bufferSize = mCache->LoadData(ToAPI(mDevice), key.data(), key.size(), nullptr, 0); in LoadData()
34 if (blob.bufferSize > 0) { in LoadData()
35 blob.buffer.reset(new uint8_t[blob.bufferSize]); in LoadData()
36 const size_t bufferSize = mCache->LoadData(ToAPI(mDevice), key.data(), key.size(), in LoadData() local
37 blob.buffer.get(), blob.bufferSize); in LoadData()
38 ASSERT(bufferSize == blob.bufferSize); in LoadData()
H A DCommandBufferStateTracker.cpp98 uint64_t bufferSize = mVertexBufferSizes[usedSlotVertex]; in ValidateBufferInRangeForVertexBuffer() local
101 DAWN_INVALID_IF(vertexBuffer.usedBytesInStride > bufferSize, in ValidateBufferInRangeForVertexBuffer()
104 bufferSize, static_cast<uint8_t>(usedSlotVertex), in ValidateBufferInRangeForVertexBuffer()
113 requiredSize > bufferSize, in ValidateBufferInRangeForVertexBuffer()
116 firstVertex, vertexCount, requiredSize, bufferSize, in ValidateBufferInRangeForVertexBuffer()
137 uint64_t bufferSize = mVertexBufferSizes[usedSlotInstance]; in ValidateBufferInRangeForInstanceBuffer() local
139 DAWN_INVALID_IF(vertexBuffer.usedBytesInStride > bufferSize, in ValidateBufferInRangeForInstanceBuffer()
142 bufferSize, static_cast<uint8_t>(usedSlotInstance), in ValidateBufferInRangeForInstanceBuffer()
151 requiredSize > bufferSize, in ValidateBufferInRangeForInstanceBuffer()
154 firstInstance, instanceCount, requiredSize, bufferSize, in ValidateBufferInRangeForInstanceBuffer()
[all...]
/third_party/bounds_checking_function/src/
H A Dgets_s.c54 size_t bufferSize = ((destMax == (size_t)(-1)) ? SECUREC_STRING_MAX_LEN : destMax); in gets_s() local
56 size_t bufferSize = destMax; in gets_s()
59 if (buffer == NULL || bufferSize == 0 || bufferSize > SECUREC_STRING_MAX_LEN) { in gets_s()
64 if (fgets(buffer, (int)bufferSize, SECUREC_STREAM_STDIN) != NULL) { in gets_s()
65 SecTrimCRLF(buffer, bufferSize); in gets_s()
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_resample.cpp99 uint32 bufferSize = 0; in Initialize() local
101 !SafeUint32Mult(dstEntries, sizeof(int32), &bufferSize)) { in Initialize()
105 fCoords.Reset (allocator.Allocate (bufferSize)); in Initialize()
188 uint32 bufferSize = 0; in Initialize() local
190 if (!SafeUint32Mult (fWeightStep, kResampleSubsampleCount, &bufferSize) || in Initialize()
191 !SafeUint32Mult (bufferSize, (uint32) sizeof (real32), &bufferSize)) in Initialize()
198 fWeights32.Reset (allocator.Allocate (bufferSize)); in Initialize()
203 if (!SafeUint32Mult (fWeightStep, kResampleSubsampleCount, &bufferSize) || in Initialize()
204 !SafeUint32Mult (bufferSize, (uint3 in Initialize()
339 uint32 bufferSize = 0; Initialize() local
[all...]
/third_party/icu/icu4c/source/tools/toolutil/
H A Dflagparser.cpp18 static int32_t extractFlag(char* buffer, int32_t bufferSize, char* flag, int32_t flagSize, const char ** flagNames, int32_t numOfFlags, UErrorCode *status);
19 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize);
117 static int32_t extractFlag(char* buffer, int32_t bufferSize, char* flag, int32_t flagSize, const char **flagNames, int32_t numOfFlags, UErrorCode *status) { in extractFlag() argument
125 offset = getFlagOffset(buffer, bufferSize); in extractFlag()
165 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize) { in getFlagOffset() argument
168 for (offset = 0; offset < bufferSize;offset++) { in getFlagOffset()
175 if (offset == bufferSize || (offset - 1) == bufferSize) { in getFlagOffset()
/third_party/node/deps/icu-small/source/tools/toolutil/
H A Dflagparser.cpp18 static int32_t extractFlag(char* buffer, int32_t bufferSize, char* flag, int32_t flagSize, const char ** flagNames, int32_t numOfFlags, UErrorCode *status);
19 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize);
117 static int32_t extractFlag(char* buffer, int32_t bufferSize, char* flag, int32_t flagSize, const char **flagNames, int32_t numOfFlags, UErrorCode *status) { in extractFlag() argument
125 offset = getFlagOffset(buffer, bufferSize); in extractFlag()
165 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize) { in getFlagOffset() argument
168 for (offset = 0; offset < bufferSize;offset++) { in getFlagOffset()
175 if (offset == bufferSize || (offset - 1) == bufferSize) { in getFlagOffset()
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
H A Dflagparser.cpp18 static int32_t extractFlag(char* buffer, int32_t bufferSize, char* flag, int32_t flagSize, const char ** flagNames, int32_t numOfFlags, UErrorCode *status);
19 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize);
117 static int32_t extractFlag(char* buffer, int32_t bufferSize, char* flag, int32_t flagSize, const char **flagNames, int32_t numOfFlags, UErrorCode *status) { in extractFlag() argument
125 offset = getFlagOffset(buffer, bufferSize); in extractFlag()
165 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize) { in getFlagOffset() argument
168 for (offset = 0; offset < bufferSize;offset++) { in getFlagOffset()
175 if (offset == bufferSize || (offset - 1) == bufferSize) { in getFlagOffset()
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
H A DAudioStreamBase.java33 status.bufferSize = getBufferSizeInFrames(); in getStreamStatus()
48 public int bufferSize; field in AudioStreamBase.StreamStatus
60 if (bufferSize < 0 || framesWritten < 0) { in dump()
81 if (bufferSize < 0) { in dump()
84 int numBuffers = bufferSize / framesPerBurst; in dump()
85 int remainder = bufferSize - (numBuffers * framesPerBurst); in dump()
86 buffer.append(bufferSize + " = (" + numBuffers + " * " + framesPerBurst + ") + " + remainder); in dump()
151 public int setBufferSizeInFrames(int bufferSize) { in setBufferSizeInFrames() argument
152 throw new UnsupportedOperationException("bufferSize cannot be changed"); in setBufferSizeInFrames()
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/data/
H A DFontDataTests.java155 for (int bufferSize = 1; bufferSize < length; bufferSize += increments) { in slicingWriteTest()
157 writeFontDataWithBuffer(rfd.slice(trim, length), slice, bufferSize); in slicingWriteTest()
184 for (int bufferSize = 1; bufferSize <= length; bufferSize += increments) { in readComparison()
185 b1 = readFontDataWithBuffer(rfd1, bufferSize); in readComparison()
186 b2 = readFontDataWithBuffer(rfd2, bufferSize); in readComparison()
200 private static byte[] readFontDataWithBuffer(ReadableFontData rfd, int bufferSize) { in readFontDataWithBuffer() argument
234 writeFontDataWithBuffer( ReadableFontData rfd, WritableFontData wfd, int bufferSize) writeFontDataWithBuffer() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
H A DIndexBuffer9.cpp31 unsigned int bufferSize, in initialize()
39 if (bufferSize > 0) in initialize()
62 mRenderer->createIndexBuffer(bufferSize, usageFlags, format, &mIndexBuffer); in initialize()
67 mBufferSize = bufferSize; in initialize()
111 unsigned int bufferSize, in setSize()
114 if (bufferSize > mBufferSize || indexType != mIndexType) in setSize()
116 return initialize(context, bufferSize, indexType, mDynamic); in setSize()
30 initialize(const gl::Context *context, unsigned int bufferSize, gl::DrawElementsType indexType, bool dynamic) initialize() argument
110 setSize(const gl::Context *context, unsigned int bufferSize, gl::DrawElementsType indexType) setSize() argument
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A DIndexBuffer11.cpp30 unsigned int bufferSize, in initialize()
38 if (bufferSize > 0) in initialize()
41 bufferDesc.ByteWidth = bufferSize; in initialize()
60 mBufferSize = bufferSize; in initialize()
111 unsigned int bufferSize, in setSize()
114 if (bufferSize > mBufferSize || indexType != mIndexType) in setSize()
116 return initialize(context, bufferSize, indexType, mDynamicUsage); in setSize()
29 initialize(const gl::Context *context, unsigned int bufferSize, gl::DrawElementsType indexType, bool dynamic) initialize() argument
110 setSize(const gl::Context *context, unsigned int bufferSize, gl::DrawElementsType indexType) setSize() argument
/third_party/skia/third_party/externals/expat/expat/tests/benchmark/
H A Dbenchmark.c55 fprintf(stderr, "usage: %s [-n] filename bufferSize nr_of_loops\n", prog); in usage()
65 int nrOfLoops, bufferSize, fileSize, i, isFinal; in main() local
94 bufferSize = atoi(argv[j + 2]); in main()
96 if (bufferSize <= 0 || nrOfLoops <= 0) { in main()
118 if (parseBufferSize <= bufferSize) in main()
121 parseBufferSize = bufferSize; in main()
133 XMLBufPtr += bufferSize; in main()
145 nrOfLoops, bufferSize, cpuTime / (double)nrOfLoops); in main()
/third_party/vk-gl-cts/framework/delibs/destream/
H A DdeStreamCpyThread.c31 deUint8* buffer = malloc(sizeof(deUint8) * (size_t)thread->bufferSize); in cpyStream()
39 readResult = deInStream_read(thread->input, buffer, thread->bufferSize, &read); in cpyStream()
60 deStreamCpyThread* deStreamCpyThread_create (deInStream* input, deOutStream* output, deInt32 bufferSize) in deStreamCpyThread_create() argument
70 thread->bufferSize = bufferSize; in deStreamCpyThread_create()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DCopyCommandsValidationTests.cpp184 // Check the minimal valid bufferSize. in TestBothTBCopiesExactBufferSize()
185 uint64_t bufferSize = in TestBothTBCopiesExactBufferSize() local
188 CreateBuffer(bufferSize, wgpu::BufferUsage::CopySrc | wgpu::BufferUsage::CopyDst); in TestBothTBCopiesExactBufferSize()
192 // Check bufferSize was indeed minimal. in TestBothTBCopiesExactBufferSize()
193 uint64_t invalidSize = bufferSize - 1; in TestBothTBCopiesExactBufferSize()
351 constexpr uint64_t bufferSize = 4; in TEST_F() local
353 CreateBuffer(bufferSize, wgpu::BufferUsage::CopySrc | wgpu::BufferUsage::CopyDst); in TEST_F()
430 uint64_t bufferSize = BufferSizeForTextureCopy(4, 4, 1); in TEST_F() local
431 wgpu::Buffer source = CreateBuffer(bufferSize, wgpu::BufferUsage::CopySrc); in TEST_F()
447 TestB2TCopy(utils::Expectation::Success, source, bufferSize in TEST_F()
513 uint64_t bufferSize = BufferSizeForTextureCopy(4, 4, 1); TEST_F() local
545 uint64_t bufferSize = BufferSizeForTextureCopy(4, 4, 1); TEST_F() local
597 uint64_t bufferSize = BufferSizeForTextureCopy(128, 16, 1); TEST_F() local
655 uint64_t bufferSize = BufferSizeForTextureCopy(5, 5, 6); TEST_F() local
692 uint64_t bufferSize = BufferSizeForTextureCopy(4, 4, 1); TEST_F() local
724 uint64_t bufferSize = BufferSizeForTextureCopy(32, 32, 1); TEST_F() local
745 uint64_t bufferSize = BufferSizeForTextureCopy(16, 16, 1); TEST_F() local
783 uint64_t bufferSize = BufferSizeForTextureCopy(4, 4, 1); TEST_F() local
843 uint64_t bufferSize = BufferSizeForTextureCopy(4, 2, 1); TEST_F() local
868 uint64_t bufferSize = BufferSizeForTextureCopy(16, 16, 1, wgpu::TextureFormat::Depth32Float); TEST_F() local
889 uint64_t bufferSize = BufferSizeForTextureCopy(16, 16, 1, wgpu::TextureFormat::R8Uint); TEST_F() local
925 uint64_t bufferSize = BufferSizeForTextureCopy(8, 8, 1, wgpu::TextureFormat::R8Uint); TEST_F() local
947 uint64_t bufferSize = BufferSizeForTextureCopy(8, 8, 1, wgpu::TextureFormat::R8Uint); TEST_F() local
1011 uint64_t bufferSize = BufferSizeForTextureCopy(4, 4, 1); TEST_F() local
1122 uint64_t bufferSize = BufferSizeForTextureCopy(4, 4, 1); TEST_F() local
1145 uint64_t bufferSize = BufferSizeForTextureCopy(4, 4, 1); TEST_F() local
1178 uint64_t bufferSize = BufferSizeForTextureCopy(4, 4, 1); TEST_F() local
1189 uint64_t bufferSize = BufferSizeForTextureCopy(4, 4, 1); TEST_F() local
1206 uint64_t bufferSize = BufferSizeForTextureCopy(128, 16, 1); TEST_F() local
1264 uint64_t bufferSize = BufferSizeForTextureCopy(5, 5, 6); TEST_F() local
1301 uint64_t bufferSize = BufferSizeForTextureCopy(128, 16, 1); TEST_F() local
1334 uint64_t bufferSize = BufferSizeForTextureCopy(32, 32, 1); TEST_F() local
1357 uint64_t bufferSize = BufferSizeForTextureCopy(16, 16, 1); TEST_F() local
1382 uint64_t bufferSize = BufferSizeForTextureCopy(4, 4, 1); TEST_F() local
1459 uint64_t bufferSize = BufferSizeForTextureCopy(4, 2, 1); TEST_F() local
1481 uint64_t bufferSize = BufferSizeForTextureCopy(16, 16, 1, wgpu::TextureFormat::Depth32Float); TEST_F() local
1530 uint64_t bufferSize = BufferSizeForTextureCopy(16, 16, 1, wgpu::TextureFormat::R8Uint); TEST_F() local
[all...]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DCodedInputStream.java84 public static CodedInputStream newInstance(final InputStream input, int bufferSize) { in newInstance() argument
85 if (bufferSize <= 0) { in newInstance()
86 throw new IllegalArgumentException("bufferSize must be > 0"); in newInstance()
92 return new StreamDecoder(input, bufferSize); in newInstance()
2030 /** bufferSize represents how many bytes are currently filled in the buffer */
2031 private int bufferSize; field in CodedInputStream.StreamDecoder
2048 private StreamDecoder(final InputStream input, int bufferSize) { in StreamDecoder() argument
2051 this.buffer = new byte[bufferSize]; in StreamDecoder()
2052 this.bufferSize = 0; in StreamDecoder()
2254 if (size > 0 && size <= (bufferSize in readString()
[all...]
/third_party/skia/src/gpu/tessellate/
H A DPathCurveTessellator.h43 static void WriteFixedVertexBuffer(VertexWriter, size_t bufferSize);
51 static void WriteFixedIndexBuffer(VertexWriter vertexWriter, size_t bufferSize) { in WriteFixedIndexBuffer() argument
52 WriteFixedIndexBufferBaseIndex(std::move(vertexWriter), bufferSize, 0); in WriteFixedIndexBuffer() local
55 static void WriteFixedIndexBufferBaseIndex(VertexWriter, size_t bufferSize, uint16_t baseIndex);

Completed in 18 milliseconds

12345678910>>...20