/external/ltp/testcases/kernel/fs/doio/ |
D | write_log.c | 196 int reclen; in wlog_record_write() local 207 reclen = wlog_rec_pack(wrec, wbuf, (offset < 0)); in wlog_record_write() 216 wbuf[reclen] = reclen / 256; in wlog_record_write() 217 wbuf[reclen + 1] = reclen % 256; in wlog_record_write() 218 reclen += 2; in wlog_record_write() 220 if (write(wfile->w_afd, wbuf, reclen) == -1) { in wlog_record_write() 223 wfile->w_file, wbuf, reclen, strerror(errno)); in wlog_record_write() 226 offset = lseek(wfile->w_afd, 0, SEEK_CUR) - reclen; in wlog_record_write() 241 if ((write(wfile->w_rfd, wbuf, reclen)) == -1) { in wlog_record_write() 244 wfile->w_file, wbuf, reclen, in wlog_record_write() [all …]
|
/external/autotest/client/tests/aiostress/ |
D | aio-stress.c | 151 int reclen; member 360 if (memcmp(io->buf, verify_buf, io->io_oper->reclen)) { in check_finished_io() 364 for (i = 0 ; i < io->io_oper->reclen ; i++) { in check_finished_io() 402 return ((double)oper->started_ios * (double)oper->reclen) / in oper_mb_trans() 589 if (rand_byte + oper->reclen > oper->end) { 590 rand_byte -= oper->reclen; 616 io_prep_pwrite(&io->iocb,oper->fd, io->buf, oper->reclen, 618 oper->last_offset += oper->reclen; 621 io_prep_pread(&io->iocb,oper->fd, io->buf, oper->reclen, 623 oper->last_offset += oper->reclen; [all …]
|
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
D | aio-stress.c | 153 int reclen; member 365 if (memcmp(io->buf, verify_buf, io->io_oper->reclen)) { in check_finished_io() 370 for (i = 0; i < io->io_oper->reclen; i++) { in check_finished_io() 412 return ((double)oper->started_ios * (double)oper->reclen) / in oper_mb_trans() 606 if (rand_byte + oper->reclen > oper->end) { 607 rand_byte -= oper->reclen; 633 io_prep_pwrite(&io->iocb, oper->fd, io->buf, oper->reclen, 635 oper->last_offset += oper->reclen; 638 io_prep_pread(&io->iocb, oper->fd, io->buf, oper->reclen, 640 oper->last_offset += oper->reclen; [all …]
|
/external/u-boot/cmd/ |
D | load.c | 315 int i, c, reclen, checksum, length; in save_serial() local 320 reclen = 0; in save_serial() 327 c = *(volatile uchar*)(address + reclen); /* get one byte */ in save_serial() 329 data[2*reclen] = hex[(c>>4)&0x0f]; in save_serial() 330 data[2*reclen+1] = hex[c & 0x0f]; in save_serial() 331 data[2*reclen+2] = '\0'; in save_serial() 332 ++reclen; in save_serial() 335 if(reclen == SREC_BYTES_PER_RECORD || count == 0) { in save_serial() 337 if(reclen) { /* build & write a data record: */ in save_serial() 339 length = 4 + reclen + 1; in save_serial() [all …]
|
/external/u-boot/fs/yaffs2/ |
D | yaffs_nameval.c | 94 int reclen; in nval_set() local 109 reclen = (sizeof(int) + namelen + 1 + bsize); in nval_set() 111 if (reclen > space) in nval_set() 121 memcpy(xb + pos, &reclen, sizeof(int)); in nval_set() 123 yaffs_strncpy((YCHAR *) (xb + pos), name, reclen); in nval_set()
|
/external/ltp/testcases/kernel/syscalls/ftruncate/ |
D | ftruncate04.c | 61 static int reclen; variable 81 maybe_run_child(&dochild, "sdd", filename, &recstart, &reclen); in main() 94 reclen = RECLEN; in main() 107 reclen) < -1) { in main() 205 flocks.l_len = reclen; in dochild()
|
/external/python/cpython2/Modules/ |
D | bsddbmodule.c | 153 size_t reclen, u_char bval, char *bfname) in newdbrnobject() argument 166 info.reclen = reclen; in newdbrnobject() 792 size_t reclen = 0; in bsdrnopen() local 799 &reclen, &bval, &bfname)) in bsdrnopen() 836 psize, lorder, reclen, bval[0], bfname); in bsdrnopen()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/dump/ |
D | DumpArchiveInputStream.java | 351 int reclen = 0; in readDirectoryEntry() local 354 i += reclen) { in readDirectoryEntry() 356 reclen = DumpArchiveUtil.convert16(blockBuffer, i + 4); in readDirectoryEntry()
|
/external/autotest/client/tests/ltp/patches/ |
D | getdents.patch | 92 + unsigned long reclen; 96 + reclen = dirp[i].d_reclen; 100 + ptrs.buf += reclen; 102 + i += reclen;
|