/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
D | parser_impl.cc | 51 using Expect = ParserImpl::Expect<T>; 54 using Maybe = ParserImpl::Maybe<T>; 187 class ParserImpl::MultiTokenSource { 191 explicit MultiTokenSource(ParserImpl* parser) in MultiTokenSource() 197 MultiTokenSource(ParserImpl* parser, const Source& start) in MultiTokenSource() 211 ParserImpl* parser_; 215 ParserImpl::TypedIdentifier::TypedIdentifier() = default; 217 ParserImpl::TypedIdentifier::TypedIdentifier(const TypedIdentifier&) = default; 219 ParserImpl::TypedIdentifier::TypedIdentifier(const ast::Type* type_in, in TypedIdentifier() 224 ParserImpl::TypedIdentifier::~TypedIdentifier() = default; [all …]
|
D | parser_impl_test_helper.h | 40 std::unique_ptr<ParserImpl> parser(const std::string& str) { in parser() 42 auto impl = std::make_unique<ParserImpl>(file.get()); in parser() 63 std::unique_ptr<ParserImpl> parser(const std::string& str) { in parser() 65 auto impl = std::make_unique<ParserImpl>(file.get()); in parser()
|
D | parser.cc | 26 ParserImpl parser(file); in Parse()
|
D | parser_impl.h | 70 class ParserImpl { 309 explicit ParserImpl(Source::File const* file); 310 ~ParserImpl();
|
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
D | parser_impl_test.cc | 204 EXPECT_FALSE(ParserImpl::IsValidIdentifier("")); // empty in TEST_F() 206 ParserImpl::IsValidIdentifier("_")); // leading underscore, but ok later in TEST_F() 208 ParserImpl::IsValidIdentifier("9")); // leading digit, but ok later in TEST_F() 209 EXPECT_FALSE(ParserImpl::IsValidIdentifier(" ")); // leading space in TEST_F() 210 EXPECT_FALSE(ParserImpl::IsValidIdentifier("a ")); // trailing space in TEST_F() 211 EXPECT_FALSE(ParserImpl::IsValidIdentifier("a 1")); // space in the middle in TEST_F() 212 EXPECT_FALSE(ParserImpl::IsValidIdentifier(".")); // weird character in TEST_F() 215 EXPECT_TRUE(ParserImpl::IsValidIdentifier("A")); in TEST_F() 217 EXPECT_TRUE(ParserImpl::IsValidIdentifier("ABCDEFGHIJKLMNOPQRSTUVWXYZ")); in TEST_F() 219 EXPECT_TRUE(ParserImpl::IsValidIdentifier("abcdefghijklmnopqrstuvwxyz")); in TEST_F() [all …]
|
D | parser_impl.cc | 269 ParserImpl::ParserImpl(const std::vector<uint32_t>& spv_binary) in ParserImpl() function in tint::reader::spirv::ParserImpl 295 ParserImpl::~ParserImpl() = default; 297 bool ParserImpl::Parse() { in Parse() 325 Program ParserImpl::program() { in program() 331 const Type* ParserImpl::ConvertType(uint32_t type_id, PtrAs ptr_as) { in ConvertType() 389 DecorationList ParserImpl::GetDecorationsFor(uint32_t id) const { in GetDecorationsFor() 406 DecorationList ParserImpl::GetDecorationsForMember( in GetDecorationsForMember() 425 std::string ParserImpl::ShowType(uint32_t type_id) { in ShowType() 435 ast::DecorationList ParserImpl::ConvertMemberDecoration( in ConvertMemberDecoration() 515 bool ParserImpl::BuildInternalModule() { in BuildInternalModule() [all …]
|
D | parser_impl_test_helper.h | 245 const ParserImpl::BuiltInPositionInfo& GetBuiltInPositionInfo() { in GetBuiltInPositionInfo() 258 ParserImpl impl_;
|
D | function.h | 382 FunctionEmitter(ParserImpl* pi, const spvtools::opt::Function& function); 388 FunctionEmitter(ParserImpl* pi, 416 ParserImpl* parser() { return &parser_impl_; } in parser() 1252 using PtrAs = ParserImpl::PtrAs; 1254 ParserImpl& parser_impl_;
|
D | parser_impl.h | 115 class ParserImpl : Reader { 119 explicit ParserImpl(const std::vector<uint32_t>& input); 121 ~ParserImpl() override;
|
D | parser.cc | 31 ParserImpl parser(input); in Parse()
|
D | parser_impl_barrier_test.cc | 40 auto p = std::make_unique<ParserImpl>(test::Assemble(preamble + spirv)); in ParseAndBuild()
|
D | function.cc | 735 FunctionEmitter::FunctionEmitter(ParserImpl* pi, in FunctionEmitter() 754 FunctionEmitter::FunctionEmitter(ParserImpl* pi, in FunctionEmitter()
|
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
D | JsonFormat.java | 476 new ParserImpl(registry, oldRegistry, ignoringUnknownFields, recursionLimit) in merge() 490 new ParserImpl(registry, oldRegistry, ignoringUnknownFields, recursionLimit) in merge() 1297 private static class ParserImpl { class in JsonFormat 1305 ParserImpl( in ParserImpl() method in JsonFormat.ParserImpl 1352 void merge(ParserImpl parser, JsonElement json, Message.Builder builder) in merge() 1366 public void merge(ParserImpl parser, JsonElement json, Message.Builder builder) in buildWellKnownTypeParsers() 1375 public void merge(ParserImpl parser, JsonElement json, Message.Builder builder) in buildWellKnownTypeParsers() 1394 public void merge(ParserImpl parser, JsonElement json, Message.Builder builder) in buildWellKnownTypeParsers() 1404 public void merge(ParserImpl parser, JsonElement json, Message.Builder builder) in buildWellKnownTypeParsers() 1414 public void merge(ParserImpl parser, JsonElement json, Message.Builder builder) in buildWellKnownTypeParsers() [all …]
|
/third_party/protobuf/src/google/protobuf/ |
D | text_format.cc | 228 class TextFormat::Parser::ParserImpl { class in google::protobuf::TextFormat::Parser 239 ParserImpl(const Descriptor* root_message_type, in ParserImpl() function in google::protobuf::TextFormat::Parser::ParserImpl 279 ~ParserImpl() {} in ~ParserImpl() 338 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ParserImpl); 1178 explicit ParserErrorCollector(TextFormat::Parser::ParserImpl* parser) in ParserErrorCollector() 1193 TextFormat::Parser::ParserImpl* parser_; 1422 ParserImpl::SingularOverwritePolicy overwrites_policy = in Parse() 1423 allow_singular_overwrites_ ? ParserImpl::ALLOW_SINGULAR_OVERWRITES in Parse() 1424 : ParserImpl::FORBID_SINGULAR_OVERWRITES; in Parse() 1426 ParserImpl parser(output->GetDescriptor(), input, error_collector_, finder_, in Parse() [all …]
|
D | text_format.h | 594 class ParserImpl; 599 ParserImpl* parser_impl);
|
/third_party/skia/third_party/externals/tint/fuzzers/ |
D | tint_ast_clone_fuzzer.cc | 59 tint::reader::wgsl::ParserImpl parser(&file); in LLVMFuzzerTestOneInput()
|