Home
last modified time | relevance | path

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

12

/build/soong/android/
Dpackage_ctx.go43 errors []error member
53 e.errors = append(e.errors, fmt.Errorf(format, args...))
71 if len(ctx.errors) > 0 {
72 return "", ctx.errors[0]
86 if len(ctx.errors) > 0 {
87 return "", ctx.errors[0]
101 if len(ctx.errors) > 0 {
102 return "", ctx.errors[0]
116 if len(ctx.errors) > 0 {
117 return "", ctx.errors[0]
[all …]
Dpaths_test.go55 err: []error{errors.New("Path is outside directory: ..")},
60 err: []error{errors.New("Path is outside directory: ../a")},
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: ../b")},
80 err: []error{errors.New("Path is outside directory: ../c")},
85 err: []error{errors.New("Path is outside directory: ..")},
100 err: []error{errors.New("Path contains invalid character($): $host/../$a")},
105 err: []error{errors.New("Path contains invalid character($): $host/..")},
113 check(t, "validateSafePath", p(testCase.in), out, ctx.errors, testCase.out, testCase.err)
[all …]
/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.py86 if tagfile.errors:
87 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 $")
Dworker.go30 errNothingDone = errors.New("nothing done")
345 return errors.New("worker manager stopped")
/build/soong/cmd/soong_zip/
Dsoong_zip.go119 errors chan error member
248 z.errors = make(chan error)
249 defer close(z.errors)
274 z.errors <- err
282 z.errors <- err
359 case err = <-z.errors:
366 case err = <-z.errors:
482 z.errors <- err
496 z.errors <- err
546 z.errors <- err
[all …]
/build/make/core/
Dapicheck_msg_current.txt5 To make these errors go away, you have two choices:
7 errors above.
Dapicheck_msg_last.txt4 an SDK. Please fix the errors listed above.
/build/soong/third_party/zip/
Dandroid.go122 return nil, errors.New("archive/zip: invalid duplicate FileHeader")
158 return 0, errors.New("zip: write to closed file")
165 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")
210 return nil, errors.New("archive/zip: invalid duplicate FileHeader")
303 return 0, errors.New("zip: write to closed file")
311 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/blueprint/proptools/
Dextend_test.go578 err: errors.New("expected pointer to struct, got struct {}"),
585 err: errors.New("expected pointer to struct, got struct {}"),
592 err: errors.New("expected pointer to struct, got *[]string"),
599 err: errors.New("expected pointer to struct, got *[]string"),
613 …err: errors.New("expected matching types for dst and src, got *struct { A string } and *struct { B…
1058 err: errors.New("expected pointer to struct, got struct {}"),
1065 err: errors.New("expected pointer to struct, got struct {}"),
1072 err: errors.New("expected pointer to struct, got *[]string"),
1079 err: errors.New("expected pointer to struct, got *[]string"),
/build/soong/androidmk/parser/
Dparser.go11 var errTooManyErrors = errors.New("too many errors")
39 return p.nodes, p.errors
45 errors []error member
94 p.errors = append(p.errors, err)
95 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/soong/ui/logger/
Dlogger.go264 panic(fatalLog(errors.New(output)))
272 panic(fatalLog(errors.New(output)))
280 panic(fatalLog(errors.New(output)))
/build/make/tools/droiddoc/templates-sac/
Dpackage.cs53 <?cs call:class_table("Errors", package.errors) ?>
/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/blueprint/pathtools/
Dglob.go28 var GlobMultipleRecursiveErr = errors.New("pattern contains multiple **")
29 var GlobLastRecursiveErr = errors.New("pattern ** as last path element")
/build/blueprint/bootstrap/
Dcleanup.go90 return nil, errors.New("unrecognized ninja log format")

12