Home
last modified time | relevance | path

Searched refs:Parser (Results 1 – 25 of 152) sorted by relevance

1234567

/aosp12/system/tools/aidl/
H A Dparser.cpp24 int yyparse(Parser*);
28 std::unique_ptr<Parser> Parser::Parse(const std::string& filename, in Parse()
42 std::unique_ptr<Parser> parser(new Parser(filename, *raw_buffer, typenames)); in Parse()
51 void Parser::SetTypeParameters(AidlTypeSpecifier* type, in SetTypeParameters()
136 bool Parser::Resolve(TypeResolver& type_resolver) { in Resolve()
155 Parser::Parser(const std::string& filename, std::string& raw_buffer, in Parser() function in Parser
162 Parser::~Parser() { in ~Parser()
H A Dparser.h59 class Parser {
62 Parser(const Parser&) = delete;
63 Parser& operator=(const Parser&) = delete;
65 ~Parser();
68 static std::unique_ptr<Parser> Parse(const std::string& filename,
113 explicit Parser(const std::string& filename, std::string& raw_buffer,
H A Daidl.cpp474 std::unique_ptr<Parser> main_parser = Parser::Parse(input_file_name, io_delegate, *typenames); in load_and_validate_aidl()
527 std::unique_ptr<Parser> import_parser = Parser::Parse(import_path, io_delegate, *typenames); in load_and_validate_aidl()
541 std::unique_ptr<Parser> import_parser = Parser::Parse(imported_file, io_delegate, *typenames); in load_and_validate_aidl()
566 std::unique_ptr<Parser> import_parser = Parser::Parse(import_path, io_delegate, *typenames); in load_and_validate_aidl()
880 std::unique_ptr<Parser> p = Parser::Parse(file, io_delegate, typenames); in preprocess_aidl()
/aosp12/frameworks/base/core/tests/coretests/src/android/view/
H A DCutoutSpecificationTest.java128 private CutoutSpecification.Parser mParser;
135 mParser = new CutoutSpecification.Parser(3.5f, 1080, 1920); in setUp()
193 CutoutSpecification cutoutSpecification = new CutoutSpecification.Parser(3.5f, 1920, 1080) in parse_withBindMarker_tabletLikeDevice_shouldHaveLeftBound()
200 CutoutSpecification cutoutSpecification = new CutoutSpecification.Parser(3.5f, 1920, 1080) in parse_withBindMarker_tabletLikeDevice_shouldHaveTopBound()
207 CutoutSpecification cutoutSpecification = new CutoutSpecification.Parser(3.5f, 1920, 1080) in parse_withBindMarker_tabletLikeDevice_shouldHaveRightBound()
214 CutoutSpecification cutoutSpecification = new CutoutSpecification.Parser(3.5f, 1920, 1080) in parse_withBindMarker_tabletLikeDevice_shouldHaveBottomBound()
221 CutoutSpecification cutoutSpecification = new CutoutSpecification.Parser(3.5f, 1920, 1080) in parse_withBindMarker_tabletLikeDevice_shouldMatchExpectedSafeInset()
323 new CutoutSpecification.Parser(2f, 200, 400) in getSafeInset_shortEdgeIsTopBottom_shouldMatchExpectedInset()
333 new CutoutSpecification.Parser(2f, 400, 200) in getSafeInset_shortEdgeIsLeftRight_shouldMatchExpectedInset()
343 new CutoutSpecification.Parser(2f, 400, 200) in parse_bottomLeftSpec_withBindLeftMarker_shouldBeLeftBound()
[all …]
/aosp12/frameworks/native/libs/input/
H A DVirtualKeyMap.cpp60 Parser parser(map.get(), tokenizer.get()); in load()
72 VirtualKeyMap::Parser::Parser(VirtualKeyMap* map, Tokenizer* tokenizer) : in Parser() function in android::VirtualKeyMap::Parser
76 VirtualKeyMap::Parser::~Parser() { in ~Parser()
79 status_t VirtualKeyMap::Parser::parse() { in parse()
132 bool VirtualKeyMap::Parser::consumeFieldDelimiterAndSkipWhitespace() { in consumeFieldDelimiterAndSkipWhitespace()
142 bool VirtualKeyMap::Parser::parseNextIntField(int32_t* outValue) { in parseNextIntField()
H A DPropertyMap.cpp125 Parser parser(outMap.get(), tokenizer.get()); in load()
142 PropertyMap::Parser::Parser(PropertyMap* map, Tokenizer* tokenizer) in Parser() function in android::PropertyMap::Parser
145 PropertyMap::Parser::~Parser() {} in ~Parser()
147 status_t PropertyMap::Parser::parse() { in parse()
H A DKeyLayoutMap.cpp114 Parser parser(map.get(), tokenizer); in load()
254 KeyLayoutMap::Parser::Parser(KeyLayoutMap* map, Tokenizer* tokenizer) : in Parser() function in android::KeyLayoutMap::Parser
258 KeyLayoutMap::Parser::~Parser() { in ~Parser()
261 status_t KeyLayoutMap::Parser::parse() { in parse()
308 status_t KeyLayoutMap::Parser::parseKey() { in parseKey()
371 status_t KeyLayoutMap::Parser::parseAxis() { in parseAxis()
472 status_t KeyLayoutMap::Parser::parseLed() { in parseLed()
547 status_t KeyLayoutMap::Parser::parseSensor() { in parseSensor()
H A DKeyCharacterMap.cpp207 Parser parser(this, tokenizer, format); in load()
842 KeyCharacterMap::Parser::Parser(KeyCharacterMap* map, Tokenizer* tokenizer, Format format) : in Parser() function in android::KeyCharacterMap::Parser
846 KeyCharacterMap::Parser::~Parser() { in ~Parser()
849 status_t KeyCharacterMap::Parser::parse() { in parse()
931 status_t KeyCharacterMap::Parser::parseType() { in parseType()
968 status_t KeyCharacterMap::Parser::parseMap() { in parseMap()
979 status_t KeyCharacterMap::Parser::parseMapKey() { in parseMapKey()
1020 status_t KeyCharacterMap::Parser::parseKey() { in parseKey()
1051 status_t KeyCharacterMap::Parser::parseKeyProperty() { in parseKeyProperty()
1240 status_t KeyCharacterMap::Parser::finishKey(Key* key) { in finishKey()
[all …]
/aosp12/system/core/init/
H A Dparser.cpp33 Parser::Parser() {} in Parser() function in android::init::Parser
35 void Parser::AddSectionParser(const std::string& name, std::unique_ptr<SectionParser> parser) { in AddSectionParser()
39 void Parser::AddSingleLineParser(const std::string& prefix, LineCallback callback) { in AddSingleLineParser()
43 void Parser::ParseData(const std::string& filename, std::string* data) { in ParseData()
132 bool Parser::ParseConfigFileInsecure(const std::string& path) { in ParseConfigFileInsecure()
142 bool Parser::ParseConfigFile(const std::string& path) { in ParseConfigFile()
157 bool Parser::ParseConfigDir(const std::string& path) { in ParseConfigDir()
184 bool Parser::ParseConfig(const std::string& path) { in ParseConfig()
H A Dinit.h31 Parser CreateParser(ActionManager& action_manager, ServiceList& service_list);
32 Parser CreateServiceOnlyParser(ServiceList& service_list, bool from_apex);
H A Dimport_parser.h30 ImportParser(Parser* parser) : parser_(parser) {} in ImportParser()
37 Parser* parser_;
H A Dparser.h61 class Parser {
72 Parser();
/aosp12/art/compiler/driver/
H A Dsimple_compiler_options_map.h49 using Parser = CmdlineParser<SimpleParseArgumentMap, SimpleParseArgumentMapKey>; variable
51 static inline Parser CreateSimpleParser(bool ignore_unrecognized) { in CreateSimpleParser()
52 std::unique_ptr<Parser::Builder> parser_builder = in CreateSimpleParser()
53 std::make_unique<Parser::Builder>(); in CreateSimpleParser()
/aosp12/frameworks/base/tools/powermodel/src/com/android/powermodel/
H A DBatteryStatsReader.java39 final Parser parser = new Parser(stream); in parse()
46 private static class Parser { class in BatteryStatsReader
54 Parser(InputStream stream) { in Parser() method in BatteryStatsReader.Parser
H A DPowerProfile.java85 private static class Parser { class in PowerProfile
104 Parser(InputStream stream) { in Parser() method in PowerProfile.Parser
123 Parser.this.onItem(locator, name, value); in parse()
129 Parser.this.onArray(locator, name, value); in parse()
517 return (new Parser(stream)).parse(); in parse()
/aosp12/frameworks/av/media/libstagefright/xmlparser/
H A DMediaCodecsXmlParser.cpp325 struct Parser { struct
328 Parser(State *state, std::string path);
453 Parser parser(&mState, path); in parseXmlPath()
482 void MediaCodecsXmlParser::Impl::Parser::updateStatus(status_t status) { in updateStatus()
496 MediaCodecsXmlParser::Impl::Parser::Parser(State *state, std::string path) in Parser() function in android::MediaCodecsXmlParser::Impl::Parser
507 void MediaCodecsXmlParser::Impl::Parser::parseXmlFile() { in parseXmlFile()
565 void MediaCodecsXmlParser::Impl::Parser::StartElementHandlerWrapper( in StartElementHandlerWrapper()
628 Parser parser(mState, filename); in includeXmlFile()
645 void MediaCodecsXmlParser::Impl::Parser::startElementHandler( in startElementHandler()
924 status_t MediaCodecsXmlParser::Impl::Parser::enterMediaCodec( in enterMediaCodec()
[all …]
/aosp12/frameworks/native/include/input/
H A DVirtualKeyMap.h60 class Parser {
65 Parser(VirtualKeyMap* map, Tokenizer* tokenizer);
66 ~Parser();
H A DPropertyMap.h85 class Parser {
90 Parser(PropertyMap* map, Tokenizer* tokenizer);
91 ~Parser();
H A DKeyLayoutMap.h113 class Parser {
118 Parser(KeyLayoutMap* map, Tokenizer* tokenizer);
119 ~Parser();
H A DKeyCharacterMap.h190 class Parser {
217 Parser(KeyCharacterMap* map, Tokenizer* tokenizer, Format format);
218 ~Parser();
/aosp12/frameworks/base/cmds/appwidget/src/com/android/commands/appwidget/
H A DAppWidget.java54 private static class Parser { class in AppWidget
64 public Parser(String[] args) { in Parser() method in AppWidget.Parser
161 Parser parser = new Parser(args); in main()
/aosp12/packages/apps/TV/common/src/com/android/tv/common/compat/internal/
H A DSessionCompatProcessor.java23 import com.google.protobuf.Parser;
33 private final Parser<C> mCommandParser;
35 SessionCompatProcessor(SessionEventNotifier sessionEventNotifier, Parser<C> commandParser) { in SessionCompatProcessor()
H A DViewCompatProcessor.java24 import com.google.protobuf.Parser;
36 private final Parser<E> mEventParser;
39 ViewCompatProcessor(PrivateCommandSender commandSender, Parser<E> eventParser) { in ViewCompatProcessor()
/aosp12/frameworks/base/apct-tests/perftests/core/src/android/view/
H A DCutoutSpecificationBenchmark.java167 new CutoutSpecification.Parser(DISPLAY_DENSITY, DISPLAY_WIDTH, DISPLAY_HEIGHT) in parseByNewMethodForDoubleCutout()
198 new CutoutSpecification.Parser(DISPLAY_DENSITY, DISPLAY_WIDTH, DISPLAY_HEIGHT) in parseLongEdgeCutout()
220 new CutoutSpecification.Parser(DISPLAY_DENSITY, DISPLAY_WIDTH, DISPLAY_HEIGHT) in parseShortEdgeCutout()
/aosp12/build/make/tools/product_config/src/com/android/build/config/
H A DOptions.java89 static class Parser { class in Options
103 public Parser(Errors errors, String[] args, Map<String,String> env) { in Parser() method in Options.Parser
235 return (new Parser(errors, args, env)).parse(); in parse()

1234567