/build/soong/ui/status/ |
D | kati_test.go | 50 parser := &katiOutputParser{ 55 parser.parseLine(msg) 65 parser.parseLine("out/build-aosp_arm.ninja is missing, regenerating...") 68 parser.parseLine("[1/1] initializing build system ...") 76 parser.parseLine("[2/5] including out/soong/Android-aosp_arm.mk ...") 84 parser.parseLine("[3/5] including a ...") 86 parser.parseLine(msg) 89 parser.parseLine("[4/5] finishing build rules ...") 96 parser.parseLine("[5/5] writing build rules ...") 97 parser.parseLine("*kati*: verbose msg") [all …]
|
/build/soong/bpfix/bpfix/ |
D | bpfix.go | 37 res, err := parser.Print(tree) 167 tree *parser.File 170 func (f Fixer) Tree() *parser.File { 174 func NewFixer(tree *parser.File) *Fixer { 185 func (f *Fixer) Fix(config FixRequest) (*parser.File, error) { 216 bytes, err := parser.Print(f.tree) 224 buf, err := parser.Print(f.tree) 236 func parse(name string, r io.Reader) (*parser.File, error) { 237 tree, errs := parser.Parse(name, r, parser.NewScope(nil)) 258 func simplifyKnownPropertiesDuplicatingEachOther(mod *parser.Module, buf []byte, patchList *parser.… [all …]
|
/build/soong/partner/bpfix/extensions/ |
D | headers.go | 41 func findHeaderLib(e parser.Expression) (*includeDirFix, bool) { 42 if op, ok := e.(*parser.Operator); ok { 46 arg0, ok := op.Args[0].(*parser.Variable) 47 arg1, ok1 := op.Args[1].(*parser.String) 59 func searchThroughOperatorList(mod *parser.Module, e parser.Expression) { 60 if list, ok := e.(*parser.List); ok { 61 newList := make([]parser.Expression, 0, len(list.Values)) 73 if op, ok := e.(*parser.Operator); ok { 78 func getLiteralListProperty(mod *parser.Module, name string) (list *parser.List, found bool) { 83 list, ok = prop.Value.(*parser.List) [all …]
|
/build/soong/scripts/ |
D | lint_project_xml.py | 35 def __call__(self, parser, namespace, values, option_string=None): argument 53 parser = argparse.ArgumentParser(fromfile_prefix_chars='@') 54 parser.convert_arg_line_to_args = convert_arg_line_to_args 55 parser.add_argument('--project_out', dest='project_out', 57 parser.add_argument('--config_out', dest='config_out', 59 parser.add_argument('--name', dest='name', 61 parser.add_argument('--srcs', dest='srcs', action='append', default=[], 63 parser.add_argument('--generated_srcs', dest='generated_srcs', action='append', default=[], 65 parser.add_argument('--resources', dest='resources', action='append', default=[], 67 parser.add_argument('--classes', dest='classes', action='append', default=[], [all …]
|
D | gen-kotlin-build-file.py | 35 parser = argparse.ArgumentParser(fromfile_prefix_chars='@') 36 parser.convert_arg_line_to_args = convert_arg_line_to_args 37 parser.add_argument('--out', dest='out', 39 parser.add_argument('--classpath', dest='classpath', action='append', default=[], 41 parser.add_argument('--name', dest='name', 43 parser.add_argument('--out_dir', dest='out_dir', 45 parser.add_argument('--srcs', dest='srcs', action='append', default=[], 47 parser.add_argument('--common_srcs', dest='common_srcs', action='append', default=[], 50 return parser.parse_args()
|
D | test_config_fixer.py | 35 parser = argparse.ArgumentParser() 36 parser.add_argument('--manifest', default='', dest='manifest', 38 parser.add_argument('--package-name', default='', dest='package_name', 40 parser.add_argument('--test-file-name', default='', dest='test_file_name', 42 parser.add_argument('input', help='input test config file') 43 parser.add_argument('output', help='output test config file') 44 return parser.parse_args()
|
D | jsonmodify.py | 80 parser = argparse.ArgumentParser() 81 parser.add_argument('-o', '--out', 85 parser.add_argument('input', nargs='?', help='JSON file') 86 parser.add_argument("-v", "--value", type=SetValue, 90 parser.add_argument("-s", "--replace", type=Replace, 94 parser.add_argument("-r", "--remove", type=Remove, 98 parser.add_argument("-a", "--append_list", type=AppendList, 102 args = parser.parse_args()
|
D | mergenotice.py | 30 parser = argparse.ArgumentParser(description='Merge notice files.') 31 parser.add_argument('--output', help='output file path.') 32 parser.add_argument('inputs', metavar='INPUT', nargs='+', 34 return parser.parse_args()
|
D | construct_context.py | 29 parser = argparse.ArgumentParser() 30 parser.add_argument('--target-sdk-version', default='', dest='sdk', 32 parser.add_argument('--host-context-for-sdk', dest='host_contexts', 35 parser.add_argument('--target-context-for-sdk', dest='target_contexts', 38 return parser.parse_args(args)
|
D | manifest_check.py | 42 parser = argparse.ArgumentParser() 43 parser.add_argument('--uses-library', dest='uses_libraries', 46 parser.add_argument('--optional-uses-library', 50 parser.add_argument('--enforce-uses-libraries', 54 parser.add_argument('--enforce-uses-libraries-relax', 58 parser.add_argument('--enforce-uses-libraries-status', 61 parser.add_argument('--extract-target-sdk-version', 65 parser.add_argument('--dexpreopt-config', 69 parser.add_argument('--aapt', 72 parser.add_argument('--output', '-o', dest='output', help='output AndroidManifest.xml file') [all …]
|
D | manifest_fixer.py | 39 parser = argparse.ArgumentParser() 40 parser.add_argument('--minSdkVersion', default='', dest='min_sdk_version', 42 parser.add_argument('--targetSdkVersion', default='', dest='target_sdk_version', 44 parser.add_argument('--raise-min-sdk-version', dest='raise_min_sdk_version', action='store_true', 46 parser.add_argument('--library', dest='library', action='store_true', 48 parser.add_argument('--uses-library', dest='uses_libraries', action='append', 50 parser.add_argument('--optional-uses-library', dest='optional_uses_libraries', action='append', 52 parser.add_argument('--uses-non-sdk-api', dest='uses_non_sdk_api', action='store_true', 54 parser.add_argument('--logging-parent', dest='logging_parent', default='', 57 parser.add_argument('--use-embedded-dex', dest='use_embedded_dex', action='store_true', [all …]
|
D | generate-notice-files.py | 194 parser = argparse.ArgumentParser() 195 parser.add_argument( 198 parser.add_argument( 201 parser.add_argument( 204 parser.add_argument( 207 parser.add_argument( 210 parser.add_argument( 213 parser.add_argument( 216 return parser.parse_args()
|
/build/soong/androidmk/ |
D | Android.bp | 45 "androidmk-parser", 46 "blueprint-parser", 52 name: "androidmk-parser", 53 pkgPath: "android/soong/androidmk/parser", 55 "parser/ast.go", 56 "parser/make_strings.go", 57 "parser/parser.go", 58 "parser/scope.go", 61 "parser/make_strings_test.go", 62 "parser/parser_test.go",
|
/build/soong/cc/symbolfile/ |
D | test_symbolfile.py | 345 parser = symbolfile.SymbolFileParser(input_file, {}, Arch('arm'), 16, 347 self.assertIsNone(parser.current_line) 349 self.assertEqual('foo', parser.next_line().strip()) 350 assert parser.current_line is not None 351 self.assertEqual('foo', parser.current_line.strip()) 353 self.assertEqual('bar', parser.next_line().strip()) 354 self.assertEqual('bar', parser.current_line.strip()) 356 self.assertEqual('qux', parser.next_line().strip()) 357 self.assertEqual('qux', parser.current_line.strip()) 359 self.assertEqual('', parser.next_line()) [all …]
|
/build/blueprint/bpmodify/ |
D | bpmodify.go | 79 file, errs := parser.Parse(filename, r, parser.NewScope(nil)) 96 res, err := parser.Print(file) 127 func findModules(file *parser.File) (modified bool, errs []error) { 130 if module, ok := def.(*parser.Module); ok { 132 if prop.Name == "name" && prop.Value.Type() == parser.StringType { 133 if targetedModule(prop.Value.Eval().(*parser.String).Value) { 146 func processModule(module *parser.Module, moduleName string, 147 file *parser.File) (modified bool, errs []error) { 155 …eateRecursiveProperty(module, targetedProperty.name(), targetedProperty.prefixes(), &parser.List{}) 158 …teRecursiveProperty(module, targetedProperty.name(), targetedProperty.prefixes(), &parser.String{}) [all …]
|
/build/blueprint/proptools/ |
D | unpack.go | 41 property *parser.Property 69 func UnpackProperties(properties []*parser.Property, objects ...interface{}) (map[string]*parser.Pr… 90 result := make(map[string]*parser.Property) 124 func (ctx *unpackContext) buildPropertyMap(prefix string, properties []*parser.Property) bool { 140 case *parser.Map: 142 case *parser.List: 149 …if t := propValue.Values[0].Type(); t == parser.StringType || t == parser.Int64Type || t == parser… 153 itemProperties := make([]*parser.Property, len(propValue.Values), len(propValue.Values)) 155 itemProperties[i] = &parser.Property{ 283 if property.Value.Eval().Type() != parser.MapType { [all …]
|
/build/make/tools/ |
D | generate-enforce-rro-android-manifest.py | 35 parser = argparse.ArgumentParser() 36 parser.add_argument( 39 parser.add_argument( 42 parser.add_argument( 45 parser.add_argument( 48 parser.add_argument( 51 return parser.parse_args()
|
D | generate-notice-files.py | 194 parser = argparse.ArgumentParser() 195 parser.add_argument( 198 parser.add_argument( 201 parser.add_argument( 204 parser.add_argument( 207 parser.add_argument( 210 parser.add_argument( 213 parser.add_argument( 216 return parser.parse_args()
|
/build/blueprint/ |
D | Blueprints | 4 "blueprint-parser", 37 name: "blueprint-parser", 38 pkgPath: "github.com/google/blueprint/parser", 40 "parser/ast.go", 41 "parser/modify.go", 42 "parser/parser.go", 43 "parser/printer.go", 44 "parser/sort.go", 47 "parser/modify_test.go", 48 "parser/parser_test.go", [all …]
|
/build/soong/cc/ndkstubgen/ |
D | __init__.py | 92 parser = argparse.ArgumentParser() 94 parser.add_argument('-v', '--verbose', action='count', default=0) 96 parser.add_argument( 98 parser.add_argument( 101 parser.add_argument( 103 parser.add_argument( 108 parser.add_argument( 114 parser.add_argument( 118 parser.add_argument( 122 parser.add_argument( [all …]
|
/build/soong/androidmk/parser/ |
D | parser.go | 15 package parser package 42 func (p *parser) Parse() ([]Node, []error) { 60 type parser struct { struct 69 func NewParser(filename string, r io.Reader) *parser { 70 p := &parser{} 88 func (p *parser) Unpack(pos Pos) scanner.Position { argument 99 func (p *parser) pos() Pos { argument 107 func (p *parser) errorf(format string, args ...interface{}) { argument 118 func (p *parser) accept(toks ...rune) bool { argument 130 func (p *parser) next() { argument [all …]
|
/build/make/tools/fs_config/ |
D | test_fs_config_generator.py | 80 parser = AIDHeaderParser(temp_file.name) 81 oem_ranges = parser.oem_ranges 82 aids = parser.aids 107 parser = AIDHeaderParser(temp_file.name) 108 oem_ranges = parser.oem_ranges 109 aids = parser.aids 230 parser = AIDHeaderParser(temp_file.name) 231 aids = parser.aids 265 parser = FSConfigFileParser([temp_file.name], [(5000, 5999)]) 266 files = parser.files [all …]
|
/build/blueprint/parser/ |
D | parser.go | 15 package parser package 62 func parse(p *parser) (file *File, errs []error) { argument 101 type parser struct { struct 110 func newParser(r io.Reader, scope *Scope) *parser { 111 p := &parser{} 123 func (p *parser) error(err error) { argument 138 func (p *parser) errorf(format string, args ...interface{}) { argument 142 func (p *parser) accept(toks ...rune) bool { argument 154 func (p *parser) next() { argument 174 func (p *parser) parseDefinitions() (defs []Definition) { argument [all …]
|
/build/pesto/experiments/prepare_bazel_test_env/ |
D | prepare_bazel_test_env.py | 45 parser = argparse.ArgumentParser(description=( 50 parser.add_argument("-v", 55 subparsers = parser.add_subparsers(dest="action", required=True) 76 return parser
|
/build/soong/bloaty/ |
D | bloaty_merger.py | 74 parser = argparse.ArgumentParser() 75 parser.add_argument("input_list_file", help="List of bloaty csv files.") 76 parser.add_argument("output_proto", help="Output proto.") 77 args = parser.parse_args()
|