/freebsd/stand/common/ |
H A D | merge_help.awk | 11 ind = 0; 35 ind++; 36 if (ind == 1) 38 first = ind; 39 help[ind, "T"] = T; 40 help[ind, "S"] = S; 41 help[ind, "link"] = -1; 53 help[j, "link"] = ind; 54 help[ind, "link"] = -1; 56 help[ind, "link"] = i; [all …]
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_collapse.cpp | 113 for (kmp_index_t ind = 0; ind < n; ++ind) { in kmp_canonicalize_loop_nest() local 114 auto bounds = &(original_bounds_nest[ind]); in kmp_canonicalize_loop_nest() 310 kmp_index_t ind) { in kmp_iv_is_in_upper_bound_XX() argument 312 T iv = static_cast<T>(original_ivs[ind]); in kmp_iv_is_in_upper_bound_XX() 332 const kmp_iterations_t iterations, kmp_index_t ind, in kmp_calc_one_iv_XX() argument 343 auto iteration = iterations[ind]; in kmp_calc_one_iv_XX() 348 original_ivs[ind] = kmp_fix_iv(bounds->loop_iv_type, temp); in kmp_calc_one_iv_XX() 351 return kmp_iv_is_in_upper_bound_XX(bounds, original_ivs, ind); in kmp_calc_one_iv_XX() 359 const kmp_iterations_t iterations, kmp_index_t ind, in kmp_calc_one_iv() argument 366 /*in/out*/ original_ivs, iterations, ind, start_with_lower_bound, in kmp_calc_one_iv() [all …]
|
/freebsd/lib/libcam/ |
H A D | scsi_cmdparse.c | 107 int ind = 0; in do_buff_decode() local 187 if (ind >= len) { in do_buff_decode() 191 bits = buff[ind++]; in do_buff_decode() 213 if (ind + width > len) { in do_buff_decode() 219 ARG_PUT(buff[ind]); in do_buff_decode() 220 ind++; in do_buff_decode() 224 ARG_PUT(buff[ind] << 8 | buff[ind + 1]); in do_buff_decode() 225 ind += 2; in do_buff_decode() 229 ARG_PUT(buff[ind] << 16 | in do_buff_decode() 230 buff[ind + 1] << 8 | buff[ind + 2]); in do_buff_decode() [all …]
|
/freebsd/contrib/ntp/libntp/ |
H A D | hextolfp.c | 22 char *ind = NULL; in hextolfp() local 38 (ind = strchr(digits, *cp)) != NULL) { in hextolfp() 40 dec_i += ((ind - digits) > 15) in hextolfp() 41 ? (u_long)(ind - digits - 6) in hextolfp() 42 : (u_long)(ind - digits); in hextolfp() 46 if ((cp - cpstart) < 8 || ind == NULL) in hextolfp() 53 (ind = strchr(digits, *cp)) != NULL) { in hextolfp() 55 dec_f += ((ind - digits) > 15) in hextolfp() 56 ? (u_long)(ind - digits - 6) in hextolfp() 57 : (u_long)(ind - digits); in hextolfp() [all …]
|
H A D | atolfp.c | 38 char *ind; in atolfp() local 69 while (*cp != '\0' && (ind = strchr(digits, *cp)) != NULL) { in atolfp() 71 dec_i += (u_long)(ind - digits); in atolfp() 80 && (ind = strchr(digits, *cp)) != NULL) { in atolfp() 83 dec_f += (u_long)(ind - digits); in atolfp()
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_rollback/ |
H A D | zfs_rollback_common.kshlib | 88 typeset -i ind=0 98 ind=0 99 while (( ind < cnt )); do 102 eval typeset snap=\$FSSNAP$ind 103 eval typeset clone=\$FSCLONE$ind 104 eval typeset fname=\$TESTDIR/\$TESTFILE$ind 107 eval typeset snap=\$VOLSNAP$ind 108 eval typeset clone=\$VOLCLONE$ind 109 eval typeset fname=\$TESTDIR1/\$TESTFILE$ind 129 (( ind += 1 )) [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/ |
H A D | zfs_rollback_common.kshlib | 91 typeset -i ind=0 101 ind=0 102 while (( ind < cnt )); do 105 eval typeset snap=\$FSSNAP$ind 106 eval typeset clone=\$FSCLONE$ind 107 eval typeset fname=\$TESTDIR/\$TESTFILE$ind 110 eval typeset snap=\$VOLSNAP$ind 111 eval typeset clone=\$VOLCLONE$ind 112 eval typeset fname=\$TESTDIR1/\$TESTFILE$ind 152 (( ind += 1 )) [all …]
|
/freebsd/crypto/openssl/crypto/x509/ |
H A D | v3_admis.c | 54 BIO *bp, int ind); 71 BIO *bp, int ind) in i2r_NAMING_AUTHORITY() argument 83 if (BIO_printf(bp, "%*snamingAuthority:\n", ind, "") <= 0) in i2r_NAMING_AUTHORITY() 90 if (BIO_printf(bp, "%*s namingAuthorityId: ", ind, "") <= 0) in i2r_NAMING_AUTHORITY() 100 if (BIO_printf(bp, "%*s namingAuthorityText: ", ind, "") <= 0 in i2r_NAMING_AUTHORITY() 106 if (BIO_printf(bp, "%*s namingAuthorityUrl: ", ind, "") <= 0 in i2r_NAMING_AUTHORITY() 118 BIO *bp, int ind) in i2r_ADMISSION_SYNTAX() argument 124 if (BIO_printf(bp, "%*sadmissionAuthority:\n", ind, "") <= 0 in i2r_ADMISSION_SYNTAX() 125 || BIO_printf(bp, "%*s ", ind, "") <= 0 in i2r_ADMISSION_SYNTAX() 134 if (BIO_printf(bp, "%*sEntry %0d:\n", ind, "", 1 + i) <= 0) in i2r_ADMISSION_SYNTAX() [all …]
|
/freebsd/contrib/jemalloc/include/jemalloc/internal/ |
H A D | jemalloc_internal_inlines_a.h | 60 arena_tdata_get(tsd_t *tsd, unsigned ind, bool refresh_if_missing) { in arena_tdata_get() argument 66 return arena_tdata_get_hard(tsd, ind); in arena_tdata_get() 68 if (unlikely(ind >= tsd_narenas_tdata_get(tsd))) { in arena_tdata_get() 73 return (refresh_if_missing ? arena_tdata_get_hard(tsd, ind) : in arena_tdata_get() 77 tdata = &arenas_tdata[ind]; in arena_tdata_get() 81 return arena_tdata_get_hard(tsd, ind); in arena_tdata_get() 85 arena_get(tsdn_t *tsdn, unsigned ind, bool init_if_missing) { in arena_get() argument 88 assert(ind < MALLOCX_ARENA_LIMIT); in arena_get() 90 ret = (arena_t *)atomic_load_p(&arenas[ind], ATOMIC_ACQUIRE); in arena_get() 93 ret = arena_init(tsdn, ind, in arena_get() [all …]
|
H A D | jemalloc_internal_externs.h | 42 void arena_set(unsigned ind, arena_t *arena); 44 arena_t *arena_init(tsdn_t *tsdn, unsigned ind, extent_hooks_t *extent_hooks); 45 arena_tdata_t *arena_tdata_get_hard(tsd_t *tsd, unsigned ind);
|
H A D | jemalloc_internal_inlines_b.h | 50 unsigned ind = percpu_arena_choose(); in arena_choose_impl() local 51 if (arena_ind_get(ret) != ind) { in arena_choose_impl() 52 percpu_arena_update(tsd, ind); in arena_choose_impl()
|
/freebsd/crypto/openssl/crypto/ocsp/ |
H A D | v3_ocsp.c | 42 BIO *bp, int ind); 111 int ind) in i2r_ocsp_crlid() argument 115 if (BIO_printf(bp, "%*scrlUrl: ", ind, "") <= 0) in i2r_ocsp_crlid() 123 if (BIO_printf(bp, "%*scrlNum: ", ind, "") <= 0) in i2r_ocsp_crlid() 131 if (BIO_printf(bp, "%*scrlTime: ", ind, "") <= 0) in i2r_ocsp_crlid() 144 BIO *bp, int ind) in i2r_ocsp_acutoff() argument 146 if (BIO_printf(bp, "%*s", ind, "") <= 0) in i2r_ocsp_acutoff() 154 int ind) in i2r_object() argument 156 if (BIO_printf(bp, "%*s", ind, "") <= 0) in i2r_object() 240 BIO *bp, int ind) in i2r_ocsp_serviceloc() argument [all …]
|
/freebsd/contrib/flex/src/ |
H A D | ccl.c | 40 int ind, len, i; in ccl_contains() local 43 ind = cclmap[cclp]; in ccl_contains() 46 if (ccltbl[ind + i] == ch) in ccl_contains() 57 int ind, len, newpos, i; in ccladd() local 62 ind = cclmap[cclp]; in ccladd() 67 if (ccltbl[ind + i] == ch) in ccladd() 74 newpos = ind + len; in ccladd()
|
/freebsd/contrib/jemalloc/src/ |
H A D | base.c | 32 base_map(tsdn_t *tsdn, extent_hooks_t *extent_hooks, unsigned ind, size_t size) { in base_map() argument 47 &zero, &commit, ind); in base_map() 55 base_unmap(tsdn_t *tsdn, extent_hooks_t *extent_hooks, unsigned ind, void *addr, in base_unmap() argument 87 ind)) { in base_unmap() 92 ind)) { in base_unmap() 97 size, ind)) { in base_unmap() 102 ind)) { in base_unmap() 249 unsigned ind, pszind_t *pind_last, size_t *extent_sn_next, size_t size, in base_block_alloc() argument 270 base_block_t *block = (base_block_t *)base_map(tsdn, extent_hooks, ind, in base_block_alloc() 350 base_new(tsdn_t *tsdn, unsigned ind, extent_hooks_t *extent_hooks) { in base_new() argument [all …]
|
H A D | jemalloc.c | 301 arena_set(unsigned ind, arena_t *arena) { in arena_set() argument 302 atomic_store_p(&arenas[ind], arena, ATOMIC_RELEASE); in arena_set() 322 arena_init_locked(tsdn_t *tsdn, unsigned ind, extent_hooks_t *extent_hooks) { in arena_init_locked() argument 325 assert(ind <= narenas_total_get()); in arena_init_locked() 326 if (ind >= MALLOCX_ARENA_LIMIT) { in arena_init_locked() 329 if (ind == narenas_total_get()) { in arena_init_locked() 337 arena = arena_get(tsdn, ind, false); in arena_init_locked() 344 arena = arena_new(tsdn, ind, extent_hooks); in arena_init_locked() 350 arena_new_create_background_thread(tsdn_t *tsdn, unsigned ind) { in arena_new_create_background_thread() argument 351 if (ind == 0) { in arena_new_create_background_thread() [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_mount/ |
H A D | zfs_mount_007_pos.ksh | 105 typeset -i ind=0 108 (( ind = i * 2 )) 110 (( ind = i * 2 + 1 )) 113 $ECHO ${values[$ind]}
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_mount/ |
H A D | zfs_mount_007_pos.ksh | 114 typeset -i ind=0 117 (( ind = i * 2 )) 119 (( ind = i * 2 + 1 )) 122 echo ${values[$ind]}
|
/freebsd/sys/dev/mthca/ |
H A D | mthca_srq.c | 461 int ind; in mthca_free_srq_wqe() local 464 ind = wqe_addr >> srq->wqe_shift; in mthca_free_srq_wqe() 469 *wqe_to_link(last_free) = ind; in mthca_free_srq_wqe() 470 last_free->nda_op = htonl((ind << srq->wqe_shift) | 1); in mthca_free_srq_wqe() 471 *wqe_to_link(get_wqe(srq, ind)) = -1; in mthca_free_srq_wqe() 472 srq->last_free = ind; in mthca_free_srq_wqe() 485 int ind; in mthca_tavor_post_srq_recv() local 497 ind = srq->first_free; in mthca_tavor_post_srq_recv() 498 wqe = get_wqe(srq, ind); in mthca_tavor_post_srq_recv() 534 srq->wrid[ind] = wr->wr_id; in mthca_tavor_post_srq_recv() [all …]
|
H A D | mthca_qp.c | 1485 int ind, const struct ib_ud_wr *wr, in build_mlx_header() argument 1541 ind * MTHCA_UD_HEADER_SIZE); in build_mlx_header() 1546 ind * MTHCA_UD_HEADER_SIZE); in build_mlx_header() 1629 int ind; in mthca_tavor_post_send() local 1636 ind = qp->sq.next_ind; in mthca_tavor_post_send() 1649 wqe = get_send_wqe(qp, ind); in mthca_tavor_post_send() 1723 err = build_mlx_header(dev, to_msqp(qp), ind, ud_wr(wr), in mthca_tavor_post_send() 1757 qp->wrid[ind + qp->rq.max] = wr->wr_id; in mthca_tavor_post_send() 1767 cpu_to_be32(((ind << qp->sq.wqe_shift) + in mthca_tavor_post_send() 1783 ++ind; in mthca_tavor_post_send() [all …]
|
/freebsd/lib/libc/stdlib/ |
H A D | atexit.c | 66 int ind; /* next index in this table */ member 98 else while (p->ind >= ATEXIT_SIZE) { in atexit_register() 113 p->ind = 0; in atexit_register() 117 p->fns[p->ind++] = *fptr; in atexit_register() 212 for (n = p->ind; --n >= 0;) { in __cxa_finalize()
|
/freebsd/crypto/heimdal/lib/kafs/ |
H A D | common.c | 177 int ind = *idx; in find_cells() local 190 for(i = 0; i < ind; i++) in find_cells() 193 if(i == ind){ in find_cells() 196 tmp = realloc(*cells, (ind + 1) * sizeof(**cells)); in find_cells() 200 (*cells)[ind] = strdup(cell); in find_cells() 201 if ((*cells)[ind] == NULL) in find_cells() 203 ++ind; in find_cells() 207 *idx = ind; in find_cells()
|
/freebsd/bin/sh/ |
H A D | show.c | 65 shtree(union node *n, int ind, char *pfx, FILE *fp) in shtree() argument 73 indent(ind, pfx, fp); in shtree() 84 shtree(n->nbinary.ch1, ind, NULL, fp); in shtree() 87 shtree(n->nbinary.ch2, ind, NULL, fp); in shtree() 91 if (ind >= 0) in shtree() 102 if (ind >= 0) in shtree() 107 if (ind >= 0) in shtree()
|
/freebsd/contrib/ofed/libmlx4/ |
H A D | qp.c | 220 int ind; in mlx4_post_send() local 231 ind = qp->sq.head; in mlx4_post_send() 252 ctrl = wqe = get_send_wqe(qp, ind & (qp->sq.wqe_cnt - 1)); in mlx4_post_send() 253 qp->sq.wrid[ind & (qp->sq.wqe_cnt - 1)] = wr->wr_id; in mlx4_post_send() 454 (ind & qp->sq.wqe_cnt ? htobe32(1 << 31) : 0); in mlx4_post_send() 462 stamp_send_wqe(qp, (ind + qp->sq_spare_wqes) & in mlx4_post_send() 465 ++ind; in mlx4_post_send() 504 stamp_send_wqe(qp, (ind + qp->sq_spare_wqes - 1) & in mlx4_post_send() 519 int ind; in mlx4_post_recv() local 526 ind = qp->rq.head & (qp->rq.wqe_cnt - 1); in mlx4_post_recv() [all …]
|
/freebsd/usr.sbin/makefs/zfs/ |
H A D | fs.c | 233 fs_populate_attr(zfs_fs_t *fs, char *attrbuf, const void *val, uint16_t ind, in fs_populate_attr() argument 236 assert(ind < fs->sacnt); in fs_populate_attr() 237 assert(fs->saoffs[ind] != 0xffff); in fs_populate_attr() 239 memcpy(attrbuf + fs->saoffs[ind], val, fs->satab[ind].size); in fs_populate_attr() 240 *szp += fs->satab[ind].size; in fs_populate_attr() 245 size_t valsz, size_t varoff, uint16_t ind, size_t *szp) in fs_populate_varszattr() argument 247 assert(ind < fs->sacnt); in fs_populate_varszattr() 248 assert(fs->saoffs[ind] != 0xffff); in fs_populate_varszattr() 249 assert(fs->satab[ind].size == 0); in fs_populate_varszattr() 251 memcpy(attrbuf + fs->saoffs[ind] + varoff, val, valsz); in fs_populate_varszattr() [all …]
|
/freebsd/contrib/lua/src/ |
H A D | lcode.c | 796 e->u.info = luaK_codeABC(fs, OP_GETTABUP, 0, e->u.ind.t, e->u.ind.idx); in luaK_dischargevars() 801 freereg(fs, e->u.ind.t); in luaK_dischargevars() 802 e->u.info = luaK_codeABC(fs, OP_GETI, 0, e->u.ind.t, e->u.ind.idx); in luaK_dischargevars() 807 freereg(fs, e->u.ind.t); in luaK_dischargevars() 808 e->u.info = luaK_codeABC(fs, OP_GETFIELD, 0, e->u.ind.t, e->u.ind.idx); in luaK_dischargevars() 813 freeregs(fs, e->u.ind.t, e->u.ind.idx); in luaK_dischargevars() 814 e->u.info = luaK_codeABC(fs, OP_GETTABLE, 0, e->u.ind.t, e->u.ind.idx); in luaK_dischargevars() 1068 codeABRK(fs, OP_SETTABUP, var->u.ind.t, var->u.ind.idx, ex); in luaK_storevar() 1072 codeABRK(fs, OP_SETI, var->u.ind.t, var->u.ind.idx, ex); in luaK_storevar() 1076 codeABRK(fs, OP_SETFIELD, var->u.ind.t, var->u.ind.idx, ex); in luaK_storevar() [all …]
|