Home
last modified time | relevance | path

Searched refs:base_name (Results 1 – 6 of 6) sorted by relevance

/system/update_engine/scripts/update_payload/
Dcommon.py182 def _ObjNameIter(items, base_name, reverse=False, name_format_func=None): argument
199 item_name = '%s[%d]' % (base_name, idx)
210 def OperationIter(operations, base_name, reverse=False): argument
212 return _ObjNameIter(operations, base_name, reverse=reverse,
216 def ExtentIter(extents, base_name, reverse=False): argument
218 return _ObjNameIter(extents, base_name, reverse=reverse)
221 def SignatureIter(sigs, base_name, reverse=False): argument
223 return _ObjNameIter(sigs, base_name, reverse=reverse)
Dapplier.py131 def _WriteExtents(file_obj, data, extents, block_size, base_name): argument
148 for ex, ex_name in common.ExtentIter(extents, base_name):
163 raise PayloadError('%s: more data than write extents' % base_name)
166 def _ExtentsToBspatchArg(extents, block_size, base_name, data_length=-1): argument
188 for ex, ex_name in common.ExtentIter(extents, base_name):
207 raise PayloadError('%s: extents not covering full data length' % base_name)
345 base_name = '%s.dst_extents' % op_name
349 for ex, ex_name in common.ExtentIter(op.dst_extents, base_name):
382 def _BytesInExtents(self, extents, base_name): argument
395 for ex, ex_name in common.ExtentIter(extents, base_name):
[all …]
Dchecker.py1123 def _CheckOperations(self, operations, report, base_name, old_fs_size, argument
1187 for op, op_name in common.OperationIter(operations, base_name):
1239 base_name)
/system/ca-certificates/google/
Dextract_from_pem.py24 def WriteCertificateFile(content, base_name, output_dir): argument
35 file_path = os.path.join(output_dir, '%s.%d' % (base_name, i))
42 file_path = os.path.join(output_dir, '%s.%d' % (base_name, i))
81 base_name = '%08x' % x509.get_subject().as_hash()
82 WriteCertificateFile(content, base_name, args.output_dir)
/system/tools/aidl/
Daidl_to_cpp_common.cpp28 string base_name = defined_type.GetName(); in ClassName() local
29 if (base_name.length() >= 2 && base_name[0] == 'I' && isupper(base_name[1])) { in ClassName()
30 base_name = base_name.substr(1); in ClassName()
35 return "Bp" + base_name; in ClassName()
37 return "Bn" + base_name; in ClassName()
39 return "I" + base_name; in ClassName()
41 return "I" + base_name + "Default"; in ClassName()
43 return base_name; in ClassName()
/system/core/adb/
Dtest_device.py651 self.base_name = os.path.basename(self.full_path)
658 self.base_name = posixpath.basename(self.full_path)
688 base_name = prefix + str(file_num)
689 full_path = posixpath.join(in_dir, base_name)
748 temp_file.base_name)
838 temp_file.base_name)
845 temp_file.base_name)
941 temp_file.base_name)
976 temp_file.base_name)
1007 host_path = os.path.join(real_dir, temp_file.base_name)
[all …]