Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/tracing/tracing_examples/
Dstring_convert.js74 for (var nLen = aBytes.length, nUint24 = 0, nIdx = 0; nIdx < nLen; nIdx++) {
93 for (var nPart, nLen = aBytes.length, nIdx = 0; nIdx < nLen; nIdx++) {
96 nPart > 251 && nPart < 254 && nIdx + 5 < nLen ? /* six bytes */
99 : nPart > 247 && nPart < 252 && nIdx + 4 < nLen ? /* five bytes */
101 : nPart > 239 && nPart < 248 && nIdx + 3 < nLen ? /* four bytes */
103 : nPart > 223 && nPart < 240 && nIdx + 2 < nLen ? /* three bytes */
105 : nPart > 191 && nPart < 224 && nIdx + 1 < nLen ? /* two bytes */
/external/pdfium/core/src/fpdftext/
Dunicodenormalization.cpp63 FX_STRSIZE nLen = FX_WideString_GetNormalization(wsSrc, (FX_WCHAR*)NULL); in FX_WideString_GetNormalization() local
64 if (!nLen) { in FX_WideString_GetNormalization()
67 FX_WCHAR* pBuf = wsDst.GetBuffer(nLen); in FX_WideString_GetNormalization()
69 wsDst.ReleaseBuffer(nLen); in FX_WideString_GetNormalization()
70 return nLen; in FX_WideString_GetNormalization()
Dfpdf_text_int.cpp2485 int nLen = lpchEnd ? (int)(lpchEnd - lpszFullString) in ExtractSubString() local
2487 ASSERT(nLen >= 0); in ExtractSubString()
2488 FXSYS_memcpy(rString.GetBuffer(nLen), lpszFullString, in ExtractSubString()
2489 nLen * sizeof(FX_WCHAR)); in ExtractSubString()
2656 int nLen = str.GetLength(); in CheckMailLink() local
2658 for (int i = aPos + 1; i < nLen; i++) { in CheckMailLink()
/external/pdfium/core/src/fxcrt/
Dfx_basic_bstring.cpp51 CFX_ByteString::StringData* CFX_ByteString::StringData::Create(int nLen) { in Create() argument
54 if (nLen == 0 || nLen < 0) { in Create()
61 pdfium::base::CheckedNumeric<int> nSize = nLen; in Create()
71 FXSYS_assert(usableSize >= nLen); in Create()
74 return new (pData) StringData(nLen, usableSize); in Create()
81 CFX_ByteString::CFX_ByteString(const FX_CHAR* lpsz, FX_STRSIZE nLen) { in CFX_ByteString() argument
82 if (nLen < 0) { in CFX_ByteString()
83 nLen = lpsz ? FXSYS_strlen(lpsz) : 0; in CFX_ByteString()
85 if (nLen) { in CFX_ByteString()
86 m_pData = StringData::Create(nLen); in CFX_ByteString()
[all …]
Dfx_basic_wstring.cpp17 CFX_WideString::StringData* CFX_WideString::StringData::Create(int nLen) { in Create() argument
20 if (nLen == 0 || nLen < 0) { in Create()
26 pdfium::base::CheckedNumeric<int> iSize = nLen; in Create()
37 FXSYS_assert(usableLen >= nLen); in Create()
40 return new (pData) StringData(nLen, usableLen); in Create()
60 CFX_WideString::CFX_WideString(const FX_WCHAR* lpsz, FX_STRSIZE nLen) { in CFX_WideString() argument
61 if (nLen < 0) { in CFX_WideString()
62 nLen = lpsz ? FXSYS_wcslen(lpsz) : 0; in CFX_WideString()
64 if (nLen) { in CFX_WideString()
65 m_pData = StringData::Create(nLen); in CFX_WideString()
[all …]
/external/pdfium/xfa/src/fxfa/src/parser/
Dxfa_localevalue.cpp594 int nLen = wsDate.GetLength(); in ValidateCanonicalDate() local
595 if (nLen < wCountY || nLen > wCountY + wCountM + wCountD + 2) { in ValidateCanonicalDate()
616 while (pDate[nIndex] != '\0' && nIndex - nStart < wCountM && nIndex < nLen) { in ValidateCanonicalDate()
630 while (pDate[nIndex] != '\0' && nIndex - nStart < wCountD && nIndex < nLen) { in ValidateCanonicalDate()
637 if (nIndex != nLen) { in ValidateCanonicalDate()
644 if (wMonth == 0 && nLen == wCountY) { in ValidateCanonicalDate()
650 if (wDay == 0 && (nLen == wCountY + wCountM)) { in ValidateCanonicalDate()
674 int nLen = wsTime.GetLength(); in ValidateCanonicalTime() local
675 if (nLen < 2) { in ValidateCanonicalTime()
691 if (nIndex < nLen && pTime[nIndex] != ':') { in ValidateCanonicalTime()
[all …]
Dxfa_document_serialize.cpp382 FX_STRSIZE nLen = buf.GetLength(); in XFA_DataExporter_RegenerateFormFile_Container() local
383 if (nLen > 0) { in XFA_DataExporter_RegenerateFormFile_Container()
384 pStream->WriteString((const FX_WCHAR*)buf.GetBuffer(), nLen); in XFA_DataExporter_RegenerateFormFile_Container()
/external/pdfium/xfa/src/fwl/src/lightwidget/
Dedit.cpp112 int32_t nLen) { in Insert() argument
115 return static_cast<IFWL_Edit*>(m_pIface)->Insert(nStart, lpText, nLen); in Insert()
133 int32_t nLen, in Replace() argument
137 return static_cast<IFWL_Edit*>(m_pIface)->Replace(nStart, nLen, wsReplace); in Replace()
/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_checksum.cpp173 int32_t nLen = FX_Base64EncodeA(digest, 20, NULL); in FinishChecksum() local
174 FX_CHAR* pBuffer = m_bsChecksum.GetBuffer(nLen); in FinishChecksum()
176 m_bsChecksum.ReleaseBuffer(nLen); in FinishChecksum()
Dxfa_ffimageedit.cpp113 FX_STRSIZE nLen = wsFilePath.GetLength(); in OnLButtonDown() local
114 FX_STRSIZE nIndex = nLen - 1; in OnLButtonDown()
122 wsContentType += wsFilePath.Right(nLen - nIndex - 1); in OnLButtonDown()
/external/pdfium/xfa/include/fwl/lightwidget/
Dedit.h32 FWL_ERR Insert(int32_t nStart, const FX_WCHAR* lpText, int32_t nLen);
37 int32_t nLen,
/external/pdfium/xfa/include/fwl/basewidget/
Dfwl_edit.h136 FWL_ERR Insert(int32_t nStart, const FX_WCHAR* lpText, int32_t nLen);
141 int32_t nLen,
/external/pdfium/core/src/fpdfdoc/
Ddoc_annot.cpp278 int nLen = pDashArray->GetCount(); in DrawBorder() local
280 for (; i < nLen; ++i) { in DrawBorder()
286 if (i == nLen) { in DrawBorder()
/external/pdfium/xfa/src/fwl/src/basewidget/
Dfwl_editimp.cpp87 int32_t nLen) { in Insert() argument
88 return static_cast<CFWL_EditImp*>(GetImpl())->Insert(nStart, lpText, nLen); in Insert()
100 int32_t nLen, in Replace() argument
103 ->Replace(nStart, nLen, wsReplace); in Replace()
600 int32_t nLen) { in Insert() argument
607 m_pEdtEngine->Insert(nStart, lpText, nLen); in Insert()
637 int32_t nLen, in Replace() argument
641 m_pEdtEngine->Replace(nStart, nLen, wsReplace); in Replace()
1723 int32_t nLen = wsText.GetLength(); in ValidateNumberChar() local
1725 CFX_WideString r = wsText.Mid(caretPos, nLen - caretPos); in ValidateNumberChar()
[all …]
/external/pdfium/xfa/src/fwl/src/basewidget/include/
Dfwl_editimp.h55 virtual FWL_ERR Insert(int32_t nStart, const FX_WCHAR* lpText, int32_t nLen);
60 int32_t nLen,
/external/pdfium/core/include/fxcrt/
Dfx_string.h312 static StringData* Create(int nLen);
345 void AllocBeforeWrite(FX_STRSIZE nLen);
693 static StringData* Create(int nLen);
717 void AllocBeforeWrite(FX_STRSIZE nLen);
/external/pdfium/core/src/fxge/ge/
Dfx_ge_fontmap.cpp926 int nLen = family.GetLength(); in FindSubstFont() local
929 family = family.Left(nLen - g_FontStyles[nRet].len); in FindSubstFont()
952 int nLen = style.GetLength(); in FindSubstFont() local
957 while (i < nLen) { in FindSubstFont()
958 buf = ParseStyle(pStyle, nLen, i); in FindSubstFont()
/external/pdfium/fpdfsdk/src/javascript/
DPublicMethods.cpp429 int nLen = value.GetLength(); in ParseNormalDate() local
432 while (i < nLen) { in ParseNormalDate()
/external/svox/pico/lib/
Dpicopam.c1609 picoos_int16 nOffs, nOffs1, nLen; in pam_expand_vector() local
1624 nLen = inVect[B3]; /*len of current syllable*/ in pam_expand_vector()
1625 if (pam->nSyllPhoneme >= nLen) { in pam_expand_vector()
1659 outVect[P7] = nLen - pam->nSyllPhoneme; in pam_expand_vector()
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_parser.cpp837 FX_FILESIZE nLen = obj_end - obj_pos - offset; in RebuildCrossRef() local
838 if ((FX_DWORD)nLen > size - i) { in RebuildCrossRef()
842 i += (FX_DWORD)nLen; in RebuildCrossRef()
/external/sqlite/dist/
Dsqlite3.c38731 int nLen = sqlite3Strlen30(zBuf);
38732 if( nLen>0 ){
38733 if( winIsDirSep(zBuf[nLen-1]) ){
38735 }else if( nLen+1<nBuf ){
38736 zBuf[nLen] = winGetDirSep();
38737 zBuf[nLen+1] = '\0';
38756 int nMax, nBuf, nDir, nLen;
38953 nLen = sqlite3Strlen30(zBuf);
38954 if( (nLen + nPre + 17) > nBuf ){
38960 sqlite3_snprintf(nBuf-16-nLen, zBuf+nLen, SQLITE_TEMP_FILE_PREFIX);
/external/sqlite/dist/orig/
Dsqlite3.c38713 int nLen = sqlite3Strlen30(zBuf);
38714 if( nLen>0 ){
38715 if( winIsDirSep(zBuf[nLen-1]) ){
38717 }else if( nLen+1<nBuf ){
38718 zBuf[nLen] = winGetDirSep();
38719 zBuf[nLen+1] = '\0';
38738 int nMax, nBuf, nDir, nLen;
38935 nLen = sqlite3Strlen30(zBuf);
38936 if( (nLen + nPre + 17) > nBuf ){
38942 sqlite3_snprintf(nBuf-16-nLen, zBuf+nLen, SQLITE_TEMP_FILE_PREFIX);
/external/tpm2/
Dpart4.txt33822 private value is further restricted to be 2^(nLen/2) <= d < n where nLen is the order of n.
33824 …EXAMPLE: If the curve is NIST-P256, then nLen is 256 bits and d will need to be between 2^…
/external/tpm2/generator/
Draw_commands.txt14928 nLen is the number of bits in n
Draw_commands_fixed.txt14939 nLen is the number of bits in n