HomeSort by relevance Sort by last modified time
    Searched defs:partition (Results 26 - 50 of 276) sorted by null

12 3 4 5 6 7 8 91011>>

  /packages/apps/Messaging/src/com/android/messaging/ui/
CompositeAdapter.java 32 public static class Partition {
37 public Partition(final boolean showIfEmpty, final boolean hasHeader,
89 private Partition[] mPartitions;
98 mPartitions = new Partition[INITIAL_CAPACITY];
105 public void addPartition(final Partition partition) {
108 final Partition[] newAdapters = new Partition[newCapacity];
112 mPartitions[mSize++] = partition;
113 partition.getAdapter().registerDataSetObserver(mObserver)
119 final Partition partition = mPartitions[index]; local
131 final Partition partition = mPartitions[i]; local
201 final Partition partition = mPartitions[i]; local
223 final Partition partition = mPartitions[i]; local
245 final Partition partition = mPartitions[i]; local
263 final Partition partition = mPartitions[i]; local
    [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/autotest/server/cros/
provision.py 235 def partition(cls, labels): member in class:_SpecialTaskAction
  /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/libmojo/third_party/markupsafe/
__init__.py 184 if hasattr(text_type, 'partition'):
185 def partition(self, sep): function in function:Markup.make_wrapper
187 text_type.partition(self, self.escape(sep))))
  /external/libvpx/libvpx/vp9/common/
vp9_entropymode.h 65 unsigned int partition[PARTITION_CONTEXTS][PARTITION_TYPES]; member in struct:FRAME_COUNTS
vp9_mfqe.c 218 PARTITION_TYPE partition = partition_lookup[bsl][cur_bs]; local
219 const BLOCK_SIZE subsize = get_subsize(bs, partition);
227 partition = PARTITION_NONE;
238 switch (partition) {
249 // Do mfqe on the first square partition.
252 // Do mfqe on the second square partition.
258 // Do mfqe on the first square partition.
263 // Do mfqe on the second square partition.
282 // Do mfqe on the first square partition.
285 // Do mfqe on the second square partition
    [all...]
  /external/syslinux/com32/chain/
chain.c 88 * Search for a specific drive/partition, based on the GPT GUID.
103 /* Check for a matching GPT disk/partition guid */
118 * Search for a specific drive/partition, based on the GPT label.
132 /* Check for a matching GPT partition label */
279 int drive, hd, partition; local
293 error("Unable to find requested GPT disk or partition by guid.");
302 error("Unable to find requested GPT partition by label.");
337 /* 'fs' => we should lookup the syslinux partition number and use it */
345 error("Unable to find partition with syslinux (fs).");
353 /* main options done - only thing left is explicit partition specification
    [all...]
options.h 42 const char *partition; member in struct:options
  /external/tensorflow/tensorflow/contrib/kafka/kernels/
kafka_dataset_ops.cc 229 int32 partition = 0; local
231 if (!strings::safe_strto32(parts[1], &partition)) {
243 RdKafka::TopicPartition::create(topic, partition, offset));
287 "Failed to assign partition [", topic_partition_->topic(), ", ",
288 topic_partition_->partition(), ", ", topic_partition_->offset(),
  /packages/apps/Contacts/src/com/android/contacts/list/
PinnedHeaderListAdapter.java 25 * A subclass of {@link CompositeCursorAdapter} that manages pinned partition headers.
60 protected boolean isPinnedPartitionHeaderVisible(int partition) {
61 return getPinnedPartitionHeadersEnabled() && hasHeader(partition)
62 && !isPartitionEmpty(partition);
67 * partition header.
70 public View getPinnedHeaderView(int partition, View convertView, ViewGroup parent) {
71 if (hasHeader(partition)) {
80 view = newHeaderView(getContext(), partition, null, parent);
85 bindHeaderView(view, partition, getCursor(partition));
121 int partition = getPartitionForPosition(position); local
144 int partition = getPartitionForPosition(position - 1); local
    [all...]
IndexerListAdapter.java 85 public void setIndexedPartition(int partition) {
86 this.mIndexedPartition = partition;
107 * @return relative position of the section in the indexed partition
118 * @param position relative position in the indexed partition
165 int partition = getPartitionForPosition(position); local
166 if (partition == mIndexedPartition) {
183 // Compute the item position where the current partition begins
  /packages/apps/Dialer/java/com/android/contacts/common/list/
PinnedHeaderListAdapter.java 23 /** A subclass of {@link CompositeCursorAdapter} that manages pinned partition headers. */
53 protected boolean isPinnedPartitionHeaderVisible(int partition) {
55 && hasHeader(partition)
56 && !isPartitionEmpty(partition);
59 /** The default implementation creates the same type of view as a normal partition header. */
61 public View getPinnedHeaderView(int partition, View convertView, ViewGroup parent) {
62 if (hasHeader(partition)) {
71 view = newHeaderView(getContext(), partition, null, parent);
76 bindHeaderView(view, partition, getCursor(partition));
112 int partition = getPartitionForPosition(position); local
134 int partition = getPartitionForPosition(position - 1); local
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/app/list/
RegularSearchListAdapter.java 47 final DirectoryPartition partition = local
49 final long directoryId = partition.getDirectoryId();
73 final String sourceName = partition.getLabel();
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
fsl_hypervisor.h 46 * struct fsl_hv_ioctl_restart - restart a partition
48 * @partition: the ID of the partition to restart, or -1 for the
49 * calling partition
55 __u32 partition; member in struct:fsl_hv_ioctl_restart
59 * struct fsl_hv_ioctl_status - get a partition's status
61 * @partition: the ID of the partition to query, or -1 for the
62 * calling partition
63 * @status: The returned status of the partition
75 __u32 partition; member in struct:fsl_hv_ioctl_status
90 __u32 partition; member in struct:fsl_hv_ioctl_start
105 __u32 partition; member in struct:fsl_hv_ioctl_stop
    [all...]
  /system/update_engine/payload_generator/
payload_file.cc 90 Partition part;
131 // Copy the operations and partition info from the part_vec_ to the manifest.
137 PartitionUpdate* partition = manifest_.add_partitions(); local
138 partition->set_partition_name(part.name);
140 partition->set_run_postinstall(true);
142 partition->set_postinstall_path(part.postinstall.path);
144 partition->set_filesystem_type(part.postinstall.filesystem_type);
145 partition->set_postinstall_optional(part.postinstall.optional);
148 *partition->add_operations() = aop.op;
151 *(partition->mutable_old_partition_info()) = part.old_info
    [all...]
  /bootable/recovery/applypatch/
applypatch.cpp 55 // A special 'filename' beginning with "EMMC:" means to load the contents of a partition.
83 // Load the contents of an EMMC partition into the provided
86 // which that prefix of the partition contents has the corresponding
91 // interrupted, the partition might contain either the source or the
93 // the length in order to read from a partition (there is no
118 const char* partition = pieces[1].c_str(); local
119 unique_file dev(ota_fopen(partition, "rb"));
121 printf("failed to open emmc partition \"%s\": %s\n", partition, strerror(errno));
144 printf("short read (%zu bytes of %zu) for partition \"%s\"\n", read, next, partition)
225 const char* partition = pieces[1].c_str(); local
    [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/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/rank/
Percentile.java 323 // select a pivot and partition work array around it
324 pivot = partition(work, begin, end, medianOf3(work, begin, end));
334 // the element is in the left partition
338 // the element is in the right partition
384 * Partition an array slice around a pivot
394 * @return index of the pivot after partition
396 private int partition(final double[] work, final int begin, final int end, final int pivot) { method in class:Percentile
  /external/autotest/client/bin/
partition.py 2 APIs to write tests and control files that handle partition creation, deletion
54 """ Converts a partition name to its associated device """
94 Checks if specified partition is type 83
98 @return: False if the supplied partition name is not type 83 linux, True
103 # Parse fdisk output to get partition info. Ugly but it works.
112 # was set. Caveat: this assumes no boot partition will be 83 blocks.
114 if fsinfo == '83': # hex 83 is the linux fs partition type
122 Get a list of partition objects for all disk partitions on the system.
126 @param job: The job instance to pass to the partition object
128 @param min_blocks: The minimum number of blocks for a partition t
371 class partition(object): class in inherits:object
    [all...]
  /external/libcxx/fuzzing/
fuzzing.cpp 196 // == partition ==
197 int partition(const uint8_t *data, size_t size) function in namespace:fuzzing
200 auto iter = std::partition(working.begin(), working.end(), is_even<uint8_t>());
  /external/ltp/testcases/kernel/fs/ftest/
ftest02.c 33 * ftest02 [-f tmpdirname] nchild iterations [partition]
91 static char *partition; variable
445 sprintf(mount_buffer, "/bin/umount %s", partition);
450 partition, mntpoint);
452 if (umount(partition))
455 partition, mntpoint);
459 partition);
462 } else if (umount(partition))
464 partition, mntpoint);
ftest06.c 36 * ftest06 [-f tmpdirname] nchild iterations [partition]
96 static char *partition; variable
460 sprintf(mount_buffer, "/bin/umount %s", partition);
463 partition, mntpoint);
464 if (umount(partition)) {
467 partition, mntpoint);
471 partition);
475 if (umount(partition)) {
477 partition, mntpoint);
  /external/syslinux/gpxe/src/arch/i386/interface/pcbios/
int13.c 530 * Guesses the drive geometry by inspecting the partition table.
534 struct partition_table_entry *partition; local
545 /* Scan through partition table and modify guesses for heads
551 partition = &mbr.partitions[i];
552 if ( ! partition->type )
555 ( PART_HEAD ( partition->chs_end ) + 1 );
557 PART_SECTOR ( partition->chs_end );
558 DBG ( "Guessing C/H/S xx/%d/%d based on partition "
563 DBG ( "Could not read partition table to guess geometry\n" );
  /external/vboot_reference/host/include/
cgpt_params.h 26 uint32_t partition; member in struct:CgptAddParams
52 uint32_t partition; member in struct:CgptShowParams
67 uint32_t partition; member in struct:CgptBootParams

Completed in 743 milliseconds

12 3 4 5 6 7 8 91011>>