Home
last modified time | relevance | path

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

123

/external/pdfium/core/fpdfapi/parser/
Dcpdf_simple_parser.cpp11 CPDF_SimpleParser::CPDF_SimpleParser(const uint8_t* pData, uint32_t dwSize) in CPDF_SimpleParser() argument
12 : m_pData(pData), m_dwSize(dwSize), m_dwCurPos(0) {} in CPDF_SimpleParser()
19 uint8_t dwSize = 0; in ParseWord() local
23 return std::make_pair(pStart, dwSize); in ParseWord()
27 return std::make_pair(pStart, dwSize); in ParseWord()
36 return std::make_pair(pStart, dwSize); in ParseWord()
49 return std::make_pair(pStart, dwSize); in ParseWord()
53 dwSize = m_dwCurPos - start_pos; in ParseWord()
54 return std::make_pair(pStart, dwSize); in ParseWord()
58 dwSize = 1; in ParseWord()
[all …]
/external/pdfium/core/fxcrt/
Dcfx_seekablemultistream.cpp26 uint32_t dwSize = 0; in GetSize() local
28 dwSize += acc->GetSize(); in GetSize()
29 return dwSize; in GetSize()
39 FX_FILESIZE dwSize = acc->GetSize(); in ReadBlock() local
40 if (offset < dwSize) in ReadBlock()
43 offset -= dwSize; in ReadBlock()
48 uint32_t dwSize = acc->GetSize(); in ReadBlock() local
49 size_t dwRead = std::min(size, static_cast<size_t>(dwSize - offset)); in ReadBlock()
Dcfx_bitstream.cpp13 CFX_BitStream::CFX_BitStream(const uint8_t* pData, uint32_t dwSize) in CFX_BitStream() argument
14 : m_BitPos(0), m_BitSize(dwSize * 8), m_pData(pData) { in CFX_BitStream()
15 ASSERT(dwSize <= std::numeric_limits<uint32_t>::max() / 8); in CFX_BitStream()
/external/pdfium/core/fpdfapi/page/
Dcpdf_iccprofile.cpp15 bool DetectSRGB(const uint8_t* pData, uint32_t dwSize) { in DetectSRGB() argument
16 return dwSize == 3144 && memcmp(pData + 0x190, "sRGB IEC61966-2.1", 17) == 0; in DetectSRGB()
23 uint32_t dwSize) in CPDF_IccProfile() argument
24 : m_bsRGB(DetectSRGB(pData, dwSize)), m_pStream(pStream) { in CPDF_IccProfile()
32 m_Transform = pIccModule->CreateTransform_sRGB(pData, dwSize, &nSrcComps); in CPDF_IccProfile()
Dcpdf_streamparser.h24 CPDF_StreamParser(const uint8_t* pData, uint32_t dwSize);
26 uint32_t dwSize,
/external/mdnsresponder/mDNSWindows/ControlPanel/
DSecondPage.cpp180 DWORD dwSize; in Commit() local
191 dwSize = MAX_KEY_LENGTH; in Commit()
193 err = RegEnumKeyEx( key, 0, subKeyName, &dwSize, NULL, NULL, NULL, NULL ); in Commit()
268 DWORD dwSize = sizeof( DWORD ); in OnBnClickedSharedSecret() local
279 RegQueryValueEx( m_setupKey, L"Wakeup", NULL, NULL, (LPBYTE) &wakeup, &dwSize ); in OnBnClickedSharedSecret()
386 DWORD dwSize; in Populate() local
436 dwSize = MAX_KEY_LENGTH; in Populate()
438 err = RegEnumKeyEx( key, 0, subKeyName, &dwSize, NULL, NULL, NULL, NULL ); in Populate()
444 dwSize = sizeof( DWORD ); in Populate()
445 err = RegQueryValueEx( subKey, L"Enabled", NULL, NULL, (LPBYTE) &enabled, &dwSize ); in Populate()
DRegistrationPage.cpp227 DWORD dwSize; in OnSetActive() local
240 dwSize = MAX_KEY_LENGTH; in OnSetActive()
242 err = RegEnumKeyEx( m_registrationSetupKey, 0, subKeyName, &dwSize, NULL, NULL, NULL, NULL ); in OnSetActive()
248 dwSize = sizeof( DWORD ); in OnSetActive()
249 err = RegQueryValueEx( subKey, L"Enabled", NULL, NULL, (LPBYTE) &enabled, &dwSize ); in OnSetActive()
335 DWORD dwSize; in Commit() local
346 dwSize = MAX_KEY_LENGTH; in Commit()
348 err = RegEnumKeyEx( m_registrationSetupKey, 0, subKeyName, &dwSize, NULL, NULL, NULL, NULL ); in Commit()
DBrowsingPage.cpp99 DWORD dwSize; in OnSetActive() local
144 dwSize = MAX_KEY_LENGTH; in OnSetActive()
146 err = RegEnumKeyEx( key, i, subKeyName, &dwSize, NULL, NULL, NULL, NULL ); in OnSetActive()
152 dwSize = sizeof( DWORD ); in OnSetActive()
153 err = RegQueryValueEx( subKey, L"Enabled", NULL, NULL, (LPBYTE) &enabled, &dwSize ); in OnSetActive()
215 DWORD dwSize; in Commit() local
230 dwSize = MAX_KEY_LENGTH; in Commit()
232 err = RegEnumKeyEx( key, 0, subKeyName, &dwSize, NULL, NULL, NULL, NULL ); in Commit()
DServicesPage.cpp98 DWORD dwSize; in OnSetActive() local
114 dwSize = sizeof( DWORD ); in OnSetActive()
115 err = RegQueryValueEx( key, L"Advertise", NULL, NULL, (LPBYTE) &enabled, &dwSize ); in OnSetActive()
131 dwSize = sizeof( DWORD ); in OnSetActive()
132 err = RegQueryValueEx( key, L"Enabled", NULL, NULL, (LPBYTE) &enabled, &dwSize ); in OnSetActive()
DFourthPage.cpp96 DWORD dwSize; in OnSetActive() local
112 dwSize = sizeof( DWORD ); in OnSetActive()
113 err = RegQueryValueEx( key, L"Enabled", NULL, NULL, (LPBYTE) &enabled, &dwSize ); in OnSetActive()
DControlPanelExe.cpp79 DWORD dwSize; in MyRegDeleteKey() local
109 dwSize = MAX_PATH; in MyRegDeleteKey()
110 err = RegEnumKeyEx(hKey, 0, szName, &dwSize, NULL, NULL, NULL, &ftWrite); in MyRegDeleteKey()
123 dwSize = MAX_PATH; in MyRegDeleteKey()
125 err = RegEnumKeyEx( hKey, 0, szName, &dwSize, NULL, NULL, NULL, &ftWrite ); in MyRegDeleteKey()
/external/libcups/cups/
Dtls-sspi.c425 DWORD dwSize = 0; /* 32 bit size */ in httpLoadCredentials() local
475 dwSize = 0; in httpLoadCredentials()
477 if (!CertStrToName(X509_ASN_ENCODING, common_name, CERT_OID_NAME_STR, NULL, NULL, &dwSize, NULL)) in httpLoadCredentials()
483 p = (PBYTE)malloc(dwSize); in httpLoadCredentials()
487 DEBUG_printf(("1httpLoadCredentials: malloc failed for %d bytes.", dwSize)); in httpLoadCredentials()
491 if (!CertStrToName(X509_ASN_ENCODING, common_name, CERT_OID_NAME_STR, NULL, p, &dwSize, NULL)) in httpLoadCredentials()
497 sib.cbData = dwSize; in httpLoadCredentials()
550 DWORD dwSize = 0; /* 32 bit size */ in httpSaveCredentials() local
598 dwSize = 0; in httpSaveCredentials()
600 if (!CertStrToName(X509_ASN_ENCODING, common_name, CERT_OID_NAME_STR, NULL, NULL, &dwSize, NULL)) in httpSaveCredentials()
[all …]
/external/pdfium/core/fxcodec/codec/
Dfx_codec_progress.cpp296 uint32_t dwSize = (uint32_t)m_pFile->GetSize(); in JpegReadMoreData() local
297 if (dwSize <= m_offSet) { in JpegReadMoreData()
300 dwSize = dwSize - m_offSet; in JpegReadMoreData()
303 if (dwSize > FXCODEC_BLOCK_SIZE) { in JpegReadMoreData()
304 dwSize = FXCODEC_BLOCK_SIZE; in JpegReadMoreData()
306 m_SrcSize = (dwSize + dwAvail + FXCODEC_BLOCK_SIZE - 1) / in JpegReadMoreData()
318 if (dwSize > dwConsume) { in JpegReadMoreData()
319 dwSize = dwConsume; in JpegReadMoreData()
322 if (!m_pFile->ReadBlock(m_pSrcBuf + dwAvail, m_offSet, dwSize)) { in JpegReadMoreData()
326 m_offSet += dwSize; in JpegReadMoreData()
[all …]
/external/mesa3d/src/gallium/state_trackers/nine/
Dquery9.c205 DWORD dwSize, in NineQuery9_GetData() argument
214 This, pData, dwSize, dwGetDataFlags); in NineQuery9_GetData()
220 user_assert(dwSize == 0 || pData, D3DERR_INVALIDCALL); in NineQuery9_GetData()
249 if (!dwSize) in NineQuery9_GetData()
286 memcpy(pData, &nresult, MIN2(sizeof(nresult), dwSize)); in NineQuery9_GetData()
/external/lzma/CPP/Windows/Control/
DPropertyPage.cpp69 page.dwSize = sizeof(page); in MyPropertySheet()
90 page.dwSize = sizeof(page); in MyPropertySheet()
114 sheet.dwSize = sizeof(sheet); in MyPropertySheet()
130 sheet.dwSize = sizeof(sheet); in MyPropertySheet()
/external/ImageMagick/coders/
Demf.c312 dwSize; in ReadEnhMetaFile() local
368 dwSize=GetMetaFileBitsEx(hOld,0,NULL); in ReadEnhMetaFile()
369 if (dwSize == 0) in ReadEnhMetaFile()
374 pBits=(LPBYTE) AcquireQuantumMemory(dwSize,sizeof(*pBits)); in ReadEnhMetaFile()
380 if (GetMetaFileBitsEx(hOld,dwSize,pBits) == 0) in ReadEnhMetaFile()
394 hTemp=SetWinMetaFileBits(dwSize,pBits,hDC,&mp); in ReadEnhMetaFile()
410 dwSize=GetFileSize(hFile,NULL); in ReadEnhMetaFile()
411 pBits=(LPBYTE) AcquireQuantumMemory(dwSize,sizeof(*pBits)); in ReadEnhMetaFile()
417 ReadFile(hFile,pBits,dwSize,&dwSize,NULL); in ReadEnhMetaFile()
436 hTemp=SetWinMetaFileBits(dwSize,&(pBits[sizeof(APMHEADER)]),hDC,&mp); in ReadEnhMetaFile()
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_tls.c82 te.dwSize = sizeof te; in stw_tls_init()
85 if (te.dwSize >= FIELD_OFFSET(THREADENTRY32, th32OwnerProcessID) + in stw_tls_init()
100 te.dwSize = sizeof te; in stw_tls_init()
/external/pdfium/core/fxcrt/xml/
Dcfx_saxreader.cpp61 uint32_t dwSize = pFile->GetSize(); in StartFile() local
62 if (dwStart >= dwSize) in StartFile()
65 if (dwLen == static_cast<uint32_t>(-1) || dwStart + dwLen > dwSize) in StartFile()
66 dwLen = dwSize - dwStart; in StartFile()
86 uint32_t dwSize = m_dwEnd - m_dwCur; in ReadNextBlock() local
87 if (dwSize == 0) { in ReadNextBlock()
90 m_dwBufSize = std::min(dwSize, kSaxFileBufSize); in ReadNextBlock()
/external/swiftshader/src/WSI/
DFrameBufferDD.cpp81 surfaceDescription.dwSize = sizeof(surfaceDescription); in createSurfaces()
100 ddsd.dwSize = sizeof(ddsd); in createSurfaces()
340 DDSD.dwSize = sizeof(DDSD); in screenshot()
411 DDSD.dwSize = sizeof(DDSD); in lock()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_localemgr.cpp1074 uint32_t dwSize; in XFA_GetLocaleFromBuffer() local
1077 0, 0, 0, 0, &pOut, &dwSize); in XFA_GetLocaleFromBuffer()
1081 std::unique_ptr<CXML_Element> pLocale = CXML_Element::Parse(pOut, dwSize); in XFA_GetLocaleFromBuffer()
/external/swiftshader/src/Main/
DFrameBufferDD.cpp81 surfaceDescription.dwSize = sizeof(surfaceDescription); in createSurfaces()
100 ddsd.dwSize = sizeof(ddsd); in createSurfaces()
347 DDSD.dwSize = sizeof(DDSD); in screenshot()
418 DDSD.dwSize = sizeof(DDSD); in lock()
/external/expat/xmlwf/
Dxmlwin32url.cxx174 DWORD dwSize, in OnDataAvailable() argument
211 while (totalRead_ < dwSize) { in OnDataAvailable()
213 DWORD nToRead = dwSize - totalRead_; in OnDataAvailable()
228 && totalRead_ == dwSize)) { in OnDataAvailable()
/external/python/cpython2/PC/VS9.0/
Dkill_python.c37 me.dwSize = sizeof(MODULEENTRY32W); in main()
38 pe.dwSize = sizeof(PROCESSENTRY32W); in main()
/external/python/cpython2/PC/VS8.0/
Dkill_python.c37 me.dwSize = sizeof(MODULEENTRY32W); in main()
38 pe.dwSize = sizeof(PROCESSENTRY32W); in main()
/external/pdfium/fxjs/
Dcjs_globaldata.cpp242 uint32_t dwSize = *((uint32_t*)p); in LoadGlobalPersistentVariables() local
245 if (dwSize == nLength - sizeof(uint16_t) * 2 - sizeof(uint32_t) * 2) { in LoadGlobalPersistentVariables()
332 uint32_t dwSize = sData.GetSize(); in SaveGlobalPersisitentVariables() local
333 sFile.AppendBlock(&dwSize, sizeof(uint32_t)); in SaveGlobalPersisitentVariables()

123