HomeSort by relevance Sort by last modified time
    Searched refs:partition (Results 1 - 25 of 764) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /toolchain/binutils/binutils-2.25/include/
partition.h 1 /* List implementation of a partition of consecutive integers.
22 /* This package implements a partition of consecutive integers. The
26 on a partition are FIND, which takes an element, determines its
33 it is able to perform unions over all the classes in the partition
61 /* The number of elements in this partition. */
63 /* The elements in the partition. */
65 } *partition; typedef in typeref:struct:partition_def
67 extern partition partition_new (int);
68 extern void partition_delete (partition);
69 extern int partition_union (partition, int, int)
    [all...]
  /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...]
  /external/syslinux/com32/gplinclude/disk/
bootloaders.h 15 #include <disk/partition.h>
msdos.h 14 #include <disk/partition.h>
swsusp.h 6 #include <disk/partition.h>
  /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...]
  /frameworks/native/libs/vr/libperformance/include/dvr/
performance_client_api.h 11 /// Sets the CPU partition for a task.
13 /// Sets the CPU partition for a task to the partition described by a CPU
14 /// partition path.
18 /// @param task_id The task id of task to attach to a partition. When task_id is
20 /// @param partition NULL-terminated ASCII string describing the CPU partition
23 int dvrSetCpuPartition(pid_t task_id, const char* partition);
34 /// @param task_id The task id of task to attach to a partition. When task_id is
41 /// Gets the CPU partition for a task
    [all...]
  /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...]
