/external/pdfium/core/fxcrt/xml/ |
D | cfx_xmldoc.cpp | 68 pXMLStream->WriteString(ws.AsStringView()); in SaveXMLNode() 72 pXMLStream->WriteString(ws.AsStringView()); in SaveXMLNode() 87 pXMLStream->WriteString(ws.AsStringView()); in SaveXMLNode() 94 pXMLStream->WriteString(ws.AsStringView()); in SaveXMLNode() 97 pXMLStream->WriteString(ws.AsStringView()); in SaveXMLNode() 105 pXMLStream->WriteString(ws.AsStringView()); in SaveXMLNode() 120 pXMLStream->WriteString(ws.AsStringView()); in SaveXMLNode() 124 pXMLStream->WriteString(ws.AsStringView()); in SaveXMLNode() 136 pXMLStream->WriteString(ws.AsStringView()); in SaveXMLNode() 146 pXMLStream->WriteString(ws.AsStringView()); in SaveXMLNode() [all …]
|
D | cfx_xmlnode.cpp | 348 pXMLStream->WriteString(ws.AsStringView()); in SaveXMLNode() 351 pXMLStream->WriteString(ws.AsStringView()); in SaveXMLNode() 366 pXMLStream->WriteString(ws.AsStringView()); in SaveXMLNode() 373 pXMLStream->WriteString(ws.AsStringView()); in SaveXMLNode() 376 pXMLStream->WriteString(ws.AsStringView()); in SaveXMLNode() 384 pXMLStream->WriteString(ws.AsStringView()); in SaveXMLNode() 399 pXMLStream->WriteString(ws.AsStringView()); in SaveXMLNode() 403 pXMLStream->WriteString(ws.AsStringView()); in SaveXMLNode() 415 pXMLStream->WriteString(ws.AsStringView()); in SaveXMLNode() 425 pXMLStream->WriteString(ws.AsStringView()); in SaveXMLNode() [all …]
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_defaultappearance.cpp | 19 CPDF_SimpleParser syntax(m_csDA.AsStringView()); in HasFont() 28 CPDF_SimpleParser syntax(m_csDA.AsStringView()); in GetFontString() 45 CPDF_SimpleParser syntax(m_csDA.AsStringView()); in GetFont() 58 CPDF_SimpleParser syntax(m_csDA.AsStringView()); in HasColor() 76 CPDF_SimpleParser syntax(m_csDA.AsStringView()); in GetColorString() 120 CPDF_SimpleParser syntax(m_csDA.AsStringView()); in GetColor() 153 CPDF_SimpleParser syntax(m_csDA.AsStringView()); in GetColor() 189 CPDF_SimpleParser syntax(m_csDA.AsStringView()); in HasTextMatrix() 198 CPDF_SimpleParser syntax(m_csDA.AsStringView()); in GetTextMatrixString() 213 CPDF_SimpleParser syntax(m_csDA.AsStringView()); in GetTextMatrix()
|
D | cpdf_filespec.cpp | 98 WideString::FromLocal(pDict->GetStringFor("F").AsStringView()); in GetFileName() 108 WideString::FromLocal(pDict->GetStringFor(key).AsStringView()); in GetFileName() 114 csFileName = WideString::FromLocal(m_pObj->GetString().AsStringView()); in GetFileName()
|
/external/pdfium/xfa/fxfa/fm2js/ |
D | cxfa_fmsimpleexpression_unittest.cpp | 46 EXPECT_EQ(result.AsStringView(), js.AsStringView()); in TEST() 53 EXPECT_EQ(L"", accumulator.AsStringView()); in TEST() 60 EXPECT_EQ(L"a", accumulator.AsStringView()); in TEST() 67 EXPECT_EQ(L"\"abcd\"", accumulator.AsStringView()); in TEST() 83 EXPECT_EQ(L"\"Simon says \\\"run\\\"\"", accumulator.AsStringView()); in TEST()
|
D | cxfa_fmparser_unittest.cpp | 25 EXPECT_EQ(L"// comments only", buf.AsStringView()); in TEST() 39 EXPECT_EQ(L"// comments only", buf.AsStringView()); in TEST() 58 EXPECT_EQ(ret, buf.AsStringView()); in TEST() 114 EXPECT_EQ(ret, buf.AsStringView()); in TEST()
|
/external/pdfium/core/fxcrt/ |
D | bytestring.h | 82 ByteStringView AsStringView() const { in AsStringView() function 188 uint32_t GetID() const { return AsStringView().GetID(); } in GetID() 238 return ByteString(str1.AsStringView(), str2.AsStringView()); 241 return ByteString(str1.AsStringView(), ByteStringView(ch)); 244 return ByteString(ch, str2.AsStringView()); 247 return ByteString(str1.AsStringView(), str2); 250 return ByteString(str1, str2.AsStringView()); 254 return ByteString(str1.AsStringView(), str2); 258 return ByteString(str1, str2.AsStringView()); 275 return FX_HashCode_GetA(str.AsStringView(), false);
|
D | widestring.h | 78 WideStringView AsStringView() const { in AsStringView() function 225 return WideString(str1.AsStringView(), str2.AsStringView()); 228 return WideString(str1.AsStringView(), WideStringView(ch)); 231 return WideString(ch, str2.AsStringView()); 234 return WideString(str1.AsStringView(), str2); 237 return WideString(str1, str2.AsStringView()); 241 return WideString(str1.AsStringView(), str2); 245 return WideString(str1, str2.AsStringView()); 279 return FX_HashCode_GetW(str.AsStringView(), false);
|
/external/pdfium/fxjs/ |
D | cfxjse_formcalc_context.cpp | 688 propertyValue->ToString().AsStringView(), newPropertyValue.get()); in Avg() 762 propertyValue->ToString().AsStringView(), newPropertyValue.get()); in Count() 838 propertyValue->ToString().AsStringView(), newPropertyValue.get()); in Max() 912 propertyValue->ToString().AsStringView(), newPropertyValue.get()); in Min() 1071 propertyValue->ToString().AsStringView(), newPropertyValue.get()); in Sum() 1116 .AsStringView())); in Date() 1157 Local2IsoDate(pThis, dateString.AsStringView(), in Date2Num() 1158 formatString.AsStringView(), localString.AsStringView()); in Date2Num() 1160 DateString2Num(szIsoDateString.AsStringView())); in Date2Num() 1197 GetStandardDateFormat(pThis, iStyle, szLocal.AsStringView()); in DateFmt() [all …]
|
D | cfxjse_engine.cpp | 137 btScript = FX_UTF8Encode(wsJavaScript.AsStringView()); in RunScript() 185 pRefNode, wsPropName.AsStringView(), pValue, in GlobalPropertySetter() 219 FX_HashCode_GetW(wsPropName.AsStringView(), false)); in GlobalPropertyGetter() 235 pRefNode, wsPropName.AsStringView(), pValue, in GlobalPropertyGetter() 243 pRefNode, wsPropName.AsStringView(), pValue, in GlobalPropertyGetter() 300 ToNode(pObject), wsPropName.AsStringView(), pReturnValue, in NormalPropertyGetter() 311 ToNode(pObject), wsPropName.AsStringView(), pReturnValue, in NormalPropertyGetter() 339 pObject->GetElementType(), wsPropName.AsStringView()); in NormalPropertySetter() 358 pPropOrChild = pNode->GetFirstChildByName(wsPropName.AsStringView()); in NormalPropertySetter() 395 !XFA_GetScriptAttributeByName(eType, wsPropName.AsStringView())) { in NormalPropTypeGetter()
|
/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_xmllocale.cpp | 64 m_pLocaleData->GetElement("", bsSymbols.AsStringView(), 0); in GetNumbericSymbol() 70 wsName.AsStringView()); in GetNumbericSymbol() 121 pChild->GetElement("", pstrSymbolNames.AsStringView(), 0); in GetCalendarSymbol() 126 pSymbolNames = pChild->GetElement("", pstrSymbolNames.AsStringView(), 1); in GetCalendarSymbol() 161 return GetPattern(pElement, "datePattern", wsName.AsStringView()); in GetDatePattern() 186 return GetPattern(pElement, "timePattern", wsName.AsStringView()); in GetTimePattern()
|
D | xfa_utils.cpp | 271 wsChildren += buf.AsStringView(); in RegenerateFormFile_Changed() 300 wsChildren += newBuf.AsStringView(); in RegenerateFormFile_Changed() 311 wsChildren += newBuf.AsStringView(); in RegenerateFormFile_Changed() 351 pStream->WriteString(buf.AsStringView()); in RegenerateFormFile_Container() 376 pStream->WriteString(wsOutput.AsStringView()); in RegenerateFormFile_Container() 533 pStream->WriteString(wsChecksum.AsStringView()); in XFA_DataExporter_RegenerateFormFile() 545 pStream->WriteString(wsVersionNumber.AsStringView()); in XFA_DataExporter_RegenerateFormFile()
|
/external/pdfium/fxjs/xfa/ |
D | cjx_field.cpp | 58 execSingleEventByName(eventString.AsStringView(), XFA_Element::Field); in execEvent() 111 return CJS_Return(runtime->NewString(value->UTF8Encode().AsStringView())); in getSaveItem() 125 WideString boundValue = pWidgetAcc->GetItemValue(value.AsStringView()); in boundItem() 126 return CJS_Return(runtime->NewString(boundValue.UTF8Encode().AsStringView())); in boundItem() 175 return CJS_Return(runtime->NewString(value->UTF8Encode().AsStringView())); in getDisplayItem() 280 pValue->SetString(content.UTF8Encode().AsStringView()); in defaultValue() 282 CFX_Decimal decimal(content.AsStringView()); in defaultValue() 290 CFX_Decimal decimal(content.AsStringView()); in defaultValue() 293 pValue->SetString(content.UTF8Encode().AsStringView()); in defaultValue() 309 pWidgetAcc->GetValue(XFA_VALUEPICTURE_Edit).UTF8Encode().AsStringView()); in editValue() [all …]
|
D | cjx_hostpseudomodel.cpp | 130 pNotify->GetAppProvider()->GetLanguage().UTF8Encode().AsStringView()); in language() 160 pNotify->GetAppProvider()->GetPlatform().UTF8Encode().AsStringView()); in platform() 181 pValue->SetString(wsTitle.UTF8Encode().AsStringView()); in title() 245 pNotify->GetAppProvider()->GetAppName().UTF8Encode().AsStringView()); in name() 296 pObject, runtime->ToWideString(params[0]).AsStringView(), in openList() 346 return CJS_Return(runtime->NewString(answer.UTF8Encode().AsStringView())); in response() 379 iStart = FilterName(expression.AsStringView(), iStart, wsName); in resetData() 391 bool iRet = pScriptContext->ResolveObjects(pObject, wsName.AsStringView(), in resetData() 456 pObject, runtime->ToWideString(params[0]).AsStringView(), in setFocus()
|
D | cjx_node.cpp | 154 GetAttribute(expression.AsStringView()).UTF8Encode().AsStringView())); in getAttribute() 185 XFA_Attribute attr = CXFA_Node::NameToAttribute(expression.AsStringView()); in isPropertySpecified() 349 runtime->NewString(bsXMLHeader.UTF8Encode().AsStringView())); in saveXML() 359 pStream->WriteString(bsXMLHeader.AsStringView()); in saveXML() 378 SetAttribute(attribute.AsStringView(), attributeValue.AsStringView(), true); in setAttribute() 406 TryNamespace().value_or(WideString()).UTF8Encode().AsStringView()); in ns()
|
D | cjx_object.cpp | 150 FX_UTF8Encode(GetXFAObject()->GetClassName()).AsStringView()); in className() 211 FXJSE_ThrowMessage(wsMessage.UTF8Encode().AsStringView()); in ThrowException() 461 SetMapModuleString(pKey, wsValue.AsStringView()); in SetCData() 739 SetAttribute(XFA_Attribute::ContentType, wsContentType.AsStringView(), in SetContent() 1214 pValue->SetString(GetAttribute(eAttribute).UTF8Encode().AsStringView()); in Script_Attribute_String() 1219 SetAttribute(eAttribute, wsValue.AsStringView(), true); in Script_Attribute_String() 1244 pProtoRoot, wsSOM.AsStringView(), &resolveNodeRS, in Script_Attribute_String() 1253 pProtoNode = GetDocument()->GetNodeByID(pProtoRoot, wsID.AsStringView()); in Script_Attribute_String() 1319 pValue->SetString(ByteString::Format("%d,%d,%d", r, g, b).AsStringView()); in Script_Som_FontColor() 1347 WideString::Format(L"%d,%d,%d", r, g, b).UTF8Encode().AsStringView()); in Script_Som_FillColor() [all …]
|
D | cjx_tree.cpp | 52 expression.AsStringView(), &resolveNodeRS, in resolveNode() 145 FXJSE_ThrowMessage(wsMessage.UTF8Encode().AsStringView()); in nodes() 200 pValue->SetString(wsSOMExpression.UTF8Encode().AsStringView()); in somExpression() 214 pScriptContext->ResolveObjects(refNode, wsExpression.AsStringView(), in ResolveNodeList()
|
D | cjx_exclgroup.cpp | 39 execSingleEventByName(runtime->ToWideString(params[0]).AsStringView(), in execEvent() 97 runtime->ToWideString(params[0]).AsStringView(), true); in selectedMember() 118 pWidgetAcc->SetSelectedMemberByValue(pValue->ToWideString().AsStringView(), in defaultValue() 129 pValue->SetString(wsValue.UTF8Encode().AsStringView()); in defaultValue()
|
/external/pdfium/fxbarcode/ |
D | cbc_code128.cpp | 50 WideString encodeContents = pWriter->FilterContents(content.AsStringView()); in Encode() 57 return pWriter->RenderResult(encodeContents.AsStringView(), data.get(), in Encode() 64 device, matrix, m_renderContents.AsStringView()); in RenderDevice()
|
D | cbc_code39.cpp | 50 return pWriter->RenderResult(renderContents.AsStringView(), data.get(), in Encode() 58 if (!pWriter->encodedContents(m_renderContents.AsStringView(), &renderCon)) in RenderDevice() 60 return pWriter->RenderDeviceResult(device, matrix, renderCon.AsStringView()); in RenderDevice()
|
D | BC_UtilCodingConvert.cpp | 20 WideString unicode = WideString::FromLocal(src.AsStringView()); in LocaleToUtf8() 26 WideString unicode = WideString::FromLocal(src.AsStringView()); in LocaleToUtf8() 37 WideString unicode = WideString::FromUTF8(utf8.AsStringView()); in Utf8ToLocale()
|
D | cbc_codabar.cpp | 66 return pWriter->RenderResult(filtercontents.AsStringView(), data.get(), in Encode() 74 pWriter->encodedContents(m_renderContents.AsStringView()); in RenderDevice() 75 return pWriter->RenderDeviceResult(device, matrix, renderCon.AsStringView()); in RenderDevice()
|
D | cbc_ean8.cpp | 66 return pWriter->RenderResult(encodeContents.AsStringView(), data.get(), in Encode() 73 device, matrix, m_renderContents.AsStringView()); in RenderDevice()
|
/external/pdfium/core/fpdfapi/font/ |
D | cpdf_tounicodemap.cpp | 164 uint32_t lowcode = StringToCode(low.AsStringView()); in Load() 166 (lowcode & 0xffffff00) | (StringToCode(high.AsStringView()) & 0xff); in Load() 174 WideString destcode = StringToWideString(dest.AsStringView()); in Load() 189 WideString destcode = StringToWideString(start.AsStringView()); in Load() 193 value = StringToCode(start.AsStringView()); in Load()
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_number.cpp | 52 m_bInteger = FX_atonum(str.AsStringView(), &m_Integer); in SetString() 62 archive->WriteString(GetString().AsStringView()); in WriteTo()
|