Home
last modified time | relevance | path

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

12

/external/pdfium/core/fxcrt/
Dcfx_widetextbuf_unittest.cpp27 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()
Dwidestring.h202 bool EqualsASCII(ByteStringView that) const { in EqualsASCII() function
203 return AsStringView().EqualsASCII(that); in EqualsASCII()
Dwidestring_unittest.cpp1104 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/
Dcxfa_measurement.cpp137 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()
Dcxfa_document_parser.cpp90 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 …]
Dcxfa_script.cpp53 if (cData.value().EqualsASCII("application/x-formcalc")) in GetContentType()
55 if (cData.value().EqualsASCII("application/x-javascript")) in GetContentType()
Dxfa_basic_data.cpp143 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()
Dcxfa_xmllocale.cpp45 if (elem && elem->GetName().EqualsASCII("locale")) { in Create()
142 abbr_value = abbr.EqualsASCII("1"); in GetCalendarSymbol()
Dcxfa_document.cpp110 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()
Dxfa_utils.cpp194 contentType.value().EqualsASCII("text/html")) { in RegenerateFormFile_Changed()
209 contentType.value().EqualsASCII("text/xml")) { in RegenerateFormFile_Changed()
/external/pdfium/xfa/fgas/crt/
Dcfgas_stringformatter.cpp271 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/
Dcxfa_textprovider.cpp52 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()
Dcxfa_textparser.cpp243 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()
Dcxfa_textlayout.cpp107 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()
Dcxfa_ffdoc.cpp165 if (wsType.EqualsASCII("required")) in OpenDoc()
/external/pdfium/fxjs/
Dcjs_color.cpp94 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/
Dcxfa_fmsimpleexpression.cpp157 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 …]
Dcxfa_fmlexer.cpp104 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/
Dcfx_xmlinstruction.cpp35 return name_.EqualsASCII("originalXFAVersion"); in IsOriginalXFAVersion()
39 return name_.EqualsASCII("acrobat"); in IsAcrobat()
Dcfx_xmlparser.cpp170 if (target_name.EqualsASCII("originalXFAVersion") || in DoSyntaxParse()
171 target_name.EqualsASCII("acrobat")) { in DoSyntaxParse()
/external/pdfium/core/fpdfdoc/
Dcpdf_metadata.cpp25 if (attr.EqualsASCII("http://ns.adobe.com/AcrobatAdhocWorkflow/1.0/")) { in CheckForSharedFormInternal()
32 if (!child_elem->GetName().EqualsASCII("adhocwf:workflowType")) in CheckForSharedFormInternal()
Dcpdf_filespec.cpp194 if (filepath.First(sizeof("Mac") - 1).EqualsASCII("Mac")) in EncodeFileName()
/external/pdfium/fxjs/xfa/
Dcjx_layoutpseudomodel.cpp229 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()
Dcjx_boolean.cpp24 pValue->SetBoolean(GetContent(true).EqualsASCII("1")); in defaultValue()
Dcjx_object.cpp232 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()

12