/development/scripts/ |
D | boardconfig_usage_analysis.py | 74 out_system_path = os.path.join(OUT[len(TOP) + 1:], 'system') 114 variables[variable].add(board_config_mk[len(TOP) + 1:]) 132 usage.add(makefile[len(TOP) + 1:]) 153 print('sfe_makefiles', len(sfe_makefiles)) 154 print('system_module_makefiles', len(system_module_makefiles)) 155 print('board_config_mks', len(board_config_mks)) 156 print('variables', len(variables)) 179 if len(usage) == 0: 183 str(len(locations)), 184 str(len(usage_in_sfe)), [all …]
|
D | get_rust_pkg.py | 88 print("INFO: now {} in {}:{}".format(len(deps), kind, set2list(deps))) 217 count1 = (len(build_deps1), len(dev_deps1), base1) 218 count2 = (len(build_deps2), len(dev_deps2), base2) 278 max_length = functools.reduce(lambda a, t: max(a, len(t[0])), found_pkgs, 1) 299 k, pkg, len(build_deps), len(dev_deps), len(all_build_deps), 300 len(all_dev_deps))) 308 len(all_pkgs), set2list(all_pkgs))) 312 len(deps), kind, set2list(deps))) 366 echo(args, pattern.format(len(core_pkgs), set2list(core_pkgs))) 369 num_core_pkgs = len(core_pkgs) [all …]
|
D | disassemble_tombstone.py | 83 assert len(words) % 2 == 0 84 for index in range(0, len(words), 2): 103 if len(program_counter) == 8: 107 assert len(program_counter) == 16 116 if len(line) not in block_line_len: 162 if emit and len(line) > 1 and line.find('program_counter_was_here') == -1:
|
D | compare-installed-size.py | 87 if len(sys.argv) < 2 or len(sys.argv) > 3: 93 if len(sys.argv) == 3:
|
D | add3prf_test.py | 30 self.assertEqual(len(licenses), 2) 38 self.assertEqual(len(licenses), 1) 46 self.assertEqual(len(licenses), 1)
|
D | native_heapdump_viewer.py | 71 while i < len(sys.argv): 90 if len(extra_args) != 1: 154 if len(parts) > 7 and parts[0] == "z" and parts[2] == "sz": 199 + len(file_info.filename) 200 + len(file_info.extra) 201 + len(file_info.comment)) 230 if len(parts) > 7 and parts[0] == "z" and parts[2] == "sz": 264 max = len(mappings) - 1 317 if len(splitted) > 5 and splitted[1] == ".text": 331 for x in range(0, len(addrs_by_lib[lib])): [all …]
|
D | native_heapdump_viewer_tests.py | 113 self.assertEqual(2, len(backtraces)) 129 self.assertEqual(2, len(backtraces)) 145 self.assertEqual(2, len(backtraces)) 170 self.assertEqual(2, len(mappings))
|
/development/tools/line_endings/ |
D | line_endings.c | 47 int len; in main() local 58 len = lseek(fd, 0, SEEK_END); in main() 61 if (len > 0) { in main() 66 while (len > 0) { in main() 73 ssize_t amt2 = len < BUFSIZE ? len : BUFSIZE; in main() 88 len -= amt2; in main()
|
/development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/ |
D | CardService.java | 141 int len = s.length(); in HexStringToByteArray() local 142 if (len % 2 == 1) { in HexStringToByteArray() 145 byte[] data = new byte[len / 2]; // Allocate 1 byte per 2 hex characters in HexStringToByteArray() 146 for (int i = 0; i < len; i += 2) { in HexStringToByteArray()
|
/development/vndk/tools/sourcedr/blueprint/ |
D | analyze_manifest_split.py | 152 root_prefix_len = len(root_dir) + 1 170 if (int(len(modules.system_only) > 0) + 171 int(len(modules.vendor_only) > 0) + 172 int(len(modules.both) > 0)) <= 1: 187 print(project, len(modules.system_only), len(modules.vendor_only), 188 len(modules.both))
|
/development/tools/axl/ |
D | chewperf.py | 16 for x in range(len(rawLines)): 79 for x in range(len(buckets.items())): 80 window[x % len(window)] = buckets.items()[x][1] 81 print "%s\t%s" % (buckets.items()[x][0], sum(window) / len(window))
|
D | axl.py | 36 self.log("BaseProtocol.write()", len(data), data) 40 self.log("BaseProtocol.dataReceived()", len(data), data) 51 self.write("Content-Length: %d\r\n\r\n" % len(response)) 52 if len(response) > 0: 192 self.count += len(data)
|
/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/ |
D | EncodedStringValue.java | 192 int len = mData.length; in clone() local 193 byte[] dstBytes = new byte[len]; in clone() 194 System.arraycopy(mData, 0, dstBytes, 0, len); in clone() 240 int len = list.size(); in extract() local 241 if (len > 0) { in extract() 242 return list.toArray(new EncodedStringValue[len]); in extract()
|
/development/tools/repo_diff/service/repodiff/tools/ |
D | upgrade_db.py | 42 if len(lines) == 3: 57 lambda fname: "upgrade" in fname and fname[:len(db_version)] > db_version, 75 lambda fname: "downgrade" in fname and fname[:len(current_db_version)] < current_db_version,
|
/development/vndk/tools/sourcedr/blueprint/tests/ |
D | test_evaluate_default.py | 41 self.assertEqual(len(result), 3) 55 self.assertEqual(len(result), 1) 56 self.assertEqual(len(result['c']), 2)
|
D | test_parser.py | 36 self.assertEqual(len(parser.var_defs), 1) 37 self.assertEqual(len(parser.vars), 1) 43 self.assertEqual(len(parser.var_defs), 2) 44 self.assertEqual(len(parser.vars), 1)
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
D | TextUndoActivity.java | 106 int len = str.length(); in addSpaces() local 107 for (int i = 0; i < len; i += 4) { in addSpaces() 108 if (i + 4 < len) { in addSpaces() 113 builder.append(str.subSequence(i, len)); in addSpaces()
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
D | MorseCodeConverter.java | 95 int len = 1; in pattern() local 101 len++; in pattern() 106 len++; in pattern() 109 len += pattern(c).length; in pattern() 116 long[] result = new long[len+1]; in pattern()
|
/development/vndk/tools/image-diff-tool/ |
D | diff.py | 115 return (len(file_digest_respect_ignore) == len(all_targets) and 116 len(set(file_digest_respect_ignore)) == 1) 162 return len(sha1_target_map) == 1 and len(targets) == len(all_targets) 223 if len(args.target) < 2:
|
/development/samples/browseable/CardReader/src/com.example.android.cardreader/ |
D | LoyaltyCardReader.java | 140 int len = s.length(); in HexStringToByteArray() local 141 byte[] data = new byte[len / 2]; in HexStringToByteArray() 142 for (int i = 0; i < len; i += 2) { in HexStringToByteArray()
|
/development/tools/logblame/ |
D | logs.py | 57 return 32 + 8 + len(self.tag) + 1 + len(self.text) + 1 100 if len(line) > 0 and line[-1] == '\n': 158 if not len(line): 172 if len(logLine.text):
|
/development/tools/repo_pull/ |
D | repo_patch.py | 66 num_changes = len(change_lists) 67 num_changes_width = len(str(num_changes))
|
/development/vndk/tools/ |
D | system_image_diff.py | 44 system_prefix_len = len(system_prefix) + 1 60 system_prefix_len = len(system_prefix) + 1 91 system_prefix_len = len(system_prefix) + 1 99 if len(paths) == 1:
|
/development/vndk/tools/definition-tool/tools/ |
D | update_dataset.py | 23 assign_len = len(' := ') 29 mod_names = line[len(key) + assign_len:].strip().split(' ') 130 name_vendor = path[len(prefix_vendor):] 137 name_core = path[len(prefix_core):] 150 name = path[len(prefix_core):]
|
/development/samples/SpellChecker/HelloSpellChecker/src/com/example/android/hellospellchecker/ |
D | HelloSpellCheckerActivity.java | 92 final int len = si.getSuggestionsCount(); in dumpSuggestionsInfoInternal() local 94 for (int j = 0; j < len; ++j) { in dumpSuggestionsInfoInternal() 100 sb.append(" (" + len + ")"); in dumpSuggestionsInfoInternal()
|