Home
last modified time | relevance | path

Searched refs:nSize (Results 1 – 25 of 29) sorted by relevance

12

/external/pdfium/core/fxcrt/
Dcfx_string_data_template.h24 pdfium::base::CheckedNumeric<int> nSize = nLen; in Create() local
25 nSize *= sizeof(CharType); in Create()
26 nSize += overhead; in Create()
32 nSize += 7; in Create()
33 nSize &= ~7; in Create()
34 int totalSize = nSize.ValueOrDie(); in Create()
Dfx_extension.cpp143 size_t nSize,
149 CFX_MemoryStream(uint8_t* pBuffer, size_t nSize, bool bTakeOver);
172 size_t nSize, in CFX_MemoryStream() argument
174 : m_nTotalSize(nSize), in CFX_MemoryStream()
175 m_nCurSize(nSize), in CFX_MemoryStream()
334 size_t nSize, in AttachBuffer() argument
341 m_nTotalSize = m_nCurSize = nSize; in AttachBuffer()
Dfx_stream.h119 size_t nSize,
127 size_t nSize,
/external/skia/tests/
DAnnotationTest.cpp17 size_t nSize = strlen(needle); in ContainsString() local
18 for (size_t i = 0; i < dataSize - nSize; i++) { in ContainsString()
19 if (strncmp(&data[i], needle, nSize) == 0) { in ContainsString()
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
DPVRTTextureAPI.cpp272 unsigned int nFormat = 0, nType = 0, nBPP, nSize, nElW = 0, nElH = 0, nElD = 0; in PVRTTextureTile() local
285 nSize = pIn->u32Width * nRepeatCnt; in PVRTTextureTile()
287 psTexHeaderNew = PVRTTextureCreate(nSize, nSize, nElW, nElH, nBPP, true); in PVRTTextureTile()
292 for(nLevel = 0; ((unsigned int)1 << nLevel) < nSize; ++nLevel) in PVRTTextureTile()
294 int nBlocksDstW = PVRT_MAX((unsigned int)1, (nSize >> nLevel) / nElW); in PVRTTextureTile()
295 int nBlocksDstH = PVRT_MAX((unsigned int)1, (nSize >> nLevel) / nElH); in PVRTTextureTile()
314 psTexHeaderNew->u32Width = nSize; in PVRTTextureTile()
315 psTexHeaderNew->u32Height = nSize; in PVRTTextureTile()
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES3/
DPVRTTextureAPI.cpp675 unsigned int nFormat = 0, nType = 0, nBPP, nSize, nElW = 0, nElH = 0, nElD = 0; in PVRTTextureTile() local
688 nSize = pIn->u32Width * nRepeatCnt; in PVRTTextureTile()
690 psTexHeaderNew = PVRTTextureCreate(nSize, nSize, nElW, nElH, nBPP, true); in PVRTTextureTile()
695 for(nLevel = 0; ((unsigned int)1 << nLevel) < nSize; ++nLevel) in PVRTTextureTile()
697 int nBlocksDstW = PVRT_MAX((unsigned int)1, (nSize >> nLevel) / nElW); in PVRTTextureTile()
698 int nBlocksDstH = PVRT_MAX((unsigned int)1, (nSize >> nLevel) / nElH); in PVRTTextureTile()
717 psTexHeaderNew->u32Width = nSize; in PVRTTextureTile()
718 psTexHeaderNew->u32Height = nSize; in PVRTTextureTile()
/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTBoneBatch.cpp101 void SetSize(const int nSize) in SetSize() argument
105 m_nCapacity = nSize; in SetSize()
300 CGrowableArray(const int nSize) in CGrowableArray() argument
303 m_nSize = nSize; in CGrowableArray()
DPVRTModelPOD.cpp589 … bool WriteFileSafe16(FILE *pFile, const unsigned short * const lpBuffer, const unsigned int nSize) in WriteFileSafe16() argument
591 if(nSize) in WriteFileSafe16()
596 for(unsigned int i = 0; i < nSize; ++i) in WriteFileSafe16()
609 …ic bool WriteFileSafe32(FILE *pFile, const unsigned int * const lpBuffer, const unsigned int nSize) in WriteFileSafe32() argument
611 if(nSize) in WriteFileSafe32()
616 for(unsigned int i = 0; i < nSize; ++i) in WriteFileSafe32()
750 unsigned int nSize = sizeof(T); in WriteData() local
752 bool bRet = WriteData(pFile, nName, (void*)&n, nSize); in WriteData()
/external/pdfium/core/fpdfapi/parser/
Dfpdf_parser_decode.cpp355 int nSize = pdfium::CollectionSize<int>(DecoderArray); in PDF_DataDecode() local
356 for (int i = 0; i < nSize; i++) { in PDF_DataDecode()
357 int estimated_size = i == nSize - 1 ? last_estimated_size : 0; in PDF_DataDecode()
364 if (bImageAcc && i == nSize - 1) { in PDF_DataDecode()
381 if (bImageAcc && i == nSize - 1) { in PDF_DataDecode()
/external/pdfium/xfa/fde/
Dcfde_txtedtengine.cpp541 int32_t nSize = m_SelRangePtrArr.GetSize(); in AddSelRange() local
542 if (nSize <= 0) { in AddSelRange()
551 lpTemp = m_SelRangePtrArr[nSize - 1]; in AddSelRange()
564 for (int32_t i = 0; i < nSize; i++) { in AddSelRange()
985 int32_t nSize = m_PagePtrArray.GetSize(); in UpdatePages() local
986 if (nSize == nPageCount) in UpdatePages()
989 if (nSize > nPageCount) { in UpdatePages()
990 for (int32_t i = nSize - 1; i >= nPageCount; i--) { in UpdatePages()
996 if (nSize < nPageCount) { in UpdatePages()
997 for (int32_t i = nSize; i < nPageCount; i++) in UpdatePages()
/external/tpm2/
DMathFunctions_fp.h28 const UINT32 nSize, // IN: modulus size
DMathFunctions.c448 const UINT32 nSize, // IN: modulus size in _math__ModExp() argument
473 || BN_bin2bn(n, nSize, bnN) == NULL) in _math__ModExp()
/external/swiftshader/third_party/PowerVR_SDK/Shell/
DPVRShell.cpp1523 size_t nSize = strlen(pPath) + strlen(pCL) + 1; in Run() local
1524 char *pString = new char[nSize]; in Run()
1528 snprintf(pString, nSize, "%s%s", pPath, pCL); in Run()
1534 nSize = strlen(pPath) + strlen(pCL) + 1; in Run()
1535 pString = new char[nSize]; in Run()
1537 snprintf(pString, nSize, "%s%s", pPath, pCL); in Run()
/external/pdfium/fpdfsdk/
Dfpdfppo.cpp195 int nSize = pdfium::CollectionSize<int>(pageNums); in ExportPage() local
196 for (int i = 0; i < nSize; ++i) { in ExportPage()
Dcpdfsdk_interform.cpp234 int nSize = m_pInterForm->CountFieldsInCalculationOrder(); in OnCalculate() local
235 for (int i = 0; i < nSize; i++) { in OnCalculate()
Dfpdfview.cpp243 FX_FILESIZE nSize = GetSize(); in ReadBlock() local
244 if (m_nCurPos >= nSize) in ReadBlock()
246 FX_FILESIZE dwAvail = nSize - m_nCurPos; in ReadBlock()
/external/sqlite/dist/
DAndroid.patch58 nSize = ((nByte+pFile->szChunk-1) / pFile->szChunk) * pFile->szChunk;
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_wgl.c153 if (ppfd->nSize != sizeof( PIXELFORMATDESCRIPTOR ) || ppfd->nVersion != 1) in wglChoosePixelFormat()
Dstw_pixelformat.c150 pfi->pfd.nSize = sizeof pfi->pfd; in stw_pixelformat_add()
/external/pdfium/fpdfsdk/javascript/
DDocument.cpp600 int nSize = params.size(); in submitForm() local
601 if (nSize < 1) { in submitForm()
617 if (nSize > 1) in submitForm()
619 if (nSize > 2) in submitForm()
621 if (nSize > 3) in submitForm()
/external/deqp/framework/platform/win32/
DtcuWGL.cpp209 pixelFormatDesc.nSize = sizeof(pixelFormatDesc); in Library()
/external/skia/src/utils/win/
DSkWGL_win.cpp252 dummyPFD.nSize = sizeof(dummyPFD); in SkWGLExtensions()
/external/mesa3d/src/gallium/auxiliary/util/
Ddbghelp.h271 …ORY_ROUTINE64)(HANDLE hProcess,DWORD64 qwBaseAddress,PVOID lpBuffer,DWORD nSize,LPDWORD lpNumberOf…
285 …_MEMORY_ROUTINE)(HANDLE hProcess,DWORD lpBaseAddress,PVOID lpBuffer,DWORD nSize,PDWORD lpNumberOfB…
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
DSignals.inc102 DWORD64 qwBaseAddress, PVOID lpBuffer, DWORD nSize,
/external/sqlite/dist/orig/
Dsqlite3.c33657 i64 nSize; /* Required file size */
33664 nSize = ((nByte+pFile->szChunk-1) / pFile->szChunk) * pFile->szChunk;
33665 if( nSize>(i64)buf.st_size ){
33673 err = osFallocate(pFile->h, buf.st_size, nSize-buf.st_size);
33691 for(/*no-op*/; iWrite<nSize+nBlk-1; iWrite+=nBlk ){
33692 if( iWrite>=nSize ) iWrite = nSize - 1;
55738 i64 nSize; /* Size of log file */
55763 rc = sqlite3OsFileSize(pWal->pWalFd, &nSize);
55768 if( nSize>WAL_HDRSIZE ){
55834 for(iOffset=WAL_HDRSIZE; (iOffset+szFrame)<=nSize; iOffset+=szFrame){
[all …]

12