/freebsd-13-stable/usr.bin/systat/ |
H A D | systat.h | 68 #define NVAL(indx) namelist[(indx)].n_value 69 #define NPTR(indx) (void *)NVAL((indx)) 70 #define NREAD(indx, buf, len) kvm_ckread(NPTR((indx)), (buf), (len))
|
/freebsd-13-stable/usr.bin/fold/ |
H A D | fold.c | 161 int col, i, indx, space; local 164 col = indx = 0; 167 wprintf(L"%.*ls\n", indx, buf); 168 col = indx = 0; 173 i = indx; 181 wmemmove(buf, buf + space, indx - space); 182 indx -= space; 184 for (i = 0; i < indx; i++) 187 wprintf(L"%.*ls\n", indx, buf); 188 col = indx [all...] |
/freebsd-13-stable/bin/pax/ |
H A D | tables.c | 135 u_int indx; local 148 indx = ((unsigned)arcn->sb.st_ino) % L_TAB_SZ; 149 if ((pt = ltab[indx]) != NULL) { 153 ppt = &(ltab[indx]); 199 pt->fow = ltab[indx]; 200 ltab[indx] = pt; 222 u_int indx; local 236 indx = ((unsigned)arcn->sb.st_ino) % L_TAB_SZ; 237 if ((pt = ltab[indx]) == NULL) 244 ppt = &(ltab[indx]); 374 u_int indx; local 513 u_int indx; local 581 u_int indx; local 708 u_int indx; local 959 u_int indx; local 1022 u_int indx; local [all...] |
H A D | sel_subs.c | 106 u_int indx; local 147 indx = ((unsigned)uid) % USR_TB_SZ; 148 if ((pt = usrtb[indx]) != NULL) { 161 pt->fow = usrtb[indx]; 162 usrtb[indx] = pt; 207 u_int indx; local 248 indx = ((unsigned)gid) % GRP_TB_SZ; 249 if ((pt = grptb[indx]) != NULL) { 262 pt->fow = grptb[indx]; 263 grptb[indx] [all...] |
/freebsd-13-stable/usr.bin/procstat/ |
H A D | procstat_rlimit.c | 76 humanize_rlimit(int indx, rlim_t limit) argument 85 rlimit_param[indx].suffix, HN_AUTOSCALE | HN_GETSCALE, HN_DECIMAL); 87 rlimit_param[indx].suffix, HN_AUTOSCALE, HN_DECIMAL);
|
/freebsd-13-stable/lib/libc/db/btree/ |
H A D | btree.h | 128 /* Get the page's BINTERNAL structure at index indx. */ 129 #define GETBINTERNAL(pg, indx) \ 130 ((BINTERNAL *)((char *)(pg) + (pg)->linp[indx])) 155 /* Get the page's RINTERNAL structure at index indx. */ 156 #define GETRINTERNAL(pg, indx) \ 157 ((RINTERNAL *)((char *)(pg) + (pg)->linp[indx])) 178 /* Get the page's BLEAF structure at index indx. */ 179 #define GETBLEAF(pg, indx) \ 180 ((BLEAF *)((char *)(pg) + (pg)->linp[indx])) 210 /* Get the page's RLEAF structure at index indx [all...] |
/freebsd-13-stable/contrib/dialog/ |
H A D | inputstr.c | 523 const int *indx = dlg_index_wchars(string); local 524 int offset = dlg_find_index(indx, limit, *chr_offset); 551 *chr_offset = indx[offset - 1]; 555 *chr_offset = indx[offset + 1]; 563 *chr_offset = indx[limit]; 567 int gap = indx[offset] - indx[offset - 1]; 568 *chr_offset = indx[offset - 1]; 584 ? (indx[offset + 1] - indx[offse 649 const int *indx = dlg_index_wchars(string); local 710 const int *indx = dlg_index_wchars(string); local [all...] |
H A D | buttons.c | 140 const int *indx = dlg_index_wchars(label); local 145 int first = indx[i]; 148 int last = indx[i + 1]; 178 const int *indx = dlg_index_wchars(label); local 195 int first = indx[i]; 196 int last = indx[i + 1];
|
H A D | textbox.c | 405 const int *indx = dlg_index_wchars(line); local 421 (void) waddnstr(obj->text, line + indx[first], indx[last] - indx[first]); 504 const int *indx; local 531 indx = dlg_index_wchars(caption); 533 (void) waddnstr(widget, caption + indx[0], indx[limit] - indx[0]);
|
H A D | editbox.c | 257 const int *indx = dlg_index_wchars(text); local 265 result = indx[n]; 271 result = indx[len]; 675 const int *indx = dlg_index_wchars(THIS_ROW); local 676 int split = indx[chr_offset];
|
/freebsd-13-stable/sys/mips/mips/ |
H A D | machdep.c | 197 int indx; local 200 for (indx = 0; phys_avail[indx + 1] != 0; indx += 2) { 201 vm_paddr_t size1 = phys_avail[indx + 1] - phys_avail[indx]; 204 (uintmax_t)phys_avail[indx], 205 (uintmax_t)phys_avail[indx + 1] - 1,
|
/freebsd-13-stable/sys/opencrypto/ |
H A D | cbc_mac.c | 276 for (size_t indx = 0; indx < AES_CBC_MAC_HASH_LEN; indx++) 277 buf[indx] = ctx->block[indx] ^ s0[indx];
|
/freebsd-13-stable/usr.bin/sort/ |
H A D | file.c | 311 size_t indx = l->count; local 313 if ((l->list == NULL) || (indx >= l->size)) { 322 l->list[indx] = sort_list_item_alloc(); 323 sort_list_item_set(l->list[indx], str); 324 l->memsize += sort_list_item_size(l->list[indx]); 964 file_header_heap_swim(struct file_header **fh, size_t indx) argument 967 if (indx > 0) { 970 parent_index = (indx - 1) >> 1; 972 if (file_header_cmp(fh[indx], fh[parent_index]) < 0) { 974 file_header_swap(fh, indx, parent_inde 984 file_header_heap_sink(struct file_header **fh, size_t indx, size_t size) argument 1158 size_t indx = 0; local 1364 sub_list_swim(struct sort_list **sl, size_t indx) argument 1384 sub_list_sink(struct sort_list **sl, size_t indx, size_t size) argument [all...] |
/freebsd-13-stable/usr.sbin/makefs/ffs/ |
H A D | ffs_alloc.c | 154 ffs_blkpref_ufs1(struct inode *ip, daddr_t lbn, int indx, int32_t *bap) argument 161 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) { 170 if (indx == 0 || bap[indx - 1] == 0) 175 ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + 1); 189 return ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + fs->fs_frag; 193 ffs_blkpref_ufs2(struct inode *ip, daddr_t lbn, int indx, int64_t *bap) argument 200 if (indx % fs->fs_maxbpg == 0 || bap[indx [all...] |
/freebsd-13-stable/sys/kern/ |
H A D | kern_malloc.c | 505 int indx; local 511 indx = flags & (M_WAITOK | M_NOWAIT); 512 if (indx != M_NOWAIT && indx != M_WAITOK) { 516 printf("Bad malloc flags: %x\n", indx); 633 int indx; local 654 indx = kmemsize[size >> KMEM_ZSHIFT]; 655 zone = kmemzones[indx].kz_zone[mtp_get_subzone(mtp)]; 659 malloc_type_zone_allocated(mtp, va == NULL ? 0 : size, indx); 678 int indx; local 701 int indx; local 1035 int indx; local 1179 uint8_t indx; local [all...] |
H A D | kern_sysctl.c | 352 int indx; local 355 indx = 0; 356 while (indx < CTL_MAXNAME && indx >= 0) { 357 if (nodes[indx] == NULL && indx == 0) 358 nodes[indx] = SLIST_FIRST(&sysctl__children); 359 else if (nodes[indx] == NULL) 360 nodes[indx] = SLIST_FIRST(&nodes[indx 2121 int indx; local 2171 int error, indx, lvl; local [all...] |
/freebsd-13-stable/contrib/libarchive/libarchive/ |
H A D | archive_ppmd8.c | 19 #define I2U(indx) (p->Indx2Units[indx]) 117 static void InsertNode(CPpmd8 *p, void *node, unsigned indx) argument 120 ((CPpmd8_Node *)node)->Next = (CPpmd8_Node_Ref)p->FreeList[indx]; 121 ((CPpmd8_Node *)node)->NU = I2U(indx); 122 p->FreeList[indx] = REF(node); 123 p->Stamps[indx]++; 126 static void *RemoveNode(CPpmd8 *p, unsigned indx) argument 128 CPpmd8_Node *node = NODE((CPpmd8_Node_Ref)p->FreeList[indx]); 129 p->FreeList[indx] 204 AllocUnitsRare(CPpmd8 *p, unsigned indx) argument 230 AllocUnits(CPpmd8 *p, unsigned indx) argument 286 unsigned indx = U2I(nu); local [all...] |
H A D | archive_ppmd7.c | 34 #define I2U(indx) (p->Indx2Units[indx]) 152 static void InsertNode(CPpmd7 *p, void *node, unsigned indx) argument 154 *((CPpmd_Void_Ref *)node) = p->FreeList[indx]; 155 p->FreeList[indx] = REF(node); 158 static void *RemoveNode(CPpmd7 *p, unsigned indx) argument 160 CPpmd_Void_Ref *node = (CPpmd_Void_Ref *)Ppmd7_GetPtr(p, p->FreeList[indx]); 161 p->FreeList[indx] = *node; 249 static void *AllocUnitsRare(CPpmd7 *p, unsigned indx) argument 256 if (p->FreeList[indx] ! 275 AllocUnits(CPpmd7 *p, unsigned indx) argument [all...] |
/freebsd-13-stable/sys/powerpc/powerpc/ |
H A D | machdep.c | 210 int indx; local 213 for (indx = 0; phys_avail[indx + 1] != 0; indx += 2) { 215 phys_avail[indx + 1] - phys_avail[indx]; 222 (uintmax_t)phys_avail[indx], 223 (uintmax_t)phys_avail[indx + 1] - 1,
|
/freebsd-13-stable/sys/crypto/aesni/ |
H A D | aesni_ccm.c | 75 int indx = sizeof(*block) - 1; local 78 while (indx > (sizeof(*block) - offset)) { 79 bp[indx] = value & 0xff; 80 indx--;
|
/freebsd-13-stable/sbin/camcontrol/ |
H A D | modeedit.c | 1010 size_t indx, len; local 1035 for (indx = 0; indx < len; indx++) { 1036 printf("%02x%c",mode_pars[indx], 1037 (((indx + 1) % 8) == 0) ? '\n' : ' '); 1047 size_t indx, len; local 1066 for (indx = 0; indx < len; indx [all...] |
/freebsd-13-stable/contrib/elftoolchain/elfcopy/ |
H A D | pe.c | 56 size_t indx; local 73 if (elf_getshstrndx(e, &indx) == 0) 127 if ((name = elf_strptr(e, indx, sh.sh_name)) ==
|
/freebsd-13-stable/usr.bin/m4/ |
H A D | extern.h | 101 extern ptrdiff_t indx(const char *, const char *);
|
/freebsd-13-stable/sys/riscv/riscv/ |
H A D | machdep.c | 149 int indx; local 152 for (indx = 0; phys_avail[indx + 1] != 0; indx += 2) { 155 size = phys_avail[indx + 1] - phys_avail[indx]; 158 (uintmax_t)phys_avail[indx], 159 (uintmax_t)phys_avail[indx + 1] - 1,
|
/freebsd-13-stable/crypto/heimdal/appl/rcp/ |
H A D | rcp.c | 284 int fd, haderr, indx, result; local 287 for (indx = 0; indx < argc; ++indx) { 288 name = argv[indx];
|