/freebsd-11-stable/sys/arm64/arm64/ |
H A D | mem.c | 55 u_int cnt; local 72 cnt = ulmin(iov->iov_len, PAGE_SIZE - (u_int)off); 73 if (cnt == 0) 80 error = uiomove((void *)v, cnt, uio); 84 if (!kernacc((void *)v, cnt, uio->uio_rw == UIO_READ ? 102 error = uiomove((void *)v, cnt, uio); 109 uiomove_fromphys(&marr, off, cnt, uio);
|
/freebsd-11-stable/release/picobsd/tinyware/help/ |
H A D | help.c | 38 static int cnt, crt=-1; variable 51 cnt=0; 78 cnt=0; 110 if (cnt>=crt&&more()) return -1; 112 cnt++; 118 if (++cnt<crt) continue; 123 if (cnt>=crt&&more()) return -1; 125 cnt++; 129 if (cnt>=crt&&more()) return -1; 132 cnt [all...] |
/freebsd-11-stable/contrib/elftoolchain/libdwarf/ |
H A D | dwarf_macinfo.c | 54 Dwarf_Unsigned cnt; local 74 cnt = ms->ms_cnt - i; 75 if (max_count != 0 && cnt > max_count) 76 cnt = max_count; 79 *entry_cnt = cnt;
|
/freebsd-11-stable/lib/libutil/ |
H A D | kinfo_getvmobject.c | 45 int cnt, i; local 66 cnt = 0; 72 cnt++; 75 list = calloc(cnt, sizeof(*list)); 92 *cntp = cnt;
|
/freebsd-11-stable/crypto/openssh/openbsd-compat/ |
H A D | setenv.c | 87 size_t cnt; 111 cnt = P - environ; 112 P = (char **)realloc(lastenv, sizeof(char *) * (cnt + 2)); 116 memcpy(P, environ, cnt * sizeof(char *)); 118 environ[cnt] = str; 119 environ[cnt + 1] = NULL; 166 size_t cnt; local 170 cnt = P - environ; 171 P = (char **)realloc(lastenv, sizeof(char *) * (cnt + 2)); 175 memcpy(P, environ, cnt * sizeo [all...] |
/freebsd-11-stable/lib/libc/gen/ |
H A D | getvfsbyname.c | 52 int cnt, i; local 63 cnt = buflen / sizeof(struct xvfsconf); 64 for (i = 0; i < cnt; i++) {
|
/freebsd-11-stable/contrib/nvi/ex/ |
H A D | ex_move.c | 39 recno_t cnt; local 54 for (cnt = fm1.lno; cnt <= fm2.lno; ++cnt) 55 if (cut_line(sp, cnt, 0, ENTIRE_LINE, &cb)) { 72 cnt = (fm2.lno - fm1.lno) + 1; 73 sp->lno = m.lno + (cnt - 1); 91 recno_t cnt, diff, fl, tl, mfl, mtl; local 142 for (cnt = diff; cnt [all...] |
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | async.c | 112 size_t cnt; local 127 for (cnt = wp->m_len; cnt > 0; cnt--) { 138 cnt = cp - p->async.xbuff; 140 bp = m_get(cnt, MB_ASYNCOUT); 141 memcpy(MBUF_CTOP(bp), p->async.xbuff, cnt); local 142 bp->priv = cnt - oldcnt; 198 size_t cnt; local 210 for (cnt [all...] |
/freebsd-11-stable/crypto/heimdal/appl/telnet/libtelnet/ |
H A D | auth.c | 366 auth_send(unsigned char *data, int cnt) argument 381 printd(data, cnt); printf("\r\n"); 390 auth_send_cnt = cnt > sizeof(_auth_send_data) 392 : cnt; 400 auth_send_cnt = cnt; 461 auth_is(unsigned char *data, int cnt) argument 465 if (cnt < 2) 475 (*ap->is)(ap, data+2, cnt-2); 482 auth_reply(unsigned char *data, int cnt) argument 486 if (cnt < 498 auth_name(unsigned char *data, int cnt) argument 596 auth_printsub(unsigned char *data, size_t cnt, unsigned char *buf, size_t buflen) argument 608 auth_gen_printsub(unsigned char *data, size_t cnt, unsigned char *buf, size_t buflen) argument [all...] |
/freebsd-11-stable/usr.bin/resizewin/ |
H A D | resizewin.c | 66 int ch, cnt, error, fd, ret, zflag; local 112 cnt = 0; 114 ret = read(fd, data + cnt, 1); 132 if (data[cnt] == 'R') 135 cnt++; 136 if (cnt == sizeof(data) - 2) {
|
/freebsd-11-stable/contrib/telnet/libtelnet/ |
H A D | auth.c | 375 auth_send(unsigned char *data, int cnt) argument 390 printd(data, cnt); printf("\r\n"); 399 auth_send_cnt = (size_t)cnt > sizeof(_auth_send_data) 401 : cnt; 409 auth_send_cnt = cnt; 461 auth_is(unsigned char *data, int cnt) argument 465 if (cnt < 2) 475 (*ap->is)(ap, data+2, cnt-2); 482 auth_reply(unsigned char *data, int cnt) argument 486 if (cnt < 498 auth_name(unsigned char *data, int cnt) argument 589 auth_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument 600 auth_gen_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument [all...] |
/freebsd-11-stable/sys/compat/ndis/ |
H A D | subr_hal.c | 154 WRITE_PORT_BUFFER_ULONG(port, val, cnt) 157 uint32_t cnt; 160 (bus_size_t)port, val, cnt); 164 WRITE_PORT_BUFFER_USHORT(port, val, cnt) 167 uint32_t cnt; 170 (bus_size_t)port, val, cnt); 174 WRITE_PORT_BUFFER_UCHAR(port, val, cnt) 177 uint32_t cnt; 180 (bus_size_t)port, val, cnt); 205 READ_PORT_BUFFER_ULONG(port, val, cnt) [all...] |
/freebsd-11-stable/contrib/ofed/librdmacm/examples/ |
H A D | common.c | 104 void cnt_str(char *str, size_t ssize, long long cnt) argument 106 if (cnt >= 1000000000) 107 snprintf(str, ssize, "%lldb", cnt / 1000000000); 108 else if (cnt >= 1000000) 109 snprintf(str, ssize, "%lldm", cnt / 1000000); 110 else if (cnt >= 1000) 111 snprintf(str, ssize, "%lldk", cnt / 1000); 113 snprintf(str, ssize, "%lld", cnt);
|
/freebsd-11-stable/sys/mips/mips/ |
H A D | mem.c | 83 vm_size_t cnt; local 85 cnt = 0; 102 cnt = PAGE_SIZE - ((vm_offset_t)iov->iov_base & 104 cnt = min(cnt, PAGE_SIZE - off); 105 cnt = min(cnt, iov->iov_len); 109 error = uiomove_fromphys(&marr, off, cnt, uio);
|
/freebsd-11-stable/usr.bin/head/ |
H A D | head.c | 133 head(FILE *fp, int cnt) argument 138 while (cnt && (cp = fgetln(fp, &readlen)) != NULL) { 142 cnt--; 147 head_bytes(FILE *fp, off_t cnt) argument 152 while (cnt) { 153 if ((uintmax_t)cnt < sizeof(buf)) 154 readlen = cnt; 162 cnt -= readlen;
|
/freebsd-11-stable/usr.bin/tr/ |
H A D | str.c | 100 if (s->cnt-- == 0) { 107 if (s->cnt-- == 0) { 115 s->cnt++; 124 if ((ch = s->set[s->cnt++]) == OOBCH) { 179 s->cnt = 0; 234 s->cnt = 0; 244 int n, cnt, *p; local 268 s->cnt = stopval - s->lastch + 1; 279 for (cnt = 0; cnt < NCHARS_S 345 int ch, cnt, val; local [all...] |
/freebsd-11-stable/lib/libufs/ |
H A D | block.c | 54 ssize_t cnt; local 72 cnt = pread(disk->d_fd, p2, size, (off_t)(blockno * disk->d_bsize)); 73 if (cnt == -1) { 77 if (cnt == 0) { 81 if ((size_t)cnt != size) { 89 return (cnt); 100 ssize_t cnt; local 127 cnt = pwrite(disk->d_fd, data, size, (off_t)(blockno * disk->d_bsize)); 130 if (cnt == -1) { 134 if ((size_t)cnt ! [all...] |
/freebsd-11-stable/contrib/ncurses/form/ |
H A D | fty_enum.c | 76 int cnt = 0; local 93 cnt++; 94 argp->count = cnt; 96 if (cnt > 0) 102 argp->kwds = typeMalloc(char *, cnt + 1); 201 int cnt = 0; local 206 cnt++; 208 assert(cnt == ap->count); 348 int cnt = args->count; local 353 while (cnt 384 int cnt = args->count; local [all...] |
/freebsd-11-stable/bin/stty/ |
H A D | print.c | 57 int cnt, ispeed, ospeed; local 60 cnt = 0; 66 cnt += printf("slip disc; "); 69 cnt += printf("ppp disc; "); 72 cnt += printf("#%d disc; ", ldisc); 81 cnt += 84 cnt += printf("speed %d baud;", ispeed); 86 cnt += printf(" %d rows; %d columns;", wp->ws_row, wp->ws_col); 87 if (cnt) 200 for (p = cchars1, cnt [all...] |
/freebsd-11-stable/usr.bin/pr/ |
H A D | pr.h | 73 int cnt; /* char count */ member in struct:vcol
|
/freebsd-11-stable/contrib/ofed/librdmacm/ |
H A D | cma.h | 55 _Atomic(int) cnt; member in struct:__anon3875 60 atomic_store(&lock->cnt, 0); 68 if (atomic_fetch_add(&lock->cnt, 1) > 0) 73 if (atomic_fetch_sub(&lock->cnt, 1) > 1)
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_lfstack.h | 38 u64 cnt = (cmp & kCounterMask) + kCounterInc; local 39 u64 xch = (u64)(uptr)p | cnt; 54 u64 cnt = (cmp & kCounterMask); local 55 u64 xch = (u64)(uptr)nxt | cnt;
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_stack_trace.h | 27 void Init(const uptr *pcs, uptr cnt, uptr extra_top_pc = 0);
|
H A D | tsan_stack_trace.cpp | 38 void VarSizeStackTrace::Init(const uptr *pcs, uptr cnt, uptr extra_top_pc) { argument 39 ResizeBuffer(cnt + !!extra_top_pc); 40 internal_memcpy(trace_buffer, pcs, cnt * sizeof(trace_buffer[0])); 42 trace_buffer[cnt] = extra_top_pc;
|
/freebsd-11-stable/release/picobsd/tinyware/vm/ |
H A D | vm.c | 41 int cnt[CNT]; local 48 len=sizeof(cnt); 49 i = sysctlbyname("hw.intrcnt", &cnt, &len, NULL, 0); 66 if (cnt[i] >0) { 67 printf("%-12s %20lu %10lu\n", namep[i], cnt[i], cnt[i]/uptime); 68 inttotal += cnt[i];
|