Home
last modified time | relevance | path

Searched refs:index (Results 1 – 25 of 40) sorted by relevance

12

/build/kati/
Drule_parser.go187 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:]))
[all …]
Drule.cc59 size_t index = line.find(':'); in ParseRule() local
60 if (index == string::npos) { in ParseRule()
64 StringPiece first = line.substr(0, index); in ParseRule()
79 index++; in ParseRule()
80 if (line.get(index) == ':') { in ParseRule()
82 index++; in ParseRule()
85 StringPiece rest = line.substr(index); in ParseRule()
103 rest = line.substr(index); in ParseRule()
131 index = rest.find(':'); in ParseRule()
132 if (index == string::npos) { in ParseRule()
[all …]
Dflags.cc29 int* index, in ParseCommandLineOptionWithArg() argument
31 const char* arg = argv[*index]; in ParseCommandLineOptionWithArg()
35 ++*index; in ParseCommandLineOptionWithArg()
36 *out_arg = argv[*index]; in ParseCommandLineOptionWithArg()
Dninja.cc58 size_t index = FindCommandLineFlag(cmd, name); in FindCommandLineFlagWithArg() local
59 if (index == string::npos) in FindCommandLineFlagWithArg()
62 StringPiece val = TrimLeftSpace(cmd.substr(index + name.size())); in FindCommandLineFlagWithArg()
63 index = val.find(name); in FindCommandLineFlagWithArg()
64 while (index != string::npos) { in FindCommandLineFlagWithArg()
65 val = TrimLeftSpace(val.substr(index + name.size())); in FindCommandLineFlagWithArg()
66 index = val.find(name); in FindCommandLineFlagWithArg()
69 index = val.find_first_of(" \t"); in FindCommandLineFlagWithArg()
70 return val.substr(0, index); in FindCommandLineFlagWithArg()
81 size_t index = cmdline.find(' '); in GetGomaccPosForAndroidCompileCommand() local
[all …]
Dcommand.cc207 size_t index = FindEndOfLine(cmds, 0, &lf_cnt); in Eval() local
208 if (index == cmds.size()) in Eval()
209 index = string::npos; in Eval()
210 StringPiece cmd = TrimLeftSpace(cmds.substr(0, index)); in Eval()
211 cmds = cmds.substr(index + 1); in Eval()
224 if (index == string::npos) in Eval()
Dstrutil.cc253 size_t index = s.find('\n'); in NoLineBreak() local
254 if (index == string::npos) in NoLineBreak()
257 while (index != string::npos) { in NoLineBreak()
258 r = r.substr(0, index) + "\\n" + r.substr(index + 1); in NoLineBreak()
259 index = r.find('\n', index + 2); in NoLineBreak()
Dfunc.cc128 size_t index = 0; in SubstFunc() local
129 while (index < str.size()) { in SubstFunc()
130 size_t found = str.find(pat, index); in SubstFunc()
133 AppendString(StringPiece(str).substr(index, found - index), s); in SubstFunc()
135 index = found + pat.size(); in SubstFunc()
137 AppendString(StringPiece(str).substr(index), s); in SubstFunc()
DMakefile.ckati107 KATI_VERSION_DEPS := $(KATI_GIT_DIR)/.git/HEAD $(KATI_GIT_DIR)/.git/index
Dfind.cc253 size_t index = d.find('/'); in FindDir() local
254 const string& p = d.substr(0, index).as_string(); in FindDir()
257 if (index == string::npos) in FindDir()
259 StringPiece nd = d.substr(index + 1); in FindDir()
/build/make/tools/
Dcompare_fileslist.py34 index = 0
44 data[fn][index] = sz
45 index = index + 1
49 for i in range(0,index):
Dfat16copy.py134 def shorten(name, index): argument
141 postfix = "~" + str(index)
200 index = 1
201 shortened = shorten(name, index)
206 index += 1
207 shortened = shorten(name, index)
Djava-layers.py195 index = text.find("{")
196 if index < 0:
201 text = text[0:index]
/build/soong/androidmk/parser/
Dmake_strings.go170 index := strings.IndexAny(s, sep)
171 if index >= 0 {
172 ret = append(ret, s[0:index])
173 s = s[index+1:]
/build/soong/cmd/zip2zip/
Dzip2zip.go197 index := func(name string) int {
207 diff := index(files[i].newName) - index(files[j].newName)
/build/make/tools/droiddoc/templates-ndk/assets/js/
Ddocs.js392 $classLinks.each(function(index) { argument
396 $classDescriptions[index] = langDescr;
399 $classDescriptions[index] = $(this).attr("description");
410 $classLinks.each(function(index) { argument
413 $pSummary = $('<p class="description">' + $classDescriptions[index] + '</p>');
422 $lessons.each(function(index) { argument
1049 var index = document.cookie.indexOf(myCookie);
1050 if (index != -1) {
1051 var valStart = index + myCookie.length;
1169 $('.section-card-menu').each(function(index, el) { argument
[all …]
/build/make/tools/releasetools/
Dota_package_parser.py177 index = line.find("=")
178 metadata_info[line[0 : index].strip()] = line[index + 1:].strip()
Dadd_img_to_target_files395 for index, arg in enumerate(split_args[:-1]):
402 image_path = split_args[index + 1]
410 split_args[index + 1] = alt_path
/build/blueprint/parser/
Dast.go277 func (x *Map) getPropertyImpl(name string) (Property *Property, found bool, index int) {
288 _, found, index := x.getPropertyImpl(propertyName)
290 x.Properties = append(x.Properties[:index], x.Properties[index+1:]...)
/build/soong/ui/build/
Dproc_sync_test.go84 func testLockCountingTo(index int) (lock *countLock) {
85 return &countLock{nextIndex: 0, successIndex: index}
/build/make/
Denvsetup.sh460 local index=1
466 echo " $index. $v"
467 index=$(($index+1))
1521 local index=1
1524 printf "%6s %s\n" "[$index]" $line
1525 index=$(($index + 1))
/build/
Denvsetup.sh460 local index=1
466 echo " $index. $v"
467 index=$(($index+1))
1521 local index=1
1524 printf "%6s %s\n" "[$index]" $line
1525 index=$(($index + 1))
/build/make/tools/droiddoc/templates-pdk/assets/
Dandroid-developer-docs.js106 var index = document.cookie.indexOf(myCookie);
107 if (index != -1) {
108 var valStart = index + myCookie.length;
Dandroid-developer-docs.css161 #index-links .selected {
168 #index-links {
388 z-index:99;
409 z-index:99;
976 z-index:1;
1042 z-index:0;
1499 .ui-resizable-handle { position: absolute; display: none; font-size: 0.1px; z-index:1; }
/build/make/tools/ijar/
DREADME.txt51 It also sets to zero the file modification times in the index of the
80 the index metadata: it has header+data for each file, then another
/build/make/tools/droiddoc/templates-sac/assets/js/
Ddocs.js348 $classLinks.each(function(index) { argument
359 $lessons.each(function(index) { argument
857 var index = document.cookie.indexOf(myCookie);
858 if (index != -1) {
859 var valStart = index + myCookie.length;
1469 go($(nav_li).index($(this)));
1556 gSelectedIndex = $('#search_filtered li').index(this);

12