Searched defs:maxSize (Results 1 - 25 of 75) sorted by relevance

123

/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-319722-TypedArrays.js30 var maxSize = %MaxSmi() + 1; variable
33 new constr(maxSize);
H A Dregress-319722-ArrayBuffer.js29 var maxSize = %MaxSmi() + 1; variable
35 ab = new ArrayBuffer(maxSize * k);
45 new constr(ab, 0, maxSize);
/external/chromium_org/third_party/angle/tests/preprocessor_tests/
H A Dinput_test.cpp79 int maxSize = 1; local
81 EXPECT_EQ(1u, input1.read(buf, maxSize));
83 EXPECT_EQ(1u, input1.read(buf, maxSize));
85 EXPECT_EQ(1u, input1.read(buf, maxSize));
87 EXPECT_EQ(0u, input1.read(buf, maxSize));
89 maxSize = 2;
91 EXPECT_EQ(2u, input2.read(buf, maxSize));
93 EXPECT_EQ(1u, input2.read(buf, maxSize));
95 EXPECT_EQ(0u, input2.read(buf, maxSize));
97 maxSize
116 int maxSize = 1; local
155 size_t maxSize = 5; local
[all...]
/external/chromium_org/third_party/icu/source/tools/gencmn/
H A Dgencmn.c51 uint32_t maxSize; local
104 maxSize=(uint32_t)uprv_strtoul(argv[1], NULL, 0);
113 maxSize, sourceTOC, verbose, NULL);
/external/icu4c/tools/gencmn/
H A Dgencmn.c51 uint32_t maxSize; local
104 maxSize=(uint32_t)uprv_strtoul(argv[1], NULL, 0);
113 maxSize, sourceTOC, verbose, NULL);
/external/smack/src/org/jivesoftware/smackx/muc/
H A DConnectionDetachedPacketCollector.java59 public ConnectionDetachedPacketCollector(int maxSize) { argument
60 this.resultQueue = new ArrayBlockingQueue<Packet>(maxSize);
/external/dexmaker/src/dx/java/com/android/dx/io/instructions/
H A DShortArrayCodeOutput.java30 * @param maxSize the maximum number of code units that will be written
32 public ShortArrayCodeOutput(int maxSize) { argument
33 if (maxSize < 0) {
34 throw new IllegalArgumentException("maxSize < 0");
37 this.array = new short[maxSize];
/external/lzma/CPP/Windows/
H A DFileMapping.h15 WRes Create(DWORD protect, UInt64 maxSize, LPCTSTR name) argument
17 _handle = ::CreateFileMapping(INVALID_HANDLE_VALUE, NULL, protect, (DWORD)(maxSize >> 32), (DWORD)maxSize, name);
/external/skia/bench/
H A DMemsetBench.cpp31 MemsetBench(MemsetType type, size_t minSize, size_t maxSize) { argument
32 SkASSERT((minSize < maxSize) && (maxSize <= kBufferSize));
34 fMaxSize = maxSize;
36 type, minSize, maxSize);
63 Memset32Bench(size_t minSize, size_t maxSize) argument
64 : INHERITED(MEMSET32, minSize, maxSize) {}
82 Memset16Bench(size_t minSize, size_t maxSize) argument
83 : INHERITED(MEMSET16, minSize, maxSize) {}
/external/smack/src/org/jivesoftware/smack/
H A DPacketCollector.java67 * @param maxSize the maximum number of packets that will be stored in the collector.
69 protected PacketCollector(Connection conection, PacketFilter packetFilter, int maxSize) { argument
72 this.resultQueue = new ArrayBlockingQueue<Packet>(maxSize);
/external/aac/libAACenc/src/
H A DaacEnc_ram.h156 #define maxSize(a,b) ( ((a)>(b)) ? (a) : (b) ) macro
177 #define BUF_SIZE_1 ( ALIGN_SIZE(maxSize(sizeof(PSY_DYNAMIC), \
/external/chromium/chrome/browser/extensions/
H A Dbrowser_action_apitest.cc166 gfx::Size maxSize = BrowserActionTestUtil::GetMaxPopupSize(); local
169 ASSERT_GT(minSize.height() + growFactor * 2, maxSize.height());
170 ASSERT_GT(minSize.width() + growFactor * 2, maxSize.width());
184 EXPECT_EQ(maxSize, actions_bar.GetPopupBounds().size());
/external/qemu/android/utils/
H A Dsystem.c86 size_t maxSize; local
91 maxSize = (~(size_t)0) / itemSize;
92 if (count > maxSize)
93 AASSERT_FAIL("allocation too large (%d > %d)\n", count, maxSize);
110 size_t maxSize; local
115 maxSize = (~(size_t)0) / itemSize;
116 if (count > maxSize)
118 itemSize, count, maxSize);
/external/dexmaker/src/dx/java/com/android/dx/rop/code/
H A DRegisterSpecSet.java43 * @param maxSize {@code >= 0;} the maximum register number (exclusive) that
46 public RegisterSpecSet(int maxSize) { argument
47 super(maxSize != 0);
49 this.specs = new RegisterSpec[maxSize];
/external/eigen/test/
H A Dnomalloc.cpp99 const int maxSize = 16; local
105 maxSize, maxSize> Matrix;
110 maxSize, 1> Vector;
115 maxSize, maxSize> ComplexMatrix;
/external/proguard/src/proguard/evaluation/
H A DTracedStack.java45 public TracedStack(int maxSize) argument
47 super(maxSize);
49 producerStack = new Stack(maxSize);
/external/skia/tests/
H A DPackBitsTest.cpp53 size_t maxSize = SkPackBits::ComputeMaxSize16(size); local
54 REPORTER_ASSERT(reporter, maxSize >= dstSize);
88 size_t maxSize = SkPackBits::ComputeMaxSize8(gTests[i].fCount); local
91 REPORTER_ASSERT(reporter, dstSize <= maxSize);
107 size_t maxSize = SkPackBits::ComputeMaxSize8(size); local
108 REPORTER_ASSERT(reporter, maxSize >= dstSize);
/external/chromium_org/chrome/browser/extensions/api/extension_action/
H A Dbrowser_action_apitest.cc351 gfx::Size maxSize = BrowserActionTestUtil::GetMaxPopupSize(); local
354 ASSERT_GT(minSize.height() + growFactor * 2, maxSize.height());
355 ASSERT_GT(minSize.width() + growFactor * 2, maxSize.width());
369 EXPECT_EQ(maxSize, actions_bar.GetPopupBounds().size());
/external/chromium_org/chrome/installer/util/
H A Dlzma_util.cc26 DWORD maxSize = *size; local
29 BOOL res = ReadFile(file, data, maxSize, &processedLoc, NULL);
31 maxSize -= processedLoc;
39 } while (maxSize > 0);
/external/chromium_org/third_party/WebKit/Source/core/platform/
H A DDragImage.cpp207 void DragImage::fitToMaxSize(const IntSize& srcSize, const IntSize& maxSize) argument
214 if (srcSize.width() > maxSize.width()) {
215 widthResizeRatio = maxSize.width() / static_cast<float>(srcSize.width());
219 if (srcSize.height() > maxSize.height()) {
220 heightResizeRatio = maxSize.height() / static_cast<float>(srcSize.height());
/external/chromium_org/third_party/WebKit/Source/modules/mediasource/
H A DSourceBuffer.cpp240 void SourceBuffer::appendStream(PassRefPtr<Stream> stream, unsigned long long maxSize, ExceptionState& exceptionState) argument
242 m_streamMaxSizeValid = maxSize > 0;
244 m_streamMaxSize = maxSize;
511 // https://dvcs.w3.org/hg/html-media/raw-file/default/media-source/media-source.html#widl-SourceBuffer-appendStream-void-Stream-stream-unsigned-long-long-maxSize
541 // 5. Asynchronously run the stream append loop algorithm with stream and maxSize.
558 // 1. If maxSize is set, then let bytesLeft equal maxSize.
559 // 2. Loop Top: If maxSize is set and bytesLeft equals 0, then jump to the loop done step below.
566 // Note: Passing 0 here signals that maxSize was not set. (i.e. Read all the data in the stream).
/external/chromium_org/third_party/icu/source/tools/toolutil/
H A Dpkg_gencmn.c77 static uint32_t maxSize; variable
124 maxSize = max_size;
438 /* do not add files that are longer than maxSize */
439 if(maxSize && length>maxSize) {
441 printf("%s ignored (size %ld > %ld)\n", fullPath, (long)length, (long)maxSize);
/external/chromium_org/third_party/skia/src/core/
H A DSkBitmapProcShader.cpp303 const int maxSize = 65535; local
305 return bm.width() > maxSize || bm.height() > maxSize;
/external/guava/guava-tests/test/com/google/common/cache/
H A DCacheTesting.java370 * Assuming the given cache has maximum size {@code maxSize}, this method populates the cache (by
376 static void checkRecency(LoadingCache<Integer, Integer> cache, int maxSize, argument
380 warmUp(cache, 0, 2 * maxSize);
385 assertEquals(maxSize, accessQueueSize(cache));
386 assertEquals(maxSize, cache.size());
/external/icu4c/tools/toolutil/
H A Dpkg_gencmn.c77 static uint32_t maxSize; variable
134 maxSize = max_size;
458 /* do not add files that are longer than maxSize */
459 if(maxSize && length>maxSize) {
461 printf("%s ignored (size %ld > %ld)\n", fullPath, (long)length, (long)maxSize);

Completed in 854 milliseconds

123