Home
last modified time | relevance | path

Searched refs:nLength (Results 1 – 25 of 30) sorted by relevance

12

/external/pdfium/core/src/fxcrt/
Dfx_basic_util.cpp214 int nLength = wsUrl.GetLength(); in FX_UrlEncode() local
215 for (int i = 0; i < nLength; i++) { in FX_UrlEncode()
235 int nLength = bsUrl.GetLength(); in FX_UrlDecode() local
236 for (int i = 0; i < nLength; i++) { in FX_UrlDecode()
237 …if (i < nLength - 2 && bsUrl[i] == '%' && FX_IsXDigit(bsUrl[i + 1]) && FX_IsXDigit(bsUrl[i + 2])) { in FX_UrlDecode()
251 int nLength = bsUri.GetLength(); in FX_EncodeURI() local
252 for (int i = 0; i < nLength; i++) { in FX_EncodeURI()
267 int nLength = bsURI.GetLength(); in FX_DecodeURI() local
268 for (int i = 0; i < nLength; i++) { in FX_DecodeURI()
269 …if (i < nLength - 2 && bsURI[i] == '%' && FX_IsXDigit(bsURI[i + 1]) && FX_IsXDigit(bsURI[i + 2])) { in FX_DecodeURI()
Dxml_int.h113 FX_FILESIZE nLength = m_pFileRead->GetSize(); variable
115 if (m_nStart >= nLength) {
118 m_dwSize = (size_t)FX_MIN(FX_XMLDATASTREAM_BufferSize, nLength - m_nStart);
Dfx_basic_bstring.cpp774 FX_STRSIZE nLength = m_pData->m_nDataLength; in Find() local
775 if (nStart >= nLength) { in Find()
786 FX_STRSIZE nLength = m_pData->m_nDataLength; in ReverseFind() local
787 while (nLength) { in ReverseFind()
788 if (m_pData->m_String[nLength - 1] == ch) { in ReverseFind()
789 return nLength - 1; in ReverseFind()
791 nLength --; in ReverseFind()
821 FX_STRSIZE nLength = m_pData->m_nDataLength; in Find() local
822 if (nStart > nLength) { in Find()
Dfx_basic_wstring.cpp572 FX_STRSIZE nLength = GetLength(); in Find() local
573 if (nLength < 1 || nStart > nLength) { in Find()
584 FX_STRSIZE nLength = m_pData->m_nDataLength; in Find() local
585 if (nStart >= nLength) { in Find()
/external/pdfium/fpdfsdk/src/javascript/
DJS_GlobalData.cpp354 FX_INT32 nLength = 0; in LoadGlobalPersistentVariables() local
356 LoadFileBuffer(m_sFilePath, pBuffer, nLength); in LoadGlobalPersistentVariables()
358 CRYPT_ArcFourCryptBlock(pBuffer, nLength, JS_RC4KEY, sizeof(JS_RC4KEY)); in LoadGlobalPersistentVariables()
381 if (dwSize == nLength - sizeof(FX_WORD) * 2 - sizeof(FX_DWORD)* 2) in LoadGlobalPersistentVariables()
385 if (p > pBuffer + nLength) in LoadGlobalPersistentVariables()
391 if (p + dwNameLen > pBuffer + nLength) in LoadGlobalPersistentVariables()
438 if (p + dwLength > pBuffer + nLength) in LoadGlobalPersistentVariables()
515 void CJS_GlobalData::LoadFileBuffer(FX_LPCWSTR sFilePath, FX_LPBYTE& pBuffer, FX_INT32& nLength) in LoadFileBuffer() argument
520 void CJS_GlobalData::WriteFileBuffer(FX_LPCWSTR sFilePath, FX_LPCSTR pBuffer, FX_INT32 nLength) in WriteFileBuffer() argument
Dapp.cpp1104 int nLength = 2048; in response() local
1105 char* pBuff = new char[nLength]; in response()
1106 nLength = pApp->JS_appResponse(swQuestion, swTitle, swDefault, swLabel, bPassWord, pBuff, nLength); in response()
1107 if(nLength<=0) in response()
1114 nLength = nLength>2046?2046:nLength; in response()
1115 pBuff[nLength] = 0; in response()
1116 pBuff[nLength+1] = 0; in response()
1117 swResponse = CFX_WideString::FromUTF16LE((unsigned short*)pBuff, nLength); in response()
/external/pdfium/core/src/fpdfdoc/
Ddoc_form.cpp185 FX_STRSIZE nLength; in SetField() local
186 name_extractor.GetNext(pName, nLength); in SetField()
188 while (nLength > 0) { in SetField()
190 CFX_WideString name = CFX_WideString(pName, nLength); in SetField()
195 name_extractor.GetNext(pName, nLength); in SetField()
208 FX_STRSIZE nLength; in GetField() local
209 name_extractor.GetNext(pName, nLength); in GetField()
211 while (nLength > 0 && pNode) { in GetField()
213 CFX_WideString name = CFX_WideString(pName, nLength); in GetField()
215 name_extractor.GetNext(pName, nLength); in GetField()
[all …]
/external/chromium_org/remoting/host/win/
Dunprivileged_process_delegate.cc164 security_attributes.nLength = sizeof(security_attributes); in CreateWindowStationAndDesktop()
188 security_attributes.nLength = sizeof(security_attributes); in CreateWindowStationAndDesktop()
265 process_attributes.nLength = sizeof(process_attributes); in LaunchProcess()
270 thread_attributes.nLength = sizeof(thread_attributes); in LaunchProcess()
Delevated_controller.cc158 security_attributes.nLength = sizeof(security_attributes); in WriteConfigFileToTemp()
/external/pdfium/fpdfsdk/include/javascript/
DJS_GlobalData.h87 void LoadFileBuffer(FX_LPCWSTR sFilePath, FX_LPBYTE& pBuffer, FX_INT32& nLength);
88 void WriteFileBuffer(FX_LPCWSTR sFilePath, FX_LPCSTR pBuffer, FX_INT32 nLength);
/external/chromium_org/third_party/tlslite/tlslite/
Dmathtls.py98 nLength = len(numberToByteArray(n))
100 if len(b) < nLength:
101 b = (b"\0" * (nLength-len(b))) + b
/external/chromium_org/remoting/host/
Dipc_util_win.cc66 security_attributes.nLength = sizeof(security_attributes); in CreateConnectedIpcChannel()
103 security_attributes.nLength = sizeof(security_attributes); in CreateIpcChannel()
/external/pdfium/fpdfsdk/src/
Dfpdfppo.cpp353 int nLength = rangstring.GetLength(); in ParserPageRangeString() local
355 for(int i=0; i<nLength; i++) in ParserPageRangeString()
363 while(nStringTo < nLength) in ParserPageRangeString()
368 nStringTo = nLength; in ParserPageRangeString()
/external/chromium_org/third_party/sqlite/src/test/
Dfts3_common.tcl215 proc gobble_string {varname nLength} { argument
218 set blob [string range $blob $nLength end]
/external/chromium_org/sandbox/win/src/
Dhandle_inheritance_test.cc27 attrs.nLength = sizeof(attrs); in TEST()
Dwindow.cc21 attributes->nLength = sizeof(SECURITY_ATTRIBUTES); in GetSecurityAttributes()
/external/chromium_org/chrome/installer/util/
Dl10n_string_util.cc50 localized_string = std::wstring(image->achString, image->nLength); in GetLocalizedString()
/external/chromium_org/base/process/
Dlaunch_win.cc302 sa_attr.nLength = sizeof(SECURITY_ATTRIBUTES); in GetAppOutput()
/external/chromium_org/tools/gn/
Dfunction_exec_script.cc52 sa_attr.nLength = sizeof(SECURITY_ATTRIBUTES); in ExecProcess()
/external/icu/icu4c/source/common/
Dumapfile.c122 mappingAttributes.nLength = sizeof(mappingAttributes); in uprv_mapFile()
/external/chromium_org/third_party/icu/source/common/
Dumapfile.c122 mappingAttributes.nLength = sizeof(mappingAttributes); in uprv_mapFile()
/external/chromium_org/components/crash/tools/
Dcrash_service.cc217 security_attributes.nLength = sizeof(security_attributes); in Initialize()
/external/chromium_org/third_party/webrtc/base/
Dwin32filesystem.cc159 security_attributes.nLength = sizeof(security_attributes); in CreatePrivateFile()
/external/deqp/execserver/
DxsWin32TestProcess.cpp521 securityAttr.nLength = sizeof(SECURITY_ATTRIBUTES); in start()
/external/deqp/framework/delibs/deutil/
DdeProcess.c654 securityAttr.nLength = sizeof(SECURITY_ATTRIBUTES); in deProcess_start()

12