Home
last modified time | relevance | path

Searched refs:ops (Results 1 – 16 of 16) sorted by relevance

/system/core/toolbox/upstream-netbsd/bin/dd/
Ddd.h63 #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
Ddd.c160 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/
Doutput_file.c83 struct output_file_ops *ops; member
363 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_skip_chunk()
388 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_fill_chunk()
392 ret = out->ops->write(out, &fill_val, sizeof(fill_val)); in write_sparse_fill_chunk()
424 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_data_chunk()
428 ret = out->ops->write(out, data, len); in write_sparse_data_chunk()
432 ret = out->ops->write(out, out->zero_buf, zero_len); in write_sparse_data_chunk()
460 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_end_chunk()
464 out->ops->write(out, &out->crc32, 4); in write_sparse_end_chunk()
488 ret = out->ops->write(out, data, len); in write_normal_data_chunk()
[all …]
/system/core/fs_mgr/
Dfs_mgr_avb_ops.cpp43 static AvbIOResult read_from_partition(AvbOps* ops, const char* partition, int64_t offset, in read_from_partition() argument
45 return FsManagerAvbOps::GetInstanceFromAvbOps(ops)->ReadFromPartition( in read_from_partition()
49 static AvbIOResult dummy_read_rollback_index(AvbOps* ops ATTRIBUTE_UNUSED, in dummy_read_rollback_index()
59 AvbOps* ops ATTRIBUTE_UNUSED, const uint8_t* public_key_data ATTRIBUTE_UNUSED, in dummy_validate_vbmeta_public_key()
72 static AvbIOResult dummy_read_is_device_unlocked(AvbOps* ops ATTRIBUTE_UNUSED, in dummy_read_is_device_unlocked()
81 static AvbIOResult dummy_get_unique_guid_for_partition(AvbOps* ops ATTRIBUTE_UNUSED, in dummy_get_unique_guid_for_partition()
Dfs_mgr_priv_avb_ops.h52 static FsManagerAvbOps* GetInstanceFromAvbOps(AvbOps* ops) { in GetInstanceFromAvbOps() argument
53 return reinterpret_cast<FsManagerAvbOps*>(ops->user_data); in GetInstanceFromAvbOps()
/system/bt/bta/sdp/
Dbta_sdp_act.cc240 record->ops.hdr.type = SDP_TYPE_OPP_SERVER; in bta_create_ops_sdp_record()
241 record->ops.hdr.service_name_length = 0; in bta_create_ops_sdp_record()
242 record->ops.hdr.service_name = NULL; in bta_create_ops_sdp_record()
243 record->ops.hdr.rfcomm_channel_number = 0; in bta_create_ops_sdp_record()
244 record->ops.hdr.l2cap_psm = -1; in bta_create_ops_sdp_record()
245 record->ops.hdr.profile_version = 0; in bta_create_ops_sdp_record()
246 record->ops.supported_formats_list_len = 0; in bta_create_ops_sdp_record()
250 record->ops.hdr.service_name_length = in bta_create_ops_sdp_record()
252 record->ops.hdr.service_name = (char*)p_attr->attr_value.v.array; in bta_create_ops_sdp_record()
257 record->ops.hdr.profile_version = pversion; in bta_create_ops_sdp_record()
[all …]
/system/extras/tests/mmc_tracepoints/
DREADME15 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/
Dfptest.cpp51 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/update_engine/payload_generator/
Ddelta_diff_utils.h131 void FilterNoopOperations(std::vector<AnnotatedOperation>* ops);
Ddelta_diff_utils.cc741 void FilterNoopOperations(vector<AnnotatedOperation>* ops) { in FilterNoopOperations() argument
742 ops->erase( in FilterNoopOperations()
744 ops->begin(), ops->end(), in FilterNoopOperations()
746 ops->end()); in FilterNoopOperations()
Ddelta_diff_utils_unittest.cc471 vector<AnnotatedOperation> ops = {noop, aop1, noop, noop, aop2, noop}; in TEST_F() local
472 diff_utils::FilterNoopOperations(&ops); in TEST_F()
473 EXPECT_EQ(2u, ops.size()); in TEST_F()
474 EXPECT_EQ("aop1", ops[0].name); in TEST_F()
475 EXPECT_EQ("aop2", ops[1].name); in TEST_F()
/system/media/camera/src/
Dcamera_metadata.c995 int set_camera_metadata_vendor_tag_ops(const vendor_tag_query_ops_t* ops) { in set_camera_metadata_vendor_tag_ops() argument
997 (void) ops; in set_camera_metadata_vendor_tag_ops()
1003 int set_camera_metadata_vendor_ops(const vendor_tag_ops_t* ops) { in set_camera_metadata_vendor_ops() argument
1004 vendor_tag_ops = ops; in set_camera_metadata_vendor_ops()
/system/ca-certificates/files/
D1dac3003.065 email:pki-ops@trustdst.com
/system/netd/server/
DRouteController.cpp127 static const char *ops[4] = {"adding", "deleting", "getting", "???"}; in actionName() local
128 return ops[action % 4]; in actionName()
/system/bt/btif/src/
Dbtif_sdp_server.cc334 handle = add_opps_sdp(&record->ops); in on_create_record_event()
/system/core/init/
DREADME.md269 otherwise bootchart start/stop are no-ops.