Searched refs:errs (Results 1 – 13 of 13) sorted by relevance
/build/blueprint/ |
D | unpack.go | 36 errs := buildPropertyMap("", propertyDefs, propertyMap) 37 if len(errs) > 0 { 38 return nil, errs 53 errs = append(errs, newErrs...) 55 if len(errs) >= maxErrors { 56 return nil, errs 70 errs = append(errs, err) 74 if len(errs) > 0 { 75 return nil, errs 82 propertyMap map[string]*packedProperty) (errs []error) { [all …]
|
D | context.go | 472 errs []error) { 483 file, errs = parser.ParseAndEval(filename, r, scope) 484 if len(errs) > 0 { 485 for i, err := range errs { 491 errs[i] = err 497 return nil, nil, nil, errs 503 errs = append(errs, err) 508 errs = append(errs, err) 513 errs = append(errs, err) 523 errs = append(errs, newErrs...) [all …]
|
D | module_ctx.go | 160 errs []error member 186 d.errs = append(d.errs, err) 226 return len(d.errs) > 0 248 m.errs = append(m.errs, &Error{ 427 modules, errs := mctx.context.createVariations(mctx.module, mctx.name, variationNames) 428 if len(errs) > 0 { 429 mctx.errs = append(mctx.errs, errs...) 461 errs := mctx.context.addDependency(mctx.context.moduleInfo[module], dep) 462 if len(errs) > 0 { 463 mctx.errs = append(mctx.errs, errs...) [all …]
|
D | unpack_test.go | 31 errs []error 365 file, errs := parser.Parse("", r, nil) 366 if len(errs) != 0 { 369 for _, err := range errs { 378 _, errs = unpackProperties(module.Properties, properties.Interface()) 379 if len(errs) != 0 && len(testCase.errs) == 0 { 382 for _, err := range errs { 386 } else if !reflect.DeepEqual(errs, testCase.errs) { 389 t.Errorf(" expected: %+v", testCase.errs) 390 t.Errorf(" got: %+v", errs)
|
D | context_test.go | 86 _, _, _, errs := ctx.parse(".", "Blueprint", r, nil) 87 if len(errs) > 0 { 89 for _, err := range errs { 95 errs = ctx.ResolveDependencies(nil) 96 if len(errs) > 0 { 98 for _, err := range errs {
|
D | singleton_ctx.go | 69 errs []error member 96 s.errs = append(s.errs, err) 112 return len(s.errs) > 0
|
/build/blueprint/bootstrap/ |
D | command.go | 100 deps, errs := ctx.ParseBlueprintsFiles(bootstrapConfig.topLevelBlueprintsFile) 101 if len(errs) > 0 { 102 fatalErrors(errs) 108 errs = ctx.ResolveDependencies(config) 109 if len(errs) > 0 { 110 fatalErrors(errs) 121 extraDeps, errs := ctx.PrepareBuildActions(config) 122 if len(errs) > 0 { 123 fatalErrors(errs) 179 func fatalErrors(errs []error) { [all …]
|
/build/blueprint/bpmodify/ |
D | bpmodify.go | 73 file, errs := parser.Parse(filename, r, parser.NewScope(nil)) 74 if len(errs) > 0 { 75 for _, err := range errs { 78 return fmt.Errorf("%d parsing errors", len(errs)) 81 modified, errs := findModules(file) 82 if len(errs) > 0 { 83 for _, err := range errs { 121 func findModules(file *parser.File) (modified bool, errs []error) { 129 errs = append(errs, newErrs...) 137 return modified, errs [all …]
|
/build/blueprint/bpfmt/ |
D | bpfmt.go | 61 file, errs := parser.Parse(filename, r, parser.NewScope(nil)) 62 if len(errs) > 0 { 63 for _, err := range errs { 66 return fmt.Errorf("%d parsing errors", len(errs))
|
/build/blueprint/parser/ |
D | printer_test.go | 264 file, errs := Parse("", r, NewScope(nil)) 265 if len(errs) != 0 { 268 for _, err := range errs {
|
D | parser_test.go | 480 file, errs := ParseAndEval("", r, NewScope(nil)) 481 if len(errs) != 0 { 484 for _, err := range errs {
|
D | parser.go | 46 func parse(p *parser) (file *File, errs []error) { 50 errs = p.errors 59 errs = p.errors 66 }, errs 70 func ParseAndEval(filename string, r io.Reader, scope *Scope) (file *File, errs []error) { 78 func Parse(filename string, r io.Reader, scope *Scope) (file *File, errs []error) {
|
/build/soong/androidmk/cmd/androidmk/ |
D | androidmk.go | 81 things, errs := p.Parse() 82 if len(errs) > 0 { 83 for _, err := range errs {
|