Searched defs:ops (Results 1 - 4 of 4) sorted by path

/system/core/libsparse/
H A Doutput_file.c90 struct output_file_ops *ops; member in struct:output_file
364 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header));
390 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header));
394 ret = out->ops->write(out, &fill_val, sizeof(fill_val));
426 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header));
430 ret = out->ops->write(out, data, len);
434 ret = out->ops->write(out, out->zero_buf, zero_len);
462 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header));
466 out->ops->write(out, &out->crc32, 4);
490 ret = out->ops
[all...]
/system/extras/fatblock/
H A Dfatblock.c73 static struct ublock_ops ops = { variable in typeref:struct:ublock_ops
179 ret = ublock_init(&ub, &ops, total_size);
/system/extras/libublock/
H A Dublock.c30 struct ublock_ops *ops; member in struct:ublock_ctx
144 out_h->status = (ub_ctx->ops->read)(out_buf, in_h->length, in_h->offset);
175 out_h->status = (ub_ctx->ops->write)(in_buf, in_h->length, in_h->offset);
339 int ublock_init(struct ublock_ctx **ub_ctx_out, struct ublock_ops *ops, argument
347 if (!ub_ctx_out || !ops)
366 ub_ctx->ops = ops;
/system/extras/tests/memtest/
H A Dfptest.cpp51 static void endTime(const char *str, double ops) argument
55 printf("Test: %s, %f Mops\n", str, ops / ds / 1e6);
67 // Do ~1 billion ops
103 // Do ~1 billion ops

Completed in 42 milliseconds