/external/u-boot/drivers/block/ |
D | ide.c | 456 unsigned char iobuf[64]; /* temp buf */ in atapi_inquiry() local 467 memset(iobuf, 0, sizeof(iobuf)); in atapi_inquiry() 471 c = atapi_issue_autoreq(device, ccb, 12, (unsigned char *)iobuf, 40); in atapi_inquiry() 478 ident_cpy((unsigned char *)dev_desc->vendor, &iobuf[8], 8); in atapi_inquiry() 479 ident_cpy((unsigned char *)dev_desc->product, &iobuf[16], 16); in atapi_inquiry() 480 ident_cpy((unsigned char *)dev_desc->revision, &iobuf[32], 5); in atapi_inquiry() 486 dev_desc->type = iobuf[0] & 0x1f; in atapi_inquiry() 488 if ((iobuf[1] & 0x80) == 0x80) in atapi_inquiry() 494 memset(iobuf, 0, sizeof(iobuf)); in atapi_inquiry() 498 c = atapi_issue_autoreq(device, ccb, 12, (unsigned char *)iobuf, 0); in atapi_inquiry() [all …]
|
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
D | ltp-diorh.c | 50 char *iobuf; variable 66 memset(iobuf, pattern, WRITESIZE); in do_buffered_writes() 68 rc = pwrite(fd, iobuf, WRITESIZE, offset); in do_buffered_writes() 90 rc = pread(fd, iobuf, READSIZE, offset); in do_direct_reads() 97 for (i = 0, p = (int *)iobuf; i < READSIZE; i += 4) { in do_direct_reads() 131 err = posix_memalign((void **)&iobuf, pagesize, bufsize); in main()
|
/external/u-boot/drivers/ata/ |
D | sata_sil3114.c | 105 u16 iobuf[ATA_SECTOR_WORDS]; in sata_identify() local 108 memset (iobuf, 0, sizeof (iobuf)); in sata_identify() 130 input_data (&port[num].ioaddr, iobuf, ATA_SECTOR_WORDS); in sata_identify() 132 ata_swap_buf_le16 (iobuf, ATA_SECTOR_WORDS); in sata_identify() 134 debug ("Specific config: %x\n", iobuf[2]); in sata_identify() 137 if (!ata_id_has_dma (iobuf) || !ata_id_has_lba (iobuf)) { in sata_identify() 141 ata_dump_id (iobuf); in sata_identify() 143 n_sectors = ata_id_n_sectors (iobuf); in sata_identify() 149 ata_id_c_string (iobuf, (unsigned char *)sata_dev_desc[devno].revision, in sata_identify() 151 ata_id_c_string (iobuf, (unsigned char *)sata_dev_desc[devno].vendor, in sata_identify() [all …]
|
/external/freetype/builds/amiga/src/base/ |
D | ftsystem.c | 68 UBYTE iobuf[IOBUF_SIZE]; member 321 CopyMem( &sysfile->iobuf[offset - sysfile->iobuf_start], buffer, count ); in ft_amiga_stream_io() 330 read_bytes = Read( sysfile->file, sysfile->iobuf, IOBUF_SIZE ); in ft_amiga_stream_io() 339 CopyMem( sysfile->iobuf, buffer, count ); in ft_amiga_stream_io() 364 CopyMem( &buffer[read_bytes - bufsize] , sysfile->iobuf, bufsize ); in ft_amiga_stream_io()
|
/external/skqp/src/codec/ |
D | SkWuffsCodec.cpp | 167 wuffs_base__io_buffer iobuf); 312 wuffs_base__io_buffer iobuf) in SkWuffsCodec() argument 343 SkASSERT(iobuf.data.len == SK_WUFFS_CODEC_BUFFER_SIZE); 344 memmove(fBuffer, iobuf.data.ptr, iobuf.meta.wi); 350 .meta = iobuf.meta, 846 wuffs_base__io_buffer iobuf = ((wuffs_base__io_buffer){ in SkWuffsCodec_MakeFromStream() local 883 reset_and_decode_image_config(decoder.get(), &imgcfg, &iobuf, stream.get()); in SkWuffsCodec_MakeFromStream() 939 std::move(workbuf_ptr), workbuf_len, imgcfg, pixbuf, iobuf)); in SkWuffsCodec_MakeFromStream()
|
/external/skia/src/codec/ |
D | SkWuffsCodec.cpp | 170 wuffs_base__io_buffer iobuf); 314 wuffs_base__io_buffer iobuf) in SkWuffsCodec() argument 344 SkASSERT(iobuf.data.len == SK_WUFFS_CODEC_BUFFER_SIZE); in SkWuffsCodec() 345 memmove(fBuffer, iobuf.data.ptr, iobuf.meta.wi); in SkWuffsCodec() 347 fIOBuffer.meta = iobuf.meta; in SkWuffsCodec() 866 wuffs_base__io_buffer iobuf = in SkWuffsCodec_MakeFromStream() local 899 reset_and_decode_image_config(decoder.get(), &imgcfg, &iobuf, stream.get()); in SkWuffsCodec_MakeFromStream() 957 std::move(workbuf_ptr), workbuf_len, imgcfg, pixbuf, iobuf)); in SkWuffsCodec_MakeFromStream()
|