/external/pdfium/core/fxcrt/ |
D | cfx_widetextbuf_unittest.cpp | 27 EXPECT_TRUE(wtb.AsStringView().EqualsASCII("ABCDEFG")); in TEST() 30 EXPECT_TRUE(wtb.AsStringView().EqualsASCII("AEFG")); in TEST() 33 EXPECT_TRUE(wtb.AsStringView().EqualsASCII("AEFG")); in TEST() 36 EXPECT_TRUE(wtb.AsStringView().EqualsASCII("FG")); in TEST() 39 EXPECT_TRUE(wtb.AsStringView().EqualsASCII("")); in TEST() 42 EXPECT_TRUE(wtb.AsStringView().EqualsASCII("")); in TEST()
|
D | widestring.h | 202 bool EqualsASCII(ByteStringView that) const { in EqualsASCII() function 203 return AsStringView().EqualsASCII(that); in EqualsASCII()
|
D | widestring_unittest.cpp | 1104 TEST(WideString, EqualsASCII) { in TEST() argument 1105 EXPECT_TRUE(WideString(L"").EqualsASCII("")); in TEST() 1106 EXPECT_FALSE(WideString(L"A").EqualsASCII("")); in TEST() 1107 EXPECT_FALSE(WideString(L"").EqualsASCII("A")); in TEST() 1108 EXPECT_FALSE(WideString(L"A").EqualsASCII("B")); in TEST() 1109 EXPECT_TRUE(WideString(L"ABC").EqualsASCII("ABC")); in TEST() 1110 EXPECT_FALSE(WideString(L"ABC").EqualsASCII("AEC")); in TEST() 1111 EXPECT_FALSE(WideString(L"\u00c1").EqualsASCII("\x41")); in TEST() 1112 EXPECT_FALSE(WideString(L"\u0141").EqualsASCII("\x41")); in TEST()
|
/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_measurement.cpp | 137 if (wsUnit.EqualsASCII("mm")) in GetUnitFromString() 139 if (wsUnit.EqualsASCII("pt")) in GetUnitFromString() 141 if (wsUnit.EqualsASCII("in")) in GetUnitFromString() 143 if (wsUnit.EqualsASCII("cm")) in GetUnitFromString() 145 if (wsUnit.EqualsASCII("pc")) in GetUnitFromString() 147 if (wsUnit.EqualsASCII("mp")) in GetUnitFromString() 149 if (wsUnit.EqualsASCII("em")) in GetUnitFromString() 151 if (wsUnit.EqualsASCII("%")) in GetUnitFromString()
|
D | cxfa_document_parser.cpp | 90 if (wsLocalAttrName.EqualsASCII("xmlns") || wsNSPrefix.EqualsASCII("xmlns") || in ResolveAttribute() 91 wsNSPrefix.EqualsASCII("xml")) { in ResolveAttribute() 224 return pRichTextXMLNode && pRichTextXMLNode->GetNamespaceURI().EqualsASCII( in XFA_RecognizeRichText() 362 if (it.first.EqualsASCII("uuid")) { in ParseAsXDPPacket_XDP() 365 } else if (it.first.EqualsASCII("timeStamp")) { in ParseAsXDPPacket_XDP() 694 if (wsAttrName.EqualsASCII("nil") && it.second.EqualsASCII("true")) in NormalLoader() 748 if (wsContentType.EqualsASCII("text/html")) in ParseContentNode() 750 else if (wsContentType.EqualsASCII("text/xml")) in ParseContentNode() 806 if (wsNamespaceURI.EqualsASCII( in ParseDataGroup() 808 wsNamespaceURI.EqualsASCII( in ParseDataGroup() [all …]
|
D | cxfa_script.cpp | 53 if (cData.value().EqualsASCII("application/x-formcalc")) in GetContentType() 55 if (cData.value().EqualsASCII("application/x-javascript")) in GetContentType()
|
D | xfa_basic_data.cpp | 143 if (elem != std::end(g_ElementTable) && name.EqualsASCII(elem->name)) in XFA_GetElementByName() 157 if (elem != std::end(g_AttributeTable) && name.EqualsASCII(elem->name)) { in XFA_GetAttributeByName() 176 if (it != std::end(g_AttributeValueTable) && name.EqualsASCII(it->pName)) in XFA_GetAttributeValueByName()
|
D | cxfa_xmllocale.cpp | 45 if (elem && elem->GetName().EqualsASCII("locale")) { in Create() 142 abbr_value = abbr.EqualsASCII("1"); in GetCalendarSymbol()
|
D | cxfa_document.cpp | 110 if (contentType.value().EqualsASCII("text/html")) in FormValueNode_SetChildContent() 112 else if (contentType.value().EqualsASCII("text/xml")) in FormValueNode_SetChildContent() 350 if (bUpLevel || !wsRef.EqualsASCII("name")) in FindDataRefDataNode() 753 !ns.value().EqualsASCII("http://ns.adobe.com/data-description/")) { in MaybeCreateDataNode() 1256 !ns.value().EqualsASCII("http://ns.adobe.com/data-description/")) { in UpdateDataRelation() 1402 bool bInteractive = wsInteractive.EqualsASCII("1"); in IsInteractive() 1535 if (!wsURI.IsEmpty() && !wsURI.EqualsASCII(".")) in DoProtoMerge() 1646 if (namespaceURI.value().EqualsASCII( in DoDataMerge()
|
D | xfa_utils.cpp | 194 contentType.value().EqualsASCII("text/html")) { in RegenerateFormFile_Changed() 209 contentType.value().EqualsASCII("text/xml")) { in RegenerateFormFile_Changed()
|
/external/pdfium/xfa/fgas/crt/ |
D | cfgas_stringformatter.cpp | 271 if (symbol.EqualsASCII("D") || symbol.EqualsASCII("DD")) { in ParseLocaleDate() 275 } else if (symbol.EqualsASCII("J")) { in ParseLocaleDate() 278 } else if (symbol.EqualsASCII("M") || symbol.EqualsASCII("MM")) { in ParseLocaleDate() 282 } else if (symbol.EqualsASCII("MMM") || symbol.EqualsASCII("MMMM")) { in ParseLocaleDate() 285 pLocale->GetMonthName(i, symbol.EqualsASCII("MMM")); in ParseLocaleDate() 295 } else if (symbol.EqualsASCII("EEE") || symbol.EqualsASCII("EEEE")) { in ParseLocaleDate() 298 pLocale->GetDayName(i, symbol.EqualsASCII("EEE")); in ParseLocaleDate() 307 } else if (symbol.EqualsASCII("YY") || symbol.EqualsASCII("YYYY")) { in ParseLocaleDate() 314 if (symbol.EqualsASCII("YY")) { in ParseLocaleDate() 320 } else if (symbol.EqualsASCII("G")) { in ParseLocaleDate() [all …]
|
/external/pdfium/xfa/fxfa/ |
D | cxfa_textprovider.cpp | 52 contentType.value().EqualsASCII("text/html")) { in GetTextNode() 89 contentType.value().EqualsASCII("text/html")) { in GetTextNode() 105 wsName.EqualsASCII("rollover")) { in GetTextNode() 108 if (m_eType == XFA_TEXTPROVIDERTYPE_Down && wsName.EqualsASCII("down")) in GetTextNode()
|
D | cxfa_textparser.cpp | 243 if (!(tagProvider->GetTagName().EqualsASCII("body") && in ParseRichText() 244 tagProvider->GetTagName().EqualsASCII("html"))) { in ParseRichText() 439 if (wsValue.EqualsASCII("word")) in GetUnderline() 529 if (!ws.EqualsASCII("uri")) in GetEmbeddedObj() 534 if (!(ws.EqualsASCII("raw") || ws.EqualsASCII("formatted"))) in GetEmbeddedObj()
|
D | cxfa_textlayout.cpp | 107 if (wsTag.EqualsASCII("body") || wsTag.EqualsASCII("html")) in GetXMLContainerNode() 727 if (wsName.EqualsASCII("ol")) { in LoadRichText() 746 !(wsName.EqualsASCII("body") || wsName.EqualsASCII("html") || in LoadRichText() 747 wsName.EqualsASCII("ol") || wsName.EqualsASCII("ul")))) { in LoadRichText() 755 if (wsName.EqualsASCII("a")) { in LoadRichText() 768 } else if (wsName.EqualsASCII("br")) { in LoadRichText() 770 } else if (wsName.EqualsASCII("li")) { in LoadRichText()
|
D | cxfa_ffdoc.cpp | 165 if (wsType.EqualsASCII("required")) in OpenDoc()
|
/external/pdfium/fxjs/ |
D | cjs_color.cpp | 94 if (sSpace.EqualsASCII("T")) in ConvertArrayToPWLColor() 102 if (sSpace.EqualsASCII("G")) in ConvertArrayToPWLColor() 115 if (sSpace.EqualsASCII("RGB")) in ConvertArrayToPWLColor() 123 if (sSpace.EqualsASCII("CMYK")) in ConvertArrayToPWLColor() 281 if (sDestSpace.EqualsASCII("T")) in convert() 283 else if (sDestSpace.EqualsASCII("G")) in convert() 285 else if (sDestSpace.EqualsASCII("RGB")) in convert() 287 else if (sDestSpace.EqualsASCII("CMYK")) in convert()
|
/external/pdfium/xfa/fxfa/fm2js/ |
D | cxfa_fmsimpleexpression.cpp | 157 if (m_wsIdentifier.EqualsASCII("$")) in ToJavaScript() 159 else if (m_wsIdentifier.EqualsASCII("!")) in ToJavaScript() 161 else if (m_wsIdentifier.EqualsASCII("$data")) in ToJavaScript() 163 else if (m_wsIdentifier.EqualsASCII("$event")) in ToJavaScript() 165 else if (m_wsIdentifier.EqualsASCII("$form")) in ToJavaScript() 167 else if (m_wsIdentifier.EqualsASCII("$host")) in ToJavaScript() 169 else if (m_wsIdentifier.EqualsASCII("$layout")) in ToJavaScript() 171 else if (m_wsIdentifier.EqualsASCII("$template")) in ToJavaScript() 212 !tempExp1.AsStringView().EqualsASCII("this")) { in ToJavaScript() 490 if (funcName.AsStringView().EqualsASCII("Eval")) { in ToJavaScript() [all …]
|
D | cxfa_fmlexer.cpp | 104 return str.EqualsASCII(iter.m_keyword); in TokenizeIdentifier() 106 if (result != std::end(keyWords) && str.EqualsASCII(result->m_keyword)) in TokenizeIdentifier()
|
/external/pdfium/core/fxcrt/xml/ |
D | cfx_xmlinstruction.cpp | 35 return name_.EqualsASCII("originalXFAVersion"); in IsOriginalXFAVersion() 39 return name_.EqualsASCII("acrobat"); in IsAcrobat()
|
D | cfx_xmlparser.cpp | 170 if (target_name.EqualsASCII("originalXFAVersion") || in DoSyntaxParse() 171 target_name.EqualsASCII("acrobat")) { in DoSyntaxParse()
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_metadata.cpp | 25 if (attr.EqualsASCII("http://ns.adobe.com/AcrobatAdhocWorkflow/1.0/")) { in CheckForSharedFormInternal() 32 if (!child_elem->GetName().EqualsASCII("adhocwf:workflowType")) in CheckForSharedFormInternal()
|
D | cpdf_filespec.cpp | 194 if (filepath.First(sizeof("Mac") - 1).EqualsASCII("Mac")) in EncodeFileName()
|
/external/pdfium/fxjs/xfa/ |
D | cjx_layoutpseudomodel.cpp | 229 if (wsType.EqualsASCII("pageArea")) { in GetObjArray() 234 if (wsType.EqualsASCII("contentArea")) { in GetObjArray() 298 if (wsType.EqualsASCII("field")) in GetObjArray() 300 else if (wsType.EqualsASCII("draw")) in GetObjArray() 302 else if (wsType.EqualsASCII("subform")) in GetObjArray() 304 else if (wsType.EqualsASCII("area")) in GetObjArray()
|
D | cjx_boolean.cpp | 24 pValue->SetBoolean(GetContent(true).EqualsASCII("1")); in defaultValue()
|
D | cjx_object.cpp | 232 SetBoolean(eAttr, !wsValue.EqualsASCII("0"), bNotify); in SetAttribute() 638 if (wsContentType.EqualsASCII("text/html")) { in SetContent() 649 ->CreateSamePacketNode(wsContentType.EqualsASCII("text/xml") in SetContent() 737 if (contentType.value().EqualsASCII("text/html")) in TryContent() 739 else if (contentType.value().EqualsASCII("text/xml")) in TryContent()
|