/build/make/tools/ |
buildinfo_common.sh | 3 partition="$1" 6 echo "Usage: $0 <partition>" 1>&2 13 echo "ro.${partition}.build.date=`$DATE`" 14 echo "ro.${partition}.build.date.utc=`$DATE +%s`" 15 echo "ro.${partition}.build.fingerprint=$BUILD_FINGERPRINT" 16 echo "ro.${partition}.build.id=$BUILD_ID" 17 echo "ro.${partition}.build.tags=$BUILD_VERSION_TAGS" 18 echo "ro.${partition}.build.type=$TARGET_BUILD_TYPE" 19 echo "ro.${partition}.build.version.incremental=$BUILD_NUMBER" 20 echo "ro.${partition}.build.version.release=$PLATFORM_VERSION [all...] |
/build/make/core/ |
build_rro_package.mk | 18 partition := macro 20 partition := $(TARGET_OUT_ODM) macro 22 partition := $(TARGET_OUT_VENDOR) macro 24 partition := $(TARGET_OUT_PRODUCT_SERVICES) macro 26 partition := $(TARGET_OUT_PRODUCT) macro 30 LOCAL_MODULE_PATH := $(partition)/overlay 32 LOCAL_MODULE_PATH := $(partition)/overlay/$(LOCAL_RRO_THEME) 35 partition := macro
|
/device/google/cuttlefish/shared/ |
releasetools.py | 32 return {partition: GetUserImage(partition, input_tmp, input_zip) 33 for partition in USERIMAGE_PARTITIONS 35 "IMAGES", partition + ".img"))} 40 return [BlockDifference(partition, image) 41 for partition, image in images.items()] 49 for partition in source_images: 50 target_images.setdefault(partition, EmptyImage()) 53 return [BlockDifference(partition, target_image, source_images.get(partition)) [all...] |
/development/gsi/gsi_util/gsi_util/commands/common/ |
image_sources.py | 38 for partition in composite_mounter.SUPPORTED_PARTITIONS: 39 image_source = vars(args)[partition] 41 logging.info(' %s=%s', partition, image_source) 42 mounter.add_by_mount_target(partition, image_source) 62 for partition in composite_mounter.SUPPORTED_PARTITIONS: 64 '--' + partition, 66 required=partition in required_images, 67 help='{} image file name, folder name or "adb"'.format(partition))
|
/external/autotest/client/bin/ |
partition_unittest.py | 3 """Tests for autotest_lib.client.bin.partition.""" 11 from autotest_lib.client.bin import partition 16 self.assertRaises(ValueError, partition.FsOptions, '', '', '', '') 17 self.assertRaises(ValueError, partition.FsOptions, 'ext2', '', '', '') 18 obj = partition.FsOptions('ext2', 'ext2_vanilla', '', '') 19 obj = partition.FsOptions(fstype='ext2', fs_tag='ext2_vanilla') 20 obj = partition.FsOptions('fs', 'shortie', 'mkfs opts', 'mount opts') 28 str_obj = str(partition.FsOptions('abc', 'def', 'ghi', 'jkl')) 40 /dev/hdc2 partition 9863868 0 -1 80 self.assertFalse(partition.is_linux_fs_type('/dev/hdc1') [all...] |
/device/generic/goldfish/tools/ |
mk_combined_img.py | 51 # check if the partition number is out of range 53 print "Invalid partition number: %d, range [1..%d]" % \ 57 # check if the partition number is duplicated 59 print "Duplicated partition number:%d" % (partition["num"]) 67 def write_partition(partition, output_file, offset): 70 dd_comm = ['dd', 'if='+partition["path"], 'of='+output_file,'conv=notrunc,sync', 75 def unsparse_partition(partition): 78 print "Unsparsing %s" % (partition["path"]), 79 partition["fd"], temp_file = mkstemp( [all...] |
/external/python/pyasn1/pyasn1/compat/ |
string.py | 11 def partition(string, sep): function 25 def partition(string, sep): function 26 return string.partition(sep)
|
/external/autotest/server/site_tests/brillo_RecoverFromBadImage/ |
brillo_RecoverFromBadImage.py | 14 # The /dev directory mapping partition names to block devices. 16 # By default, we kill and recover the active system partition. 25 def resolve_slot(self, host, partition): 26 """Resolves a partition slot (if any). 29 @param partition: The name of the partition we are using. If it ends 33 @return A pair consisting of a fully resolved partition name and slot 34 index; the latter is None if the partition is not slotted. 38 # Check if the partition is slotted. 39 if not re.match('.+_[a-zX]$', partition) [all...] |
/device/linaro/bootloader/arm-trusted-firmware/plat/xilinx/zynqmp/ |
plat_startup.c | 55 /* Structure corresponding to each partition entry */ 65 struct xfsbl_partition partition[FSBL_MAX_PARTITIONS]; member in struct:xfsbl_atf_handoff_params 69 * @partition: Pointer to partition struct 71 * Get the target CPU for @partition. 75 static int get_fsbl_cpu(const struct xfsbl_partition *partition) 77 uint64_t flags = partition->flags & FSBL_FLAGS_CPU_MASK; 83 * @partition: Pointer to partition struct 85 * Get the target exception level for @partition [all...] |
/external/tensorflow/tensorflow/contrib/cloud/kernels/ |
bigquery_table_accessor_test.cc | 72 const BigQueryTablePartition& partition) { 75 columns, partition, std::unique_ptr<AuthProvider>(new FakeAuthProvider), 197 BigQueryTablePartition partition; local 198 partition.set_start_index(2); 199 partition.set_end_index(2); 201 {}, partition)); 227 BigQueryTablePartition partition; local 228 partition.set_start_index(2); 229 partition.set_end_index(2); 232 partition)); 258 BigQueryTablePartition partition; local 288 BigQueryTablePartition partition; local 320 BigQueryTablePartition partition; local 345 BigQueryTablePartition partition; local 370 BigQueryTablePartition partition; local 401 BigQueryTablePartition partition; local 457 BigQueryTablePartition partition; local 502 BigQueryTablePartition partition; local [all...] |
/external/u-boot/arch/arm/dts/ |
keystone-k2g-evm.dts | 55 partition@0 { 61 partition@1 { 85 partition@0 { 89 partition@1 { 93 partition@2 { 97 partition@3 { 101 partition@4 { 105 partition@5 {
|
/development/gsi/gsi_util/gsi_util/mounters/ |
composite_mounter.py | 43 def create_by_mount_target(cls, mount_target, partition): 47 partition: the partition to be mounted as 59 if partition not in SUPPORTED_PARTITIONS: 60 raise ValueError('Wrong partition name "{}"'.format(partition)) 63 (_, _, serial_num) = mount_target.partition(':') 66 path_prefix = '/{}/'.format(partition) 72 if partition == 'system': 123 def add_by_mount_target(self, partition, mount_target) [all...] |
/development/vndk/tools/definition-tool/tests/ |
utils.py | 25 def add_lib(self, partition, klass, name, dt_needed=tuple(), 30 lib_dir = os.path.join('/', self._PARTITION_NAMES[partition], 41 lib = self.graph.add_lib(partition, path, elf) 46 def add_lib32(self, partition, name, dt_needed=tuple(), 49 return self.add_lib(partition, ELF.ELFCLASS32, name, dt_needed, 53 def add_lib64(self, partition, name, dt_needed=tuple(), 56 return self.add_lib(partition, ELF.ELFCLASS64, name, dt_needed, 60 def add_multilib(self, partition, name, dt_needed=tuple(), 65 self.add_lib(partition, ELF.ELFCLASS32, name, dt_needed, 67 self.add_lib(partition, ELF.ELFCLASS64, name, dt_needed [all...] |
/external/flac/libFLAC/ |
stream_encoder_intrin_avx2.c | 61 unsigned partition, residual_sample, end = (unsigned)(-(int)predictor_order); local 64 for(partition = residual_sample = 0; partition < partitions; partition++) { 88 abs_residual_partition_sums[partition] = (FLAC__uint32)_mm_cvtsi128_si32(sum128); 91 abs_residual_partition_sums[partition] &= 0xFFFFFFFF; /**/ 96 for(partition = residual_sample = 0; partition < partitions; partition++) { 121 _mm_storel_epi64((__m128i*)(abs_residual_partition_sums+partition), sum128) [all...] |
stream_encoder_intrin_ssse3.c | 61 unsigned partition, residual_sample, end = (unsigned)(-(int)predictor_order); local 64 for(partition = residual_sample = 0; partition < partitions; partition++) { 91 abs_residual_partition_sums[partition] = (FLAC__uint32)_mm_cvtsi128_si32(mm_sum); 94 abs_residual_partition_sums[partition] &= 0xFFFFFFFF; 99 for(partition = residual_sample = 0; partition < partitions; partition++) { 124 _mm_storel_epi64((__m128i*)(abs_residual_partition_sums+partition), mm_sum) [all...] |
/external/u-boot/common/spl/ |
spl_fat.c | 21 static int spl_register_fat_device(struct blk_desc *block_dev, int partition) 28 err = fat_register_device(block_dev, partition); 56 struct blk_desc *block_dev, int partition, 62 err = spl_register_fat_device(block_dev, partition); 105 struct blk_desc *block_dev, int partition) 110 err = spl_register_fat_device(block_dev, partition); 126 partition, file); 151 return spl_load_image_fat(spl_image, block_dev, partition, 156 struct blk_desc *block_dev, int partition)
|
spl_ext.c | 11 struct blk_desc *block_dev, int partition, 22 if (part_get_info(block_dev, partition, &part_info)) { 23 printf("spl: no partition table found\n"); 68 struct blk_desc *block_dev, int partition) 75 if (part_get_info(block_dev, partition, &part_info)) { 76 printf("spl: no partition table found\n"); 106 partition, file); 136 return spl_load_image_ext(spl_image, block_dev, partition, 141 struct blk_desc *block_dev, int partition)
|
/external/syzkaller/vendor/google.golang.org/appengine/internal/ |
app_id.go | 11 func parseFullAppID(appid string) (partition, domain, displayID string) { 13 partition, appid = appid[:i], appid[i+1:] 18 return partition, domain, appid
|
/external/u-boot/fs/ |
fs_internal.c | 13 int fs_devread(struct blk_desc *blk, disk_partition_t *partition, 25 /* Check partition boundaries */ 27 >= partition->size) { 28 printf("%s read outside partition " LBAFU "\n", __func__, 33 /* Get the read to the beginning of a partition */ 42 if (blk_dread(blk, partition->start + sector, 1, 65 blk_dread(blk, partition->start + sector, 1, 71 if (blk_dread(blk, partition->start + sector, 84 if (blk_dread(blk, partition->start + sector, 1,
|
/bootable/recovery/applypatch/ |
applypatch.cpp | 49 static bool GenerateTarget(const Partition& target, const FileContents& source_file, 69 // Reads the contents of a Partition to the given FileContents buffer. 70 static bool ReadPartitionToBuffer(const Partition& partition, FileContents* out, 73 if (ParseSha1(partition.hash, expected_sha1) != 0) { 74 LOG(ERROR) << "Failed to parse target hash \"" << partition.hash << "\""; 78 android::base::unique_fd dev(open(partition.name.c_str(), O_RDONLY)); 80 PLOG(ERROR) << "Failed to open eMMC partition \"" << partition << "\""; 82 std::vector<unsigned char> buffer(partition.size) 149 PLOG(ERROR) << "Failed to seek to " << start << " on \\"" << partition << "\\""; local [all...] |
/external/tensorflow/tensorflow/contrib/boosted_trees/python/kernel_tests/ |
stats_accumulator_ops_test.py | 47 num_updates, partition, bucket_ids, grads, hessians = accumulator.flush( 49 num_updates, partition, bucket_ids, grads, hessians = sess.run( 50 [num_updates, partition, bucket_ids, grads, hessians]) 52 result = _AccumulatorResultToDict(partition, bucket_ids, grads, hessians) 75 num_updates, partition, bucket_ids, grads, hessians = accumulator.flush( 77 num_updates, partition, bucket_ids, grads, hessians = sess.run( 78 [num_updates, partition, bucket_ids, grads, hessians]) 80 result = _AccumulatorResultToDict(partition, bucket_ids, grads, hessians) 109 num_updates, partition, feature, grads, hessians = accumulator.flush( 111 num_updates, partition, feature, grads, hessians = sess.run [all...] |
/external/avb/test/ |
fake_avb_ops.h | 44 virtual AvbIOResult read_from_partition(const char* partition, 51 const char* partition, 56 virtual AvbIOResult write_to_partition(const char* partition, 81 const char* partition, 86 const char* partition, 191 bool preload_partition(const std::string& partition, 194 // Gets the partition names that were passed to the 199 AvbIOResult read_from_partition(const char* partition, 205 AvbIOResult get_preloaded_partition(const char* partition, 210 AvbIOResult write_to_partition(const char* partition, [all...] |
/bionic/libc/kernel/uapi/linux/ |
fsl_hypervisor.h | 24 __u32 partition; member in struct:fsl_hv_ioctl_restart 28 __u32 partition; member in struct:fsl_hv_ioctl_status 33 __u32 partition; member in struct:fsl_hv_ioctl_start 39 __u32 partition; member in struct:fsl_hv_ioctl_stop
|
/external/kernel-headers/original/uapi/linux/ |
fsl_hypervisor.h | 47 * struct fsl_hv_ioctl_restart - restart a partition 49 * @partition: the ID of the partition to restart, or -1 for the 50 * calling partition 56 __u32 partition; member in struct:fsl_hv_ioctl_restart 60 * struct fsl_hv_ioctl_status - get a partition's status 62 * @partition: the ID of the partition to query, or -1 for the 63 * calling partition 64 * @status: The returned status of the partition 76 __u32 partition; member in struct:fsl_hv_ioctl_status 91 __u32 partition; member in struct:fsl_hv_ioctl_start 106 __u32 partition; member in struct:fsl_hv_ioctl_stop [all...] |
/external/libcxx/test/libcxx/fuzzing/ |
partition.cpp | 2 //===--------------------------- partition.cpp ----------------------------===// 35 assert(0 == fuzzing::partition(data, size));
|