Home
last modified time | relevance | path

Searched refs:minSize (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium/chrome/browser/ui/cocoa/
Dprofile_menu_button_unittest.mm56 NSSize minSize = [button minControlSize];
57 EXPECT_TRUE(NSEqualSizes(minSize, [button desiredControlSize]));
60 EXPECT_TRUE(NSEqualSizes(minSize, [button desiredControlSize]));
61 EXPECT_TRUE(NSEqualSizes(minSize, [button desiredControlSize]));
64 EXPECT_TRUE(NSEqualSizes(minSize, [button minControlSize]));
65 EXPECT_GT([button desiredControlSize].height, minSize.height);
66 EXPECT_GT([button desiredControlSize].width, minSize.width);
69 EXPECT_TRUE(NSEqualSizes(minSize, [button desiredControlSize]));
70 EXPECT_TRUE(NSEqualSizes(minSize, [button desiredControlSize]));
/external/srec/portable/src/
Dpstream.c388 int cbAvail, minSize; in PortFread() local
416 minSize = cbRemain < cbAvail ? cbRemain : cbAvail; in PortFread()
417 passert(minSize >= 0); in PortFread()
419 cbRemain -= minSize; in PortFread()
420 while (minSize-- > 0) in PortFread()
445 int cbAvail, minSize; in PortFwrite() local
493 minSize = cbWrite < cbAvail ? cbWrite : cbAvail; in PortFwrite()
495 memcpy((char *)PortFile->curPos, buffer, minSize); in PortFwrite()
496 buffer += minSize; in PortFwrite()
497 PortFile->curPos += minSize; in PortFwrite()
[all …]
/external/skia/bench/
DMemoryBench.cpp23 ChunkAllocBench(void* param, size_t minSize) : INHERITED(param) { in ChunkAllocBench() argument
24 fMinSize = minSize; in ChunkAllocBench()
25 fName.printf("chunkalloc_" SK_SIZE_T_SPECIFIER, minSize); in ChunkAllocBench()
/external/skia/src/core/
DSkChunkAlloc.cpp46 SkChunkAlloc::SkChunkAlloc(size_t minSize) { in SkChunkAlloc() argument
47 if (minSize < MIN_CHUNKALLOC_BLOCK_SIZE) { in SkChunkAlloc()
48 minSize = MIN_CHUNKALLOC_BLOCK_SIZE; in SkChunkAlloc()
52 fMinSize = minSize; in SkChunkAlloc()
DSkOrderedWriteBuffer.cpp17 SkOrderedWriteBuffer::SkOrderedWriteBuffer(size_t minSize) in SkOrderedWriteBuffer() argument
21 , fWriter(minSize) in SkOrderedWriteBuffer()
27 SkOrderedWriteBuffer::SkOrderedWriteBuffer(size_t minSize, void* storage, size_t storageSize) in SkOrderedWriteBuffer() argument
31 , fWriter(minSize, storage, storageSize) in SkOrderedWriteBuffer()
DSkOrderedWriteBuffer.h28 SkOrderedWriteBuffer(size_t minSize);
29 SkOrderedWriteBuffer(size_t minSize, void* initialStorage,
DSkPathRef.h425 size_t minSize = newSize + newReserve; variable
427 ptrdiff_t sizeDelta = this->currSize() - minSize;
429 if (sizeDelta < 0 || static_cast<size_t>(sizeDelta) >= 3 * minSize) {
436 this->makeSpace(minSize);
443 fFreeSpace = this->currSize() - minSize;
DSkWriter32.cpp10 SkWriter32::SkWriter32(size_t minSize, void* storage, size_t storageSize) { in SkWriter32() argument
11 fMinSize = minSize; in SkWriter32()
DSkPictureFlat.h589 SkChunkFlatController(size_t minSize) in SkChunkFlatController() argument
590 : fHeap(minSize) in SkChunkFlatController()
/external/skia/include/core/
DSkWriter32.h35 SkWriter32(size_t minSize, void* initialStorage, size_t storageSize);
37 SkWriter32(size_t minSize) in SkWriter32() argument
40 , fMinSize(minSize) in SkWriter32()
284 SkSWriter32(size_t minSize) : SkWriter32(minSize, fData.fStorage, SIZE) {} in SkSWriter32() argument
DSkChunkAlloc.h17 SkChunkAlloc(size_t minSize);
/external/icu4c/tools/genrb/
Dustr.c29 #define ALLOCATION(minSize) (minSize < 0x80 ? 0x80 : (2 * minSize + 0x80) & ~(0x80 - 1)) argument
/external/skia/legacy/include/core/
DSkWriter32.h24 SkWriter32(size_t minSize) in SkWriter32() argument
25 : fMinSize(minSize), in SkWriter32()
DSkChunkAlloc.h17 SkChunkAlloc(size_t minSize);
DSkFlattenable.h206 SkFlattenableWriteBuffer(size_t minSize);
/external/chromium/chrome/browser/extensions/
Dbrowser_action_apitest.cc164 gfx::Size minSize = BrowserActionTestUtil::GetMinPopupSize(); in IN_PROC_BROWSER_TEST_F() local
169 ASSERT_GT(minSize.height() + growFactor * 2, maxSize.height()); in IN_PROC_BROWSER_TEST_F()
170 ASSERT_GT(minSize.width() + growFactor * 2, maxSize.width()); in IN_PROC_BROWSER_TEST_F()
175 EXPECT_EQ(minSize, actions_bar.GetPopupBounds().size()); in IN_PROC_BROWSER_TEST_F()
/external/skia/legacy/src/core/
DSkChunkAlloc.cpp51 SkChunkAlloc::SkChunkAlloc(size_t minSize) in SkChunkAlloc() argument
52 : fBlock(NULL), fMinSize(SkAlign4(minSize)), fPool(NULL), fTotalCapacity(0) in SkChunkAlloc()
DSkFlattenable.cpp221 SkFlattenableWriteBuffer::SkFlattenableWriteBuffer(size_t minSize) : in SkFlattenableWriteBuffer() argument
222 INHERITED(minSize) { in SkFlattenableWriteBuffer()
/external/icu4c/test/cintltst/
Dcldrtest.c116 int32_t minSize; in TestKeyInRootRecursive() local
120 … const int32_t *subRootBundleArr = ures_getIntVector(subRootBundle, &minSize, &errorCode); in TestKeyInRootRecursive()
123 if (minSize > subBundleSize) { in TestKeyInRootRecursive()
124 minSize = subBundleSize; in TestKeyInRootRecursive()
131 for (idx = 0; idx < minSize && sameArray; idx++) { in TestKeyInRootRecursive()
166 int32_t minSize = ures_getSize(subRootBundle); in TestKeyInRootRecursive() local
170 if (minSize > ures_getSize(subBundle)) { in TestKeyInRootRecursive()
171 minSize = ures_getSize(subBundle); in TestKeyInRootRecursive()
195 for (idx = 0; idx < minSize; idx++) { in TestKeyInRootRecursive()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DXMPSerializerRDF.java143 int minSize = outputStream.getBytesWritten() + tailLength * unicodeSize; in addPadding() local
144 if (minSize > padding) in addPadding()
149 padding -= minSize; // Now the actual amount of padding to add. in addPadding()
/external/webkit/Source/WebCore/rendering/
DRenderListBox.cpp70 const int minSize = 4; variable
207 return max(minSize, specifiedSize); in size()
208 return min(max(minSize, numItems()), maxDefaultSize); in size()
DRenderThemeMac.h188 …void setControlSize(NSCell*, const IntSize* sizes, const IntSize& minSize, float zoomLevel = 1.0f);
DRenderThemeMac.mm640 void RenderThemeMac::setControlSize(NSCell* cell, const IntSize* sizes, const IntSize& minSize, flo…
643 if (minSize.width() >= static_cast<int>(sizes[NSRegularControlSize].width() * zoomLevel) &&
644 minSize.height() >= static_cast<int>(sizes[NSRegularControlSize].height() * zoomLevel))
646 else if (minSize.width() >= static_cast<int>(sizes[NSSmallControlSize].width() * zoomLevel) &&
647 minSize.height() >= static_cast<int>(sizes[NSSmallControlSize].height() * zoomLevel))
/external/chromium/chrome/browser/ui/cocoa/extensions/
Dextension_popup_controller.mm328 NSSize minSize = {ExtensionViewMac::kMinWidth, ExtensionViewMac::kMinHeight};
329 return minSize;
/external/webrtc/src/system_wrappers/source/spreadsortlib/
Dspreadsort.hpp1051 unsigned minSize = std::min(x.size(), y.size()); in operator ()() local
1052 for(unsigned u = fchar_offset; u < minSize; ++u) { in operator ()()
1069 unsigned minSize = std::min(x.size(), y.size()); in operator ()() local
1070 for(unsigned u = fchar_offset; u < minSize; ++u) { in operator ()()
1087 unsigned minSize = std::min(length(x), length(y)); in operator ()() local
1088 for(unsigned u = fchar_offset; u < minSize; ++u) { in operator ()()

12