Home
last modified time | relevance | path

Searched refs:nr (Results 1 – 25 of 32) sorted by relevance

12

/system/core/libstats/socket/
Dstats_buffer_writer.c30 static int __write_to_statsd_init(struct iovec* vec, size_t nr);
31 static int (*__write_to_statsd)(struct iovec* vec, size_t nr) = __write_to_statsd_init;
72 static int __write_to_stats_daemon(struct iovec* vec, size_t nr) { in __write_to_stats_daemon() argument
77 for (len = i = 0; i < nr; ++i) { in __write_to_stats_daemon()
94 int ret = (int)(*statsdLoggerWrite.write)(&ts, vec, nr); in __write_to_stats_daemon()
109 static int __write_to_statsd_init(struct iovec* vec, size_t nr) { in __write_to_statsd_init() argument
127 ret = __write_to_statsd(vec, nr); in __write_to_statsd_init()
Dstatsd_writer.c63 static int statsdWrite(struct timespec* ts, struct iovec* vec, size_t nr);
156 static int statsdWrite(struct timespec* ts, struct iovec* vec, size_t nr) { in statsdWrite() argument
160 struct iovec newVec[nr + headerLength]; in statsdWrite()
226 for (payloadSize = 0, i = headerLength; i < nr + headerLength; i++) { in statsdWrite()
Dstatsd_writer.h40 int (*write)(struct timespec* ts, struct iovec* vec, size_t nr);
/system/extras/simpleperf/nonlinux_support/include/linux/
Dioctl.h17 #define __IO(type, nr) argument
18 #define __IOR(type, nr, size) argument
19 #define __IOW(type, nr, size) argument
/system/core/libasyncio/
DAsyncIO.cpp23 int io_setup(unsigned nr, aio_context_t* ctxp) { in io_setup() argument
24 return syscall(__NR_io_setup, nr, ctxp); in io_setup()
31 int io_submit(aio_context_t ctx, long nr, iocb** iocbpp) { in io_submit() argument
32 return syscall(__NR_io_submit, ctx, nr, iocbpp); in io_submit()
/system/core/libstats/push_compat/
Dstats_event_list.c43 static int __write_to_statsd_init(struct iovec* vec, size_t nr);
44 int (*write_to_statsd)(struct iovec* vec, size_t nr) = __write_to_statsd_init;
147 static int __write_to_stats_daemon(struct iovec* vec, size_t nr) { in __write_to_stats_daemon() argument
152 for (len = i = 0; i < nr; ++i) { in __write_to_stats_daemon()
169 int ret = (int)(*statsdLoggerWrite.write)(&ts, vec, nr); in __write_to_stats_daemon()
174 static int __write_to_statsd_init(struct iovec* vec, size_t nr) { in __write_to_statsd_init() argument
192 ret = write_to_statsd(vec, nr); in __write_to_statsd_init()
Dstatsd_writer.c63 static int statsdWrite(struct timespec* ts, struct iovec* vec, size_t nr);
156 static int statsdWrite(struct timespec* ts, struct iovec* vec, size_t nr) { in statsdWrite() argument
160 struct iovec newVec[nr + headerLength]; in statsdWrite()
226 for (payloadSize = 0, i = headerLength; i < nr + headerLength; i++) { in statsdWrite()
Dstatsd_writer.h40 int (*write)(struct timespec* ts, struct iovec* vec, size_t nr);
/system/core/libasyncio/include/asyncio/
DAsyncIO.h36 int io_setup(unsigned nr, aio_context_t* ctxp);
38 int io_submit(aio_context_t ctx, long nr, struct iocb** iocbpp);
/system/extras/tests/icachetest/
DProfiler.h84 uint64_t nr; variable
93 lhs.nr -= rhs.nr;
190 outCounters->nr = counters.nr; in readCounters()
/system/core/liblog/
Dlogd_writer.cpp88 int LogdWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr) { in LogdWrite() argument
91 struct iovec newVec[nr + headerLength]; in LogdWrite()
158 for (payloadSize = 0, i = headerLength; i < nr + headerLength; i++) { in LogdWrite()
Dlogd_writer.h23 int LogdWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr);
Dpmsg_writer.h23 int PmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr);
Dpmsg_writer.cpp62 int PmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr) { in PmsgWrite() argument
64 struct iovec newVec[nr + headerLength]; in PmsgWrite()
127 for (payloadSize = 0, i = headerLength; i < nr + headerLength; i++) { in PmsgWrite()
Dpmsg_reader.cpp334 unsigned long long nr = 0; in __android_log_pmsg_file_read() local
337 nr = strtoull(cp, NULL, 10); in __android_log_pmsg_file_read()
339 if (nr != nl) { in __android_log_pmsg_file_read()
340 compare = (nl > nr) ? 1 : -1; in __android_log_pmsg_file_read()
Dlogger_write.cpp187 static int write_to_log(log_id_t log_id, struct iovec* vec, size_t nr) { in write_to_log() argument
216 ret = LogdWrite(log_id, &ts, vec, nr); in write_to_log()
217 PmsgWrite(log_id, &ts, vec, nr); in write_to_log()
/system/core/init/
Duevent_listener.cpp206 int nr = poll(&ufd, 1, timeout_ms); in Poll() local
207 if (nr == 0) return; in Poll()
208 if (nr < 0) { in Poll()
Dsubcontext.cpp125 int nr = TEMP_FAILURE_RETRY(poll(ufd, arraysize(ufd), -1)); in MainLoop() local
126 if (nr == 0) continue; in MainLoop()
127 if (nr < 0) { in MainLoop()
Dproperty_service.cpp316 int nr = poll(ufds, 1, *timeout_ms); in PollIn() local
323 if (nr > 0) { in PollIn()
327 if (nr == 0) { in PollIn()
332 if (nr < 0 && errno != EINTR) { in PollIn()
/system/extras/simpleperf/scripts/inferno/
Ddata_types.py41 for j in range(callchain.nr):
42 entry = callchain.entries[callchain.nr - j - 1]
/system/extras/simpleperf/scripts/
Dreport_sample.py53 for i in range(callchain.nr):
/system/extras/f2fs_utils/
Df2fs_sparseblock.c475 int f2fs_test_bit(unsigned int nr, const char *p) in f2fs_test_bit() argument
480 addr += (nr >> 3); in f2fs_test_bit()
481 mask = 1 << (7 - (nr & 0x07)); in f2fs_test_bit()
/system/core/libstats/push_compat/include/
Dstats_event_list.h30 extern int (*write_to_statsd)(struct iovec* vec, size_t nr);
/system/memory/libmeminfo/testdata1/
Dsmaps3277 VmFlags: mr mw me nr
3297 VmFlags: mr mw me nr
3317 VmFlags: rd wr mr mw me nr
3398 VmFlags: mr mw me nr
3418 VmFlags: mr mw me nr
3438 VmFlags: rd wr mr mw me nr
3480 VmFlags: mr mw me nr
3500 VmFlags: mr mw me nr
3520 VmFlags: rd wr mr mw me nr
3562 VmFlags: mr mw me nr
[all …]
/system/core/liblog/tests/
Dliblog_benchmark.cpp201 static const unsigned nr = 1; in BM_pmsg_short() local
203 struct iovec newVec[nr + header_length]; in BM_pmsg_short()
224 writev(pstore_fd, newVec, nr); in BM_pmsg_short()

12