Lines Matching refs:index
187 index := findLiteralChar(line, ':', 0, noSkipVar)
188 if index < 0 {
192 first := line[:index]
212 index++
213 if index < len(line) && line[index] == ':' {
215 index++
218 rest := line[index:]
232 index = bytes.IndexByte(rest, ';')
233 if index >= 0 {
234 r.cmds = append(r.cmds, string(rest[index+1:]))
235 rest = rest[:index-1]
237 index = findLiteralChar(rest, ':', 0, noSkipVar)
238 if index < 0 {
248 second := rest[:index]
249 third := rest[index+1:]