Home
last modified time | relevance | path

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

123

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
DTextNodeTest.java7 assertNull(TextNode.valueOf(null)); in testText()
8 TextNode empty = TextNode.valueOf(""); in testText()
10 assertSame(TextNode.EMPTY_STRING_NODE, empty); in testText()
15 assertNodeNumbers(TextNode.valueOf("-3"), -3, -3.0); in testText()
16 assertNodeNumbers(TextNode.valueOf("17.75"), 17, 17.75); in testText()
19 TextNode n = TextNode.valueOf(String.valueOf(value)); in testText()
23 n = TextNode.valueOf("foobar"); in testText()
29 assertTrue(TextNode.valueOf("true").asBoolean(true)); in testText()
30 assertTrue(TextNode.valueOf("true").asBoolean(false)); in testText()
31 assertFalse(TextNode.valueOf("false").asBoolean(true)); in testText()
[all …]
DTestConversions.java122 assertEquals(13, new TextNode("13").asInt()); in testAsInt()
123 assertEquals(0, new TextNode("foobar").asInt()); in testAsInt()
124 assertEquals(27, new TextNode("foobar").asInt(27)); in testAsInt()
136 assertEquals(true, new TextNode("true").asBoolean()); in testAsBoolean()
137 assertEquals(false, new TextNode("false").asBoolean()); in testAsBoolean()
138 assertEquals(false, new TextNode("barf").asBoolean()); in testAsBoolean()
139 assertEquals(true, new TextNode("barf").asBoolean(true)); in testAsBoolean()
199 TextNode n = new TextNode(variant.encode(input)); in testBase64Text()
DArrayNodeTest.java13 import com.fasterxml.jackson.databind.node.TextNode;
30 TextNode text = TextNode.valueOf("x"); in testDirectCreation()
84 TextNode text2 = TextNode.valueOf("b"); in testDirectCreation()
293 n1.add(TextNode.valueOf("Test")); in testArrayNodeEquality()
298 n2.add(TextNode.valueOf("Test")); in testArrayNodeEquality()
DTestTreeDeserialization.java36 n1.set("x", TextNode.valueOf("Test")); in testObjectNodeEquality()
41 n2.set("x", TextNode.valueOf("Test")); in testObjectNodeEquality()
DObjectNodeTest.java97 assertEquals(TextNode.valueOf("x"), n); in testSimpleObject()
113 assertEquals(TextNode.valueOf("x"), en.getValue()); in testSimpleObject()
140 TextNode text = TextNode.valueOf("x"); in testBasics()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/
DTextNode.java16 public class TextNode class
21 final static TextNode EMPTY_STRING_NODE = new TextNode("");
25 public TextNode(String v) { _value = v; } in TextNode() method in TextNode
36 public static TextNode valueOf(String v) in valueOf()
44 return new TextNode(v); in valueOf()
160 if (o instanceof TextNode) { in equals()
161 return ((TextNode) o)._value.equals(_value); in equals()
DJsonNodeFactory.java294 public TextNode textNode(String text) { return TextNode.valueOf(text); } in textNode()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMessagePatternUtil.java102 if (node instanceof TextNode && !list.isEmpty()) { in addContentsNode()
105 if (lastNode instanceof TextNode) { in addContentsNode()
106 TextNode textNode = (TextNode)lastNode; in addContentsNode()
107 textNode.text = textNode.text + ((TextNode)node).text; in addContentsNode()
185 public static class TextNode extends MessageContentsNode { class in MessagePatternUtil
202 private TextNode(String text) { in TextNode() method in MessagePatternUtil.TextNode
468 new TextNode(pattern.getPatternString().substring(prevPatternIndex, in buildMessageNode()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMessagePatternUtil.java99 if (node instanceof TextNode && !list.isEmpty()) { in addContentsNode()
102 if (lastNode instanceof TextNode) { in addContentsNode()
103 TextNode textNode = (TextNode)lastNode; in addContentsNode()
104 textNode.text = textNode.text + ((TextNode)node).text; in addContentsNode()
177 public static class TextNode extends MessageContentsNode { class in MessagePatternUtil
192 private TextNode(String text) { in TextNode() method in MessagePatternUtil.TextNode
440 new TextNode(pattern.getPatternString().substring(prevPatternIndex, in buildMessageNode()
/external/llvm-project/clang-tools-extra/clang-doc/assets/
Dindex.js41 var TextNode = document.createTextNode(Ref.Name);
42 ANode.appendChild(TextNode);
51 var TextNode = document.createTextNode(Index.Name);
/external/llvm-project/clang-tools-extra/clang-doc/
DHTMLGenerator.cpp76 struct TextNode : public HTMLNode { struct
77 TextNode(const Twine &Text) in TextNode() argument
87 Children.emplace_back(std::make_unique<TextNode>(Text.str())); in TagNode()
178 void TextNode::Render(llvm::raw_ostream &OS, int IndentationLevel) { in Render()
313 return std::make_unique<TextNode>(Type.Name); in genReference()
333 Out.emplace_back(std::make_unique<TextNode>(", ")); in genReferenceList()
409 LIBody->Children.emplace_back(std::make_unique<TextNode>(Access)); in genRecordMembersBlock()
411 LIBody->Children.emplace_back(std::make_unique<TextNode>(" " + M.Name)); in genRecordMembersBlock()
446 Node->Children.emplace_back(std::make_unique<TextNode>("Defined at line ")); in writeFileDefinition()
454 Node->Children.emplace_back(std::make_unique<TextNode>(" of file ")); in writeFileDefinition()
[all …]
/external/dokka/core/src/main/kotlin/Model/
DCodeNode.kt4 import org.jsoup.nodes.TextNode
6 class CodeNode(text: String, baseUri: String): TextNode(text, baseUri) {
/external/pdfium/xfa/fxfa/parser/
Dcxfa_object.h23 TextNode, enumerator
56 m_objectType == XFA_ObjectType::TextNode || in IsNode()
Dcxfa_ref.cpp26 XFA_ObjectType::TextNode, in CXFA_Ref()
Dcxfa_soapaddress.cpp27 XFA_ObjectType::TextNode, in CXFA_SoapAddress()
Dcxfa_update.cpp27 XFA_ObjectType::TextNode, in CXFA_Update()
Dcxfa_password.cpp27 XFA_ObjectType::TextNode, in CXFA_Password()
Dcxfa_user.cpp27 XFA_ObjectType::TextNode, in CXFA_User()
Dcxfa_insert.cpp27 XFA_ObjectType::TextNode, in CXFA_Insert()
Dcxfa_soapaction.cpp27 XFA_ObjectType::TextNode, in CXFA_SoapAction()
Dcxfa_select.cpp27 XFA_ObjectType::TextNode, in CXFA_Select()
Dcxfa_delete.cpp27 XFA_ObjectType::TextNode, in CXFA_Delete()
Dcxfa_connectstring.cpp28 XFA_ObjectType::TextNode, in CXFA_ConnectString()
Dcxfa_rootelement.cpp27 XFA_ObjectType::TextNode, in CXFA_RootElement()
/external/pdfium/fxjs/xfa/
Dcjx_textnode.h30 static const TypeTag static_type__ = TypeTag::TextNode;

123