/system/core/toolbox/upstream-netbsd/usr.bin/grep/ |
D | file.c | 76 ssize_t nr = -1; in grep_refill() local 84 nr = gzread(gzbufdesc, buffer, MAXBUFSIZ); in grep_refill() 85 if (nr == -1) in grep_refill() 91 nr = BZ2_bzRead(&bzerr, bzbufdesc, buffer, MAXBUFSIZ); in grep_refill() 110 nr = read(f->fd, buffer, MAXBUFSIZ); in grep_refill() 114 nr = -1; in grep_refill() 116 if (nr == -1) in grep_refill() 120 if (nr == -1) { in grep_refill() 121 nr = read(f->fd, buffer, MAXBUFSIZ); in grep_refill() 124 if (nr < 0) in grep_refill() [all …]
|
/system/extras/simpleperf/nonlinux_support/include/linux/ |
D | ioctl.h | 17 #define __IO(type, nr) argument 18 #define __IOR(type, nr, size) argument 19 #define __IOW(type, nr, size) argument
|
/system/core/liblog/ |
D | fake_writer.cpp | 30 static int fakeWrite(log_id_t log_id, struct timespec* ts, struct iovec* vec, size_t nr); 74 static int fakeWrite(log_id_t log_id, struct timespec*, struct iovec* vec, size_t nr) { in fakeWrite() argument 84 for (i = 0; i < nr; ++i) { in fakeWrite() 93 ret = TEMP_FAILURE_RETRY(fakeLogWritev(logFd, vec, nr)); in fakeWrite()
|
D | logger_write.cpp | 40 static int __write_to_log_init(log_id_t, struct iovec* vec, size_t nr); 41 static int (*write_to_log)(log_id_t, struct iovec* vec, size_t nr) = __write_to_log_init; 239 static int __write_to_log_daemon(log_id_t log_id, struct iovec* vec, size_t nr) { in __write_to_log_daemon() argument 245 for (len = i = 0; i < nr; ++i) { in __write_to_log_daemon() 362 retval = (*node->write)(log_id, &ts, vec, nr); in __write_to_log_daemon() 371 (void)(*node->write)(log_id, &ts, vec, nr); in __write_to_log_daemon() 379 static int __write_to_log_init(log_id_t log_id, struct iovec* vec, size_t nr) { in __write_to_log_init() argument 389 __write_to_log_daemon(log_id, vec, nr); in __write_to_log_init() 400 ret = write_to_log(log_id, vec, nr); in __write_to_log_init() 629 static int __write_to_log_null(log_id_t log_id, struct iovec* vec, size_t nr) { in __write_to_log_null() argument [all …]
|
D | stderr_write.cpp | 48 static int stderrWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr); 149 static int stderrWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr) { in stderrWrite() argument 158 if (!vec || !nr) return -EINVAL; in stderrWrite() 173 for (i = 0; i < nr; ++i) { in stderrWrite()
|
D | pmsg_writer.cpp | 41 static int pmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr); 98 static int pmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr) { in pmsgWrite() argument 100 struct iovec newVec[nr + headerLength]; in pmsgWrite() 155 for (payloadSize = 0, i = headerLength; i < nr + headerLength; i++) { in pmsgWrite()
|
D | logd_writer.cpp | 49 static int logdWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr); 126 static int logdWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr) { in logdWrite() argument 130 struct iovec newVec[nr + headerLength]; in logdWrite() 221 for (payloadSize = 0, i = headerLength; i < nr + headerLength; i++) { in logdWrite()
|
D | pmsg_reader.cpp | 452 unsigned long long nr = 0; in __android_log_pmsg_file_read() local 455 nr = strtoull(cp, NULL, 10); in __android_log_pmsg_file_read() 457 if (nr != nl) { in __android_log_pmsg_file_read() 458 compare = (nl > nr) ? 1 : -1; in __android_log_pmsg_file_read()
|
D | logger.h | 50 size_t nr);
|
/system/core/libasyncio/ |
D | AsyncIO.cpp | 23 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/ |
D | stats_event_list.c | 43 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()
|
D | statsd_writer.c | 82 static int statsdWrite(struct timespec* ts, struct iovec* vec, size_t nr); 175 static int statsdWrite(struct timespec* ts, struct iovec* vec, size_t nr) { in statsdWrite() argument 179 struct iovec newVec[nr + headerLength]; in statsdWrite() 245 for (payloadSize = 0, i = headerLength; i < nr + headerLength; i++) { in statsdWrite()
|
D | statsd_writer.h | 40 int (*write)(struct timespec* ts, struct iovec* vec, size_t nr);
|
/system/core/init/ |
D | epoll.cpp | 78 auto nr = TEMP_FAILURE_RETRY(epoll_wait(epoll_fd_, &ev, 1, timeout_ms)); in Wait() local 79 if (nr == -1) { in Wait() 81 } else if (nr == 1) { in Wait()
|
D | uevent_listener.cpp | 205 int nr = poll(&ufd, 1, timeout_ms); in Poll() local 206 if (nr == 0) return; in Poll() 207 if (nr < 0) { in Poll()
|
D | subcontext.cpp | 172 int nr = TEMP_FAILURE_RETRY(poll(ufd, arraysize(ufd), -1)); in MainLoop() local 173 if (nr == 0) continue; in MainLoop() 174 if (nr < 0) { in MainLoop()
|
D | property_service.cpp | 352 int nr = poll(ufds, 1, *timeout_ms); in PollIn() local 359 if (nr > 0) { in PollIn() 363 if (nr == 0) { in PollIn() 368 if (nr < 0 && errno != EINTR) { in PollIn()
|
/system/core/libasyncio/include/asyncio/ |
D | AsyncIO.h | 36 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/ |
D | Profiler.h | 84 uint64_t nr; variable 93 lhs.nr -= rhs.nr; 190 outCounters->nr = counters.nr; in readCounters()
|
/system/extras/simpleperf/scripts/inferno/ |
D | data_types.py | 41 for j in range(callchain.nr): 42 entry = callchain.entries[callchain.nr - j - 1]
|
/system/extras/simpleperf/scripts/ |
D | report_sample.py | 53 for i in range(callchain.nr):
|
/system/extras/f2fs_utils/ |
D | f2fs_sparseblock.c | 475 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/include/ |
D | stats_event_list.h | 31 extern int (*write_to_statsd)(struct iovec* vec, size_t nr);
|
/system/core/libmeminfo/testdata1/ |
D | smaps | 3277 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/ |
D | liblog_benchmark.cpp | 216 static const unsigned nr = 1; in BM_pmsg_short() local 218 struct iovec newVec[nr + header_length]; in BM_pmsg_short() 239 writev(pstore_fd, newVec, nr); in BM_pmsg_short()
|