Home
last modified time | relevance | path

Searched refs:vec (Results 1 – 4 of 4) sorted by relevance

/system/core/liblog/
Dlogd_write.c45 static int __write_to_log_init(log_id_t, struct iovec *vec, size_t nr);
46 static int (*write_to_log)(log_id_t, struct iovec *vec, size_t nr) = __write_to_log_init;
73 static int __write_to_log_null(log_id_t log_fd, struct iovec *vec, size_t nr) in __write_to_log_null() argument
78 static int __write_to_log_kernel(log_id_t log_id, struct iovec *vec, size_t nr) in __write_to_log_kernel() argument
90 ret = log_writev(log_fd, vec, nr); in __write_to_log_kernel()
96 static int __write_to_log_init(log_id_t log_id, struct iovec *vec, size_t nr) in __write_to_log_init() argument
130 return write_to_log(log_id, vec, nr); in __write_to_log_init()
135 struct iovec vec[3]; in __android_log_write() local
153 vec[0].iov_base = (unsigned char *) &prio; in __android_log_write()
154 vec[0].iov_len = 1; in __android_log_write()
[all …]
Dfake_log_device.c449 struct iovec* vec = stackVec; in showLog() local
457 vec = (struct iovec*)malloc(sizeof(struct iovec)*numVecs); in showLog()
458 if (vec == NULL) { in showLog()
462 vec = stackVec; in showLog()
470 struct iovec* v = vec; in showLog()
512 int cc = writev(fileno(stderr), vec, v-vec); in showLog()
530 if (vec != stackVec) in showLog()
531 free(vec); in showLog()
/system/core/sdcard/
Dsdcard.c449 struct iovec vec[2]; in fuse_reply() local
456 vec[0].iov_base = &hdr; in fuse_reply()
457 vec[0].iov_len = sizeof(hdr); in fuse_reply()
458 vec[1].iov_base = data; in fuse_reply()
459 vec[1].iov_len = len; in fuse_reply()
461 res = writev(fuse->fd, vec, 2); in fuse_reply()
/system/core/include/cutils/
Dlog.h455 #define android_writevLog(vec,num) do{}while(0) argument