Searched refs:scanner (Results 1 – 18 of 18) 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 | 191 func sortSubList(values []Expression, nextPos scanner.Position, file *File) { 262 pos scanner.Position 263 nextPos scanner.Position
|
D | parser_test.go | 26 func mkpos(offset, line, column int) scanner.Position { 27 return scanner.Position{ 1261 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/jar/ |
D | jar.go | 159 var s scanner.Scanner 164 s.Error = func(s *scanner.Scanner, msg string) { 173 if tok == scanner.Ident { 195 } else if tok == scanner.EOF { 208 if tok != scanner.Ident {
|
/build/soong/ui/build/ |
D | environment.go | 161 scanner := bufio.NewScanner(reader) 162 for scanner.Scan() { 163 text := strings.TrimSpace(scanner.Text()) 207 if err := scanner.Err(); err != nil {
|
/build/soong/cmd/javac_wrapper/ |
D | javac_wrapper.go | 127 scanner := bufio.NewScanner(r) 131 scanner.Buffer(nil, 2*1024*1024) 132 for scanner.Scan() { 133 proc.processLine(w, scanner.Text()) 135 err := scanner.Err()
|
/build/soong/cmd/pom2mk/ |
D | pom2mk.go | 302 scanner := bufio.NewScanner(bytes.NewBuffer(buf)) 306 if !scanner.Scan() { 307 if scanner.Err() != nil { 308 return scanner.Err() 316 line := scanner.Text()
|
/build/soong/cmd/pom2bp/ |
D | pom2bp.go | 527 scanner := bufio.NewScanner(bytes.NewBuffer(buf)) 531 if !scanner.Scan() { 532 if scanner.Err() != nil { 533 return scanner.Err() 541 line := scanner.Text()
|
/build/soong/androidmk/androidmk/ |
D | androidmk.go | 41 mkPos scanner.Position // Position of the last handled line in the makefile 42 bpPos scanner.Position // Position of the last emitted line to the blueprint file 107 func (f *bpFile) setMkPos(pos, end scanner.Position) {
|
/build/soong/android/ |
D | soong_config_modules.go | 370 ctx.Errorf(scanner.Position{Filename: filename}, "%s", err)
|
/build/blueprint/ |
D | context.go | 142 Pos scanner.Position // the relevant Blueprints file location 246 pos scanner.Position 247 propertyPos map[string]scanner.Position 1155 buildPos scanner.Position) ([]string, []error) { 1196 func (c *Context) findSubdirBlueprints(dir string, subdirs []string, subdirsPos scanner.Position, 1238 func getLocalStringListFromScope(scope *parser.Scope, v string) ([]string, scanner.Position, error)… 1240 return nil, scanner.Position{}, nil 1258 return nil, scanner.Position{}, &BlueprintError{ 1268 func getStringFromScope(scope *parser.Scope, v string) (string, scanner.Position, error) { 1270 return "", scanner.Position{}, nil [all …]
|
D | module_ctx.go | 153 Errorf(pos scanner.Position, fmt string, args ...interface{}) 419 func (d *baseModuleContext) Errorf(pos scanner.Position,
|
/build/blueprint/proptools/ |
D | unpack.go | 32 Pos scanner.Position
|