Home
last modified time | relevance | path

Searched refs:len (Results 1 – 25 of 101) sorted by relevance

12345

/development/scripts/
Dboardconfig_usage_analysis.py74 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 …]
Ddisassemble_tombstone.py83 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:
Dcompare-installed-size.py87 if len(sys.argv) < 2 or len(sys.argv) > 3:
93 if len(sys.argv) == 3:
Dnative_heapdump_viewer.py71 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 …]
Dnative_heapdump_viewer_tests.py113 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/
Dline_endings.c47 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/
DCardService.java141 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/
Danalyze_manifest_split.py152 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/
Dchewperf.py16 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))
Daxl.py36 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/
DEncodedStringValue.java192 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/vndk/tools/sourcedr/blueprint/tests/
Dtest_evaluate_default.py41 self.assertEqual(len(result), 3)
55 self.assertEqual(len(result), 1)
56 self.assertEqual(len(result['c']), 2)
Dtest_parser.py36 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/tools/repo_diff/service/repodiff/tools/
Dupgrade_db.py42 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/samples/ApiDemos/src/com/example/android/apis/content/
DTextUndoActivity.java106 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/
DMorseCodeConverter.java95 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/
Ddiff.py128 return (len(file_digest_respect_ignore) == len(all_targets) and
129 len(set(file_digest_respect_ignore)) == 1)
174 return len(sha1_target_map) == 1 and len(targets) == len(all_targets)
226 if len(args.target) < 2:
/development/tools/repo_pull/
Drepo_patch.py57 num_changes = len(change_lists)
58 num_changes_width = len(str(num_changes))
/development/samples/browseable/CardReader/src/com.example.android.cardreader/
DLoyaltyCardReader.java140 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/
Dlogs.py57 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/vndk/tools/
Dsystem_image_diff.py44 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/
Dupdate_dataset.py23 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/
DHelloSpellCheckerActivity.java92 final int len = si.getSuggestionsCount(); in dumpSuggestionsInfoInternal() local
94 for (int j = 0; j < len; ++j) { in dumpSuggestionsInfoInternal()
100 sb.append(" (" + len + ")"); in dumpSuggestionsInfoInternal()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DBitmapDecode.java54 int len; in streamToBytes() local
56 while ((len = is.read(buffer)) >= 0) { in streamToBytes()
57 os.write(buffer, 0, len); in streamToBytes()
/development/samples/BackupRestore/src/com/example/android/backuprestore/
DExampleAgent.java129 int len = buffer.length; in onBackup() local
130 data.writeEntityHeader(APP_DATA_KEY, len); in onBackup()
131 data.writeEntityData(buffer, len); in onBackup()

12345