Home
last modified time | relevance | path

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

1234

/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.py82 assert len(words) % 2 == 0
83 for index in range(0, len(words), 2):
102 if len(program_counter) == 8:
106 assert len(program_counter) == 16
115 if len(line) not in block_line_len:
155 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.py63 while len(args) > 1:
80 if len(args) != 1:
113 if len(parts) > 7 and parts[0] == "z" and parts[2] == "sz":
135 max = len(mappings) - 1
179 if len(splitted) > 5 and splitted[1] == ".text":
189 for x in range(0, len(addrs_by_lib[lib])):
217 if len(stack) > 0:
258 if len(children) > 0:
Daday18 if len(sys.argv) != 2:
/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/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)
Dchewie.py24 for x in range(len(self.queue)):
75 if len(line) == 0: break
171 "\nrequests: %s\n" % len(vals) + \
/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/sourcedr/static/js/
Dmain.js108 let len = deps.length;
109 for (let i = 0; i < len; i++) {
132 let len = codes.length;
133 for (let i = 0; i < len; i++) {
154 let len = done.length;
155 for (let i = 0; i < len; i++) {
158 len = pattern_lst.length;
159 for (let i = 0; i < len; i++) {
198 let len = children.length;
199 for (let i = 0; i < len; i++) {
/development/vndk/tools/sourcedr/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/vndk/tools/
Dsystem_image_diff.py33 system_prefix_len = len(system_prefix) + 1
49 system_prefix_len = len(system_prefix) + 1
80 system_prefix_len = len(system_prefix) + 1
88 if len(paths) == 1:
/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/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/definition-tool/tools/
Dupdate_dataset.py23 assign_len = len(' := ')
29 mod_names = line[len(key) + assign_len:].strip().split(' ')
117 name_vendor = path[len(prefix_vendor):]
124 name_core = path[len(prefix_core):]
137 name = path[len(prefix_core):]
/development/vndk/tools/definition-tool/tests/
Dtest_elf_linker.py83 self.assertEqual(2, len(nodes))
97 self.assertEqual(5, len(graph.lib_pt[PT_SYSTEM].lib32))
98 self.assertEqual(5, len(graph.lib_pt[PT_SYSTEM].lib64))
99 self.assertEqual(1, len(graph.lib_pt[PT_VENDOR].lib32))
100 self.assertEqual(1, len(graph.lib_pt[PT_VENDOR].lib64))
333 self.assertEqual(2 * 1, len(sp_lib.sp_hal))
334 self.assertEqual(2 * 2, len(sp_lib.sp_hal_dep))
335 self.assertEqual(2 * 2, len(sp_lib.vndk_sp_hal))
336 self.assertEqual(2 * 2, len(sp_lib.ll_ndk))
337 self.assertEqual(2 * 3, len(sp_lib.ll_ndk_indirect))
[all …]
/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/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()
/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/python-packages/adb/
Ddevice.py73 if len(devices) != 1:
259 _RETURN_CODE_SEARCH_LENGTH = len(
315 if len(search_text) > self._RETURN_CODE_SEARCH_LENGTH:
325 out = out[:-len(partition[1]) - len(partition[2])]
509 if len(output) != 1:

1234