ContactEntryListAdapter.java 119 Context context, int partition, Cursor cursor, int position, ViewGroup parent) {
127 protected void bindView(View itemView, int partition, Cursor cursor, int position) {
130 bindWorkProfileIcon(view, partition);
148 DirectoryPartition partition = new DirectoryPartition(true, true); local
149 partition.setDirectoryId(Directory.DEFAULT);
150 partition.setDirectoryType(getContext().getString(R.string.contactsList));
151 partition.setPriorityDirectory(true);
152 partition.setPhotoSupported(true);
153 partition.setLabel(mDefaultFilterHeaderText.toString());
154 return partition;
169 final Partition partition = getPartition(i); local
182 Partition partition = getPartition(i); local
195 Partition partition = getPartition(i); local
216 Partition partition = getPartition(i); local
234 Partition partition = getPartition(i); local
418 DirectoryPartition partition = new DirectoryPartition(false, true); local
445 Partition partition = getPartition(i); local
465 Partition partition = getPartition(partitionIndex); local
565 Partition partition = getPartition(i); local
591 Partition partition = getPartition(i); local
620 final Partition partition = getPartition(partitionId); local
631 Partition partition = getPartition(partitionIndex); local
678 Partition partition = getPartition(partitionIndex); local
    [all...]
  /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...]
ContactEntryListAdapter.java 106 Context context, int partition, Cursor cursor, int position, ViewGroup parent) {
114 protected void bindView(View itemView, int partition, Cursor cursor, int position) {
117 bindWorkProfileIcon(view, partition);
135 DirectoryPartition partition = new DirectoryPartition(true, true); local
136 partition.setDirectoryId(Directory.DEFAULT);
137 partition.setDirectoryType(getContext().getString(R.string.contactsList));
138 partition.setPriorityDirectory(true);
139 partition.setPhotoSupported(true);
140 partition.setLabel(mDefaultFilterHeaderText.toString());
141 return partition;
156 final Partition partition = getPartition(i); local
169 Partition partition = getPartition(i); local
182 Partition partition = getPartition(i); local
200 Partition partition = getPartition(i); local
218 Partition partition = getPartition(i); local
378 DirectoryPartition partition = new DirectoryPartition(false, true); local
406 Partition partition = getPartition(i); local
426 Partition partition = getPartition(partitionIndex); local
524 Partition partition = getPartition(i); local
537 Partition partition = getPartition(i); local
565 final Partition partition = getPartition(partitionId); local
576 Partition partition = getPartition(partitionIndex); local
611 int partition = getPartitionForPosition(position); local
631 Partition partition = getPartition(partitionIndex); local
    [all...]
  /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...]
  /cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/
LinearPartition.java 41 ArrayList<IModuleDef> partition = new ArrayList<>(); local
42 partition.addAll(seq);
43 result.add(partition);
51 ArrayList<IModuleDef> partition = new ArrayList<>(); local
52 partition.add(value);
53 result.add(partition);
62 ArrayList<IModuleDef> partition = new ArrayList<>(); local
65 partition.add(seq.get(i));
68 result.add(0, partition);
73 ArrayList<IModuleDef> partition = new ArrayList<>() local
    [all...]
  /system/update_engine/payload_consumer/
install_plan.cc 61 for (const auto& partition : partitions) {
65 partition.name.c_str(),
66 partition.source_size,
67 partition.target_size,
68 utils::ToString(partition.run_postinstall).c_str());
89 for (Partition& partition : partitions) {
92 partition.name, source_slot, &partition.source_path) && result;
94 partition.source_path.clear()
    [all...]
filesystem_verifier_action.cc 97 InstallPlan::Partition& partition = local
103 part_path = partition.source_path;
104 remaining_size_ = partition.source_size;
107 part_path = partition.target_path;
108 remaining_size_ = partition.target_size;
111 LOG(INFO) << "Hashing partition " << partition_index_ << " ("
112 << partition.name << ") on device " << part_path;
172 // We either terminate the current partition or have more data to read.
179 << " bytes from partition "
200 InstallPlan::Partition& partition = local
    [all...]
  /frameworks/native/services/vr/performanced/
performance_service_tests.cpp 14 // Test setting the the partition for the current task.
21 // Test setting the partition for one of our tasks.
52 // Test setting the partition for a task that isn't valid using
59 // Test setting the partition for a task that doesn't belong to us.
63 // Test setting the partition to one that doesn't exist.
110 char partition[PATH_MAX + 1]; local
115 error = dvrGetCpuPartition(0, partition, sizeof(partition));
117 EXPECT_EQ("/", std::string(partition));
122 error = dvrGetCpuPartition(0, partition, sizeof(partition))
    [all...]
  /frameworks/ex/common/java/com/android/common/widget/
CompositeCursorAdapter.java 34 public static class Partition {
42 public Partition(boolean showIfEmpty, boolean hasHeader) {
64 private ArrayList<Partition> mPartitions;
76 mPartitions = new ArrayList<Partition>();
84 * Registers a partition. The cursor for that partition can be set later.
89 addPartition(new Partition(showIfEmpty, hasHeader));
92 public void addPartition(Partition partition) {
93 mPartitions.add(partition);
    [all...]
  /frameworks/ex/common/java/com/android/common/contacts/
BaseEmailAddressAdapter.java 94 * Model object for a {@link Directory} row. There is a partition in the
98 public final static class DirectoryPartition extends CompositeCursorAdapter.Partition {
309 DirectoryPartition partition = (DirectoryPartition)getPartition(partitionIndex); local
310 return partition.loading ? 1 : 0;
316 DirectoryPartition partition = (DirectoryPartition)getPartition(partitionIndex); local
317 if (partition.loading) {
325 protected void bindView(View v, int partition, Cursor cursor, int position) {
326 DirectoryPartition directoryPartition = (DirectoryPartition)getPartition(partition);
381 DirectoryPartition partition = new DirectoryPartition(); local
382 partition.directoryId = id
443 DirectoryPartition partition = (DirectoryPartition) getPartition(i); local
463 DirectoryPartition partition = (DirectoryPartition) getPartition(i); local
484 DirectoryPartition partition = (DirectoryPartition) getPartition(partitionIndex); local
503 DirectoryPartition partition = (DirectoryPartition) getPartition(partitionIndex); local
    [all...]
  /frameworks/native/libs/vr/libperformance/
performance_client.cpp 23 const std::string& partition) {
28 InvokeRemoteMethod<PerformanceRPC::SetCpuPartition>(task_id, partition));
31 int PerformanceClient::SetCpuPartition(pid_t task_id, const char* partition) {
37 task_id, WrapString(partition)));
96 extern "C" int dvrSetCpuPartition(pid_t task_id, const char* partition) {
99 return client->SetCpuPartition(task_id, partition);
113 extern "C" int dvrGetCpuPartition(pid_t task_id, char* partition, size_t size) {
116 return client->GetCpuPartition(task_id, partition, size);
  /bionic/libc/kernel/uapi/linux/
fsl_hypervisor.h 25 __u32 partition; member in struct:fsl_hv_ioctl_restart
30 __u32 partition; member in struct:fsl_hv_ioctl_status
36 __u32 partition; member in struct:fsl_hv_ioctl_start
44 __u32 partition; member in struct:fsl_hv_ioctl_stop
  /development/ndk/platforms/android-21/include/linux/
fsl_hypervisor.h 25 __u32 partition; member in struct:fsl_hv_ioctl_restart
30 __u32 partition; member in struct:fsl_hv_ioctl_status
36 __u32 partition; member in struct:fsl_hv_ioctl_start
44 __u32 partition; member in struct:fsl_hv_ioctl_stop
  /external/kernel-headers/original/uapi/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...]
  /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...]
  /prebuilts/ndk/r10/platforms/android-21/arch-arm/usr/include/linux/
fsl_hypervisor.h 25 __u32 partition; member in struct:fsl_hv_ioctl_restart
30 __u32 partition; member in struct:fsl_hv_ioctl_status
36 __u32 partition; member in struct:fsl_hv_ioctl_start
44 __u32 partition; member in struct:fsl_hv_ioctl_stop
  /prebuilts/ndk/r10/platforms/android-21/arch-arm64/usr/include/linux/
fsl_hypervisor.h 25 __u32 partition; member in struct:fsl_hv_ioctl_restart
30 __u32 partition; member in struct:fsl_hv_ioctl_status
36 __u32 partition; member in struct:fsl_hv_ioctl_start
44 __u32 partition; member in struct:fsl_hv_ioctl_stop

Completed in 6975 milliseconds

1 2 3 4 5 6 7 8 91011>>