Home
last modified time | relevance | path

Searched refs:tokens (Results 1 – 10 of 10) sorted by relevance

/build/make/tools/releasetools/
Dedify_generator.py173 tokens = filename.split(':')
174 assert len(tokens) == 6 and tokens[0] == 'EMMC', \
176 source = '{}:{}:{}:{}'.format(tokens[0], tokens[1], tokens[2], tokens[3])
177 target = '{}:{}:{}:{}'.format(tokens[0], tokens[1], tokens[4], tokens[5])
299 tokens = srcfile.split(':')
300 assert (len(tokens) == 6 and tokens[0] == 'EMMC' and tgtfile == '-' and
305 assert tokens[3] == patchpairs[0], \
307 tokens[3], patchpairs[0])
308 assert int(tokens[4]) == tgtsize, \
310 tokens[4], tgtsize)
[all …]
Dtest_ota_from_target_files.py626 def _verify_entries(self, input_file, tokens, entries): argument
628 offset, size = map(int, tokens[entry].split(':'))
648 tokens = self._parse_property_files_string(property_files_string)
649 self.assertEqual(3, len(tokens))
650 self._verify_entries(zip_file, tokens, entries)
664 tokens = self._parse_property_files_string(property_files_string)
665 self.assertEqual(5, len(tokens))
666 self._verify_entries(zip_file, tokens, entries)
690 tokens = self._parse_property_files_string(streaming_metadata)
692 self.assertEqual(3, len(tokens))
[all …]
Dota_from_target_files1123 tokens = []
1124 tokens.extend(self._GetPrecomputed(zip_file))
1126 tokens.append(ComputeEntryOffsetSize(entry))
1129 tokens.append(ComputeEntryOffsetSize(entry))
1138 tokens.append('metadata:' + ' ' * 15)
1140 tokens.append(ComputeEntryOffsetSize(METADATA_NAME))
1142 return ','.join(tokens)
Dota_from_target_files.py1123 tokens = []
1124 tokens.extend(self._GetPrecomputed(zip_file))
1126 tokens.append(ComputeEntryOffsetSize(entry))
1129 tokens.append(ComputeEntryOffsetSize(entry))
1138 tokens.append('metadata:' + ' ' * 15)
1140 tokens.append(ComputeEntryOffsetSize(METADATA_NAME))
1142 return ','.join(tokens)
Dsign_target_files_apks.py991 tokens = []
996 tokens.append(token)
999 tokens.append('{}/{}'.format(prefix, EditTags(tag)))
1003 result = ' '.join(tokens)
Dsign_target_files_apks991 tokens = []
996 tokens.append(token)
999 tokens.append('{}/{}'.format(prefix, EditTags(tag)))
1003 result = ' '.join(tokens)
Dcommon.py836 tokens = line.split()
837 if tokens[0] != 'import' or (len(tokens) != 2 and len(tokens) != 3):
840 if len(tokens) == 3:
841 logger.info("Import %s from %s, skip", tokens[2], tokens[1])
844 import_path = tokens[1]
/build/soong/android/
Dsdk.go83 tokens := strings.Split(str, string(SdkVersionSeparator))
84 if len(tokens) < 1 || len(tokens) > 2 {
89 name := tokens[0]
92 if len(tokens) == 2 {
93 version = tokens[1]
/build/blueprint/pathtools/
Dfs.go50 if tokens := strings.SplitN(f, "->", 2); len(tokens) == 2 {
51 fs.symlinks[strings.TrimSpace(tokens[0])] = strings.TrimSpace(tokens[1])
/build/make/tools/droiddoc/templates-ndk/assets/js/
Dandroid_3p-bundle.js863 var tokens = sourceCode.match(tokenizer) || [];
866 for (var ti = 0, nTokens = tokens.length; ti < nTokens; ++ti) {
867 var token = tokens[ti];