/external/ltp/testcases/kernel/io/disktest/ |
D | sfunc.c | 84 OFF_T Rand64(void) in Rand64() 86 OFF_T myRandomNumber = 0; in Rand64() 88 myRandomNumber = ((OFF_T) (rand() & 0x7FFF)) << 48; in Rand64() 89 myRandomNumber |= ((OFF_T) (rand() & 0x7FFF)) << 33; in Rand64() 90 myRandomNumber |= ((OFF_T) (rand() & 0x7FFF)) << 18; in Rand64() 91 myRandomNumber |= ((OFF_T) (rand() & 0x7FFF)) << 3; in Rand64() 92 myRandomNumber |= ((OFF_T) (rand() & 0x7)); in Rand64() 101 OFF_T my_strtofft(const char *pStr) in my_strtofft() 103 OFF_T value = 0; in my_strtofft() 255 OFF_T getByteOrderedData(const OFF_T data) in getByteOrderedData() [all …]
|
D | main.h | 71 #define BUFALIGN(x) (void *) (((unsigned long)x + (OFF_T)(ALIGNSIZE - 1)) & (OFF_T)~(ALIGNSIZE - 1)) 84 #define BMP_OFFSET 2*sizeof(OFF_T) /* bitmap starts here */ 197 OFF_T wcount; 198 OFF_T rcount; 199 OFF_T wbytes; 200 OFF_T rbytes; 208 OFF_T vsiz; /* volume size in blocks */ 212 OFF_T pattern; /* pattern data */ 214 OFF_T seeks; /* number of seeks */ 216 OFF_T start_blk; /* starting transfer block */ [all …]
|
D | io.c | 71 OFF_T FileSeek64(HANDLE hf, OFF_T distance, DWORD MoveMethod) in FileSeek64() 87 OFF_T SeekEnd(fd_t fd) in SeekEnd() 89 OFF_T return_lba; in SeekEnd() 92 return_lba = (OFF_T) FileSeek64(fd, 0, FILE_END); in SeekEnd() 94 return_lba = (OFF_T) lseek64(fd, 0, SEEK_END); in SeekEnd() 99 OFF_T Seek(fd_t fd, OFF_T lba) in Seek() 101 OFF_T return_lba; in Seek() 104 return_lba = (OFF_T) FileSeek64(fd, lba, FILE_BEGIN); in Seek() 106 return_lba = (OFF_T) lseek64(fd, lba, SEEK_SET); in Seek() 111 fd_t Open(const char *filespec, const OFF_T flags) in Open()
|
D | io.h | 55 fd_t Open(const char *, const OFF_T); 56 OFF_T Seek(fd_t, OFF_T); 57 OFF_T SeekEnd(fd_t);
|
D | sfunc.h | 120 OFF_T my_strtofft(const char *pStr); 130 OFF_T get_vsiz(const char *); 131 OFF_T get_file_size(char *); 132 OFF_T Rand64(void);
|
D | defs.h | 78 typedef __int64 OFF_T; typedef 98 typedef long long int OFF_T; typedef 109 OFF_T lba;
|
D | childmain.c | 161 OFF_T ActualBytePos = 0; in write_error_mark() 225 const OFF_T mask) in get_next_action() 228 OFF_T *pVal1 = (OFF_T *) env->shared_mem; in get_next_action() 229 OFF_T *tmpLBA; in get_next_action() 230 OFF_T guessLBA; in get_next_action() 318 (OFF_T) direct *(OFF_T) target.trsiz; in get_next_action() 470 *(pVal1 + OFF_WLBA) += (OFF_T) direct *(OFF_T) target.trsiz; in get_next_action() 480 *(pVal1 + OFF_RLBA) += (OFF_T) direct *(OFF_T) target.trsiz; in get_next_action() 493 const size_t buf_len, OFF_T tPosition, const size_t offset, in miscompare_dump() 596 OFF_T ActualBytePos = 0, TargetBytePos = 0, mask = 1, delayMask = 1; in ChildMain() [all …]
|
D | timer.c | 77 OFF_T cur_total_io_count = 0; in ChildTimer() 78 OFF_T last_total_io_count = 0; in ChildTimer() 80 OFF_T tmp_io_count = 0; in ChildTimer()
|
D | main.c | 71 OFF_T *pVal1 = (OFF_T *) test->env->shared_mem; in linear_read_write_test() 151 OFF_T *pVal1; in init_data() 228 pVal1 = (OFF_T *) test->env->shared_mem; in init_data() 248 pattern & (((OFF_T) 0xff) << in init_data() 287 OFF_T *pVal1; in threadedMain() 318 pVal1 = (OFF_T *) test->env->shared_mem; in threadedMain()
|
D | dump.c | 179 OFF_T TargetLBA, TotalBytes = 0; in do_dump() 200 if (TargetLBA != (args->start_lba * (OFF_T) BLK_SIZE)) { in do_dump() 215 TotalBytes += (OFF_T) NumBytes; in do_dump()
|
D | parse.c | 660 (OFF_T) strtoul(optarg, &leftovers, 0); in fill_cld_args() 688 (OFF_T) strtoul(leftovers, &leftovers, 0); in fill_cld_args() 704 (OFF_T) strtoul(optarg, &leftovers, 0); in fill_cld_args() 729 (OFF_T) strtoul(optarg, &leftovers, 0); in fill_cld_args() 757 (OFF_T) strtoul(leftovers, &leftovers, 0); in fill_cld_args() 773 (OFF_T) strtoul(optarg, &leftovers, 0); in fill_cld_args() 897 args->stop_blk = (args->stop_lba / (OFF_T) args->htrsiz); in make_assumptions()
|
/external/ltp/testcases/kernel/syscalls/sendfile/ |
D | sendfile03.c | 57 #ifndef OFF_T 58 #define OFF_T off_t macro 76 OFF_T *offset;
|
D | sendfile09.c | 56 #ifndef OFF_T 57 #define OFF_T off_t macro 75 OFF_T offset;
|
D | sendfile05.c | 57 #ifndef OFF_T 58 #define OFF_T off_t macro 83 OFF_T offset; in do_sendfile()
|
D | sendfile04.c | 62 #ifndef OFF_T 63 #define OFF_T off_t macro 102 OFF_T *protected_buffer; in do_sendfile()
|
D | sendfile02.c | 62 #ifndef OFF_T 63 #define OFF_T off_t macro 98 void do_sendfile(OFF_T offset, int i) in do_sendfile()
|
D | sendfile07.c | 58 #ifndef OFF_T 59 #define OFF_T off_t macro
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_posix.h | 39 int fd, OFF_T offset); 52 uptr internal_lseek(fd_t fd, OFF_T offset, int whence);
|
/external/expat/ |
D | ConfigureChecks.cmake | 48 check_symbol_exists("off_t" "sys/types.h" OFF_T) 51 set(OFF_T "long") variable
|
/external/google-breakpad/src/third_party/curl/ |
D | curl.h | 647 #define OFF_T CURLOPTTYPE_OFF_T macro 1055 CINIT(INFILESIZE_LARGE, OFF_T, 115), 1060 CINIT(RESUME_FROM_LARGE, OFF_T, 116), 1065 CINIT(MAXFILESIZE_LARGE, OFF_T, 117), 1081 CINIT(POSTFIELDSIZE_LARGE, OFF_T, 120), 1159 CINIT(MAX_SEND_SPEED_LARGE, OFF_T, 145), 1160 CINIT(MAX_RECV_SPEED_LARGE, OFF_T, 146),
|
/external/compiler-rt/lib/interception/ |
D | interception_type_test.cc | 36 COMPILER_CHECK(sizeof(::OFF_T) == sizeof(off_t));
|
D | interception.h | 31 typedef __sanitizer::OFF_T OFF_T; typedef
|
/external/llvm-project/compiler-rt/lib/interception/ |
D | interception_type_test.cpp | 36 COMPILER_CHECK(sizeof(::OFF_T) == sizeof(off_t));
|
/external/compiler-rt/lib/dfsan/ |
D | dfsan_interceptors.cc | 20 int fd, OFF_T offset) { in INTERCEPTOR()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_solaris.cpp | 65 int prot, int flags, int fd, OFF_T offset) { in DECLARE__REAL_AND_INTERNAL64() 182 DECLARE__REAL_AND_INTERNAL64(uptr, lseek, fd_t fd, OFF_T offset, int whence) { in DECLARE__REAL_AND_INTERNAL64()
|