/freebsd-12-stable/usr.bin/lsvfs/ |
H A D | lsvfs.c | 44 int cnt, rv = 0, i; local 70 cnt = buflen / sizeof(struct xvfsconf); 72 for (i = 0; i < cnt; i++) {
|
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_stacktrace.cpp | 33 void BufferedStackTrace::Init(const uptr *pcs, uptr cnt, uptr extra_top_pc) { argument 34 size = cnt + !!extra_top_pc; 36 internal_memcpy(trace_buffer, pcs, cnt * sizeof(trace_buffer[0])); 38 trace_buffer[cnt] = extra_top_pc;
|
H A D | sanitizer_common_interceptors_netbsd_compat.inc | 71 int cnt = REAL(__getmntinfo13)(mntbufp, flags); 72 if (cnt > 0 && mntbufp) { 75 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *mntbufp, cnt * struct_statvfs90_sz); 77 return cnt;
|
/freebsd-12-stable/contrib/netbsd-tests/kernel/tty/ |
H A D | t_pr.c | 49 ssize_t cnt; local 55 cnt = rump_sys_read(to, buf, sizeof(buf)); 56 if (cnt < (ssize_t)strlen(msg)) { 57 printf("short message read: %zd chars: \"%s\"\n", cnt, buf);
|
/freebsd-12-stable/contrib/telnet/libtelnet/ |
H A D | sra.c | 155 sra_is(Authenticator *ap, unsigned char *data, int cnt) argument 160 if (cnt-- < 1) 165 if (cnt < HEXKEYBYTES) { 187 if (cnt > 512) /* Attempted buffer overflow */ 189 memcpy(xuser,data,cnt); 190 xuser[cnt] = '\0'; 198 if (cnt > 512) /* Attempted buffer overflow */ 201 memcpy(xpass,data,cnt); 202 xpass[cnt] = '\0'; 246 sra_reply(Authenticator *ap, unsigned char *data, int cnt) argument 358 sra_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument [all...] |
/freebsd-12-stable/contrib/gdb/gdb/config/i386/ |
H A D | nm-i386sco5.h | 61 #define TARGET_CAN_USE_HARDWARE_WATCHPOINT(type, cnt, ot) 1
|
/freebsd-12-stable/sys/contrib/ngatm/netnatm/msg/ |
H A D | genmsgc.awk | 90 for(i = 0; i < cnt; i++) { 119 for(i = 0; i < cnt; i++) { 171 for(i = 0; i < cnt; i++) { 211 for (i = 0; i < cnt; i++) {
|
/freebsd-12-stable/sys/kern/ |
H A D | kern_syscalls.c | 69 u_int32_t cnt, oldcnt; local 75 cnt = oldcnt | SY_THR_DRAINING; 76 } while (atomic_cmpset_acq_32(&se->sy_thrcnt, oldcnt, cnt) == 0); 85 u_int32_t cnt, oldcnt; local 91 cnt = oldcnt + SY_THR_INCR; 92 } while (atomic_cmpset_acq_32(&se->sy_thrcnt, oldcnt, cnt) == 0); 99 u_int32_t cnt, oldcnt; local 103 cnt = oldcnt - SY_THR_INCR; 104 } while (atomic_cmpset_rel_32(&se->sy_thrcnt, oldcnt, cnt) == 0);
|
H A D | kern_clock.c | 427 hardclock(int cnt, int usermode) argument 439 *t += cnt; 460 tick * cnt) == 0) 467 tick * cnt) == 0) 628 statclock(int cnt, int usermode) argument 646 td->td_uticks += cnt; 648 cp_time[CP_NICE] += cnt; 650 cp_time[CP_USER] += cnt; 666 td->td_iticks += cnt; 667 cp_time[CP_INTR] += cnt; 713 profclock(int cnt, int usermode, uintfptr_t pc) argument [all...] |
/freebsd-12-stable/sys/sys/ |
H A D | vmmeter.h | 159 vm_wire_add(int cnt) argument 162 VM_CNT_ADD(v_wire_count, cnt); 166 vm_wire_sub(int cnt) argument 169 VM_CNT_ADD(v_wire_count, -cnt);
|
/freebsd-12-stable/usr.bin/calendar/ |
H A D | pom.c | 109 int cnt, d; local 139 for (cnt = EPOCH; cnt < GMT.tm_year; ++cnt) 140 yeardays += isleap(1900 + cnt) ? DAYSPERLEAPYEAR : DAYSPERYEAR; 149 for (cnt = EPOCH; cnt < GMT.tm_year; ++cnt) 150 yeardays += isleap(1900 + cnt) ? DAYSPERLEAPYEAR : DAYSPERYEAR;
|
/freebsd-12-stable/contrib/llvm-project/lld/ELF/ |
H A D | ICF.cpp | 129 int cnt = 0; member in class:lld::elf::__anon3796::ICF 404 ++cnt; 408 current = cnt % 2; 409 next = (cnt + 1) % 2; 429 ++cnt; 435 static void combineRelocHashes(unsigned cnt, InputSection *isec, argument 437 uint32_t hash = isec->eqClass[cnt % 2]; 442 hash += relSec->eqClass[cnt % 2]; 445 isec->eqClass[(cnt + 1) % 2] = hash | (1U << 31); 473 for (unsigned cnt [all...] |
/freebsd-12-stable/contrib/unbound/compat/ |
H A D | getentropy_linux.c | 217 int fd, cnt, flags; local 244 if (ioctl(fd, RNDGETENTCNT, &cnt) == -1) { 337 static int cnt; local 364 cnt += (int)tv.tv_sec; 365 cnt += (int)tv.tv_usec; 431 mo = cnt % 434 cnt += (int)((long)(mm[m].p) 444 cnt += (int)ts.tv_nsec; 450 cnt += (int)ru.ru_utime.tv_sec; 451 cnt [all...] |
/freebsd-12-stable/contrib/nvi/common/ |
H A D | msg.c | 446 int first, cnt; local 477 for (cnt = 0, total = 0; cnt < ARSIZE(action); ++cnt) 478 total += sp->rptlines[cnt]; 482 for (cnt = 0; cnt < ARSIZE(action); ++cnt) 483 sp->rptlines[cnt] = 0; 490 ap = action, cnt 546 int cnt, needsep; local [all...] |
/freebsd-12-stable/contrib/ofed/libibumad/ |
H A D | sysfs.c | 164 int cnt, max; local 186 cnt = 0; 239 if (cnt == max) { 249 names[cnt++] = dp; 252 if (cnt && compar) 253 qsort(names, cnt, sizeof(struct dirent *), 258 return (cnt); 262 for (i = 0; i < cnt; i++)
|
/freebsd-12-stable/contrib/elftoolchain/libdwarf/ |
H A D | libdwarf_macinfo.c | 35 Dwarf_Macro_Details *dmd, Dwarf_Unsigned *cnt, Dwarf_Error *error) 102 if (cnt != NULL) 103 *cnt = i; 128 Dwarf_Unsigned cnt; local 141 ret = _dwarf_macinfo_parse(dbg, ds, &offset, NULL, &cnt, error); 145 if (cnt == 0) 155 if ((ms->ms_mdlist = calloc(cnt, sizeof(Dwarf_Macro_Details))) 162 ms->ms_cnt = cnt; 34 _dwarf_macinfo_parse(Dwarf_Debug dbg, Dwarf_Section *ds, uint64_t *off, Dwarf_Macro_Details *dmd, Dwarf_Unsigned *cnt, Dwarf_Error *error) argument
|
/freebsd-12-stable/sys/mips/atheros/ar531x/ |
H A D | ar5315_spi.c | 159 uint32_t ctl, cnt, op, rdat, cs; local 206 cnt = 1; 208 ctl |= (cnt << ARSPI_CTL_TXCNT_SHIFT); 210 cnt = 24; 213 cnt = cmd->rx_cmd_sz; 214 ctl |= (cnt << ARSPI_CTL_RXCNT_SHIFT); 233 for(i = 0; i <= (cnt - 1) / 4; ++i) { 244 if(i * 4 + j + 2 == cnt)
|
/freebsd-12-stable/usr.sbin/ctm/ctm/ |
H A D | ctm_pass2.c | 27 int i,j,sep,cnt,fdesc; local 56 cnt = -1; 186 GETBYTECNT(cnt,sep); 189 if(cnt < 0) WRONG 190 GETDATA(trash,cnt); 224 j = ctm_edit(trash,cnt,name,p); 269 if (cnt != fwrite(trash,1,cnt,ed)) {
|
/freebsd-12-stable/usr.sbin/ypldap/ |
H A D | ypldap_dns.c | 130 int n, cnt; local 172 if ((cnt = host_dns(name, &hn)) == -1) 176 cnt * sizeof(struct sockaddr_storage)); 179 if (cnt > 0) { 210 int error, cnt = 0; local 227 for (res = res0; res && cnt < MAX_SERVERS_DNS; res = res->ai_next) { 247 cnt++; 250 return (cnt);
|
/freebsd-12-stable/crypto/heimdal/appl/telnet/libtelnet/ |
H A D | spx.c | 312 spx_is(ap, data, cnt) 315 int cnt; 321 if (cnt-- < 1) 325 input_token.length = cnt; 415 spx_reply(ap, data, cnt) 418 int cnt; 422 if (cnt-- < 1) 426 if (cnt > 0) { 428 cnt, data); 440 input_token.length = cnt; 533 spx_printsub(unsigned char *data, size_t cnt, unsigned char *buf, size_t buflen) argument [all...] |
/freebsd-12-stable/contrib/mandoc/ |
H A D | mandocd.c | 65 int cnt; local 110 for (cnt = 0; cnt < NUM_FDS; cnt++) 111 fds[cnt] = *walk++;
|
/freebsd-12-stable/contrib/sendmail/libsm/ |
H A D | t-shm.c | 159 int cnt = 0; local 175 while (*shm == 1 && cnt++ < MAX_CNT) 177 SM_TEST(cnt <= MAX_CNT); 187 while (*shm != 1 && cnt++ < MAX_CNT) 189 SM_TEST(cnt <= MAX_CNT);
|
/freebsd-12-stable/contrib/libpcap/ |
H A D | pcap-enet.c | 48 readloop(int cnt, int if_fd, struct bpf_program *fp, printfunc printit) argument 80 if (cnt >= 0 && --cnt < 0) 93 if (cnt >= 0 && --cnt < 0)
|
/freebsd-12-stable/lib/libc/stdlib/ |
H A D | heapsort.c | 165 size_t cnt, i, j, l; local 187 CREATE(l, nmemb, i, j, t, p, size, cnt, tmp); 195 COPY(k, base + nmemb * size, cnt, size, tmp1, tmp2); 196 COPY(base + nmemb * size, base + size, cnt, size, tmp1, tmp2); 198 SELECT(i, j, nmemb, t, p, size, k, cnt, tmp1, tmp2);
|
/freebsd-12-stable/tests/sys/cddl/zfs/tests/acl/nontrivial/ |
H A D | zfs_acl_chmod_rwx_002_pos.ksh | 82 eval typeset -i cnt=\${#${arr_name}[@]} 83 (( ind = $RANDOM % cnt )) 189 typeset -i cnt 199 (( cnt = ($RANDOM % ${#a_access[@]}) + 1 )) 200 acl_access=$(form_random_str a_access $cnt '/')
|