Searched refs:tokens (Results 1 – 10 of 10) sorted by relevance
/build/make/tools/releasetools/ |
D | edify_generator.py | 173 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 …]
|
D | test_ota_from_target_files.py | 626 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 …]
|
D | ota_from_target_files | 1123 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)
|
D | ota_from_target_files.py | 1123 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)
|
D | sign_target_files_apks.py | 991 tokens = [] 996 tokens.append(token) 999 tokens.append('{}/{}'.format(prefix, EditTags(tag))) 1003 result = ' '.join(tokens)
|
D | sign_target_files_apks | 991 tokens = [] 996 tokens.append(token) 999 tokens.append('{}/{}'.format(prefix, EditTags(tag))) 1003 result = ' '.join(tokens)
|
D | common.py | 836 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/ |
D | sdk.go | 83 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/ |
D | fs.go | 50 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/ |
D | android_3p-bundle.js | 863 var tokens = sourceCode.match(tokenizer) || []; 866 for (var ti = 0, nTokens = tokens.length; ti < nTokens; ++ti) { 867 var token = tokens[ti];
|