Lines Matching refs:index
284 index := strings.IndexAny(s, sep)285 if index >= 0 {286 ret = append(ret, s[0:index])287 s = s[index+1:]302 index := strings.IndexByte(s, '\\')303 if index < 0 {307 if index+1 == len(s) {311 switch s[index+1] {313 ret += s[:index] + s[index+1:index+2]315 ret += s[:index+2]317 s = s[index+2:]