Searched refs:tokenIndex (Results 1 – 3 of 3) sorted by relevance
150 final int tokenIndex = nextTokenIndex(); in nextString() local151 if (tokenIndex == -1) { in nextString()154 return parseAndConsumeString(tokenIndex); in nextString()162 final int tokenIndex = nextTokenIndex(); in nextLong() local163 if (tokenIndex == -1) { in nextLong()166 return parseAndConsumeLong(tokenIndex); in nextLong()175 final int tokenIndex = nextTokenIndex(); in nextOptionalLong() local176 if (tokenIndex == -1) { in nextOptionalLong()179 return parseAndConsumeLong(tokenIndex); in nextOptionalLong()183 private String parseAndConsumeString(int tokenIndex) throws IOException { in parseAndConsumeString() argument[all …]
78 int tokenIndex = 0; in parse() local83 tokenIndex = mTokenizer.nextToken(line, tokenIndex); in parse()84 delimIndex = mTokenizer.nextDelimiter(line, tokenIndex); in parse()88 mCardNum = Integer.parseInt(line.substring(tokenIndex, delimIndex)); in parse()91 + ": " + line.substring(tokenIndex, delimIndex)); in parse()96 tokenIndex = mTokenizer.nextToken(line, delimIndex); in parse()97 delimIndex = mTokenizer.nextDelimiter(line, tokenIndex); in parse()98 mField1 = line.substring(tokenIndex, delimIndex); in parse()101 tokenIndex = mTokenizer.nextToken(line, delimIndex); in parse()102 mCardName = line.substring(tokenIndex); in parse()[all …]
91 int tokenIndex = kToken_LineNum; in parse() local104 switch (tokenIndex) { in parse()112 tokenIndex++; // no device # in the token stream in parse()150 Slog.e(TAG, "Failed to parse token " + tokenIndex + " of " + kDevicesFilePath in parse()155 tokenIndex++; in parse()