/external/python/cpython3/Objects/stringlib/ |
partition.h | 1 /* stringlib: partition implementation */ 8 STRINGLIB(partition)(PyObject* str_obj, function
|
/external/replicaisland/src/com/replica/replicaisland/ |
QuickSorter.java | 47 int i = partition(a, left, right, comparator); 52 // partition a[left] to a[right], assumes left < right 53 private int partition(Type[] a, int left, int right, Comparator<Type> comparator) { method in class:QuickSorter 71 Type swap = a[i]; // swap with partition element
|
/toolchain/binutils/binutils-2.27/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...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/dlg/ |
relabel.c | 46 int first_el[CHAR_RANGE]; /* first element in each class partition */
71 partition(start,level);
82 void partition(nfa_node* start,int level)
function 84 void partition(start,level)
137 * to find a maximal partition. This partion in returned in maximal_class
|
/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...] |
stream_encoder_intrin_sse2.c | 72 unsigned partition, residual_sample, end = (unsigned)(-(int)predictor_order); local 75 for(partition = residual_sample = 0; partition < partitions; partition++) { 102 abs_residual_partition_sums[partition] = (FLAC__uint32)_mm_cvtsi128_si32(mm_sum); 105 abs_residual_partition_sums[partition] &= 0xFFFFFFFF; 110 for(partition = residual_sample = 0; partition < partitions; partition++) { 135 _mm_storel_epi64((__m128i*)(abs_residual_partition_sums+partition), mm_sum) [all...] |
/frameworks/native/cmds/lshal/libprocpartition/ |
procpartition.cpp | 24 std::ostream& operator<<(std::ostream& os, Partition p) { 26 case Partition::SYSTEM: return os << "system"; 27 case Partition::VENDOR: return os << "vendor"; 28 case Partition::ODM: return os << "odm"; 29 case Partition::UNKNOWN: // fallthrough 56 Partition parsePartition(const std::string& s) { 58 return Partition::SYSTEM; 61 return Partition::VENDOR; 64 return Partition::ODM; 66 return Partition::UNKNOWN 76 std::string partition = (backslash != std::string::npos) ? path.substr(1, backslash - 1) : path; local 102 Partition partition = getPartitionFromExe(pid); local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/binary_heap_/ |
erase_fn_imps.hpp | 108 const size_type left = partition(pred_t(pred)); 185 partition(Pred pred) function in class:PB_DS_CLASS_C_DEC
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/pb_ds/detail/binary_heap_/ |
erase_fn_imps.hpp | 108 const size_type left = partition(pred_t(pred)); 185 partition(Pred pred) function in class:PB_DS_CLASS_C_DEC
|
/system/update_engine/payload_consumer/ |
filesystem_verifier_action.cc | 94 InstallPlan::Partition& partition = local 100 part_path = partition.source_path; 101 remaining_size_ = partition.source_size; 104 part_path = partition.target_path; 105 remaining_size_ = partition.target_size; 108 LOG(INFO) << "Hashing partition " << partition_index_ << " (" 109 << partition.name << ") on device " << part_path; 169 // We either terminate the current partition or have more data to read. 176 << " bytes from partition " 197 InstallPlan::Partition& partition = local [all...] |
postinstall_runner_action.cc | 68 // Initialize all the partition weights. 98 VLOG(1) << "Skipping post-install on partition " 105 const InstallPlan::Partition& partition = local 109 utils::MakePartitionNameForMount(partition.target_path); 111 LOG(ERROR) << "Cannot make mountable device from " << partition.target_path; 115 // Perform post-install for the current_partition_ partition. At this point we 133 base::FilePath postinstall_path(partition.postinstall_path); 137 << partition.postinstall_path; 146 << partition.postinstall_path [all...] |
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/model/ |
DefaultFieldTypeWithHints.java | 42 "partition": 1, 57 public int partition; field in class:DefaultFieldTypeWithHints.DefaultFieldType
|
/packages/services/Car/car-lib/src/android/car/storagemonitoring/ |
LifetimeWriteInfo.java | 46 public final String partition; field in class:LifetimeWriteInfo 50 public LifetimeWriteInfo(String partition, String fstype, long writtenBytes) { 51 this.partition = Objects.requireNonNull(partition); 60 this.partition = in.readString(); 66 partition = in.getString("partition"); 74 dest.writeString(partition); 81 jsonWriter.name("partition").value(partition); [all...] |
/prebuilts/go/darwin-x86/src/net/ |
ipsock.go | 99 // partition divides an address list into two categories, using a 105 func (addrs addrList) partition(strategy func(Addr) bool) (primaries, fallbacks addrList) { func
|
/prebuilts/go/linux-x86/src/net/ |
ipsock.go | 99 // partition divides an address list into two categories, using a 105 func (addrs addrList) partition(strategy func(Addr) bool) (primaries, fallbacks addrList) { func
|
/system/core/fs_mgr/ |
fs_mgr_avb_ops.cpp | 43 static AvbIOResult read_from_partition(AvbOps* ops, const char* partition, int64_t offset, 46 partition, offset, num_bytes, buffer, out_num_read); 82 const char* partition ATTRIBUTE_UNUSED, 85 // for a given partition in kernel cmdline. 88 snprintf(guid_buf, guid_buf_size, "1234-fake-guid-for:%s", partition); 93 const char* partition ATTRIBUTE_UNUSED, 135 AvbIOResult FsManagerAvbOps::ReadFromPartition(const char* partition, int64_t offset, 138 const auto iter = by_name_symlink_map_.find(partition); 140 LERROR << "by-name symlink not found for partition: '" << partition << "'"; local [all...] |
/test/suite_harness/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...] |
/test/vts-testcase/hal/treble/vintf/ |
VtsTrebleVintfTestBase.cpp | 63 using android::procpartition::Partition; 171 Partition VtsTrebleVintfTestBase::GetPartition(sp<IBase> hal_service) { 172 Partition partition = Partition::UNKNOWN; local 174 [&](const auto &info) { partition = PartitionOfProcess(info.pid); }); 176 return partition;
|
utils.cpp | 117 // Returns the partition that a HAL is associated with. 118 Partition PartitionOfProcess(int32_t pid) { 119 auto partition = android::procpartition::getPartition(pid); local 122 if (partition == Partition::ODM) { 123 partition = Partition::VENDOR; 126 return partition; 129 Partition PartitionOfType(SchemaType type) { 132 return Partition::VENDOR [all...] |
/external/python/cpython3/Lib/turtledemo/ |
sorting_animate.py | 103 def partition(shelf, left, right, pivot_index): function 117 pivot_new_index = partition(shelf, left, right, pivot_index)
|
/external/syslinux/mbr/ |
altmbr.S | 159 * Read a partition table (pointed to by %eax), and copy 160 * the partition table into the ptab buffer. 179 * Scan a partition table currently loaded in the partition table 183 * %eax - base (location of this partition table) 195 /* Scan the primary partition table */ 198 /* Is it a primary partition table? */ 205 decb (partition) 217 jz 12f /* Not a valid partition */ 224 /* It is an extended partition. Read the extended partition an 304 partition = _start + 439 define [all...] |
/external/tensorflow/tensorflow/contrib/cloud/kernels/ |
bigquery_reader_ops.cc | 60 BigQueryTablePartition partition; variable 61 if (!partition.ParseFromString(current_work())) { 63 "Could not parse work as valid partition."); 65 TF_RETURN_IF_ERROR(bigquery_table_accessor_->SetPartition(partition)); 158 BigQueryTablePartition partition; variable 159 partition.set_start_index(i * partition_size); 160 partition.set_end_index( 162 output(i) = partition.SerializeAsString();
|
bigquery_table_accessor_test.cc | 71 const BigQueryTablePartition& partition) { 74 columns, partition, std::unique_ptr<AuthProvider>(new FakeAuthProvider), 196 BigQueryTablePartition partition; local 197 partition.set_start_index(2); 198 partition.set_end_index(2); 200 {}, partition)); 226 BigQueryTablePartition partition; local 227 partition.set_start_index(2); 228 partition.set_end_index(2); 231 partition)); 257 BigQueryTablePartition partition; local 287 BigQueryTablePartition partition; local 319 BigQueryTablePartition partition; local 344 BigQueryTablePartition partition; local 369 BigQueryTablePartition partition; local 400 BigQueryTablePartition partition; local 456 BigQueryTablePartition partition; local 501 BigQueryTablePartition partition; local [all...] |
/frameworks/native/services/vr/performanced/ |
performance_service_tests.cpp | 65 // Test setting the the partition for the current task. 72 // Test setting the partition for one of our tasks. 103 // Test setting the partition for a task that doesn't belong to us. 107 // Test setting the partition to one that doesn't exist. 111 // Set the test back to the root partition. 155 // Set the test back to the root partition. 221 char partition[PATH_MAX + 1]; local 226 error = dvrGetCpuPartition(0, partition, sizeof(partition)); 228 EXPECT_EQ("/", std::string(partition)); [all...] |