Searched refs:scanner (Results 1 – 19 of 19) sorted by relevance
/build/blueprint/parser/ |
D | parser.go | 33 Pos scanner.Position 46 func (f *File) Pos() scanner.Position { 47 return scanner.Position{ 55 func (f *File) End() scanner.Position { 74 p.accept(scanner.EOF) 79 Name: p.scanner.Filename, 89 p.scanner.Filename = filename 96 p.scanner.Filename = filename 102 scanner scanner.Scanner member 113 p.scanner.Init(r) [all …]
|
D | ast.go | 25 Pos() scanner.Position 27 End() scanner.Position 41 NamePos scanner.Position 44 EqualsPos scanner.Position 53 func (a *Assignment) Pos() scanner.Position { return a.NamePos } 54 func (a *Assignment) End() scanner.Position { return a.Value.End() } 61 TypePos scanner.Position 86 func (m *Module) Pos() scanner.Position { return m.TypePos } 87 func (m *Module) End() scanner.Position { return m.Map.End() } 92 NamePos scanner.Position [all …]
|
D | printer.go | 25 var noPos scanner.Position 33 pos scanner.Position 55 pos: scanner.Position{ 139 func (p *printer) printList(list []Expression, pos, endPos scanner.Position) { 215 func (p *printer) printToken(s string, pos scanner.Position) { 237 func (p *printer) printInLineCommentsBefore(pos scanner.Position) { 252 func (p *printer) printEndOfLineCommentsBefore(pos scanner.Position) { 270 func (p *printer) requestNewlinesForPos(pos scanner.Position) bool { 379 func (p *printer) unindent(pos scanner.Position) {
|
D | sort.go | 93 func sortSubList(values []Expression, nextPos scanner.Position, file *File) { 156 pos scanner.Position 157 nextPos scanner.Position
|
D | parser_test.go | 26 func mkpos(offset, line, column int) scanner.Position { 27 return scanner.Position{ 1109 nextPos := make([]scanner.Position, len(mod.Properties))
|
/build/soong/androidmk/parser/ |
D | parser.go | 31 Pos scanner.Position 53 p.accept(scanner.EOF) 61 scanner scanner.Scanner member 72 p.scanner.Init(r) 73 p.scanner.Error = func(sc *scanner.Scanner, msg string) { 76 p.scanner.Whitespace = 0 77 p.scanner.IsIdentRune = func(ch rune, i int) bool { 82 p.scanner.Mode = scanner.ScanIdents 83 p.scanner.Filename = filename 88 func (p *parser) Unpack(pos Pos) scanner.Position { [all …]
|
/build/blueprint/bootstrap/ |
D | cleanup.go | 94 scanner := bufio.NewScanner(logFile) 98 if !scanner.Scan() || scanner.Text() != expectedFirstLine { 103 for scanner.Scan() { 104 line := scanner.Text() 130 if err := scanner.Err(); err != nil {
|
/build/soong/ui/status/ |
D | kati.go | 123 scanner := bufio.NewScanner(pipe) 124 scanner.Buffer(nil, 2*1024*1024) 125 for scanner.Scan() { 126 parser.parseLine(scanner.Text()) 131 if err := scanner.Err(); err != nil {
|
/build/soong/ui/build/ |
D | test_build.go | 72 scanner := bufio.NewScanner(stdout) 73 for scanner.Scan() { 74 line := scanner.Text()
|
D | environment.go | 132 scanner := bufio.NewScanner(reader) 133 for scanner.Scan() { 134 text := strings.TrimSpace(scanner.Text()) 171 if err := scanner.Err(); err != nil {
|
/build/soong/cmd/javac_wrapper/ |
D | javac_wrapper.go | 121 scanner := bufio.NewScanner(r) 125 scanner.Buffer(nil, 2*1024*1024) 126 for scanner.Scan() { 127 processLine(w, scanner.Text()) 129 err := scanner.Err()
|
/build/soong/android/ |
D | prebuilt_etc_test.go | 167 scanner := bufio.NewScanner(bytes.NewReader(buf.Bytes())) 168 for scanner.Scan() { 169 line := scanner.Text()
|
D | module.go | 95 Errorf(pos scanner.Position, fmt string, args ...interface{})
|
/build/soong/cmd/pom2mk/ |
D | pom2mk.go | 296 scanner := bufio.NewScanner(bytes.NewBuffer(buf)) 300 if !scanner.Scan() { 301 if scanner.Err() != nil { 302 return scanner.Err() 310 line := scanner.Text()
|
/build/soong/cmd/pom2bp/ |
D | pom2bp.go | 398 scanner := bufio.NewScanner(bytes.NewBuffer(buf)) 402 if !scanner.Scan() { 403 if scanner.Err() != nil { 404 return scanner.Err() 412 line := scanner.Text()
|
/build/blueprint/ |
D | unpack_test.go | 611 func mkpos(offset, line, column int) scanner.Position { 612 return scanner.Position{
|
D | context.go | 125 Pos scanner.Position // the relevant Blueprints file location 174 pos scanner.Position 175 propertyPos map[string]scanner.Position 998 buildPos scanner.Position) ([]string, []error) { 1039 func (c *Context) findSubdirBlueprints(dir string, subdirs []string, subdirsPos scanner.Position, 1081 func getLocalStringListFromScope(scope *parser.Scope, v string) ([]string, scanner.Position, error)… 1083 return nil, scanner.Position{}, nil 1101 return nil, scanner.Position{}, &BlueprintError{ 1111 func getStringFromScope(scope *parser.Scope, v string) (string, scanner.Position, error) { 1113 return "", scanner.Position{}, nil [all …]
|
D | module_ctx.go | 130 Errorf(pos scanner.Position, fmt string, args ...interface{}) 229 func (d *baseModuleContext) Errorf(pos scanner.Position,
|
/build/soong/androidmk/cmd/androidmk/ |
D | androidmk.go | 50 mkPos scanner.Position // Position of the last handled line in the makefile 51 bpPos scanner.Position // Position of the last emitted line to the blueprint file 96 func (f *bpFile) setMkPos(pos, end scanner.Position) {
|