Home
last modified time | relevance | path

Searched refs:errorf (Results 1 – 10 of 10) sorted by relevance

/build/soong/androidmk/cmd/androidmk/
Dandroidmk.go74 func (f *bpFile) errorf(failedNode mkparser.Node, message string, args ...interface{}) { func
175 file.errorf(x, "unsupported include")
198 file.errorf(x, "unsupported nested conditional in module")
202 file.errorf(x, "unsupported conditional")
208 file.errorf(x, "missing if before else")
211 file.errorf(x, "else from unsupported conditional")
217 file.errorf(x, "missing if before endif")
220 file.errorf(x, "endif from unsupported conditional")
229 file.errorf(x, "unsupported directive")
233 file.errorf(x, "unsupported line")
[all …]
Dandroid.go525 ctx.file.errorf(ctx.mkvalue, "unsupported sanitize expression")
661 ctx.file.errorf(ctx.mkvalue, "Unrecognized version-script")
667 ctx.file.errorf(ctx.mkvalue, "Unrecognized version-script")
688 ctx.file.errorf(ctx.mkvalue, "multiple version scripts found?")
/build/soong/androidmk/parser/
Dparser.go74 p.errorf(msg)
107 func (p *parser) errorf(format string, args ...interface{}) { func
121 p.errorf("expected %s, found %s", scanner.TokenString(tok),
160 p.errorf("expected = after ?")
167 p.errorf("expected = after +")
184 p.errorf("expected directive, rule, or assignment after ident " + ident.Dump())
195 p.errorf("expected assignment or rule definition, found %s\n",
252 p.errorf("expected escaped character, found %s",
265 p.errorf("unexpected EOF while looking for endef")
320 p.errorf("expected escaped character, found %s",
[all …]
/build/blueprint/parser/
Dparser.go115 p.errorf(msg)
138 func (p *parser) errorf(format string, args ...interface{}) { func
145 p.errorf("expected %s, found %s", scanner.TokenString(tok),
192 p.errorf("expected \"=\" or \"+=\" or \"{\" or \"(\", found %s",
198 p.errorf("expected assignment or module definition, found %s",
226 p.errorf("modified non-existent variable %q with +=", assignment.Name)
228 p.errorf("modified non-local variable %q with +=", assignment.Name)
230 p.errorf("modified variable %q with += after referencing", assignment.Name)
336 p.errorf("subtraction not supported: %s", p.scanner.String())
461 p.errorf("expected bool, list, or string value; found %s",
[all …]
/build/kati/
Deval.go132 func (p srcpos) errorf(f string, args ...interface{}) error { func
213 return ast.errorf("*** empty variable name.")
378 return ast.errorf("parse failed: %q: %v", line, err)
394 return ast.errorf("*** commands commence before first target.")
492 return ast.errorf("parse failed: %q: %v", ast.expr, err)
498 return ast.errorf("%v", err)
508 return ast.errorf("glob error: %s: %v", pat, err)
524 return ev.errorf("%v\nNOTE: kati does not support generating missing makefiles", err)
552 return iast.errorf("%v\n expr:%s", err, expr)
558 return iast.errorf("%v\n expr:%s=>%s", err, expr, v)
[all …]
Dparser.go218 p.err = p.srcpos().errorf("*** missing rule before commands.")
222 p.err = p.srcpos().errorf("*** commands commence before first target.")
374 p.err = p.srcpos().errorf(`*** invalid syntax in conditional.`)
406 return p.srcpos().errorf(`*** extraneous %q.`, curKeyword)
419 p.err = p.srcpos().errorf(`*** only one "else" per conditional.`)
483 p.err = p.srcpos().errorf("parse error %q: %v", string(vline), err)
702 p.err = p.srcpos().errorf("assign error %q=%q: %v", p.defineVar, p.inDef, err)
Dfunc.go398 return ev.errorf(`*** non-numeric first argument to "word" function: %q.`, v)
401 return ev.errorf(`*** first argument to "word" function must be greater than 0.`)
434 return ev.errorf(`*** non-numeric first argument to "wordlist" function: %q.`, v)
437 return ev.errorf(`*** invalid first argument to "wordlist" function: %s`, f.args[1])
442 return ev.errorf(`*** non-numeric second argument to "wordlist" function: %q.`, v)
1115 return ev.errorf("%v", err)
1254 return ev.errorf("eval assign error: %q: %v", f.String(), err)
1419 return ev.errorf("*** %s.", abuf.String())
Dast.go80 return nil, ast.errorf("unknown assign op: %q", ast.op)
Devalcmd.go244 return nil, ev.errorf("parse cmd %q: %v", r.cmd, err)
Ddep.go415 return nil, r.errorf("*** target file %q has both : and :: entries.", output)