indx
u_int indx;
indx = ((unsigned)uid) % USR_TB_SZ;
if ((pt = usrtb[indx]) != NULL) {
pt->fow = usrtb[indx];
usrtb[indx] = pt;
u_int indx;
indx = ((unsigned)gid) % GRP_TB_SZ;
if ((pt = grptb[indx]) != NULL) {
pt->fow = grptb[indx];
grptb[indx] = pt;
u_int indx;
indx = ((unsigned)ino) % A_TAB_SZ;
if ((pt = atab[indx]) == NULL)
ppt = &(atab[indx]);
u_int indx;
indx = ((unsigned)arcn->sb.st_ino) % L_TAB_SZ;
if ((pt = ltab[indx]) != NULL) {
ppt = &(ltab[indx]);
pt->fow = ltab[indx];
ltab[indx] = pt;
u_int indx;
indx = ((unsigned)arcn->sb.st_ino) % L_TAB_SZ;
if ((pt = ltab[indx]) == NULL)
ppt = &(ltab[indx]);
u_int indx;
indx = st_hash(arcn->name, namelen, F_TAB_SZ);
if ((pt = ftab[indx]) != NULL) {
pt->fow = ftab[indx];
ftab[indx] = pt;
u_int indx;
indx = st_hash(oname, onamelen, N_TAB_SZ);
if ((pt = ntab[indx]) != NULL) {
pt->fow = ntab[indx];
ntab[indx] = pt;
u_int indx;
indx = st_hash(oname, *onamelen, N_TAB_SZ);
if ((pt = ntab[indx]) == NULL)
u_int indx;
indx = ((unsigned)dev) % D_TAB_SZ;
if ((pt = dtab[indx]) != NULL) {
pt->fow = dtab[indx];
dtab[indx] = pt;
u_int indx;
indx = ((unsigned)ino) % A_TAB_SZ;
if ((pt = atab[indx]) != NULL) {
pt->fow = atab[indx];
atab[indx] = pt;
int fd = -1, haderr, indx;
for (indx = 0; indx < argc; ++indx) {
name = argv[indx];
prword(char **base, int indx)
printw("%s", base[indx]);
prwidth(char **base, int indx)
return (strlen(base[indx]));
int indx, totalfrom = 0, totalto = 0;
indx = fromstrength/10;
if (indx > 8)
indx = 8;
toinjured = MT[indx][2 - dieroll() / 3];
indx = strengthto/10;
if (indx > 8)
indx = 8;
frominjured = MT[indx][2 - dieroll() / 3];
int indx, rakehim, sternrake;
indx = guns;
indx += car;
indx = (indx - 1) / 3;
indx = indx > 8 ? 8 : indx;
hit = HDT[indx][target-1];
hit = HDTrake[indx][target-1];
hit += QUAL[indx][capship(sp)->specs->qual - 1];
if (indx <= 5)
if (indx <= 3)
if (indx <= 1)
hit += AMMO[indx][load - 1];
#define GETBINTERNAL(pg, indx) \
((BINTERNAL *)((char *)(pg) + (pg)->linp[indx]))
#define GETRINTERNAL(pg, indx) \
((RINTERNAL *)((char *)(pg) + (pg)->linp[indx]))
#define GETBLEAF(pg, indx) \
((BLEAF *)((char *)(pg) + (pg)->linp[indx]))
#define GETRLEAF(pg, indx) \
((RLEAF *)((char *)(pg) + (pg)->linp[indx]))
#define fs_cs(fs, indx) fs_csp[indx]
int indx;
for (indx = 0; phys_avail[indx].phys_end != 0; ++indx) {
vm_paddr_t range_start = phys_avail[indx].phys_beg;
vm_paddr_t size = phys_avail[indx].phys_end -
phys_avail[indx].phys_beg;
#define rdspio(indx) (bus_space_write_1(bst, bsh, efir, indx), \
#define wrspio(indx,data) (bus_space_write_1(bst, bsh, efir, indx), \
int indx;
indx = 0;
while (indx < CTL_MAXNAME) {
if (oid->oid_number == name[indx])
indx++;
if (oid->oid_handler != NULL || indx == namelen) {
*nindx = indx;
} else if (indx == namelen) {
*nindx = indx;
int error, indx;
error = sysctl_find_oid(arg1, arg2, &oid, &indx, req);
error = oid->oid_handler(oid, (int *)arg1 + indx, arg2 - indx,
int type, indx, error = 0;
if ((error = fdalloc(p, 0, &indx)) != 0) {
fsetfd(fdp, NULL, indx);
fdp->fd_files[indx].fileflags |= UF_EXCLOSE;
fdp->fd_files[indx].fileflags |= UF_FOCLOSE;
fsetfd(fdp, fp, indx);
*res = indx;
int indx;
if ((error = falloc(td->td_lwp, &nfp, &indx)) != 0)
fsetfd(fdp, NULL, indx);
fdp->fd_files[indx].fileflags |= UF_EXCLOSE;
fdp->fd_files[indx].fileflags |= UF_FOCLOSE;
fsetfd(fdp, fp, indx);
sysmsg->sysmsg_result = indx;
fsetfd(fdp, NULL, indx);
unsigned int indx, \
num = prop_array_get(array, indx); \
unsigned int indx, \
rv = prop_array_set(array, indx, num); \
unsigned int indx, \
rv = prop_array_set(array, indx, num); \
unsigned int indx, \
str = prop_array_get(array, indx); \
unsigned int indx, \
rv = prop_array_set(array, indx, str); \
unsigned int indx,
b = prop_array_get(array, indx);
unsigned int indx,
rv = prop_array_set(array, indx, b);
unsigned int indx, \
num = prop_array_get(array, indx); \
int indx;
for (indx = 0; phys_avail[indx].phys_end != 0; ++indx) {
size1 = phys_avail[indx].phys_end -
phys_avail[indx].phys_beg;
(intmax_t)phys_avail[indx].phys_beg,
(intmax_t)phys_avail[indx].phys_end - 1,
#define VTTOIF(indx) (vttoif_tab[(int)(indx)])
#define MAKEIMODE(indx, mode) (int)(VTTOIF(indx) | (mode))
ext2_blkpref(struct inode *ip, e2fs_lbn_t lbn, int indx, e2fs_daddr_t *bap,
for (tmp = indx - 1; tmp >= 0; tmp--)
ffs_blkpref(struct inode *ip, ufs_daddr_t lbn, int indx, ufs_daddr_t *bap)
if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) {
if (indx == 0 || bap[indx - 1] == 0)
startcg = dtog(fs, bap[indx - 1]) + 1;
nextblk = bap[indx - 1] + fs->fs_frag;
if (fs->fs_rotdelay == 0 || indx < fs->fs_maxcontig ||
bap[indx - fs->fs_maxcontig] +
#define fs_cs(fs, indx) fs_csp[indx]
int col, i, indx, space;
col = indx = 0;
wprintf(L"%.*ls\n", indx, buf);
col = indx = 0;
i = indx;
wmemmove(buf, buf + space, indx - space);
indx -= space;
for (i = 0; i < indx; i++)
wprintf(L"%.*ls\n", indx, buf);
col = indx = 0;
if (indx + 1 > buf_max) {
buf[indx++] = ch;
if (indx != 0)
wprintf(L"%.*ls", indx, buf);
pbnum((argc > 3) ? indx(argv[2], argv[3]) : -1);
extern ptrdiff_t indx(const char *, const char *);
if (file_header_cmp(fh[indx], fh[min_child_index]) > 0) {
file_header_swap(fh, indx, min_child_index);
size_t indx = 0;
while (indx < fl->count) {
num = fl->count - indx;
merge_files_array(num, fl->fns + indx, fnew);
unlink(fl->fns[indx + i]);
indx += num;
sub_list_swim(struct sort_list **sl, size_t indx)
if (indx > 0) {
parent_index = (indx - 1) >> 1;
if (sub_list_cmp(sl[indx], sl[parent_index]) < 0) {
sub_list_swap(sl, indx, parent_index);
sub_list_sink(struct sort_list **sl, size_t indx, size_t size)
left_child_index = indx + indx + 1;
if (sub_list_cmp(sl[indx], sl[min_child_index]) > 0) {
sub_list_swap(sl, indx, min_child_index);
size_t indx = l->count;
if ((l->list == NULL) || (indx >= l->size)) {
l->list[indx] = sort_list_item_alloc();
sort_list_item_set(l->list[indx], str);
l->memsize += sort_list_item_size(l->list[indx]);
file_header_heap_swim(struct file_header **fh, size_t indx)
if (indx > 0) {
parent_index = (indx - 1) >> 1;
if (file_header_cmp(fh[indx], fh[parent_index]) < 0) {
file_header_swap(fh, indx, parent_index);
file_header_heap_sink(struct file_header **fh, size_t indx, size_t size)
left_child_index = indx + indx + 1;
add_to_sublevel(struct sort_level *sl, struct sort_list_item *item, size_t indx)
ssl = sl->sublevels[indx];
sl->sublevels[indx] = ssl;
#define NVAL(indx) namelist[(indx)].n_value
#define NPTR(indx) (void *)NVAL((indx))
#define NREAD(indx, buf, len) kvm_ckread(NPTR((indx)), (buf), (len))
ffs_blkpref_ufs1(struct inode *ip, makefs_daddr_t lbn, int indx, int32_t *bap)
if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) {
if (indx == 0 || bap[indx - 1] == 0)
ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + 1);
return ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + fs->fs_frag;
ffs_blkpref_ufs2(struct inode *ip, daddr_t lbn, int indx, int64_t *bap)
if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) {
if (indx == 0 || bap[indx - 1] == 0)
ufs_rw64(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + 1);
return ufs_rw64(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + fs->fs_frag;
indx = i;
name[4] = indx;
int indx;