Home
last modified time | relevance | path

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

123456789

/external/pdfium/xfa/src/fxbarcode/datamatrix/
DBC_C40Encoder.cpp46 int32_t unwritten = (buffer.GetLength() / 3) * 2; in Encode()
55 if ((buffer.GetLength() % 3) == 2) { in Encode()
64 while ((buffer.GetLength() % 3) == 1 && in Encode()
74 int32_t count = buffer.GetLength(); in Encode()
94 int32_t unwritten = (buffer.GetLength() / 3) * 2; in handleEOD()
95 int32_t rest = buffer.GetLength() % 3; in handleEOD()
104 while (buffer.GetLength() >= 3) { in handleEOD()
111 while (buffer.GetLength() >= 3) { in handleEOD()
119 while (buffer.GetLength() >= 3) { in handleEOD()
178 int32_t count = buffer.GetLength(); in backtrackOneCharacter()
DBC_HighLevelEncoder.cpp58 for (int32_t i = 0; i < bytestr.GetLength(); i++) { in getBytesForMessage()
79 (msg.Mid(msg.GetLength() - 1, 1) == MACRO_TRAILER)) { in encodeHighLevel()
84 (msg.Mid(msg.GetLength() - 1, 1) == MACRO_TRAILER)) { in encodeHighLevel()
111 int32_t len = context.m_codewords.GetLength(); in encodeHighLevel()
128 if (codewords.GetLength() < capacity) { in encodeHighLevel()
131 while (codewords.GetLength() < capacity) { in encodeHighLevel()
132 codewords += (randomize253State(PAD, codewords.GetLength() + 1)); in encodeHighLevel()
143 if (startpos >= msg.GetLength()) { in lookAheadTest()
165 if ((startpos + charsProcessed) == msg.GetLength()) { in lookAheadTest()
275 while (p < msg.GetLength()) { in lookAheadTest()
[all …]
/external/pdfium/xfa/src/fee/src/fee/
Dfde_txtedtblock.cpp23 int32_t nCount = wsBlock.GetLength(); in CFDE_TxtEdtBlock()
85 int32_t CFDE_TxtEdtBlock::GetLength() const { in GetLength() function in CFDE_TxtEdtBlock
156 int32_t nCount = m_wsFormat.GetLength(); in Parse()
211 FX_WCHAR wcType = wsField[wsField.GetLength() - 1]; in Create()
242 int32_t nFieldLength = m_wsField.GetLength(); in Insert()
249 int32_t nInsLength = wsIns.GetLength(); in Insert()
276 int32_t nFieldLength = m_wsField.GetLength(); in Delete()
312 int32_t nInsLength = wsIns.GetLength(); in Replace()
313 int32_t nFieldLength = m_wsField.GetLength(); in Replace()
349 int32_t nLength = wsField.GetLength() + FDE_FORMAT_EDIT_FIELD_HADERSIZE + in GetDisplayText()
[all …]
/external/pdfium/xfa/src/fxfa/src/parser/
Dxfa_object_imp.cpp51 hValue, FX_UTF8Encode(className.GetPtr(), className.GetLength())); in Script_ObjectClass_ClassName()
66 FXJSE_ThrowMessage("", FX_UTF8Encode(wsMessage, wsMessage.GetLength())); in ThrowScriptErrorMessage()
613 int32_t iLength = pArguments->GetLength(); in Script_TreeClass_ResolveNode()
621 CFX_WideString::FromUTF8(bsExpression, bsExpression.GetLength()); in Script_TreeClass_ResolveNode()
658 int32_t iLength = pArguments->GetLength(); in Script_TreeClass_ResolveNodes()
667 CFX_WideString::FromUTF8(bsExpression, bsExpression.GetLength()); in Script_TreeClass_ResolveNodes()
742 FXJSE_ThrowMessage("", FX_UTF8Encode(wsMessage, wsMessage.GetLength())); in Script_TreeClass_Nodes()
807 int32_t iLength = pArguments->GetLength(); in Script_NodeClass_ApplyXSL()
815 CFX_WideString::FromUTF8(bsExpression, bsExpression.GetLength()); in Script_NodeClass_ApplyXSL()
818 int32_t iLength = pArguments->GetLength(); in Script_NodeClass_AssignNode()
[all …]
Dxfa_script_hostpseudomodel.cpp161 hDoc, CFX_WideString::FromUTF8(bsValue, bsValue.GetLength())); in Script_HostPseudoModel_Title()
273 int32_t iLength = pArguments->GetLength(); in Script_HostPseudoModel_GotoURL()
286 wsURL = CFX_WideString::FromUTF8(bsURL, bsURL.GetLength()); in Script_HostPseudoModel_GotoURL()
295 int32_t iLength = pArguments->GetLength(); in Script_HostPseudoModel_OpenList()
313 CFX_WideString::FromUTF8(bsString, bsString.GetLength()); in Script_HostPseudoModel_OpenList()
350 int32_t iLength = pArguments->GetLength(); in Script_HostPseudoModel_Response()
365 wsQuestion = CFX_WideString::FromUTF8(bsQuestion, bsQuestion.GetLength()); in Script_HostPseudoModel_Response()
369 wsTitle = CFX_WideString::FromUTF8(bsTitle, bsTitle.GetLength()); in Script_HostPseudoModel_Response()
374 CFX_WideString::FromUTF8(bsDefaultAnswer, bsDefaultAnswer.GetLength()); in Script_HostPseudoModel_Response()
403 int32_t iLength = wsExpression.GetLength(); in XFA_FilterName()
[all …]
Dxfa_script_signaturepseudomodel.cpp26 int32_t iLength = pArguments->GetLength(); in Script_SignaturePseudoModel_Verify()
48 int32_t iLength = pArguments->GetLength(); in Script_SignaturePseudoModel_Sign()
67 CFX_WideString::FromUTF8(bsExpression, bsExpression.GetLength()); in Script_SignaturePseudoModel_Sign()
71 wsXMLIdent = CFX_WideString::FromUTF8(bsXMLIdent, bsXMLIdent.GetLength()); in Script_SignaturePseudoModel_Sign()
82 int32_t iLength = pArguments->GetLength(); in Script_SignaturePseudoModel_Enumerate()
98 int32_t iLength = pArguments->GetLength(); in Script_SignaturePseudoModel_Clear()
Dxfa_basic_imp.cpp40 int32_t iLength = wsName.GetLength(); in XFA_GetPacketByName()
76 int32_t iLength = wsName.GetLength(); in XFA_GetAttributeEnumByName()
102 int32_t iLength = wsName.GetLength(); in XFA_GetAttributeByName()
203 int32_t iLength = wsName.GetLength(); in XFA_GetElementByName()
383 int32_t iLength = wsMethodName.GetLength(); in XFA_GetMethodByName()
415 int32_t iLength = wsAttributeName.GetLength(); in XFA_GetScriptAttributeByName()
453 wsMeasure.GetLength() - iOffset, &iUsedLen); in Set()
578 int32_t CXFA_WideTextRead::GetLength() const { in GetLength() function in CXFA_WideTextRead
579 return m_wsBuffer.GetLength() * sizeof(FX_WCHAR); in GetLength()
590 m_iPosition = m_wsBuffer.GetLength() + iOffset; in Seek()
[all …]
/external/pdfium/xfa/src/fxbarcode/oned/
DBC_OnedCodaBarReader.cpp86 if (result.GetLength() < 2) { in DecodeRow()
95 int32_t len = result.GetLength(); in DecodeRow()
97 for (int32_t k = 1; k < result.GetLength(); k++) { in DecodeRow()
99 if ((k + 1) != result.GetLength()) { in DecodeRow()
105 if (result.GetLength() < 5) { in DecodeRow()
106 int32_t index = temp.Find(result.Mid(1, result.GetLength() - 1)); in DecodeRow()
107 if (index == len - (result.GetLength() - 1)) { in DecodeRow()
112 if (result.GetLength() > minCharacterLength) { in DecodeRow()
113 result = result.Mid(1, result.GetLength() - 2); in DecodeRow()
DBC_OnedCode39Writer.cpp45 for (int32_t i = 0; i < contents.GetLength(); i++) { in CheckContentValidity()
60 for (int32_t i = 0; i < contents.GetLength(); i++) { in CheckExtendedContentValidity()
74 for (int32_t i = 0; i < contents.GetLength(); i++) { in FilterContents()
76 if (ch == (FX_WCHAR)'*' && (i == 0 || i == contents.GetLength() - 1)) { in FilterContents()
98 for (int32_t i = 0; i < contents.GetLength(); i++) { in FilterExtendedContents()
100 if (ch == (FX_WCHAR)'*' && (i == 0 || i == contents.GetLength() - 1)) { in FilterExtendedContents()
158 for (int32_t i = 0; i < contents.GetLength(); i++) { in RenderTextContents()
160 if (ch == (FX_WCHAR)'*' && (i == 0 || i == contents.GetLength() - 1)) { in RenderTextContents()
181 for (int32_t i = 0; i < contents.GetLength(); i++) { in RenderExtendedTextContents()
183 if (ch == (FX_WCHAR)'*' && (i == 0 || i == contents.GetLength() - 1)) { in RenderExtendedTextContents()
[all …]
DBC_OnedCode128Writer.cpp51 while (position < contents.GetLength()) { in CheckContentValidity()
71 for (int32_t i = 0; i < contents.GetLength(); i++) { in FilterContents()
81 for (int32_t i = 0; i < filterChineseChar.GetLength(); i++) { in FilterContents()
90 for (int32_t i = 0; i < filterChineseChar.GetLength(); i++) { in FilterContents()
148 if (contents.GetLength() < 1 || contents.GetLength() > 80) { in Encode()
165 m_iContentLen = contents.GetLength() + 3; in Encode()
193 while (position < contents.GetLength()) { in Encode128B()
212 while (position < contents.GetLength()) { in Encode128C()
DBC_OneDimWriter.cpp140 int32_t length = text.GetLength(); in CalcTextInfo()
141 FX_DWORD* pCharCode = FX_Alloc(FX_DWORD, text.GetLength()); in CalcTextInfo()
143 for (int32_t j = 0; j < text.GetLength(); j++) { in CalcTextInfo()
204 device->DrawNormalText(str.GetLength(), pCharPos, m_pFont, in ShowDeviceChars()
223 ge.DrawNormalText(str.GetLength(), pCharPos, m_pFont, in ShowBitmapChars()
246 int32_t iLen = str.GetLength(); in ShowChars()
318 for (; i < contents.GetLength(); i++) in RenderBitmapResult()
322 if (m_locTextLoc != BC_TEXT_LOC_NONE && i < contents.GetLength()) { in RenderBitmapResult()
359 for (; i < contents.GetLength(); i++) in RenderDeviceResult()
363 if (m_locTextLoc != BC_TEXT_LOC_NONE && i < contents.GetLength()) { in RenderDeviceResult()
[all …]
DBC_OnedCodaBarWriter.cpp104 for (index = 0; index < contents.GetLength(); index++) { in CheckContentValidity()
118 for (int32_t index = 0; index < contents.GetLength(); index++) { in FilterContents()
161 m_iContentLen = data.GetLength(); in Encode()
162 uint8_t* result = FX_Alloc2D(uint8_t, m_iWideNarrRatio * 7, data.GetLength()); in Encode()
165 for (int32_t index = 0; index < data.GetLength(); index++) { in Encode()
208 if (index < data.GetLength() - 1) { in Encode()
/external/pdfium/core/src/fxcrt/
Dfx_basic_bstring.cpp134 int nNewLen = str1.GetLength() + str2.GetLength(); in CFX_ByteString()
140 FXSYS_memcpy(m_pData->m_String, str1.GetCStr(), str1.GetLength()); in CFX_ByteString()
141 FXSYS_memcpy(m_pData->m_String + str1.GetLength(), str2.GetCStr(), in CFX_ByteString()
142 str2.GetLength()); in CFX_ByteString()
157 AssignCopy(str.GetLength(), str.GetCStr()); in operator =()
217 ConcatInPlace(string.GetLength(), string.GetCStr()); in operator +=()
234 return m_pData->m_nDataLength == str.GetLength() && in Equal()
235 FXSYS_memcmp(m_pData->m_String, str.GetCStr(), str.GetLength()) == 0; in Equal()
258 FX_STRSIZE len = str.GetLength(); in EqualNoCase()
327 ReleaseBuffer(GetLength()); in Reserve()
[all …]
Dfx_basic_wstring.cpp84 m_pData = StringData::Create(str.GetLength()); in CFX_WideString()
87 str.GetLength() * sizeof(FX_WCHAR)); in CFX_WideString()
93 int nNewLen = str1.GetLength() + str2.GetLength(); in CFX_WideString()
100 str1.GetLength() * sizeof(FX_WCHAR)); in CFX_WideString()
101 FXSYS_memcpy(m_pData->m_String + str1.GetLength(), str2.GetPtr(), in CFX_WideString()
102 str2.GetLength() * sizeof(FX_WCHAR)); in CFX_WideString()
134 AssignCopy(stringSrc.GetLength(), stringSrc.GetPtr()); in operator =()
179 ConcatInPlace(string.GetLength(), string.GetPtr()); in operator +=()
196 return str.GetLength() == m_pData->m_nDataLength && in Equal()
315 ReleaseBuffer(GetLength()); in Reserve()
[all …]
Dfx_xml_composer.cpp18 for (; iStart < bsFullName.GetLength(); iStart++) { in FX_XML_SplitQualifiedName()
23 if (iStart >= bsFullName.GetLength()) { in FX_XML_SplitQualifiedName()
29 bsFullName.GetLength() - iStart); in FX_XML_SplitQualifiedName()
/external/webrtc/webrtc/base/
Dcryptstring.h27 virtual size_t GetLength() const = 0;
37 size_t GetLength() const override;
47 size_t GetLength() const { return impl_->GetLength(); } in GetLength() function
92 size_t len = password->GetLength(); in Append()
98 size_t GetLength() { in GetLength() function
157 size_t GetLength() const override;
/external/pdfium/xfa/src/fxfa/src/fm2js/
Dxfa_fm2jscontext.cpp236 if (args.GetLength() == 1) { in Abs()
261 int32_t argc = args.GetLength(); in Avg()
328 if (args.GetLength() == 1) { in Ceil()
348 int32_t argc = args.GetLength(); in Count()
411 if (args.GetLength() == 1) { in Floor()
431 int32_t argc = args.GetLength(); in Max()
534 int32_t argc = args.GetLength(); in Min()
637 if (args.GetLength() == 2) { in Mod()
724 int32_t argc = args.GetLength(); in Round()
832 int32_t argc = args.GetLength(); in Sum()
[all …]
/external/pdfium/xfa/src/fdp/src/css/
Dfde_csssyntax.cpp77 m_TextData.GetLength() > 0) { in DoSyntaxParse()
89 m_TextData.GetLength() > 0) { in DoSyntaxParse()
142 if (m_TextData.GetLength() > 0) { in DoSyntaxParse()
210 if (wch == '/' && m_TextData.GetLength() > 0 && in DoSyntaxParse()
211 m_TextData.GetAt(m_TextData.GetLength() - 1) == '*') { in DoSyntaxParse()
232 if (m_TextData.GetLength() > 0) { in DoSyntaxParse()
247 if (m_TextData.GetLength() > 0) { in DoSyntaxParse()
281 int32_t iURIStart, iURILength = m_TextData.GetLength(); in DoSyntaxParse()
300 int32_t iLen = m_TextData.GetLength(); in DoSyntaxParse()
374 if (m_TextData.GetLength() > 0 || wch > ' ') { in AppendChar()
[all …]
/external/pdfium/xfa/src/fgas/src/localization/
Dfx_locale.cpp64 FX_STRSIZE nLength = wsSymbols.GetLength(); in FX_Local_Find()
215 FX_ParseTimeZone(wsTimeZone, wsTimeZone.GetLength(), tz); in GetTimeZone()
317 int32_t len = wsValue.GetLength(); in FX_WStringToNumeric()
458 int32_t len = m_wsValue.GetLength(); in ToString()
527 CFX_WideStringC((const FX_WCHAR*)wsFrac + 1, wsFrac.GetLength() - 1); in ToString()
556 int32_t iStrLen = wsFormatString.GetLength(); in SplitFormatString()
641 int32_t iLen = wsOutput.GetLength(); in FX_GetLiteralTextReverse()
667 int32_t iLenf = wsPattern.GetLength(); in GetCategory()
691 FX_HashCode_String_GetW(wsCategory, wsCategory.GetLength()); in GetCategory()
733 int32_t iLenf = wsPattern.GetLength(); in GetLocaleName()
[all …]
/external/pdfium/xfa/src/fxbarcode/
DBC_UtilCodingConvert.cpp17 CFX_WideString unicode = CFX_WideString::FromLocal(src, src.GetLength()); in LocaleToUtf8()
22 CFX_WideString unicode = CFX_WideString::FromLocal(src, src.GetLength()); in LocaleToUtf8()
24 for (int32_t i = 0; i < utf8.GetLength(); i++) { in LocaleToUtf8()
34 CFX_WideString unicode = CFX_WideString::FromUTF8(utf8, utf8.GetLength()); in Utf8ToLocale()
/external/pdfium/core/include/fxcrt/
Dfx_string.h99 FX_STRSIZE GetLength() const { return m_Length; } in GetLength() function
183 FX_STRSIZE GetLength() const { return m_pData ? m_pData->m_nDataLength : 0; } in GetLength() function
185 bool IsEmpty() const { return !GetLength(); } in IsEmpty()
207 std::min(GetLength(), str.GetLength()));
208 return result < 0 || (result == 0 && GetLength() < str.GetLength());
352 m_Length = src.GetLength(); in CFX_ByteStringC()
356 m_Length = src.GetLength();
473 FX_STRSIZE GetLength() const { return m_Length; } in GetLength() function
580 FX_BOOL IsEmpty() const { return !GetLength(); } in IsEmpty()
582 FX_STRSIZE GetLength() const { return m_pData ? m_pData->m_nDataLength : 0; } in GetLength() function
[all …]
/external/pdfium/fpdfsdk/src/fpdfxfa/
Dfpdfxfa_doc.cpp571 wsTitle = wsTitle.FromLocal(csTitle.GetBuffer(csTitle.GetLength())); in GetTitle()
572 csTitle.ReleaseBuffer(csTitle.GetLength()); in GetTitle()
606 int len = bs.GetLength() / sizeof(unsigned short); in ExportData()
622 content.GetLength()); in ExportData()
666 bs.GetLength() / sizeof(unsigned short)); in ExportData()
672 content.GetLength()); in ExportData()
845 int len = bs.GetLength() / sizeof(unsigned short); in _OnBeforeNotifySumbit()
903 int len = bs.GetLength() / sizeof(unsigned short); in OpenLinkedFile()
931 fileStream.WriteBlock((const FX_CHAR*)content, 0, content.GetLength()); in _ExportSubmitFile()
1049 tmp = srcURL.Right(csURL.GetLength() - 7); in _MailToInfo()
[all …]
/external/pdfium/fpdfsdk/src/javascript/
DJS_GlobalData.cpp154 if (sPropName.GetLength() == 0) in SetGlobalVariableNumber()
177 if (sPropName.GetLength() == 0) in SetGlobalVariableBoolean()
201 if (sPropName.GetLength() == 0) in SetGlobalVariableString()
226 if (sPropName.GetLength() == 0) in SetGlobalVariableObject()
249 if (sPropName.GetLength() == 0) in SetGlobalVariableNull()
271 if (sPropName.GetLength() == 0) in SetGlobalVariablePersistent()
289 if (sPropName.GetLength() == 0) in DeleteGlobalVariable()
454 FX_DWORD dwNameLen = (FX_DWORD)name.GetLength(); in MakeByteString()
463 FX_DWORD dwNameLen = (FX_DWORD)name.GetLength(); in MakeByteString()
472 FX_DWORD dwNameLen = (FX_DWORD)name.GetLength(); in MakeByteString()
[all …]
/external/pdfium/fpdfsdk/src/
Dfpdftext.cpp121 if (str.GetLength() > count) in FPDFText_GetText()
125 FXSYS_memcpy(result, cbUTF16str.GetBuffer(cbUTF16str.GetLength()), in FPDFText_GetText()
126 cbUTF16str.GetLength()); in FPDFText_GetText()
127 cbUTF16str.ReleaseBuffer(cbUTF16str.GetLength()); in FPDFText_GetText()
129 return cbUTF16str.GetLength() / sizeof(unsigned short); in FPDFText_GetText()
172 return str.GetLength(); in FPDFText_GetBoundedText()
176 int len = cbUTF16Str.GetLength() / sizeof(unsigned short); in FPDFText_GetBoundedText()
257 int len = cbUTF16URL.GetLength() / sizeof(unsigned short); in FPDFLink_GetURL()
/external/pdfium/xfa/src/fgas/src/crt/
Dfx_system.cpp156 int32_t iUrlLen = wsUrl.GetLength(); in FX_IsRelativePath()
174 const FX_WCHAR* pRelEnd = pRelStart + wsRelativePath.GetLength(); in FX_JoinPath()
179 return wsAbsolutePath.GetLength() > 0; in FX_JoinPath()
183 return wsAbsolutePath.GetLength() > 0; in FX_JoinPath()
207 const FX_WCHAR* pBaseEnd = pBaseStart + wsBasePath.GetLength(); in FX_JoinPath()
212 return wsAbsolutePath.GetLength() > 0; in FX_JoinPath()
225 return wsAbsolutePath.GetLength() > 0; in FX_JoinPath()

123456789