Home
last modified time | relevance | path

Searched refs:maxSize (Results 1 – 25 of 102) sorted by relevance

12345

/third_party/skia/third_party/externals/angle2/src/tests/preprocessor_tests/
Dinput_test.cpp80 int maxSize = 1; in TEST() local
83 EXPECT_EQ(1u, input1.read(buf, maxSize, &lineNo)); in TEST()
85 EXPECT_EQ(1u, input1.read(buf, maxSize, &lineNo)); in TEST()
87 EXPECT_EQ(1u, input1.read(buf, maxSize, &lineNo)); in TEST()
89 EXPECT_EQ(0u, input1.read(buf, maxSize, &lineNo)); in TEST()
91 maxSize = 2; in TEST()
93 EXPECT_EQ(2u, input2.read(buf, maxSize, &lineNo)); in TEST()
95 EXPECT_EQ(1u, input2.read(buf, maxSize, &lineNo)); in TEST()
97 EXPECT_EQ(0u, input2.read(buf, maxSize, &lineNo)); in TEST()
99 maxSize = 3; in TEST()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/preprocessor_tests/
Dinput_test.cpp80 int maxSize = 1; in TEST() local
83 EXPECT_EQ(1u, input1.read(buf, maxSize, &lineNo)); in TEST()
85 EXPECT_EQ(1u, input1.read(buf, maxSize, &lineNo)); in TEST()
87 EXPECT_EQ(1u, input1.read(buf, maxSize, &lineNo)); in TEST()
89 EXPECT_EQ(0u, input1.read(buf, maxSize, &lineNo)); in TEST()
91 maxSize = 2; in TEST()
93 EXPECT_EQ(2u, input2.read(buf, maxSize, &lineNo)); in TEST()
95 EXPECT_EQ(1u, input2.read(buf, maxSize, &lineNo)); in TEST()
97 EXPECT_EQ(0u, input2.read(buf, maxSize, &lineNo)); in TEST()
99 maxSize = 3; in TEST()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DTextureRectangleTest.cpp66 GLint maxSize = 0; in TEST_P() local
67 glGetIntegerv(GL_MAX_RECTANGLE_TEXTURE_SIZE_ANGLE, &maxSize); in TEST_P()
73 glTexImage2D(GL_TEXTURE_RECTANGLE_ANGLE, 0, GL_RGBA, maxSize, maxSize, 0, GL_RGBA, in TEST_P()
80 glTexImage2D(GL_TEXTURE_RECTANGLE_ANGLE, 0, GL_RGBA, maxSize + 1, maxSize, 0, GL_RGBA, in TEST_P()
83 glTexImage2D(GL_TEXTURE_RECTANGLE_ANGLE, 0, GL_RGBA, maxSize, maxSize + 1, 0, GL_RGBA, in TEST_P()
153 GLint maxSize = 0; in TEST_P() local
154 glGetIntegerv(GL_MAX_RECTANGLE_TEXTURE_SIZE_ANGLE, &maxSize); in TEST_P()
162 TexStorage2D(GL_TEXTURE_RECTANGLE_ANGLE, 1, GL_RGBA8UI, maxSize, maxSize); in TEST_P()
171 TexStorage2D(GL_TEXTURE_RECTANGLE_ANGLE, 1, GL_RGBA8UI, maxSize + 1, maxSize); in TEST_P()
173 TexStorage2D(GL_TEXTURE_RECTANGLE_ANGLE, 1, GL_RGBA8UI, maxSize, maxSize + 1); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DTextureRectangleTest.cpp69 GLint maxSize = 0; in TEST_P() local
70 glGetIntegerv(GL_MAX_RECTANGLE_TEXTURE_SIZE_ANGLE, &maxSize); in TEST_P()
76 glTexImage2D(GL_TEXTURE_RECTANGLE_ANGLE, 0, GL_RGBA, maxSize, maxSize, 0, GL_RGBA, in TEST_P()
83 glTexImage2D(GL_TEXTURE_RECTANGLE_ANGLE, 0, GL_RGBA, maxSize + 1, maxSize, 0, GL_RGBA, in TEST_P()
86 glTexImage2D(GL_TEXTURE_RECTANGLE_ANGLE, 0, GL_RGBA, maxSize, maxSize + 1, 0, GL_RGBA, in TEST_P()
159 GLint maxSize = 0; in TEST_P() local
160 glGetIntegerv(GL_MAX_RECTANGLE_TEXTURE_SIZE_ANGLE, &maxSize); in TEST_P()
168 TexStorage2D(GL_TEXTURE_RECTANGLE_ANGLE, 1, GL_RGBA8, maxSize, maxSize); in TEST_P()
177 TexStorage2D(GL_TEXTURE_RECTANGLE_ANGLE, 1, GL_RGBA8, maxSize + 1, maxSize); in TEST_P()
179 TexStorage2D(GL_TEXTURE_RECTANGLE_ANGLE, 1, GL_RGBA8, maxSize, maxSize + 1); in TEST_P()
/third_party/node/test/parallel/
Dtest-http-abort-stream-end.js28 const maxSize = 1024; constant
35 for (let i = 0; i < maxSize; i++) {
46 if (size > maxSize) {
49 size = maxSize;
53 req.on('abort', common.mustCall(() => assert.strictEqual(size, maxSize)));
/third_party/flutter/skia/tests/
DPackBitsTest.cpp38 size_t maxSize = SkPackBits::ComputeMaxSize8(gTests[i].fCount); in test_pack8() local
40 gTests[i].fCount, dst, maxSize - 1); in test_pack8()
44 REPORTER_ASSERT(reporter, dstSize <= maxSize); in test_pack8()
62 size_t maxSize = SkPackBits::ComputeMaxSize8(size); in test_pack8() local
63 REPORTER_ASSERT(reporter, maxSize >= dstSize); in test_pack8()
/third_party/flutter/skia/src/core/
DSkArenaAlloc.cpp103 constexpr uint32_t maxSize = std::numeric_limits<uint32_t>::max(); in ensureSpace() local
105 AssertRelease(size <= maxSize - overhead); in ensureSpace()
109 AssertRelease(objSizeAndOverhead <= maxSize - alignmentOverhead); in ensureSpace()
114 if (fFirstHeapAllocationSize <= maxSize / fFib0) { in ensureSpace()
119 minAllocationSize = maxSize; in ensureSpace()
127 AssertRelease(allocationSize <= maxSize - mask); in ensureSpace()
/third_party/skia/third_party/externals/angle2/src/compiler/preprocessor/
DInput.cpp52 size_t Input::read(char *buf, size_t maxSize, int *lineNo) in read() argument
57 if (mReadLoc.sIndex < mCount && maxSize > 0) in read()
98 size_t maxRead = maxSize; in read()
102 size = std::min(size, maxSize); in read()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/preprocessor/
DInput.cpp52 size_t Input::read(char *buf, size_t maxSize, int *lineNo) in read() argument
57 if (mReadLoc.sIndex < mCount && maxSize > 0) in read()
98 size_t maxRead = maxSize; in read()
102 size = std::min(size, maxSize); in read()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/preprocessor/
DInput.cpp60 size_t Input::read(char *buf, size_t maxSize, int *lineNo) in read() argument
65 if (mReadLoc.sIndex < mCount && maxSize > 0) in read()
106 size_t maxRead = maxSize; in read()
110 size = std::min(size, maxSize); in read()
/third_party/mingw-w64/mingw-w64-headers/include/
Dnapenforcementclient.h355 ProtocolMaxSize maxSize) = 0;
358 ProtocolMaxSize *maxSize) = 0;
438 ProtocolMaxSize maxSize);
442 ProtocolMaxSize *maxSize);
527 …ine INapEnforcementClientConnection_SetMaxSize(This,maxSize) (This)->lpVtbl->SetMaxSize(This,maxSi…
528 …ine INapEnforcementClientConnection_GetMaxSize(This,maxSize) (This)->lpVtbl->GetMaxSize(This,maxSi…
561 …rcementClientConnection_SetMaxSize(INapEnforcementClientConnection* This,ProtocolMaxSize maxSize) {
562 return This->lpVtbl->SetMaxSize(This,maxSize);
564 …cementClientConnection_GetMaxSize(INapEnforcementClientConnection* This,ProtocolMaxSize *maxSize) {
565 return This->lpVtbl->GetMaxSize(This,maxSize);
[all …]
/third_party/iowow/src/platform/win32/mman/
Dmman.c70 const OffsetType maxSize = off + (OffsetType)len; in mmap() local
72 (DWORD)maxSize : (DWORD)(maxSize & 0xFFFFFFFFL); in mmap()
74 (DWORD)0 : (DWORD)((maxSize >> 32) & 0xFFFFFFFFL); in mmap()
/third_party/skia/src/core/
DSkBlockAllocator.cpp197 void SkBlockAllocator::addBlock(int minSize, int maxSize) { in addBlock() argument
198 SkASSERT(minSize > (int) sizeof(Block) && minSize <= maxSize); in addBlock()
220 } else if (minSize < maxSize) { in addBlock()
239 if (maxSize / sizeIncrement < nextN1) { in addBlock()
242 allocSize = maxSize; in addBlock()
245 maxSize); in addBlock()
248 SkASSERT(minSize == maxSize); in addBlock()
DSkArenaAlloc.cpp71 constexpr uint32_t maxSize = std::numeric_limits<uint32_t>::max(); in ensureSpace() local
73 AssertRelease(size <= maxSize - overhead); in ensureSpace()
77 AssertRelease(objSizeAndOverhead <= maxSize - alignmentOverhead); in ensureSpace()
87 AssertRelease(allocationSize <= maxSize - mask); in ensureSpace()
/third_party/skia/third_party/externals/icu/source/tools/gencmn/
Dgencmn.c53 uint32_t maxSize; in main() local
106 maxSize=(uint32_t)uprv_strtoul(argv[1], NULL, 0); in main()
115 maxSize, sourceTOC, verbose, NULL); in main()
/third_party/node/deps/icu-small/source/tools/gencmn/
Dgencmn.c53 uint32_t maxSize; in main() local
106 maxSize=(uint32_t)uprv_strtoul(argv[1], NULL, 0); in main()
115 maxSize, sourceTOC, verbose, NULL); in main()
/third_party/flutter/skia/third_party/externals/icu/source/tools/gencmn/
Dgencmn.c53 uint32_t maxSize; in main() local
106 maxSize=(uint32_t)uprv_strtoul(argv[1], NULL, 0); in main()
115 maxSize, sourceTOC, verbose, NULL); in main()
/third_party/icu/icu4c/source/tools/gencmn/
Dgencmn.c53 uint32_t maxSize; in main() local
106 maxSize=(uint32_t)uprv_strtoul(argv[1], NULL, 0); in main()
115 maxSize, sourceTOC, verbose, NULL); in main()
/third_party/libxml2/fuzz/
Dxml.c36 size_t maxSize, docSize, consumed, chunkSize; in LLVMFuzzerTestOneInput() local
43 maxSize = opts & XML_PARSE_NOENT ? 50000 : 500000; in LLVMFuzzerTestOneInput()
44 if (size > maxSize) in LLVMFuzzerTestOneInput()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DBlobCache.h134 size_t maxSize() const { return mBlobCache.maxSize(); }
140 bool isCachingEnabled() const { return areBlobCacheFuncsSet() || maxSize() > 0; }
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DBuddyAllocator.cpp22 BuddyAllocator::BuddyAllocator(uint64_t maxSize) : mMaxBlockSize(maxSize) { in BuddyAllocator() argument
23 ASSERT(IsPowerOfTwo(maxSize)); in BuddyAllocator()
28 mRoot = new BuddyBlock(maxSize, /*offset*/ 0); in BuddyAllocator()
DRingBufferAllocator.cpp31 RingBufferAllocator::RingBufferAllocator(uint64_t maxSize) : mMaxBlockSize(maxSize) { in RingBufferAllocator() argument
/third_party/parse5/test/utils/
Dcommon.js40 function makeChunks(str, minSize, maxSize) { argument
49 let end = Math.min(getRandomChunkSize(minSize, maxSize), str.length, 1);
54 end = Math.min(end + getRandomChunkSize(minSize, maxSize), str.length);
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DBlobCache.h142 size_t maxSize() const { return mBlobCache.maxSize(); }
148 bool isCachingEnabled() const { return areBlobCacheFuncsSet() || maxSize() > 0; }
/third_party/skia/third_party/externals/oboe/src/common/
DQuirksManager.cpp51 int32_t maxSize = stream.getBufferCapacityInFrames() - (topMargin * burst); in clipBufferSize() local
52 if (adjustedSize > maxSize ) { in clipBufferSize()
53 adjustedSize = maxSize; in clipBufferSize()

12345