Home
last modified time | relevance | path

Searched refs:textValue (Results 1 – 23 of 23) sorted by relevance

/external/deqp-deps/SPIRV-Tools/source/
Dtext.cpp51 bool spvIsValidID(const char* textValue) { in spvIsValidID() argument
52 const char* c = textValue; in spvIsValidID()
59 return c != textValue; in spvIsValidID()
64 spv_result_t spvTextToLiteral(const char* textValue, spv_literal_t* pLiteral) { in spvTextToLiteral() argument
69 const size_t len = strlen(textValue); in spvTextToLiteral()
73 switch (textValue[index]) { in spvTextToLiteral()
105 if (len < 2 || textValue[0] != '"' || textValue[len - 1] != '"') in spvTextToLiteral()
108 for (const char* val = textValue + 1; val != textValue + len - 1; ++val) { in spvTextToLiteral()
122 double d = std::strtod(textValue, nullptr); in spvTextToLiteral()
132 int64_t i64 = strtoll(textValue, nullptr, 10); in spvTextToLiteral()
[all …]
Dassembly_grammar.cpp46 const char* textValue, uint32_t* pValue) { in spvTextParseMaskOperand() argument
47 if (textValue == nullptr) return SPV_ERROR_INVALID_TEXT; in spvTextParseMaskOperand()
48 size_t text_length = strlen(textValue); in spvTextParseMaskOperand()
50 const char* text_end = textValue + text_length; in spvTextParseMaskOperand()
59 const char* begin = textValue; // The left end of the current word. in spvTextParseMaskOperand()
241 const char* textValue, in parseMaskOperand() argument
243 return spvTextParseMaskOperand(target_env_, operandTable_, type, textValue, in parseMaskOperand()
247 const char* textValue, in lookupExtInst() argument
249 return spvExtInstTableNameLookup(extInstTable_, type, textValue, extInst); in lookupExtInst()
Dassembly_grammar.h101 const char* textValue, uint32_t* pValue) const;
106 spv_result_t lookupExtInst(spv_ext_inst_type_t type, const char* textValue,
Dtext_handler.cpp157 uint32_t AssemblyContext::spvNamedIdAssignOrGet(const char* textValue) { in spvNamedIdAssignOrGet() argument
160 if (spvtools::utils::ParseNumber(textValue, &id)) { in spvNamedIdAssignOrGet()
168 const auto it = named_ids_.find(textValue); in spvNamedIdAssignOrGet()
177 named_ids_.emplace(textValue, id); in spvNamedIdAssignOrGet()
Dtext_handler.h134 uint32_t spvNamedIdAssignOrGet(const char* textValue);
/external/swiftshader/third_party/SPIRV-Tools/source/
Dtext.cpp51 bool spvIsValidID(const char* textValue) { in spvIsValidID() argument
52 const char* c = textValue; in spvIsValidID()
59 return c != textValue; in spvIsValidID()
64 spv_result_t spvTextToLiteral(const char* textValue, spv_literal_t* pLiteral) { in spvTextToLiteral() argument
69 const size_t len = strlen(textValue); in spvTextToLiteral()
73 switch (textValue[index]) { in spvTextToLiteral()
105 if (len < 2 || textValue[0] != '"' || textValue[len - 1] != '"') in spvTextToLiteral()
108 for (const char* val = textValue + 1; val != textValue + len - 1; ++val) { in spvTextToLiteral()
122 double d = std::strtod(textValue, nullptr); in spvTextToLiteral()
132 int64_t i64 = strtoll(textValue, nullptr, 10); in spvTextToLiteral()
[all …]
Dassembly_grammar.cpp46 const char* textValue, uint32_t* pValue) { in spvTextParseMaskOperand() argument
47 if (textValue == nullptr) return SPV_ERROR_INVALID_TEXT; in spvTextParseMaskOperand()
48 size_t text_length = strlen(textValue); in spvTextParseMaskOperand()
50 const char* text_end = textValue + text_length; in spvTextParseMaskOperand()
59 const char* begin = textValue; // The left end of the current word. in spvTextParseMaskOperand()
241 const char* textValue, in parseMaskOperand() argument
243 return spvTextParseMaskOperand(target_env_, operandTable_, type, textValue, in parseMaskOperand()
247 const char* textValue, in lookupExtInst() argument
249 return spvExtInstTableNameLookup(extInstTable_, type, textValue, extInst); in lookupExtInst()
Dassembly_grammar.h101 const char* textValue, uint32_t* pValue) const;
106 spv_result_t lookupExtInst(spv_ext_inst_type_t type, const char* textValue,
Dtext_handler.cpp157 uint32_t AssemblyContext::spvNamedIdAssignOrGet(const char* textValue) { in spvNamedIdAssignOrGet() argument
160 if (spvtools::utils::ParseNumber(textValue, &id)) { in spvNamedIdAssignOrGet()
168 const auto it = named_ids_.find(textValue); in spvNamedIdAssignOrGet()
177 named_ids_.emplace(textValue, id); in spvNamedIdAssignOrGet()
Dtext_handler.h134 uint32_t spvNamedIdAssignOrGet(const char* textValue);
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
DTestTreeWithType.java41 return new SavedCookie(node.path("name").textValue(), in deserialize()
42 node.path("value").textValue()); in deserialize()
68 assertEquals(jsonNode.get("bar").textValue(), foo.bar); in testValueAsStringWithoutDefaultTyping()
81 assertEquals(jsonNode.get("bar").textValue(), foo.bar); in testValueAsStringWithDefaultTyping()
95 assertEquals(jsonNode.get("bar").textValue(), "baz"); in testReadTreeWithDefaultTyping()
102 assertEquals(jsonNode.get("bar").textValue(), foo.bar); in testValueToTreeWithoutDefaultTyping()
113 assertEquals(jsonNode.get("bar").textValue(), foo.bar); in testValueToTreeWithDefaultTyping()
DTreeReadViaMapperTest.java53 assertEquals(SAMPLE_SPEC_VALUE_TITLE, ob.textValue()); in testSimple()
60 assertEquals(SAMPLE_SPEC_VALUE_TN_URL, ob.textValue()); in testSimple()
66 assertEquals(SAMPLE_SPEC_VALUE_TN_WIDTH, ob.textValue()); in testSimple()
156 assertEquals("string", result.textValue()); in testMultiple()
DObjectNodeTest.java259 assertEquals("b", ob.get("b").textValue()); in testRemove()
271 assertEquals("a", ob.get("a").textValue()); in testRetain()
273 assertEquals("c", ob.get("c").textValue()); in testRetain()
DTestMissingNode.java60 assertNull(onode.textValue()); in testMissingViaMapper()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/deftyping/
DTestDefaultForTreeNodes.java33 assertEquals(jsonNode.get("bar").textValue(), foo.bar); in testValueAsStringWithDefaultTyping()
40 assertEquals(jsonNode.get("bar").textValue(), foo.bar); in testValueToTreeWithDefaultTyping()
/external/javassist/src/main/javassist/compiler/
DLex.java25 public String textValue; field in Token
89 return currentToken.textValue; in getString()
236 token.textValue = tbuf.toString(); in readStringL()
436 token.textValue = name; in readIdentifier()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/
DTextNode.java55 public String textValue() { in textValue() method in TextNode
DTreeTraversingParser.java205 return currentNode().textValue(); in getText()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DParseRDF.java648 String textValue = ""; in rdf_LiteralPropertyElement() local
654 textValue += child.getNodeValue(); in rdf_LiteralPropertyElement()
661 newChild.setValue(textValue); in rdf_LiteralPropertyElement()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DJsonNode.java424 public String textValue() { return null; } in textValue() method in JsonNode
/external/guice/extensions/persist/lib/
Djavassist.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/ByteArrayClassPath.class ByteArrayClassPath ...
/external/guice/extensions/struts2/lib/
Djavassist.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/ByteArrayClassPath.class ByteArrayClassPath ...
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/lib/
Djavassist-3.19.0-GA.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...