Lines Matching refs:nRequiredLen
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()
314 m_pInfo->m_pJsPlatform, pBuff.get(), nRequiredLen); in JS_docGetFilePath()
315 if (nActualLen <= 0 || nActualLen > nRequiredLen) in JS_docGetFilePath()