/build/kati/ |
D | strutil.go | 38 for i, ch := range s { 41 r = append(r, s[tokStart:i]) 46 tokStart = i 59 for i, ch := range s { 62 r = append(r, s[tokStart:i]) 67 tokStart = i 82 i int // current pos member 93 for ws.s = ws.i; ws.s < len(ws.in); ws.s++ { 108 for ws.i = ws.s; ws.i < len(ws.in); ws.i++ { 109 if ws.esc && ws.in[ws.i] == '\\' { [all …]
|
D | expr.cc | 263 for (size_t i = 0; i < s.size(); i++) { in SkipSpaces() local 264 char c = s[i]; in SkipSpaces() 266 return i; in SkipSpaces() 269 return i; in SkipSpaces() 270 char n = s.get(i + 1); in SkipSpaces() 272 return i; in SkipSpaces() 283 Func* f, StringPiece s, size_t i, char* terms, in ParseFunc() argument 287 i += SkipSpaces(s.substr(i), terms); in ParseFunc() 288 if (i == s.size()) { in ParseFunc() 289 *index_out = i; in ParseFunc() [all …]
|
D | expr.go | 340 i := 0 344 for i < len(in) { 345 ch := in[i] 351 if i+1 >= len(in) { 354 if in[i+1] == '$' { 355 exp = appendStr(exp, in[b:i+1], op.alloc) 356 i += 2 357 b = i 360 if bytes.IndexByte(term, in[i+1]) >= 0 { 361 exp = appendStr(exp, in[b:i], op.alloc) [all …]
|
D | string_piece.cc | 96 for (size_type i = std::min(pos, length_ - 1); ; --i) { in rfind() local 97 if (ptr_[i] == c) in rfind() 98 return i; in rfind() 99 if (i == 0) in rfind() 117 for (size_type i = 0; i < length; ++i) { in BuildLookupTable() local 118 table[static_cast<unsigned char>(data[i])] = true; in BuildLookupTable() 133 for (size_type i = pos; i < length_; ++i) { in find_first_of() local 134 if (lookup[static_cast<unsigned char>(ptr_[i])]) { in find_first_of() 135 return i; in find_first_of() 155 for (size_type i = pos; i < length_; ++i) { in find_first_not_of() local [all …]
|
D | strutil.cc | 41 int i = 0; in SkipUntilSSE42() local 43 __m128i b16 = _mm_loadu_si128((const __m128i*)(s + i)); in SkipUntilSSE42() 45 ranges16, ranges_size, b16, len - i, in SkipUntilSSE42() 48 return i + r; in SkipUntilSSE42() 50 i += 16; in SkipUntilSSE42() 51 } while (i < len); in SkipUntilSSE42() 58 for (s = i + 1; s < len; s++) { in operator ++() 65 i = 0; in operator ++() 71 i = s; in operator ++() 72 i += SkipUntilSSE42(in->data() + s, len - s, ranges, 4); in operator ++() [all …]
|
D | flags.cc | 55 for (int i = 1; i < argc; i++) { in Parse() local 56 const char* arg = argv[i]; in Parse() 58 int pi = i; in Parse() 60 makefile = argv[++i]; in Parse() 88 "-j", argv, &i, &num_jobs_str)) { in Parse() 94 "--remote_num_jobs", argv, &i, &num_jobs_str)) { in Parse() 100 "--ninja_suffix", argv, &i, &ninja_suffix)) { in Parse() 102 "--ninja_dir", argv, &i, &ninja_dir)) { in Parse() 106 "--goma_dir", argv, &i, &goma_dir)) { in Parse() 109 argv, &i, &ignore_optional_include_pattern)) { in Parse() [all …]
|
D | rule_parser.go | 80 i := findLiteralChar(s, '%', 0, noSkipVar) 81 if i < 0 { 84 return pattern{prefix: string(s[:i]), suffix: string(s[i+1:])}, true 90 for i := 0; i < len(s); i++ { 91 if s[i] != '\\' { 94 if i+1 < len(s) && s[i+1] == ' ' || s[i+1] == '=' { 95 copy(s[i:], s[i+1:]) 103 for i := 0; i < len(s); i++ { 104 if s[i] != '\\' { 107 copy(s[i:], s[i+1:])
|
D | func_test.go | 32 for i := 0; i < b.N; i++ { 51 for i := 0; i < b.N; i++ { 72 for i := 0; i < b.N; i++ {
|
/build/tools/droiddoc/templates-pdk/assets/ |
D | search_autocomplete.js | 34 var i; //TR iterator 46 for (i=0; i<ROW_COUNT; i++) { 75 for (i=0; i<N; i++) { 76 r = filtered.rows[i]; 78 set_row_values(toroot, r, gMatches[i]); 79 set_row_selected(r, i == gSelectedIndex); 80 if (i == gSelectedIndex) { 81 gSelectedID = gMatches[i].id; 85 for (; i<ROW_COUNT; i++) { 86 r = filtered.rows[i]; [all …]
|
D | android-developer-resource-browser.js | 25 for (var i = 0; i < loadedResults.length; i++) { 28 if (!resultMatchesKeyword(loadedResults[i].result, keywords[j])) { 34 loadedResults[i].node[hide ? 'hide' : 'show'](); 75 for (var i = 0; i < ANDROID_RESOURCES.length; i++) { 76 var resource = ANDROID_RESOURCES[i]; 109 var i, j; 112 for (i = 0; i < params.tag.length; i++) { 113 var tag = params.tag[i]; 134 for (i = 0; i < ANDROID_RESOURCES.length; i++) { 135 var resource = ANDROID_RESOURCES[i]; [all …]
|
/build/blueprint/parser/ |
D | sort.go | 36 for i := 0; i < len(value.ListValue); i++ { 38 line := value.ListValue[i].Pos.Line 40 for j = i + 1; j < len(value.ListValue); j++ { 51 sortSubList(value.ListValue[i:j], nextPos, file) 52 i = j - 1 57 for i := 0; i < len(value.ListValue); i++ { 59 line := value.ListValue[i].Pos.Line 61 for j = i + 1; j < len(value.ListValue); j++ { 68 if !subListIsSorted(value.ListValue[i:j]) { 71 i = j - 1 [all …]
|
/build/blueprint/ |
D | ninja_strings.go | 98 for i := 0; i < len(str); i++ { 99 r := rune(str[i]) 100 state, err = state(parseState, i, r) 114 func parseStringState(state *parseState, i int, r rune) (stateFunc, error) { 117 state.varStart = i + 1 121 state.pushString(state.str[state.stringStart:i]) 129 func parseDollarStartState(state *parseState, i int, r rune) (stateFunc, error) { 135 state.pushString(state.str[state.stringStart : i-1]) 146 state.pushString(state.str[state.stringStart : i-1]) 147 state.varStart = i + 1 [all …]
|
/build/kati/testcase/tools/ |
D | findleaves.py | 39 i = 0 40 while i < len(dirs): 41 if dirs[i] in prune: 42 del dirs[i] 44 i += 1 72 i=1 73 while i<len(argv) and len(argv[i])>2 and argv[i][0:2] == "--": 74 arg = argv[i] 87 i += 1 88 if len(argv)-i < 2: # need both <dirlist> and <filename> [all …]
|
/build/tools/ |
D | findleaves.py | 39 i = 0 40 while i < len(dirs): 41 if dirs[i] in prune: 42 del dirs[i] 44 i += 1 72 i=1 73 while i<len(argv) and len(argv[i])>2 and argv[i][0:2] == "--": 74 arg = argv[i] 87 i += 1 88 if len(argv)-i < 2: # need both <dirlist> and <filename> [all …]
|
D | warn.py | 424 for i in text[1:]: 425 output(i + '<br>') 440 for i in warnpatterns: 441 if i['severity'] == severity.UNKNOWN: 442 unknown += len(i['members']) 443 elif i['severity'] != severity.SKIP: 444 known += len(i['members']) 455 for i in cat['patterns']: 456 pats += i 469 for i in warnpatterns: [all …]
|
/build/tools/droiddoc/templates-ndk/assets/js/ |
D | docs.js | 48 for (var i=0; i<GCM_DATA.length; i++) { 49 GOOGLE_DATA.push({id:start+i, label:GCM_DATA[i].label, 50 link:GCM_DATA[i].link, type:GCM_DATA[i].type}); 169 for (var i = 0; i < upDirs; i++) { 172 for (var i = 0; i < upDirs; i++) { 173 relativePagePathParts.push(pathParts[pathParts.length - (upDirs - i) - 1]); 1223 function(i) { argument 1366 $links.each(function(i){ // for each link with a translation argument 1551 for (var i=0;i<tl;i++) { 1552 var li = $("<li>"+i+"</li>"); [all …]
|
D | prettify.js | 3 …i=f.length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var j=m(j),d;c+2<i&&"-"===f[c… 4 …i=f[c],b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.… 5 (j=+j.substring(1))&&j<=i&&(f[c]="\\"+d[i]);for(i=c=0;c<b;++c)"^"===f[c]&&"^"!==f[c+1]&&(f[c]="");i… 8 …i=h[f.charAt(0)];if(i)o=f.match(i[1]),b=i[0];else{for(c=0;c<t;++c)if(i=m[c],o=f.match(i[1])){b=i[0… 12 …i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[… 22 …'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",
|
/build/tools/releasetools/ |
D | check_target_files_signatures | 125 certs = [os.path.join(dirpath, i) 126 for i in filenames if i.endswith(".x509.pem")] 130 for i in to_load: 131 f = open(i) 134 name, _ = os.path.splitext(i) 334 for i in all_apks: 335 if i in self.apks: 336 if i in other.apks: 338 if self.apks[i].certs != other.apks[i].certs: 339 by_certpair.setdefault((other.apks[i].certs, [all …]
|
D | check_target_files_signatures.py | 125 certs = [os.path.join(dirpath, i) 126 for i in filenames if i.endswith(".x509.pem")] 130 for i in to_load: 131 f = open(i) 134 name, _ = os.path.splitext(i) 334 for i in all_apks: 335 if i in self.apks: 336 if i in other.apks: 338 if self.apks[i].certs != other.apks[i].certs: 339 by_certpair.setdefault((other.apks[i].certs, [all …]
|
/build/tools/droiddoc/templates-ds/assets/js/ |
D | prettify.js | 3 …i=f.length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var j=m(j),d;c+2<i&&"-"===f[c… 4 …i=f[c],b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.… 5 (j=+j.substring(1))&&j<=i&&(f[c]="\\"+d[i]);for(i=c=0;c<b;++c)"^"===f[c]&&"^"!==f[c+1]&&(f[c]="");i… 8 …i=h[f.charAt(0)];if(i)o=f.match(i[1]),b=i[0];else{for(c=0;c<t;++c)if(i=m[c],o=f.match(i[1])){b=i[0… 12 …i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[… 22 …'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",
|
/build/tools/droiddoc/templates-sdk/assets/js/ |
D | prettify.js | 3 …i=f.length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var j=m(j),d;c+2<i&&"-"===f[c… 4 …i=f[c],b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.… 5 (j=+j.substring(1))&&j<=i&&(f[c]="\\"+d[i]);for(i=c=0;c<b;++c)"^"===f[c]&&"^"!==f[c+1]&&(f[c]="");i… 8 …i=h[f.charAt(0)];if(i)o=f.match(i[1]),b=i[0];else{for(c=0;c<t;++c)if(i=m[c],o=f.match(i[1])){b=i[0… 12 …i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[… 22 …'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",
|
/build/tools/droiddoc/templates-sdk-dev/assets/js/ |
D | prettify.js | 3 …i=f.length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var j=m(j),d;c+2<i&&"-"===f[c… 4 …i=f[c],b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.… 5 (j=+j.substring(1))&&j<=i&&(f[c]="\\"+d[i]);for(i=c=0;c<b;++c)"^"===f[c]&&"^"!==f[c+1]&&(f[c]="");i… 8 …i=h[f.charAt(0)];if(i)o=f.match(i[1]),b=i[0];else{for(c=0;c<t;++c)if(i=m[c],o=f.match(i[1])){b=i[0… 12 …i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[… 22 …'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",
|
/build/tools/droiddoc/templates-sdk-refonly/assets/js/ |
D | prettify.js | 3 …i=f.length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var j=m(j),d;c+2<i&&"-"===f[c… 4 …i=f[c],b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.… 5 (j=+j.substring(1))&&j<=i&&(f[c]="\\"+d[i]);for(i=c=0;c<b;++c)"^"===f[c]&&"^"!==f[c+1]&&(f[c]="");i… 8 …i=h[f.charAt(0)];if(i)o=f.match(i[1]),b=i[0];else{for(c=0;c<t;++c)if(i=m[c],o=f.match(i[1])){b=i[0… 12 …i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[… 22 …'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",
|
/build/tools/droiddoc/templates-sac/assets/js/ |
D | prettify.js | 3 …i=f.length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var j=m(j),d;c+2<i&&"-"===f[c… 4 …i=f[c],b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.… 5 (j=+j.substring(1))&&j<=i&&(f[c]="\\"+d[i]);for(i=c=0;c<b;++c)"^"===f[c]&&"^"!==f[c+1]&&(f[c]="");i… 8 …i=h[f.charAt(0)];if(i)o=f.match(i[1]),b=i[0];else{for(c=0;c<t;++c)if(i=m[c],o=f.match(i[1])){b=i[0… 12 …i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[… 22 …'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",
|
/build/tools/rgb2565/ |
D | to565.c | 45 int i = 0; in to_565_raw_dither() local 56 int r = in[0] + error[i*3+0]; in to_565_raw_dither() 59 int g = in[1] + error[i*3+1]; in to_565_raw_dither() 62 int b = in[2] + error[i*3+2]; in to_565_raw_dither() 69 next_error[(i-1)*3+ch] += e * 3 / 16; \ in to_565_raw_dither() 70 next_error[(i)*3+ch] += e * 5 / 16; \ in to_565_raw_dither() 71 next_error[(i+1)*3+ch] += e * 1 / 16; \ in to_565_raw_dither() 72 error[(i+1)*3+ch] += e - ((e*1/16) + (e*3/16) + (e*5/16)); \ in to_565_raw_dither() 86 ++i; in to_565_raw_dither() 87 if (i == width) { in to_565_raw_dither() [all …]
|