Home
last modified time | relevance | path

Searched refs:partition (Results 1 – 25 of 264) sorted by relevance

1234567891011

/third_party/astc-encoder/Source/
Dastcenc_averages_and_directions.cpp402 for (int partition = 0; partition < partition_count; partition++) in compute_avgs_and_dirs_4_comp() local
404 const uint8_t *texel_indexes = pi.texels_of_partition[partition]; in compute_avgs_and_dirs_4_comp()
405 unsigned int texel_count = pi.partition_texel_count[partition]; in compute_avgs_and_dirs_4_comp()
408 vfloat4 average = partition_averages[partition]; in compute_avgs_and_dirs_4_comp()
409 pm[partition].avg = average; in compute_avgs_and_dirs_4_comp()
461 pm[partition].dir = best_vector; in compute_avgs_and_dirs_4_comp()
532 for (unsigned int partition = 0; partition < partition_count; partition++) in compute_avgs_and_dirs_3_comp() local
534 const uint8_t *texel_indexes = pi.texels_of_partition[partition]; in compute_avgs_and_dirs_3_comp()
535 unsigned int texel_count = pi.partition_texel_count[partition]; in compute_avgs_and_dirs_3_comp()
538 vfloat4 average = partition_averages[partition]; in compute_avgs_and_dirs_3_comp()
[all …]
Dastcenc_find_best_partitioning.cpp231 uint8_t partition = partition_of_texel[i]; in kmeans_update() local
232 color_sum[partition] += blk.texel(i); in kmeans_update()
233 partition_texel_count[partition]++; in kmeans_update()
539 unsigned int partition = partition_sequence[i]; in find_best_partition_candidates() local
540 const auto& pi = bsd.get_raw_partition_info(partition_count, partition); in find_best_partition_candidates()
610 uncor_best_partition = partition; in find_best_partition_candidates()
619 samec_best_partitions[0] = partition; in find_best_partition_candidates()
624 samec_best_partitions[1] = partition; in find_best_partition_candidates()
632 unsigned int partition = partition_sequence[i]; in find_best_partition_candidates() local
633 const auto& pi = bsd.get_raw_partition_info(partition_count, partition); in find_best_partition_candidates()
[all …]
Dastcenc_partition_tables.cpp225 uint8_t partition; in select_partition() local
228 partition = 0; in select_partition()
232 partition = 1; in select_partition()
236 partition = 2; in select_partition()
240 partition = 3; in select_partition()
243 return partition; in select_partition()
/third_party/gstreamer/gstplugins_bad/gst/mxf/
Dmxfmux.c263 mxf_partition_pack_reset (&mux->partition); in gst_mxf_mux_reset()
1111 mxf_partition_pack_reset (&mux->partition); in gst_mxf_mux_init_partition_pack()
1112 mux->partition.type = MXF_PARTITION_PACK_HEADER; in gst_mxf_mux_init_partition_pack()
1113 mux->partition.closed = mux->partition.complete = FALSE; in gst_mxf_mux_init_partition_pack()
1114 mux->partition.major_version = 0x0001; in gst_mxf_mux_init_partition_pack()
1115 mux->partition.minor_version = 0x0002; in gst_mxf_mux_init_partition_pack()
1116 mux->partition.kag_size = 1; in gst_mxf_mux_init_partition_pack()
1117 mux->partition.this_partition = 0; in gst_mxf_mux_init_partition_pack()
1118 mux->partition.prev_partition = 0; in gst_mxf_mux_init_partition_pack()
1119 mux->partition.footer_partition = 0; in gst_mxf_mux_init_partition_pack()
[all …]
Dmxfdemux.c164 gst_mxf_demux_partition_free (GstMXFDemuxPartition * partition) in gst_mxf_demux_partition_free() argument
166 mxf_partition_pack_reset (&partition->partition); in gst_mxf_demux_partition_free()
167 mxf_primer_pack_reset (&partition->primer); in gst_mxf_demux_partition_free()
169 g_free (partition); in gst_mxf_demux_partition_free()
396 if (a->partition.this_partition < b->partition.this_partition) in gst_mxf_demux_partition_compare()
398 else if (a->partition.this_partition > b->partition.this_partition) in gst_mxf_demux_partition_compare()
409 GstMXFDemuxPartition * partition) in gst_mxf_demux_partition_postcheck() argument
415 if (partition->single_track || !partition->partition.body_sid) in gst_mxf_demux_partition_postcheck()
422 if (cand->body_sid != partition->partition.body_sid) in gst_mxf_demux_partition_postcheck()
429 partition->partition.this_partition); in gst_mxf_demux_partition_postcheck()
[all …]
/third_party/gptfdisk/
DNEWS5 when changing a partition's name with sgdisk (-c/--change-name).
8 points. This support affects the default partition size when using 'n' in
9 gdisk; it affects the default partition size in cgdisk; and it's activated
32 - Fixed bug that caused cgdisk to report incorrect partition attributes.
42 - Fixed double byte swap operation on writes of partition name data on
44 reading partition label data fixed in 1.0.7. (Thanks to Erik Larsson for
48 partition names, so as to correct disks already affected by the preceding
62 - Fixed bug that caused spurious warnings about the partition table
63 header claiming an invalid size of partition entries when reading
73 - Fixed double byte swap operation on partition label data on big-endian
[all …]
DREADME.md34 also enables changing primary vs. logical partition status (within limits
82 can't resize a partition's filesystem or create a partition with a
97 forums from users who have found their partition tables to be corrupted by
117 * Mis-sized extended partitions -- Some tools create an extended partition
120 to save the partition table).
122 * Primary partitions inside an extended partition -- Some utilities create
124 partition. FixParts can usually correct this problem by turning the
125 primary partition into a logical partition or by changing one or more
137 partition types (primary, logical, or omitted), change type codes, change
138 the bootable flag, and so on. Although you can delete a partition (by
[all …]
/third_party/NuttX/fs/mount/
Dfs_mount.c157 mtd_partition *partition = NULL; in mount() local
271 partition = (mtd_partition *)((struct drv_data *)device->data)->priv; in mount()
272 partition->mountpoint_name = (char *)zalloc(strlen(target) + 1); in mount()
273 if (partition->mountpoint_name == NULL) in mount()
278 (void)strncpy_s(partition->mountpoint_name, strlen(target) + 1, target, strlen(target)); in mount()
279 partition->mountpoint_name[strlen(target)] = '\0'; in mount()
312 if (fsmap->is_mtd_support && (device != NULL) && (partition != NULL)) in mount()
314 free(partition->mountpoint_name); in mount()
315 partition->mountpoint_name = NULL; in mount()
/third_party/toybox/toys/pending/
Dfdisk.c51 struct partition { struct
57 struct partition *part; argument
91 static struct partition* part_offset(char *secbuf, int i) in part_offset()
93 return (struct partition*)(secbuf + 0x1be + i*(sizeof(struct partition))); in part_offset()
102 static void set_hsc(struct partition *p, sector_t start, sector_t end) in set_hsc()
186 static int is_partition_clear(struct partition* p) in is_partition_clear()
192 for (i = 0; i < sizeof(struct partition); i++) res |= (unsigned char)ptr[i]; in is_partition_clear()
208 struct partition *px; in check_order()
239 struct partition *p, *q; in read_ebr()
248 memset(q, 0, sizeof(struct partition)); //clear_partition in read_ebr()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/astc-encoder/Source/
Dastc_partition_tables.cpp213 int partition; in select_partition() local
215 partition = 0; in select_partition()
217 partition = 1; in select_partition()
219 partition = 2; in select_partition()
221 partition = 3; in select_partition()
222 return partition; in select_partition()
251 int partition = pt->partition_of_texel[i]; in generate_one_partition_table() local
252 counts[partition]++; in generate_one_partition_table()
Dastc_decompress_symbolic.cpp268 int partition = pt->partition_of_texel[i]; in decompress_symbolic_block() local
271 color_endpoint0[partition], in decompress_symbolic_block()
272 color_endpoint1[partition], in decompress_symbolic_block()
277 blk->rgb_lns[i] = rgb_hdr_endpoint[partition]; in decompress_symbolic_block()
278 blk->alpha_lns[i] = alpha_hdr_endpoint[partition]; in decompress_symbolic_block()
279 blk->nan_texel[i] = nan_endpoint[partition]; in decompress_symbolic_block()
/third_party/benchmark/tools/gbench/
Dreport.py179 def extract_field(partition, field_name): argument
181 lhs = [x[field_name] for x in partition[0]]
182 rhs = [x[field_name] for x in partition[1]]
250 for partition in partitions:
251 benchmark_name = partition[0][0]['name']
252 time_unit = partition[0][0]['time_unit']
256 for i in range(min(len(partition[0]), len(partition[1]))):
257 bn = partition[0][i]
258 other_bench = partition[1][i]
270 timings_cpu = extract_field(partition, 'cpu_time')
[all …]
/third_party/ltp/testcases/kernel/fs/ftest/
Dftest02.c91 static char *partition; variable
445 sprintf(mount_buffer, "/bin/umount %s", partition); in cleanup()
450 partition, mntpoint); in cleanup()
452 if (umount(partition)) in cleanup()
455 partition, mntpoint); in cleanup()
459 partition); in cleanup()
462 } else if (umount(partition)) in cleanup()
464 partition, mntpoint); in cleanup()
Dftest06.c96 static char *partition; variable
460 sprintf(mount_buffer, "/bin/umount %s", partition); in cleanup()
463 partition, mntpoint); in cleanup()
464 if (umount(partition)) { in cleanup()
467 partition, mntpoint); in cleanup()
471 partition); in cleanup()
475 if (umount(partition)) { in cleanup()
477 partition, mntpoint); in cleanup()
/third_party/ltp/testcases/kdump/sample/
Drunkdump.EXTRA_LKDTM.SLES58 # Dump vmcore on an EXT3 partition.
61 # Dump vmcore on an EXT3 partition with a LABEL.
64 # Dump vmcore on an EXT3 partition with a partition UID.
67 # Dump vmcore on a RAW partition.
Drunkdump.BASIC_LKDTM.RHEL58 # Dump vmcore on an EXT3 partition.
61 # Dump vmcore on an EXT3 partition with a LABEL.
64 # Dump vmcore on an EXT3 partition with a partition UID.
67 # Dump vmcore on a RAW partition.
Drunkdump.EXTRA_LKDTM.RHEL58 # Dump vmcore on an EXT3 partition.
61 # Dump vmcore on an EXT3 partition with a LABEL.
64 # Dump vmcore on an EXT3 partition with a partition UID.
67 # Dump vmcore on a RAW partition.
Drunkdump.BASIC_LKDTM.SLES58 # Dump vmcore on an EXT3 partition.
61 # Dump vmcore on an EXT3 partition with a LABEL.
64 # Dump vmcore on an EXT3 partition with a partition UID.
67 # Dump vmcore on a RAW partition.
Drunkdump.CRASHER.RHEL58 # Dump vmcore on an EXT3 partition.
61 # Dump vmcore on an EXT3 partition with a LABEL.
64 # Dump vmcore on an EXT3 partition with a partition UID.
67 # Dump vmcore on a RAW partition.
Drunkdump.CRASHER.SLES58 # Dump vmcore on an EXT3 partition.
61 # Dump vmcore on an EXT3 partition with a LABEL.
64 # Dump vmcore on an EXT3 partition with a partition UID.
67 # Dump vmcore on a RAW partition.
/third_party/ltp/testcases/kdump/doc/
DALL_TEST.txt51 * KLEXT: dump on an EXT3 partition
52 * KLLBL: dump on an EXT3 partition with a LABEL
53 * KLUID: dump on an EXT3 partition with a partition UID.
54 * KLRAW: dump on a RAW partition.
/third_party/ltp/testscripts/
Dltp-scsi_debug.sh170 cat /proc/partitions | awk '{print $4}' | tail -n 4 > $TMPBASE/partition-test
172 part1=$(cat $TMPBASE/partition-test | tail -n 1)
174 part2=$(cat $TMPBASE/partition-test | head -n 3 | tail -n 1)
176 part3=$(cat $TMPBASE/partition-test | head -n 2 | tail -n 1)
178 part4=$(cat $TMPBASE/partition-test | head -n 1)
/third_party/python/Tools/clinic/
Dcpp.py109 _, _, line = line.partition('*/')
117 before, _, remainder = line.partition('/*')
118 comment, comment_ends, after = remainder.partition('*/')
130 before, line_comment, comment = line.partition('//')
/third_party/python/Lib/urllib/
Dparse.py167 hostname, percent, zone = hostname.partition(separator)
194 username, have_password, password = userinfo.partition(':')
205 _, have_open_br, bracketed = hostinfo.partition('[')
207 hostname, _, port = bracketed.partition(']')
208 _, _, port = port.partition(':')
210 hostname, _, port = hostinfo.partition(':')
224 username, have_password, password = userinfo.partition(b':')
235 _, have_open_br, bracketed = hostinfo.partition(b'[')
237 hostname, _, port = bracketed.partition(b']')
238 _, _, port = port.partition(b':')
[all …]
/third_party/ntfs-3g/
DREADME.md132 ntfsfix - Attempt to fix an NTFS partition and force Windows to check NTFS.
134 mkntfs - Format a partition with the NTFS filesystem. See man 8 mkntfs for
137 ntfslabel - Display/change the label of an NTFS partition. See man 8 ntfslabel
145 ntfsclone - Efficiently create/restore an image of an NTFS partition. See
149 partition. See man 8 ntfscluster for details.
151 ntfsinfo - Show some information about an NTFS partition or one of the files
158 partition. See man 8 ntfsls for details.
162 ntfscp - Overwrite files on an NTFS partition.

1234567891011