Lines Matching refs:nRequiredLen
129 int nRequiredLen = m_pInfo->FFI_GetLanguage(m_pInfo, nullptr, 0); in GetLanguage() local
130 if (nRequiredLen <= 0) in GetLanguage()
133 std::vector<uint8_t, FxAllocAllocator<uint8_t>> pBuff(nRequiredLen); in GetLanguage()
135 m_pInfo->FFI_GetLanguage(m_pInfo, pBuff.data(), nRequiredLen); in GetLanguage()
136 if (nActualLen <= 0 || nActualLen > nRequiredLen) in GetLanguage()
151 int nRequiredLen = m_pInfo->FFI_GetPlatform(m_pInfo, nullptr, 0); in GetPlatform() local
152 if (nRequiredLen <= 0) in GetPlatform()
155 std::vector<uint8_t, FxAllocAllocator<uint8_t>> pBuff(nRequiredLen); in GetPlatform()
157 m_pInfo->FFI_GetPlatform(m_pInfo, pBuff.data(), nRequiredLen); in GetPlatform()
158 if (nActualLen <= 0 || nActualLen > nRequiredLen) in GetPlatform()
218 const int nRequiredLen = in JS_fieldBrowse() local
220 if (nRequiredLen <= 0) in JS_fieldBrowse()
223 std::vector<uint8_t, FxAllocAllocator<uint8_t>> pBuff(nRequiredLen); in JS_fieldBrowse()
225 m_pInfo->m_pJsPlatform, pBuff.data(), nRequiredLen); in JS_fieldBrowse()
226 if (nActualLen <= 0 || nActualLen > nRequiredLen) in JS_fieldBrowse()
292 const int nRequiredLen = m_pInfo->m_pJsPlatform->Doc_getFilePath( in GetFilePath() local
294 if (nRequiredLen <= 0) in GetFilePath()
297 std::vector<uint8_t, FxAllocAllocator<uint8_t>> pBuff(nRequiredLen); in GetFilePath()
299 m_pInfo->m_pJsPlatform, pBuff.data(), nRequiredLen); in GetFilePath()
300 if (nActualLen <= 0 || nActualLen > nRequiredLen) in GetFilePath()