Searched refs:bufp (Results 1 – 6 of 6) sorted by relevance
/system/core/libcutils/ |
D | open_memstream.c | 66 char** bufp; /* pointer to buffer pointer */ member 104 stream->bufp, *stream->bufp, newSize)); in ensureCapacity() 105 char* newBuf = (char*) realloc(*stream->bufp, newSize); in ensureCapacity() 109 *stream->bufp = newBuf; in ensureCapacity() 132 memset(*stream->bufp + stream->eof, '\0', in write_memstream() 137 memcpy(*stream->bufp + stream->offset, buf, size); in write_memstream() 148 *(*stream->bufp + stream->offset), stream->offset)); in write_memstream() 149 stream->saved = *(*stream->bufp + stream->offset); in write_memstream() 151 *(*stream->bufp + stream->offset) = '\0'; in write_memstream() 187 *(*stream->bufp + stream->offset) = stream->saved; in seek_memstream() [all …]
|
/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 | 216 char **bufp, int *buflen) in do_one_io() argument 240 p = get_buf(bufp, buflen, file_op->prw_len, 0); in do_one_io() 255 p = get_buf(bufp, buflen, file_op->prw_len, 1); in do_one_io() 270 p = get_buf(bufp, buflen, file_op->rw_len, 0); in do_one_io() 285 p = get_buf(bufp, buflen, file_op->rw_len, 1); in do_one_io() 302 bufp, buflen, op_counts, in do_one_io()
|
D | ioshark_bench.h | 146 char **bufp, int *buflen, u_int64_t *op_counts,
|
/system/core/libcutils/include_vndk/cutils/ |
D | open_memstream.h | 28 FILE* open_memstream(char** bufp, size_t* sizep);
|
/system/core/libcutils/include/cutils/ |
D | open_memstream.h | 28 FILE* open_memstream(char** bufp, size_t* sizep);
|