/system/extras/ioshark/ |
D | ioshark_bench_mmap.c | 107 char **bufp, int *buflen, u_int64_t *op_counts, in mmap_do_io() argument 115 p = get_buf(bufp, buflen, len, 0); in mmap_do_io() 131 p = get_buf(bufp, buflen, len, 1); in mmap_do_io() 146 p = get_buf(bufp, buflen, len, 0); in mmap_do_io() 167 char **bufp, int *buflen, u_int64_t *op_counts, in ioshark_handle_mmap() argument 189 bufp, buflen, op_counts, in ioshark_handle_mmap() 198 mmap_do_io(db_node, prot, offset, len, bufp, buflen, in ioshark_handle_mmap()
|
D | ioshark_bench.c | 217 char **bufp, int *buflen) in do_one_io() argument 241 p = get_buf(bufp, buflen, file_op->prw_len, 0); in do_one_io() 256 p = get_buf(bufp, buflen, file_op->prw_len, 1); in do_one_io() 271 p = get_buf(bufp, buflen, file_op->rw_len, 0); in do_one_io() 286 p = get_buf(bufp, buflen, file_op->rw_len, 1); in do_one_io() 303 bufp, buflen, op_counts, in do_one_io() 403 int buflen = 0; in do_io() local 477 op_counts, &rw_bytes, &buf, &buflen); in do_io()
|
D | ioshark_bench.h | 140 char *get_buf(char **buf, int *buflen, int len, int do_fill); 146 char **bufp, int *buflen, u_int64_t *op_counts,
|
D | ioshark_bench_subr.c | 239 get_buf(char **buf, int *buflen, int len, int do_fill __attribute__((unused))) in get_buf() argument 249 if (*buflen < len) { in get_buf() 250 *buflen = MAX(MINBUFLEN, len * 2); in get_buf() 253 *buf = malloc(*buflen); in get_buf() 259 count = *buflen / sizeof(u_int32_t); in get_buf() 275 int buflen = 0; in create_file() local 284 buf = get_buf(&buf, &buflen, n, 1); in create_file()
|
/system/core/libkeyutils/ |
D | keyutils.cpp | 67 long keyctl_get_security(key_serial_t id, char* buffer, size_t buflen) { in keyctl_get_security() argument 68 return syscall(__NR_keyctl, KEYCTL_GET_SECURITY, id, buffer, buflen); in keyctl_get_security()
|
/system/core/libkeyutils/include/ |
D | keyutils.h | 56 long keyctl_get_security(key_serial_t key, char* buffer, size_t buflen);
|
/system/logging/logcat/tests/ |
D | logcat_test.cpp | 218 static char* fgetLongTime(char* buffer, size_t buflen, FILE* fp) { in fgetLongTime() argument 219 while (fgets(buffer, buflen, fp)) { in fgetLongTime()
|
/system/netd/tests/ |
D | binder_test.cpp | 859 int netmaskToPrefixLength(const uint8_t *buf, size_t buflen) { in netmaskToPrefixLength() argument 864 for (unsigned int i = 0; i < buflen; i++) { in netmaskToPrefixLength()
|