Searched defs:index (Results 1 - 6 of 6) sorted by relevance
/build/kati/ |
H A D | flags.cc | 29 int* index, 31 const char* arg = argv[*index]; 35 ++*index; 36 *out_arg = argv[*index]; 27 ParseCommandLineOptionWithArg(StringPiece option, char* argv[], int* index, const char** out_arg) argument
|
H A D | rule.cc | 58 size_t index = line.find(':'); local 59 if (index == string::npos) { 63 StringPiece first = line.substr(0, index); 78 index++; 79 if (line.get(index) == ':') { 81 index++; 84 StringPiece rest = line.substr(index); 103 rest = line.substr(index); 131 index = rest.find(':'); 132 if (index [all...] |
H A D | command.cc | 200 size_t index = FindEndOfLine(cmds, 0, &lf_cnt); local 201 if (index == cmds.size()) 202 index = string::npos; 203 StringPiece cmd = TrimLeftSpace(cmds.substr(0, index)); 204 cmds = cmds.substr(index + 1); 217 if (index == string::npos)
|
H A D | strutil.cc | 251 size_t index = s.find('\n'); local 252 if (index == string::npos) 255 while (index != string::npos) { 256 r = r.substr(0, index) + "\\n" + r.substr(index + 1); 257 index = r.find('\n', index + 2);
|
H A D | ninja.cc | 58 size_t index = FindCommandLineFlag(cmd, name); local 59 if (index == string::npos) 62 StringPiece val = TrimLeftSpace(cmd.substr(index + name.size())); 63 index = val.find(name); 64 while (index != string::npos) { 65 val = TrimLeftSpace(val.substr(index + name.size())); 66 index = val.find(name); 69 index = val.find_first_of(" \t"); 70 return val.substr(0, index); 81 size_t index local [all...] |
H A D | func.cc | 128 size_t index = 0; local 129 while (index < str.size()) { 130 size_t found = str.find(pat, index); 133 AppendString(StringPiece(str).substr(index, found - index), s); 135 index = found + pat.size(); 137 AppendString(StringPiece(str).substr(index), s);
|
Completed in 82 milliseconds