Searched refs:nRequiredLen (Results 1 – 2 of 2) sorted by relevance
/external/pdfium/fpdfsdk/include/ |
D | fsdk_mgr.h | 244 int nRequiredLen = m_pInfo->FFI_GetPlatform(m_pInfo, NULL, 0); in FFI_GetPlatform() local 245 if (nRequiredLen <= 0) in FFI_GetPlatform() 248 char* pbuff = new char[nRequiredLen]; in FFI_GetPlatform() 249 memset(pbuff, 0, nRequiredLen); in FFI_GetPlatform() 250 int nActualLen = m_pInfo->FFI_GetPlatform(m_pInfo, pbuff, nRequiredLen); in FFI_GetPlatform() 251 if (nActualLen <= 0 || nActualLen > nRequiredLen) { in FFI_GetPlatform() 434 int nRequiredLen = m_pInfo->FFI_GetLanguage(m_pInfo, NULL, 0); in FFI_GetLanguage() local 435 if (nRequiredLen <= 0) in FFI_GetLanguage() 438 char* pbuff = new char[nRequiredLen]; in FFI_GetLanguage() 439 memset(pbuff, 0, nRequiredLen); in FFI_GetLanguage() [all …]
|
/external/pdfium/fpdfsdk/src/ |
D | fsdk_mgr.cpp | 283 const int nRequiredLen = in JS_fieldBrowse() local 285 if (nRequiredLen <= 0) in JS_fieldBrowse() 288 std::unique_ptr<char[]> pBuff(new char[nRequiredLen]); in JS_fieldBrowse() 289 memset(pBuff.get(), 0, nRequiredLen); in JS_fieldBrowse() 291 m_pInfo->m_pJsPlatform, pBuff.get(), nRequiredLen); in JS_fieldBrowse() 292 if (nActualLen <= 0 || nActualLen > nRequiredLen) in JS_fieldBrowse() 306 const int nRequiredLen = m_pInfo->m_pJsPlatform->Doc_getFilePath( in JS_docGetFilePath() local 308 if (nRequiredLen <= 0) in JS_docGetFilePath() 311 std::unique_ptr<char[]> pBuff(new char[nRequiredLen]); in JS_docGetFilePath() 312 memset(pBuff.get(), 0, nRequiredLen); in JS_docGetFilePath() [all …]
|