Home
last modified time | relevance | path

Searched refs:pageSize (Results 1 – 25 of 69) sorted by relevance

123

/external/chromium_org/third_party/angle/src/compiler/
DPoolAlloc.cpp53 pageSize(growthIncrement), in TPoolAllocator()
64 if (pageSize < 4*1024) in TPoolAllocator()
65 pageSize = 4*1024; in TPoolAllocator()
71 currentPageOffset = pageSize; in TPoolAllocator()
161 currentPageOffset = pageSize; in push()
228 if (allocationSize <= pageSize - currentPageOffset) { in allocate()
239 if (allocationSize > pageSize - headerSkip) { in allocate()
254 new(memory) tHeader(inUseList, (numBytesToAlloc + pageSize - 1) / pageSize); in allocate()
257 currentPageOffset = pageSize; // make next allocation come from a new page in allocate()
271 memory = reinterpret_cast<tHeader*>(::new char[pageSize]); in allocate()
/external/chromium_org/third_party/mach_override/
Dmach_override.c163 vm_size_t pageSize; in makeIslandExecutable() local
164 host_page_size( mach_host_self(), &pageSize ); in makeIslandExecutable()
165 uintptr_t page = (uintptr_t)address & ~(uintptr_t)(pageSize-1); in makeIslandExecutable()
167 e |= mprotect((void *)page, pageSize, PROT_EXEC | PROT_READ); in makeIslandExecutable()
168 e |= msync((void *)page, pageSize, MS_INVALIDATE ); in makeIslandExecutable()
396 vm_size_t pageSize; in allocateBranchIsland() local
397 err = host_page_size( mach_host_self(), &pageSize ); in allocateBranchIsland()
399 assert( sizeof( BranchIsland ) <= pageSize ); in allocateBranchIsland()
402 mach_error_t err = vm_allocate( mach_task_self(), &page, pageSize, VM_FLAGS_ANYWHERE ); in allocateBranchIsland()
412 vm_address_t last = 0xfe000000 + pageSize; in allocateBranchIsland()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/font/
DBitmapCharacterSet.java48 private int pageSize; field in BitmapCharacterSet
58 oc.write(pageSize, "pageSize", 0); in write()
95 pageSize = ic.readInt("pageSize", 0); in read()
204 ch.setPage(ch.getPage() + this.pageSize); in merge()
207 this.pageSize += styleSet.pageSize; in merge()
220 void setPageSize(int pageSize) { in setPageSize() argument
221 this.pageSize = pageSize; in setPageSize()
/external/compiler-rt/lib/
Denable_execute_stack.c44 const uintptr_t pageSize = 4096; in __enable_execute_stack() local
48 const uintptr_t pageSize = sysconf(_SC_PAGESIZE); in __enable_execute_stack()
51 const uintptr_t pageAlignMask = ~(pageSize-1); in __enable_execute_stack()
54 unsigned char* endPage = (unsigned char*)((p+TRAMPOLINE_SIZE+pageSize) & pageAlignMask); in __enable_execute_stack()
/external/chromium_org/third_party/sqlite/src/tool/
Dshowjournal.c12 static int pageSize = 1024; variable
89 pageSize = in decode_journal_header()
102 aData = read_content(pageSize+8, iOfst); in print_page()
129 cnt = (fileSize - sectorSize)/(pageSize+8); in main()
134 iOfst += pageSize+8; in main()
/external/chromium_org/chrome/browser/resources/print_preview/data/
Ddocument_info.js142 get pageSize() { getter in DocumentInfo
210 printableArea, pageSize, hasCssMediaStyles, margins) { argument
213 !this.pageSize_.equals(pageSize) ||
217 this.pageSize_ = pageSize;
/external/chromium_org/third_party/WebKit/Source/heap/
DHeap.cpp65 static const size_t pageSize = getpagesize(); in osPageSize() local
67 static size_t pageSize = 0; in osPageSize()
68 if (!pageSize) { in osPageSize()
71 pageSize = info.dwPageSize; in osPageSize()
72 ASSERT(IsPowerOf2(pageSize)); in osPageSize()
75 return pageSize; in osPageSize()
/external/chromium_org/third_party/sqlite/src/src/
Dpager.c666 int pageSize; /* Number of bytes in a page */ member
739 #define JOURNAL_PG_SZ(pPager) ((pPager->pageSize) + 8)
1132 szPage = pPager->pageSize; in jrnlBufferSize()
1163 return pager_datahash(pPage->pPager->pageSize, (unsigned char *)pPage->pData); in pager_pagehash()
1351 u32 nHeader = (u32)pPager->pageSize;/* Size of buffer pointed to by zHeader */ in writeJournalHdr()
1412 put32bits(&zHeader[sizeof(aJournalMagic)+16], pPager->pageSize); in writeJournalHdr()
1531 iPageSize = pPager->pageSize; in readJournalHdr()
2046 int i = pPager->pageSize-200; /* Loop counter */ in pager_cksum()
2061 pPager->xCodecSizeChng(pPager->pCodec, pPager->pageSize, in pagerReportSize()
2147 rc = sqlite3OsRead(jfd, (u8*)aData, pPager->pageSize, (*pOffset)+4); in pager_playback_one_page()
[all …]
DbtreeInt.h221 #define MX_CELL_SIZE(pBt) ((int)(pBt->pageSize-8))
228 #define MX_CELL(pBt) ((pBt->pageSize-8)/6)
423 u32 pageSize; /* Total number of bytes on a page */ member
Dbtree.c1396 assert( pBt->pageSize>=512 && pBt->pageSize<=65536 ); in btreeInitPage()
1397 pPage->maskPage = (u16)(pBt->pageSize - 1); in btreeInitPage()
1505 assert( pBt->pageSize>=512 && pBt->pageSize<=65536 ); in zeroPage()
1506 pPage->maskPage = (u16)(pBt->pageSize - 1); in zeroPage()
1840 pBt->pageSize = (zDbHeader[16]<<8) | (zDbHeader[17]<<16); in sqlite3BtreeOpen()
1841 if( pBt->pageSize<512 || pBt->pageSize>SQLITE_MAX_PAGE_SIZE in sqlite3BtreeOpen()
1842 || ((pBt->pageSize-1)&pBt->pageSize)!=0 ){ in sqlite3BtreeOpen()
1843 pBt->pageSize = 0; in sqlite3BtreeOpen()
1865 rc = sqlite3PagerSetPagesize(pBt->pPager, &pBt->pageSize, nReserve); in sqlite3BtreeOpen()
1867 pBt->usableSize = pBt->pageSize - nReserve; in sqlite3BtreeOpen()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/page/
DPrintContext.cpp72 …FloatSize pageSize = m_frame->resizePageRectsKeepingRatio(FloatSize(printRect.width(), printRect.h… in computePageRects() local
73 float pageWidth = pageSize.width(); in computePageRects()
74 float pageHeight = pageSize.height(); in computePageRects()
329 …return String::number(style->pageSize().width().value()) + ' ' + String::number(style->pageSize().… in pageProperty()
341 IntSize pageSize(width, height); in pageSizeAndMarginsInPixels() local
342 …frame->document()->pageSizeAndMarginsInPixels(pageNumber, pageSize, marginTop, marginRight, margin… in pageSizeAndMarginsInPixels()
344 … return "(" + String::number(pageSize.width()) + ", " + String::number(pageSize.height()) + ") " + in pageSizeAndMarginsInPixels()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DIndexedDBModel.js334 …loadObjectStoreData: function(databaseId, objectStoreName, idbKeyRange, skipCount, pageSize, callb… argument
336 …Data(databaseId, databaseId.name, objectStoreName, "", idbKeyRange, skipCount, pageSize, callback);
348 …xData: function(databaseId, objectStoreName, indexName, idbKeyRange, skipCount, pageSize, callback) argument
350 …tabaseId, databaseId.name, objectStoreName, indexName, idbKeyRange, skipCount, pageSize, callback);
363 …n(databaseId, databaseName, objectStoreName, indexName, idbKeyRange, skipCount, pageSize, callback) argument
391 …Id.securityOrigin, databaseName, objectStoreName, indexName, skipCount, pageSize, keyRange ? keyRa…
DIndexedDBViews.js302 var pageSize = this._pageSize;
307 …if (!force && this._lastKey === key && this._lastPageSize === pageSize && this._lastSkipCount === …
310 if (this._lastKey !== key || this._lastPageSize !== pageSize) {
315 this._lastPageSize = pageSize;
346 …seId, this._objectStore.name, this._index.name, idbKeyRange, skipCount, pageSize, callback.bind(th…
348 …eData(this._databaseId, this._objectStore.name, idbKeyRange, skipCount, pageSize, callback.bind(th…
/external/chromium_org/third_party/WebKit/Source/wtf/
DPartitionAlloc.cpp59 size_t pageSize = kSystemPageSize * i; in partitionBucketPageSize() local
60 size_t numSlots = pageSize / size; in partitionBucketPageSize()
61 size_t waste = pageSize - (numSlots * size); in partitionBucketPageSize()
65 double wasteRatio = (double) waste / (double) pageSize; in partitionBucketPageSize()
97 bucket->pageSize = partitionBucketPageSize(size); in partitionAllocInit()
245 return bucket->pageSize / partitionBucketSize(bucket); in partitionBucketSlots()
534 size_t bucketWaste = bucket.pageSize - bucketUsefulStorage; in partitionDumpStats()
536 size_t numResidentBytes = bucket.numFullPages * bucket.pageSize; in partitionDumpStats()
556 …u full/active/free pages\n", bucketSlotSize, static_cast<size_t>(bucket.pageSize), bucketWaste, nu… in partitionDumpStats()
DPartitionAllocTest.cpp84 size_t numSlots = bucket->pageSize / realSize; in GetFullPage()
107 size_t numSlots = page->bucket->pageSize / size; in FreeFullPage()
528 size_t totalSlots = page->bucket->pageSize / (mediumSize + kExtraAllocSize); in TEST()
543 totalSlots = page->bucket->pageSize / (smallSize + kExtraAllocSize); in TEST()
560 totalSlots = page->bucket->pageSize / (verySmallSize + kExtraAllocSize); in TEST()
616 if (bucket->pageSize < WTF::kPartitionPageSize) in TEST()
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/sqlite/
DSQLiteDatabase.cpp159 return maxPageCount * pageSize(); in maximumSize()
167 int currentPageSize = pageSize(); in setMaximumSize()
188 int SQLiteDatabase::pageSize() in pageSize() function in WebCore::SQLiteDatabase
218 return freelistCount * pageSize(); in freeSpaceSize()
233 return pageCount * pageSize(); in totalSize()
/external/chromium_org/skia/ext/
Dvector_platform_device_skia.cc23 const SkISize& pageSize, in VectorPlatformDeviceSkia() argument
26 : SkPDFDevice(pageSize, contentSize, initialTransform) { in VectorPlatformDeviceSkia()
Dvector_platform_device_skia.h23 SK_API VectorPlatformDeviceSkia(const SkISize& pageSize,
/external/chromium_org/chrome/browser/resources/print_preview/data/ticket_items/
Dlandscape.js95 (doc.pageSize.width > doc.pageSize.height) :
Dcustom_margins.js153 max = this.getDocumentInfoInternal().pageSize.height - oppositeMargin -
156 max = this.getDocumentInfoInternal().pageSize.width - oppositeMargin -
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorIndexedDBAgent.cpp388 … injectedScript, PassRefPtr<RequestDataCallback> requestCallback, int skipCount, unsigned pageSize) in create() argument
390 … return adoptRef(new OpenCursorCallback(injectedScript, requestCallback, skipCount, pageSize)); in create()
458 … injectedScript, PassRefPtr<RequestDataCallback> requestCallback, int skipCount, unsigned pageSize) in OpenCursorCallback() argument
463 , m_pageSize(pageSize) in OpenCursorCallback()
476 …me, const String& indexName, PassRefPtr<IDBKeyRange> idbKeyRange, int skipCount, unsigned pageSize) in create() argument
478 …t, requestCallback, injectedScript, objectStoreName, indexName, idbKeyRange, skipCount, pageSize)); in create()
517 …me, const String& indexName, PassRefPtr<IDBKeyRange> idbKeyRange, int skipCount, unsigned pageSize) in DataLoader() argument
525 , m_pageSize(pageSize) { } in DataLoader()
641 …st String& objectStoreName, const String& indexName, int skipCount, int pageSize, const RefPtr<JSO… in requestData() argument
665 …nt, requestCallback, injectedScript, objectStoreName, indexName, idbKeyRange, skipCount, pageSize); in requestData()
/external/skia/tests/
DPDFPrimitivesTest.cpp254 SkISize pageSize = SkISize::Make(bitmap.width(), bitmap.height()); in TestImage() local
255 SkAutoTUnref<SkPDFDevice> dev(new SkPDFDevice(pageSize, pageSize, SkMatrix::I())); in TestImage()
332 SkISize pageSize = SkISize::Make(100, 100); in test_issue1083() local
333 SkAutoTUnref<SkPDFDevice> dev(new SkPDFDevice(pageSize, pageSize, SkMatrix::I())); in test_issue1083()
/external/chromium_org/third_party/skia/src/pdf/
DSkPDFDeviceFlattener.cpp16 SkPDFDeviceFlattener::SkPDFDeviceFlattener(const SkSize& pageSize, const SkRect* trimBox) in SkPDFDeviceFlattener() argument
17 : SkPDFDevice(SkSizeToISize(pageSize), in SkPDFDeviceFlattener()
18 SkSizeToISize(pageSize), in SkPDFDeviceFlattener()
/external/skia/src/pdf/
DSkPDFDeviceFlattener.cpp16 SkPDFDeviceFlattener::SkPDFDeviceFlattener(const SkSize& pageSize, const SkRect* trimBox) in SkPDFDeviceFlattener() argument
17 : SkPDFDevice(SkSizeToISize(pageSize), in SkPDFDeviceFlattener()
18 SkSizeToISize(pageSize), in SkPDFDeviceFlattener()
/external/chromium_org/third_party/sqlite/src/test/
Dvacuum2.test72 set pageSize [db eval {pragma page_size}]
82 expr {[file size test.db]/$pageSize}
96 expr {[file size test.db]/$pageSize}
118 expr {[file size test.db]/$pageSize}

123