Searched refs:ops (Results 1 – 6 of 6) sorted by relevance
/system/core/toolbox/upstream-netbsd/bin/dd/ |
D | dd.h | 63 #define ddop_open(dir, a1, a2, ...) dir.ops->op_open(a1, a2, __VA_ARGS__) 64 #define ddop_close(dir, a1) dir.ops->op_close(a1) 65 #define ddop_fcntl(dir, a1, a2, ...) dir.ops->op_fcntl(a1, a2, __VA_ARGS__) 66 #define ddop_ioctl(dir, a1, a2, ...) dir.ops->op_ioctl(a1, a2, __VA_ARGS__) 67 #define ddop_fsync(dir, a1) dir.ops->op_fsync(a1) 68 #define ddop_ftruncate(dir, a1, a2) dir.ops->op_ftruncate(a1, a2) 69 #define ddop_lseek(dir, a1, a2, a3) dir.ops->op_lseek(a1, a2, a3) 70 #define ddop_read(dir, a1, a2, a3) dir.ops->op_read(a1, a2, a3) 71 #define ddop_write(dir, a1, a2, a3) dir.ops->op_write(a1, a2, a3) 90 struct ddfops const *ops; /* ops to use with fd */ member
|
D | dd.c | 160 in.ops = &ddfops_stdfd; in setup() 162 in.ops = prog_ops; in setup() 183 out.ops = &ddfops_stdfd; in setup() 185 out.ops = prog_ops; in setup() 289 if (io->ops->op_fstat(io->fd, &sb)) { in getfdtype() 294 io->flags |= io->ops->op_ioctl(io->fd, MTIOCGET, &mt) in getfdtype() 296 else if (io->ops->op_lseek(io->fd, (off_t)0, SEEK_CUR) == -1 in getfdtype() 322 newfd = io->ops->op_fcntl(fd, F_DUPFD, 3); in redup_clean_fd() 328 io->ops->op_close(fd); in redup_clean_fd() 593 rv = io->ops->op_write(io->fd, buf, len); in bwrite()
|
/system/core/libsparse/ |
D | output_file.c | 83 struct output_file_ops *ops; member 356 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_skip_chunk() 381 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_fill_chunk() 385 ret = out->ops->write(out, &fill_val, sizeof(fill_val)); in write_sparse_fill_chunk() 417 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_data_chunk() 421 ret = out->ops->write(out, data, len); in write_sparse_data_chunk() 425 ret = out->ops->write(out, out->zero_buf, zero_len); in write_sparse_data_chunk() 453 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_end_chunk() 457 out->ops->write(out, &out->crc32, 4); in write_sparse_end_chunk() 481 ret = out->ops->write(out, data, len); in write_normal_data_chunk() [all …]
|
/system/extras/tests/mmc_tracepoints/ |
D | README | 15 The output is in a form of start/stop pairs. The ops with rw in the name are 16 read or write ops, and the ones with erase in the name are the various erase
|
/system/extras/tests/memtest/ |
D | fptest.cpp | 51 static void endTime(const char *str, double ops) in endTime() argument 55 printf("Test: %s, %f Mops\n", str, ops / ds / 1e6); in endTime()
|
/system/media/camera/src/ |
D | camera_metadata.c | 824 int set_camera_metadata_vendor_tag_ops(const vendor_tag_query_ops_t* ops) { in set_camera_metadata_vendor_tag_ops() argument 831 int set_camera_metadata_vendor_ops(const vendor_tag_ops_t* ops) { in set_camera_metadata_vendor_ops() argument 832 vendor_tag_ops = ops; in set_camera_metadata_vendor_ops()
|