Home
last modified time | relevance | path

Searched refs:ParserImpl (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl.cc51 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 …]
Dparser_impl_test_helper.h40 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()
Dparser.cc26 ParserImpl parser(file); in Parse()
Dparser_impl.h70 class ParserImpl {
309 explicit ParserImpl(Source::File const* file);
310 ~ParserImpl();
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dparser_impl_test.cc204 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 …]
Dparser_impl.cc269 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 …]
Dparser_impl_test_helper.h245 const ParserImpl::BuiltInPositionInfo& GetBuiltInPositionInfo() { in GetBuiltInPositionInfo()
258 ParserImpl impl_;
Dfunction.h382 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_;
Dparser_impl.h115 class ParserImpl : Reader {
119 explicit ParserImpl(const std::vector<uint32_t>& input);
121 ~ParserImpl() override;
Dparser.cc31 ParserImpl parser(input); in Parse()
Dparser_impl_barrier_test.cc40 auto p = std::make_unique<ParserImpl>(test::Assemble(preamble + spirv)); in ParseAndBuild()
Dfunction.cc735 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/
DJsonFormat.java476 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/
Dtext_format.cc228 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 …]
Dtext_format.h594 class ParserImpl;
599 ParserImpl* parser_impl);
/third_party/skia/third_party/externals/tint/fuzzers/
Dtint_ast_clone_fuzzer.cc59 tint::reader::wgsl::ParserImpl parser(&file); in LLVMFuzzerTestOneInput()