Home
last modified time | relevance | path

Searched refs:errors (Results 1 – 25 of 48) sorted by relevance

12

/build/soong/python/
Dpython_test.go59 errors []string
72 errors: []string{
91 errors: []string{
114 errors: []string{
150 errors: []string{
176 errors: []string{
213 errors: []string{
348 testErrs = append(testErrs, expectErrors(t, actErrs, d.errors)...)
373 testErrs = append(testErrs, errors.New(v))
379 testErrs = append(testErrs, errors.New(v))
[all …]
/build/soong/android/
Dpackage_ctx.go45 errors []error member
58 e.errors = append(e.errors, fmt.Errorf(format, args...))
84 if len(ctx.errors) > 0 {
85 return "", ctx.errors[0]
99 if len(ctx.errors) > 0 {
100 return params, ctx.errors[0]
114 if len(ctx.errors) > 0 {
115 return params, ctx.errors[0]
Dpaths_test.go60 err: []error{errors.New("Path is outside directory: ..")},
65 err: []error{errors.New("Path is outside directory: ../a")},
70 err: []error{errors.New("Path is outside directory: ../a")},
75 err: []error{errors.New("Path is outside directory: /a")},
80 err: []error{errors.New("Path is outside directory: ../b")},
85 err: []error{errors.New("Path is outside directory: ../c")},
90 err: []error{errors.New("Path is outside directory: ..")},
105 err: []error{errors.New("Path contains invalid character($): $host/../$a")},
110 err: []error{errors.New("Path contains invalid character($): $host/..")},
122 check(t, "validateSafePath", p(testCase.in), out, ctx.errors, testCase.out, testCase.err)
[all …]
Dnamespace_test.go154 errors.New(
377errors.New(`dir1/Android.bp:2:4: module "soong_namespace": namespace a_nonexistent_namespace does …
406 errors.New(`dir1/subdir1/Android.bp:4:4: "b" depends on undefined module "a"
469 errors.New(`dir3/Android.bp:5:4: "c" depends on undefined module "a"
491 errors.New(`dir1/Android.bp:4:4: namespace dir1 already exists`),
512 errors.New(`dir1/Android.bp:5:4: a namespace must be the first module in the file`),
536 errors.New(`dir1/Android.bp:7:4: module "a" already defined
558 errors.New(`include.bp:2:5: A namespace may only be declared in a file named Android.bp`),
/build/soong/cmd/diff_target_files/
Dglob.go27 return false, errors.New("pattern has '**' as last path element")
48 return false, errors.New("pattern contains multiple '**'")
63 return false, errors.New("pattern contains other characters between '**' and path separator")
/build/make/tools/
Dmerge-event-log-tags.py38 errors = [] variable
131 errors.extend(tagfile.errors)
134 if errors:
135 for fn, ln, msg in errors:
Devent_log_tags.py36 self.errors.append((self.filename, linenum, msg))
47 self.errors = []
Djava-event-log-tags.py93 if tagfile.errors:
94 for fn, ln, msg in tagfile.errors:
/build/kati/
Drule_parser.go189 return nil, errors.New("*** missing separator.")
201 return nil, errors.New("*** mixed implicit and normal rules: deprecated syntax")
245 return nil, errors.New("*** mixed implicit and normal rules: deprecated syntax")
254 return nil, errors.New("*** missing target pattern.")
258 return nil, errors.New("*** target pattern contains no '%'.")
262 return nil, errors.New("*** multiple target patterns.")
Dpathutil.go523 errNotFind = errors.New("not find command")
524 errFindBackground = errors.New("find command: background")
525 errFindUnbalancedQuote = errors.New("find command: unbalanced quote")
526 errFindDupChdir = errors.New("find command: dup chdir")
527 errFindDupTestdir = errors.New("find command: dup testdir")
528 errFindExtra = errors.New("find command: extra")
529 errFindUnexpectedEnd = errors.New("find command: unexpected end")
530 errFindAbspath = errors.New("find command: abs path")
531 errFindNoSuchDir = errors.New("find command: no such dir")
894 errNotFindleaves = errors.New("not findleaves command")
[all …]
Dexpr.go30 errEndOfInput = errors.New("unexpected end of input")
31 errNotLiteral = errors.New("valueNum: not literal")
33 errUnterminatedVariableReference = errors.New("*** unterminated variable reference.")
427 return nil, 0, errors.New("empty expr")
430 return nil, 0, errors.New("should starts with $")
433 return nil, 0, errors.New("should handle $$ as literal $")
/build/soong/zip/
Dzip.go182 errors chan error member
450 z.errors = make(chan error)
451 defer close(z.errors)
474 return errors.New("must specify --jar when specifying a manifest via -m")
495 z.errors <- err
575 case err := <-z.errors:
582 case err := <-z.errors:
775 z.errors <- err
789 z.errors <- err
837 z.errors <- err
[all …]
/build/soong/cc/
Dvndk.go168 return errors.New("VNDK-SP extensions must not depend on VNDK or VNDK extensions")
177 return errors.New("VNDK-core and VNDK-SP must not depend on VNDK extensions")
181 return errors.New("VNDK-SP must only depend on VNDK-SP")
186 return errors.New("VNDK-core must only depend on VNDK-core or VNDK-SP")
/build/soong/third_party/zip/
Dandroid.go130 return nil, errors.New("archive/zip: invalid duplicate FileHeader")
177 return 0, errors.New("zip: write to closed file")
184 return errors.New("zip: file closed twice")
Dregister.go50 return 0, errors.New("Write after Close")
88 return 0, errors.New("Read after Close")
Dwriter.go64 return errors.New("zip: writer closed twice")
222 return nil, errors.New("archive/zip: invalid duplicate FileHeader")
338 return 0, errors.New("zip: write to closed file")
348 return errors.New("zip: file closed twice")
Dreader.go19 ErrFormat = errors.New("zip: not a valid zip file")
20 ErrAlgorithm = errors.New("zip: unsupported compression algorithm")
21 ErrChecksum = errors.New("zip: checksum error")
424 return nil, errors.New("zip: invalid comment length")
/build/soong/androidmk/parser/
Dparser.go25 var errTooManyErrors = errors.New("too many errors")
57 return p.nodes, p.errors
63 errors []error member
112 p.errors = append(p.errors, err)
113 if len(p.errors) >= maxErrors {
/build/blueprint/parser/
Dparser.go27 var errTooManyErrors = errors.New("too many errors")
66 errs = p.errors
75 errs = p.errors
104 errors []error member
132 p.errors = append(p.errors, err)
133 if len(p.errors) >= maxErrors {
/build/blueprint/proptools/
Dextend_test.go672 err: errors.New("expected pointer to struct, got struct {}"),
679 err: errors.New("expected pointer to struct, got struct {}"),
686 err: errors.New("expected pointer to struct, got *[]string"),
693 err: errors.New("expected pointer to struct, got *[]string"),
707 …err: errors.New("expected matching types for dst and src, got *struct { A string } and *struct { B…
1183 err: errors.New("expected pointer to struct, got struct {}"),
1190 err: errors.New("expected pointer to struct, got struct {}"),
1197 err: errors.New("expected pointer to struct, got *[]string"),
1204 err: errors.New("expected pointer to struct, got *[]string"),
/build/soong/ui/logger/
Dlogger.go282 panic(fatalLog{errors.New(output)})
290 panic(fatalLog{errors.New(output)})
298 panic(fatalLog{errors.New(output)})
/build/blueprint/
Dcontext_test.go477 errors.New(`Blueprints:3:18: expected "}", found String`),
478 errors.New(`dir1/Blueprints:4:3: expected "}", found EOF`),
505 errors.New(`Blueprints:6:4: property 'name' is missing from a module`),
/build/make/tools/droiddoc/templates-ndk/
Dpackage.cs56 <?cs call:class_table("Errors", package.errors) ?>
/build/make/tools/droiddoc/templates-pdk/
Dcustomizations.cs67 <?cs call:list("Errors", class.package.errors) ?>
75 <?cs call:class_link_list("Errors", package.errors) ?>
/build/soong/finder/cmd/
Dfinder.go128 return errors.New("Param 'db' must be nonempty")

12