Home
last modified time | relevance | path

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

12

/external/pdfium/core/fxcrt/
Dstring_data_template.h25 pdfium::base::CheckedNumeric<size_t> nSize = nLen; in Create() local
26 nSize *= sizeof(CharType); in Create()
27 nSize += overhead; in Create()
33 nSize += 7; in Create()
34 nSize &= ~7; in Create()
35 size_t totalSize = nSize.ValueOrDie(); in Create()
Dcfx_memorystream.cpp27 size_t nSize, in CFX_MemoryStream() argument
29 : m_nTotalSize(nSize), in CFX_MemoryStream()
30 m_nCurSize(nSize), in CFX_MemoryStream()
163 void CFX_MemoryStream::AttachBuffer(uint8_t* pBuffer, size_t nSize) { in AttachBuffer() argument
169 m_nTotalSize = nSize; in AttachBuffer()
170 m_nCurSize = nSize; in AttachBuffer()
Dcfx_memorystream.h38 void AttachBuffer(uint8_t* pBuffer, size_t nSize);
43 CFX_MemoryStream(uint8_t* pBuffer, size_t nSize, bool bTakeOver);
/external/skqp/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/skia/tests/
DAnnotationTest.cpp28 size_t nSize = strlen(needle); in ContainsString() local
29 for (size_t i = 0; i < dataSize - nSize; i++) { in ContainsString()
30 if (strncmp(&data[i], needle, nSize) == 0) { in ContainsString()
/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.cpp363 size_t nSize = DecoderArray.size(); in PDF_DataDecode() local
364 for (size_t i = 0; i < nSize; ++i) { in PDF_DataDecode()
365 int estimated_size = i == nSize - 1 ? last_estimated_size : 0; in PDF_DataDecode()
374 if (bImageAcc && i == nSize - 1) { in PDF_DataDecode()
391 if (bImageAcc && i == nSize - 1) { in PDF_DataDecode()
/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/sqlite/dist/
DAndroid.patch61 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/fxjs/
Dcjs_document.cpp525 int nSize = params.size(); in submitForm() local
526 if (nSize < 1) in submitForm()
537 if (nSize > 1) in submitForm()
539 if (nSize > 2) in submitForm()
541 if (nSize > 3) in submitForm()
/external/pdfium/fpdfsdk/
Dcpdfsdk_interform.cpp265 int nSize = m_pInterForm->CountFieldsInCalculationOrder(); in OnCalculate() local
266 for (int i = 0; i < nSize; i++) { in OnCalculate()
Dfpdfview.cpp240 FX_FILESIZE nSize = GetSize(); in ReadBlock() local
241 if (m_nCurPos >= nSize) in ReadBlock()
243 FX_FILESIZE dwAvail = nSize - m_nCurPos; in ReadBlock()
/external/skqp/src/utils/win/
DSkWGL_win.cpp264 dummyPFD.nSize = sizeof(dummyPFD); in SkWGLExtensions()
/external/skia/src/utils/win/
DSkWGL_win.cpp264 dummyPFD.nSize = sizeof(dummyPFD); in SkWGLExtensions()
/external/deqp/framework/platform/win32/
DtcuWGL.cpp223 pixelFormatDesc.nSize = sizeof(pixelFormatDesc); in Library()
/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.c34463 i64 nSize; /* Required file size */
34470 nSize = ((nByte+pFile->szChunk-1) / pFile->szChunk) * pFile->szChunk;
34471 if( nSize>(i64)buf.st_size ){
34479 err = osFallocate(pFile->h, buf.st_size, nSize-buf.st_size);
34497 for(/*no-op*/; iWrite<nSize+nBlk-1; iWrite+=nBlk ){
34498 if( iWrite>=nSize ) iWrite = nSize - 1;
56710 i64 nSize; /* Size of log file */
56740 rc = sqlite3OsFileSize(pWal->pWalFd, &nSize);
56745 if( nSize>WAL_HDRSIZE ){
56811 for(iOffset=WAL_HDRSIZE; (iOffset+szFrame)<=nSize; iOffset+=szFrame){
[all …]

12