/third_party/ffmpeg/libavformat/ |
D | psxstr.c | 73 const uint8_t *sector= p->buf; in str_probe() local 74 const uint8_t *end= sector + p->buf_size; in str_probe() 84 sector += RIFF_HEADER_SIZE; in str_probe() 87 while (end - sector >= RAW_CD_SECTOR_SIZE) { in str_probe() 89 if (memcmp(sector,sync_header,sizeof(sync_header))) in str_probe() 92 if (sector[0x11] >= 32) in str_probe() 95 switch (sector[0x12] & CDXA_TYPE_MASK) { in str_probe() 98 int current_sector = AV_RL16(§or[0x1C]); in str_probe() 99 int sector_count = AV_RL16(§or[0x1E]); in str_probe() 100 int frame_size = AV_RL32(§or[0x24]); in str_probe() [all …]
|
D | sga.c | 37 uint8_t sector[65536 * 2]; member 239 av_log(s, AV_LOG_DEBUG, "SECTOR: %016"PRIX64"\n", AV_RB64(sga->sector)); in print_stats() 240 av_log(s, AV_LOG_DEBUG, "stream: %X\n", sga->sector[1]); in print_stats() 249 sga->packet_type = sga->sector[0]; in update_type_size() 250 sga->payload_size = AV_RB16(sga->sector + 2); in update_type_size() 291 memcpy(pkt->data, sga->sector, sga->payload_size + 4); in sga_video_packet() 293 memmove(sga->sector, sga->sector + sga->payload_size + 4, sga->idx - sga->payload_size - 4); in sga_video_packet() 303 …av_log(s, AV_LOG_DEBUG, "VIDEO PACKET: %d:%016"PRIX64" i:%X\n", pkt->size, AV_RB64(sga->sector), s… in sga_video_packet() 327 st->codecpar->sample_rate = av_rescale(AV_RB16(sga->sector + 8), in sga_audio_packet() 338 memcpy(pkt->data, sga->sector + 12, sga->payload_size - 8); in sga_audio_packet() [all …]
|
/third_party/NuttX/drivers/bch/ |
D | bchlib_read.c | 65 unsigned long long sector; in bchlib_read() local 80 sector = offset / bch->sectsize; in bchlib_read() 81 sectoffset = offset - sector * bch->sectsize; in bchlib_read() 83 if (sector >= bch->nsectors) in bchlib_read() 97 ret = bchlib_readsector(bch, sector + bch->sectstart); in bchlib_read() 123 ++sector; in bchlib_read() 125 if (sector >= bch->nsectors) in bchlib_read() 142 if (sector + nsectors > bch->nsectors) in bchlib_read() 144 nsectors = bch->nsectors - sector; in bchlib_read() 147 … ret = los_disk_read(bch->disk->disk_id, (void *)buffer, sector + bch->sectstart, nsectors, TRUE); in bchlib_read() [all …]
|
D | bchlib_write.c | 49 unsigned long long sector; in bchlib_write() local 64 sector = offset / bch->sectsize; in bchlib_write() 65 sectoffset = offset - sector * bch->sectsize; in bchlib_write() 67 if (sector >= bch->nsectors) in bchlib_write() 79 ret = bchlib_readsector(bch, sector + bch->sectstart); in bchlib_write() 106 sector++; in bchlib_write() 108 if (sector >= bch->nsectors) in bchlib_write() 125 if (sector + nsectors > bch->nsectors) in bchlib_write() 127 nsectors = bch->nsectors - sector; in bchlib_write() 142 sector + bch->sectstart, nsectors); in bchlib_write() [all …]
|
D | bchlib_cache.c | 61 ret = los_disk_write(bch->disk->disk_id, (const void *)bch->buffer, bch->sector, 1); in bchlib_flushsector() 87 int bchlib_readsector(struct bchlib_s *bch, unsigned long long sector) in bchlib_readsector() argument 91 if (bch->sector != sector) in bchlib_readsector() 99 bch->sector = (unsigned long long)-1; in bchlib_readsector() 101 ret = los_disk_read(bch->disk->disk_id, (void *)bch->buffer, sector, 1, TRUE); in bchlib_readsector() 107 bch->sector = sector; in bchlib_readsector()
|
D | bch.h | 53 unsigned long long sector; /* The current sector in the buffer */ member 84 EXTERN int bchlib_readsector(struct bchlib_s *bch, unsigned long long sector);
|
/third_party/f2fs-tools/lib/ |
D | libf2fs_zoned.c | 207 int f2fs_report_zone(int i, uint64_t sector, void *blkzone) in f2fs_report_zone() argument 219 rep->sector = sector; in f2fs_report_zone() 244 uint64_t sector = 0; in f2fs_report_zones() local 253 while (sector < total_sectors) { in f2fs_report_zones() 256 rep->sector = sector; in f2fs_report_zones() 279 sector = blk_zone_sector(blkz) + blk_zone_length(blkz); in f2fs_report_zones() 296 uint64_t sector; in f2fs_check_zones() local 314 sector = 0; in f2fs_check_zones() 317 while (sector < total_sectors) { in f2fs_check_zones() 321 rep->sector = sector; in f2fs_check_zones() [all …]
|
/third_party/FatFs/source/ |
D | diskio.c | 84 LBA_t sector, /* Start sector in LBA */ in disk_read() argument 91 result = los_part_read((int)pdrv, (void *)buff, sector, (UINT32)count, TRUE); in disk_read() 98 return (DRESULT)g_diskDrv.drv[pdrv]->disk_read(g_diskDrv.lun[pdrv], buff, sector, count); in disk_read() 106 LBA_t sector, /* Start sector in LBA */ in disk_read_readdir() argument 112 result = los_part_read((int)pdrv, (void *)buff, sector, (UINT32)count, FALSE); in disk_read_readdir() 123 DRESULT disk_raw_read (int id, void *buff, LBA_t sector, UINT32 count) in disk_raw_read() argument 127 result = los_disk_read(id, buff, sector, count, TRUE); in disk_raw_read() 147 LBA_t sector, /* Start sector in LBA */ in disk_write() argument 154 result = los_part_write((int)pdrv, (void *)buff, sector, (UINT32)count); in disk_write() 161 return (DRESULT)g_diskDrv.drv[pdrv]->disk_write(g_diskDrv.lun[pdrv], buff, sector, count); in disk_write() [all …]
|
D | diskio.h | 40 DRESULT disk_read (BYTE pdrv, BYTE* buff, LBA_t sector, UINT count); 41 DRESULT disk_write (BYTE pdrv, const BYTE* buff, LBA_t sector, UINT count); 43 DRESULT disk_read_readdir (BYTE pdrv, BYTE* buff, LBA_t sector, UINT count); 44 DRESULT disk_raw_read (int id, void* buff, LBA_t sector, UINT32 count); 45 DRESULT disk_raw_write (int id, void* buff, LBA_t sector, UINT32 count); 49 DRESULT disk_read_readdir (BYTE pdrv, BYTE* buff, LBA_t sector, UINT count);
|
/third_party/gstreamer/gstplugins_base/ext/cdparanoia/ |
D | gstcdparanoiasrc.c | 71 gint sector); 328 gint sector = (gint) (inpos / CD_FRAMEWORDS); in gst_cd_paranoia_paranoia_callback() local 332 GST_INFO_OBJECT (src, "Skip at sector %d", sector); in gst_cd_paranoia_paranoia_callback() 333 g_signal_emit (src, cdpsrc_signals[UNCORRECTED_ERROR], 0, sector); in gst_cd_paranoia_paranoia_callback() 336 GST_INFO_OBJECT (src, "Transport error at sector %d", sector); in gst_cd_paranoia_paranoia_callback() 337 g_signal_emit (src, cdpsrc_signals[TRANSPORT_ERROR], 0, sector); in gst_cd_paranoia_paranoia_callback() 351 gst_cd_paranoia_src_read_sector (GstAudioCdSrc * audiocdsrc, gint sector) in gst_cd_paranoia_src_read_sector() argument 370 if (src->next_sector == -1 || src->next_sector != sector) { in gst_cd_paranoia_src_read_sector() 371 if (paranoia_seek (src->p, sector, SEEK_SET) == -1) in gst_cd_paranoia_src_read_sector() 374 GST_DEBUG_OBJECT (src, "successfully seeked to sector %d", sector); in gst_cd_paranoia_src_read_sector() [all …]
|
D | gstcdparanoiasrc.h | 85 void (*transport_error) (GstCdParanoiaSrc * src, gint sector); 94 void (*uncorrected_error) (GstCdParanoiaSrc * src, gint sector);
|
/third_party/gptfdisk/ |
D | gpt.h | 85 int LoadHeader(struct GPTHeader *header, DiskIO & disk, uint64_t sector, int *crcOk); 86 int LoadPartitionTable(const struct GPTHeader & header, DiskIO & disk, uint64_t sector = 0); 88 int SaveHeader(struct GPTHeader *header, DiskIO & disk, uint64_t sector); 89 int SavePartitionTable(DiskIO & disk, uint64_t sector); 159 int Align(uint64_t* sector); 188 int IsFree(uint64_t sector, uint32_t *partNum = NULL);
|
D | gpttext.cc | 202 uint64_t firstBlock, firstInLargest, lastBlock, sector, origSector, lastAligned; in CreatePartition() local 232 sector = GetSectorNum(firstBlock, lastBlock, firstInLargest, prompt2.str()); in CreatePartition() 233 } while (IsFree(sector) == 0); in CreatePartition() 234 origSector = sector; in CreatePartition() 235 if (Align(§or)) { in CreatePartition() 237 << sector << " in\norder to align on " << sectorAlignment in CreatePartition() 242 firstBlock = sector; in CreatePartition() 250 sector = GetSectorNum(firstBlock, lastBlock, lastAligned, prompt3.str()); in CreatePartition() 251 } while (IsFree(sector) == 0); in CreatePartition() 252 lastBlock = sector; in CreatePartition()
|
D | mbrpart.cc | 261 uint64_t cylinder, head, sector; // all numbered from 0 in LBAtoCHS() local 285 sector = remainder; in LBAtoCHS() 290 if (sector < numSecspTrack) { in LBAtoCHS() 291 chs[1] = (uint8_t) ((sector + 1) + (cylinder >> 8) * 64); in LBAtoCHS()
|
D | gpt.cc | 1045 int GPTData::LoadHeader(struct GPTHeader *header, DiskIO & disk, uint64_t sector, int *crcOk) { in LoadHeader() argument 1049 disk.Seek(sector); in LoadHeader() 1090 int GPTData::LoadPartitionTable(const struct GPTHeader & header, DiskIO & disk, uint64_t sector) { in LoadPartitionTable() argument 1098 if (sector == 0) { in LoadPartitionTable() 1101 retval = disk.Seek(sector); in LoadPartitionTable() 1366 int GPTData::SaveHeader(struct GPTHeader *header, DiskIO & disk, uint64_t sector) { in SaveHeader() argument 1372 if (disk.Seek(sector)) { in SaveHeader() 1386 int GPTData::SavePartitionTable(DiskIO & disk, uint64_t sector) { in SavePartitionTable() argument 1390 if (disk.Seek(sector)) { in SavePartitionTable() 2153 int GPTData::Align(uint64_t* sector) { in Align() argument [all …]
|
D | NEWS | 210 - GPT fdisk can now report both the physical and logical sector sizes of 221 '-j/--move-main-table={sector}' in sgdisk. This option enables relocating 222 the main partition table from sector 2 (the default location) to somewhere 225 boot loader to be located at sector 2. If you pass this option the default 227 main partition table and the first usable sector value created by the 265 partition's size by one sector. 321 will be something else on disks with other sector sizes. 397 that ended at or above the 2^32 sector point with incorrect end values. 406 the 2^32 sector mark. 413 - Fixed spurious "0xEE partition doesn't start on sector 1" warning in [all …]
|
D | basicmbr.cc | 449 int BasicMBRData::WriteMBRData(struct TempMBR & mbr, DiskIO *theDisk, uint64_t sector) { in WriteMBRData() argument 465 if (allOK && theDisk->Seek(sector)) { in WriteMBRData() 697 uint64_t cylinder, head, sector; // all numbered from 0 in LBAtoCHS() local 721 sector = remainder; in LBAtoCHS() 726 if (sector < numSecspTrack) { in LBAtoCHS() 727 chs[1] = (uint8_t) ((sector + 1) + (cylinder >> 8) * 64); in LBAtoCHS() 1483 int BasicMBRData::SectorUsedAs(uint64_t sector, int topPartNum) { in SectorUsedAs() argument 1487 if ((partitions[i].GetStartLBA() <= sector) && (partitions[i].GetLastLBA() >= sector)) in SectorUsedAs() 1489 … if ((partitions[i].GetStartLBA() == (sector + 1)) && (partitions[i].GetInclusion() == LOGICAL)) in SectorUsedAs() 1491 if (sector == 0) in SectorUsedAs() [all …]
|
D | basicmbr.h | 75 int WriteMBRData(struct TempMBR & mbr, DiskIO *theDisk, uint64_t sector); 139 int SectorUsedAs(uint64_t sector, int topPartNum = MAX_MBR_PARTS);
|
/third_party/ntfs-3g/ |
D | TODO.ntfsprogs | 11 - Correct support for creating volumes with larger sector sizes (mft record 12 size, cluster size, and index block size must be >= sector size), so for 1k, 14 block size to be at least the sector size. 15 - Correct the odd last partition sector not being accessible under 2.4 kernels 16 by setting the device block size to the sector size (default is 1k on 2.4 108 - save $Bitmap if it was modified and an error occures (e.g. bad sector).
|
/third_party/exfatprogs/ |
D | NEWS | 7 * fsck.exfat: Introduce the option "b" to recover a boot sector even 29 equal than the sector size. 41 * mkfs.exfat: set 0x80 to DriveSelect of the boot sector 44 * Fix issues on 4KB logical sector devices 45 * Fix issues when the sector size of of a file system is different from 81 * fsck.exfat: display sector, cluster, and volume sizes in the human
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/ |
D | gstaudiocdsrc.c | 454 gst_audio_cd_src_get_track_from_sector (GstAudioCdSrc * src, gint sector) in gst_audio_cd_src_get_track_from_sector() argument 459 if (sector >= src->priv->tracks[i].start in gst_audio_cd_src_get_track_from_sector() 460 && sector <= src->priv->tracks[i].end) in gst_audio_cd_src_get_track_from_sector() 523 gint64 sector = src_val / SAMPLES_PER_SECTOR; in gst_audio_cd_src_convert() local 526 *dest_val = sector; in gst_audio_cd_src_convert() 530 *dest_val = gst_audio_cd_src_get_track_from_sector (src, sector); in gst_audio_cd_src_convert() 558 gint64 sector = sample_offset / SAMPLES_PER_SECTOR; in gst_audio_cd_src_convert() local 561 *dest_val = sector; in gst_audio_cd_src_convert() 565 *dest_val = gst_audio_cd_src_get_track_from_sector (src, sector); in gst_audio_cd_src_convert() 1242 lba_to_msf (guint sector, guint * p_m, guint * p_s, guint * p_f, guint * p_secs) in lba_to_msf() argument [all …]
|
/third_party/ntfs-3g/ntfsprogs/ |
D | ntfslabel.c | 238 static int change_serial(ntfs_volume *vol, u64 sector, le64 serial_number, in change_serial() argument 246 if ((ntfs_pread(vol->dev, sector << vol->sector_size_bits, in change_serial() 249 if (!sector) in change_serial() 266 sector << vol->sector_size_bits, in change_serial()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_aes.xts.data | 35 # 128-bit keys with 32 byte sector 47 # 128-bit keys with 512 byte sector 68 # 256-bit keys with 512 byte sector 86 # 128-bit keys with sector size not evenly divisible by 16 bytes
|
/third_party/toybox/toys/pending/ |
D | fdisk.c | 46 #define sector(s) ((s) & 0x3f) macro 52 unsigned char boot_ind, head, sector, cyl, sys_ind, end_head, member 106 p->sector = (start % g_sectors) + 1; in set_hsc() 111 p->sector |= (start >> 2) & 0xc0; in set_hsc() 415 physbc = cylinder(p->sector,p->cyl); in consistency_check() 417 physbs = sector(p->sector); in consistency_check() 421 physes = sector(p->end_sector); in consistency_check() 1068 real_s = sector(s) - 1; in check() 1206 sector(p->sector), cylinder(p->sector, p->cyl), in print_partitions_list() 1208 sector(p->end_sector), cylinder(p->end_sector, p->end_cyl), in print_partitions_list()
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/ |
D | color_space.inl | 17 T sector = floor(hsv.x / T(60)); local 18 T frac = (hsv.x / T(60)) - sector; 24 switch(int(sector)) local
|