/external/swiftshader/third_party/SPIRV-Tools/source/ |
D | text.cpp | 51 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 …]
|
D | assembly_grammar.cpp | 46 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() 240 const char* textValue, in parseMaskOperand() argument 242 return spvTextParseMaskOperand(target_env_, operandTable_, type, textValue, in parseMaskOperand() 246 const char* textValue, in lookupExtInst() argument 248 return spvExtInstTableNameLookup(extInstTable_, type, textValue, extInst); in lookupExtInst()
|
D | assembly_grammar.h | 101 const char* textValue, uint32_t* pValue) const; 106 spv_result_t lookupExtInst(spv_ext_inst_type_t type, const char* textValue,
|
D | text_handler.cpp | 157 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()
|
D | text_handler.h | 134 uint32_t spvNamedIdAssignOrGet(const char* textValue);
|
/external/deqp-deps/SPIRV-Tools/source/ |
D | text.cpp | 51 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 …]
|
D | assembly_grammar.cpp | 46 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() 240 const char* textValue, in parseMaskOperand() argument 242 return spvTextParseMaskOperand(target_env_, operandTable_, type, textValue, in parseMaskOperand() 246 const char* textValue, in lookupExtInst() argument 248 return spvExtInstTableNameLookup(extInstTable_, type, textValue, extInst); in lookupExtInst()
|
D | assembly_grammar.h | 101 const char* textValue, uint32_t* pValue) const; 106 spv_result_t lookupExtInst(spv_ext_inst_type_t type, const char* textValue,
|
D | text_handler.cpp | 157 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()
|
D | text_handler.h | 134 uint32_t spvNamedIdAssignOrGet(const char* textValue);
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
D | ParseRDF.java | 648 String textValue = ""; in rdf_LiteralPropertyElement() local 654 textValue += child.getNodeValue(); in rdf_LiteralPropertyElement() 661 newChild.setValue(textValue); in rdf_LiteralPropertyElement()
|