/third_party/skia/third_party/externals/angle2/src/tests/preprocessor_tests/ |
H A D | input_test.cpp | 80 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 in TEST() 118 int maxSize = 1; TEST() local 158 size_t maxSize = 5; TEST() local 172 size_t maxSize = 11; TEST() local [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | TextureRectangleTest.cpp | 69 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() [all...] |
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_reduce_assign.cpp | 43 unsigned maxSize = 0; in setup_reduce_temp() local 51 maxSize = MAX2(maxSize, instr->operands[0].size()); in setup_reduce_temp() 56 if (maxSize == 0) in setup_reduce_temp() 59 assert(maxSize == 1 || maxSize == 2); in setup_reduce_temp() 60 Temp reduceTmp(0, RegClass(RegType::vgpr, maxSize).as_linear()); in setup_reduce_temp() 61 Temp vtmp(0, RegClass(RegType::vgpr, maxSize).as_linear()); in setup_reduce_temp()
|
/third_party/glslang/glslang/MachineIndependent/ |
H A D | Initialize.cpp | 7251 const int maxSize = 200; in initialize() local 7252 char builtInConstant[maxSize]; in initialize() 7259 snprintf(builtInConstant, maxSize, "const mediump int gl_MaxVertexAttribs = %d;", resources.maxVertexAttribs); in initialize() 7262 snprintf(builtInConstant, maxSize, "const mediump int gl_MaxVertexUniformVectors = %d;", resources.maxVertexUniformVectors); in initialize() 7265 snprintf(builtInConstant, maxSize, "const mediump int gl_MaxVertexTextureImageUnits = %d;", resources.maxVertexTextureImageUnits); in initialize() 7268 snprintf(builtInConstant, maxSize, "const mediump int gl_MaxCombinedTextureImageUnits = %d;", resources.maxCombinedTextureImageUnits); in initialize() 7271 snprintf(builtInConstant, maxSize, "const mediump int gl_MaxTextureImageUnits = %d;", resources.maxTextureImageUnits); in initialize() 7274 snprintf(builtInConstant, maxSize, "const mediump int gl_MaxFragmentUniformVectors = %d;", resources.maxFragmentUniformVectors); in initialize() 7277 snprintf(builtInConstant, maxSize, "const mediump int gl_MaxDrawBuffers = %d;", resources.maxDrawBuffers); in initialize() 7281 snprintf(builtInConstant, maxSize, "cons in initialize() [all...] |
H A D | intermOut.cpp | 1219 const int maxSize = 340; in OutputDouble() local 1220 char buf[maxSize]; in OutputDouble() 1224 int len = snprintf(buf, maxSize, format, value); in OutputDouble() 1225 assert(len < maxSize); in OutputDouble() 1285 const int maxSize = 300; in OutputConstantUnion() local 1286 char buf[maxSize]; in OutputConstantUnion() 1287 snprintf(buf, maxSize, "%d (%s)", constUnion[i].getI8Const(), "const int8_t"); in OutputConstantUnion() 1294 const int maxSize = 300; in OutputConstantUnion() local 1295 char buf[maxSize]; in OutputConstantUnion() 1296 snprintf(buf, maxSize, " in OutputConstantUnion() 1303 const int maxSize = 300; OutputConstantUnion() local 1312 const int maxSize = 300; OutputConstantUnion() local 1321 const int maxSize = 300; OutputConstantUnion() local 1330 const int maxSize = 300; OutputConstantUnion() local 1339 const int maxSize = 300; OutputConstantUnion() local 1348 const int maxSize = 300; OutputConstantUnion() local [all...] |
H A D | PoolAlloc.cpp | 146 const int maxSize = 80; in checkGuardBlock() local 147 char assertMsg[maxSize]; in checkGuardBlock() 150 snprintf(assertMsg, maxSize, "PoolAlloc: Damage %s %zu byte allocation at 0x%p\n", in checkGuardBlock()
|
/third_party/skia/src/core/ |
H A D | SkBlockAllocator.cpp | 197 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() 241 // maxSize will be sufficient for the requested minimumSize in addBlock() 242 allocSize = maxSize; in addBlock() 245 maxSize); in addBlock() 248 SkASSERT(minSize == maxSize); in addBlock()
|
H A D | SkArenaAlloc.cpp | 71 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/angle2/src/compiler/preprocessor/ |
H A D | Input.cpp | 52 size_t Input::read(char *buf, size_t maxSize, int *lineNo) 57 if (mReadLoc.sIndex < mCount && maxSize > 0) 98 size_t maxRead = maxSize; 102 size = std::min(size, maxSize);
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/preprocessor/ |
H A D | Input.cpp | 60 size_t Input::read(char *buf, size_t maxSize, int *lineNo) 65 if (mReadLoc.sIndex < mCount && maxSize > 0) 106 size_t maxRead = maxSize; 110 size = std::min(size, maxSize);
|
/third_party/lzma/CPP/Windows/ |
H A D | FileMapping.h | 15 WRes Create(DWORD protect, UInt64 maxSize, LPCTSTR name)
in Create() argument 17 _handle = ::CreateFileMapping(INVALID_HANDLE_VALUE, NULL, protect, (DWORD)(maxSize >> 32), (DWORD)maxSize, name);
in Create()
|
/third_party/icu/icu4c/source/tools/gencmn/ |
H A D | gencmn.c | 53 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/ |
H A D | gencmn.c | 53 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/skia/third_party/externals/icu/source/tools/gencmn/ |
H A D | gencmn.c | 53 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/skia/src/codec/ |
H A D | SkIcoCodec.cpp | 119 static const int maxSize = 256; in MakeFromStream() local 123 width = maxSize; in MakeFromStream() 126 height = maxSize; in MakeFromStream() 213 size_t maxSize = 0; in MakeFromStream() local 219 if (size > maxSize) { in MakeFromStream() 220 maxSize = size; in MakeFromStream()
|
/third_party/node/deps/npm/node_modules/lru-cache/dist/commonjs/ |
H A D | index.js | 134 * {@link OptionsBase.max} and {@link OptionsBase.maxSize}) are added as 140 // properties coming in from the options of these, only max and maxSize 144 #maxSize; 270 * {@link LRUCache.OptionsBase.maxSize} (read-only) 272 get maxSize() { 273 return this.#maxSize; 306 const { max = 0, ttl, ttlResolution = 1, ttlAutopurge, updateAgeOnGet, updateAgeOnHas, allowStale, dispose, disposeAfter, noDisposeOnSet, noUpdateTTL, maxSize = 0, maxEntrySize = 0, sizeCalculation, fetchMethod, noDeleteOnFetchRejection, noDeleteOnStaleGet, allowStaleOnFetchRejection, allowStaleOnFetchAbort, ignoreFetchAbort, } = options; 315 this.#maxSize = maxSize; 316 this.maxEntrySize = maxEntrySize || this.#maxSize; [all...] |
/third_party/node/deps/npm/node_modules/lru-cache/dist/esm/ |
H A D | index.js | 131 * {@link OptionsBase.max} and {@link OptionsBase.maxSize}) are added as 137 // properties coming in from the options of these, only max and maxSize 141 #maxSize; 267 * {@link LRUCache.OptionsBase.maxSize} (read-only) 269 get maxSize() { 270 return this.#maxSize; 303 const { max = 0, ttl, ttlResolution = 1, ttlAutopurge, updateAgeOnGet, updateAgeOnHas, allowStale, dispose, disposeAfter, noDisposeOnSet, noUpdateTTL, maxSize = 0, maxEntrySize = 0, sizeCalculation, fetchMethod, noDeleteOnFetchRejection, noDeleteOnStaleGet, allowStaleOnFetchRejection, allowStaleOnFetchAbort, ignoreFetchAbort, } = options; 312 this.#maxSize = maxSize; 313 this.maxEntrySize = maxEntrySize || this.#maxSize; [all...] |
/third_party/glslang/glslang/Include/ |
H A D | InfoSink.h | 98 const int maxSize = 24; in location() local 99 char locText[maxSize]; in location() 100 snprintf(locText, maxSize, ":%d", loc.line); in location()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiDriverPropertiesTests.cpp | 50 DE_INLINE bool isNullTerminated(const char* str, const deUint32 maxSize) in isNullTerminated() argument 52 return deStrnlen(str, maxSize) < maxSize; in isNullTerminated()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | BlobCache.h | 142 size_t maxSize() const { return mBlobCache.maxSize(); } 148 bool isCachingEnabled() const { return areBlobCacheFuncsSet() || maxSize() > 0; }
|
/third_party/vk-gl-cts/framework/delibs/debase/ |
H A D | deString.c | 178 size_t deStrnlen (const char* string, size_t maxSize) in deStrnlen() argument 181 return strnlen_s(string, maxSize); in deStrnlen() 184 while (len < maxSize && string[len] != 0) in deStrnlen()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | BuddyAllocator.cpp | 22 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()
|
H A D | RingBufferAllocator.cpp | 31 RingBufferAllocator::RingBufferAllocator(uint64_t maxSize) : mMaxBlockSize(maxSize) { in RingBufferAllocator() argument
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiDriverPropertiesTests.cpp | 108 DE_INLINE bool isNullTerminated(const char* str, const deUint32 maxSize) in isNullTerminated() argument 110 return deStrnlen(str, maxSize) < maxSize; in isNullTerminated()
|
/third_party/skia/third_party/externals/oboe/src/common/ |
H A D | QuirksManager.cpp | 51 int32_t maxSize = stream.getBufferCapacityInFrames() - (topMargin * burst); in clipBufferSize() local 52 if (adjustedSize > maxSize ) { in clipBufferSize() 53 adjustedSize = maxSize; in clipBufferSize()
|