Home
last modified time | relevance | path

Searched refs:ii (Results 1 – 25 of 199) sorted by relevance

12345678

/trueos/sbin/hastctl/
HDhastctl.c175 int ec, ii, ret; in control_create() local
181 for (ii = 0; ii < argc; ii++) { in control_create()
183 if (strcmp(argv[ii], res->hr_name) == 0) in control_create()
187 pjdlog_error("Unknown resource %s.", argv[ii]); in control_create()
239 int ii; in control_dump() local
241 for (ii = 0; ii < argc; ii++) { in control_dump()
243 if (strcmp(argv[ii], res->hr_name) == 0) in control_dump()
247 pjdlog_error("Unknown resource %s.", argv[ii]); in control_dump()
264 unsigned int ii; in control_set_role() local
269 for (ii = 0; ; ii++) { in control_set_role()
[all …]
/trueos/usr.sbin/rarpd/
HDrarpd.c224 struct if_info *ii, *ii2; in init_one() local
249 for (ii = iflist; ii != NULL; ii = ii->ii_next) in init_one()
250 if (strcmp(ifa->ifa_name, ii->ii_ifname) == 0) in init_one()
253 if (pass1 && ii != NULL) in init_one()
258 if (ii == NULL) { in init_one()
259 ii = (struct if_info *)malloc(sizeof(*ii)); in init_one()
260 if (ii == NULL) { in init_one()
265 bzero(ii, sizeof(*ii)); in init_one()
266 ii->ii_fd = -1; in init_one()
267 strlcpy(ii->ii_ifname, ifa->ifa_name, sizeof(ii->ii_ifname)); in init_one()
[all …]
/trueos/cddl/contrib/opensolaris/tools/ctf/cvt/
HDiidesc.c49 iidesc_t *ii; in iidesc_new() local
51 ii = xcalloc(sizeof (iidesc_t)); in iidesc_new()
53 ii->ii_name = xstrdup(name); in iidesc_new()
55 return (ii); in iidesc_new()
61 iidesc_t *ii = arg; in iidesc_hash() local
64 if (ii->ii_name) in iidesc_hash()
65 return (hash_name(nbuckets, ii->ii_name)); in iidesc_hash()
170 iidesc_dump(iidesc_t *ii) in iidesc_dump() argument
172 printf("type: %d name %s\n", ii->ii_type, in iidesc_dump()
173 (ii->ii_name ? ii->ii_name : "(anon)")); in iidesc_dump()
[all …]
HDdwarf.c857 iidesc_t *ii = xcalloc(sizeof (iidesc_t)); in die_enum_create() local
858 ii->ii_type = II_SOU; in die_enum_create()
859 ii->ii_name = xstrdup(tdp->t_name); in die_enum_create()
860 ii->ii_dtype = tdp; in die_enum_create()
862 iidesc_add(dw->dw_td->td_iihash, ii); in die_enum_create()
936 iidesc_t *ii; in die_sou_create() local
1090 ii = xcalloc(sizeof (iidesc_t)); in die_sou_create()
1091 ii->ii_type = II_SOU; in die_sou_create()
1092 ii->ii_name = xstrdup(tdp->t_name); in die_sou_create()
1093 ii->ii_dtype = tdp; in die_sou_create()
[all …]
HDctf.c907 iidesc_t *ii; in resurrect_objects() local
923 ii = iidesc_new(symit_name(si)); in resurrect_objects()
924 ii->ii_dtype = tdarr[id]; in resurrect_objects()
926 ii->ii_type = II_SVAR; in resurrect_objects()
927 ii->ii_owner = xstrdup(symit_curfile(si)); in resurrect_objects()
929 ii->ii_type = II_GVAR; in resurrect_objects()
930 hash_add(td->td_iihash, ii); in resurrect_objects()
933 (ii->ii_type == II_GVAR ? "global" : "static"), in resurrect_objects()
934 ii->ii_name, id, (ii->ii_owner ? ii->ii_owner : "(none)")); in resurrect_objects()
945 iidesc_t *ii; in resurrect_functions() local
[all …]
HDtraverse.c190 iidesc_t *ii = arg1; in iitraverse_td() local
194 if ((rc = tdtraverse(ii->ii_dtype, &ii->ii_dtype, tdtd)) < 0) in iitraverse_td()
197 for (i = 0; i < ii->ii_nargs; i++) { in iitraverse_td()
198 if ((rc = tdtraverse(ii->ii_args[i], &ii->ii_args[i], in iitraverse_td()
207 iitraverse(iidesc_t *ii, int *vgenp, tdtrav_cb_f *firstops, tdtrav_cb_f *preops, in iitraverse() argument
214 return (iitraverse_td(ii, &tdtd)); in iitraverse()
HDst_parse.c187 parse_fun(char *cp, iidesc_t *ii) in parse_fun() argument
236 ii->ii_type = iitype; in parse_fun()
237 ii->ii_dtype = tdp; in parse_fun()
238 ii->ii_nargs = nargs; in parse_fun()
239 ii->ii_args = args; in parse_fun()
240 ii->ii_vargs = va; in parse_fun()
246 parse_sym(char *cp, iidesc_t *ii) in parse_sym() argument
279 ii->ii_type = iitype; in parse_sym()
280 ii->ii_dtype = tdp; in parse_sym()
286 parse_type(char *cp, iidesc_t *ii) in parse_type() argument
[all …]
/trueos/sys/dev/ath/ath_hal/ar5212/
HDar2317.c278 uint16_t ii, jj, kk; in ar2317FillVpdTable() local
283 ii = 0; in ar2317FillVpdTable()
289 while (ii <= (uint16_t)(Pmax - Pmin)) { in ar2317FillVpdTable()
303 retVpdList[pdGainIdx][ii] = kk; in ar2317FillVpdTable()
304 ii++; in ar2317FillVpdTable()
345 uint32_t ii, jj, kk; in ar2317getGainBoundariesAndPdadcsForPowers() local
366 for (ii = 0; ii < MAX_NUM_PDGAINS_PER_CHANNEL; ii++) { in ar2317getGainBoundariesAndPdadcsForPowers()
367 jj = MAX_NUM_PDGAINS_PER_CHANNEL - ii - 1; in ar2317getGainBoundariesAndPdadcsForPowers()
407 for (ii = 0; ii < numPdGainsUsed; ii++) { in ar2317getGainBoundariesAndPdadcsForPowers()
408 if (ii == (numPdGainsUsed - 1)) in ar2317getGainBoundariesAndPdadcsForPowers()
[all …]
HDar2413.c295 uint16_t ii, jj, kk; in ar2413FillVpdTable() local
300 ii = 0; in ar2413FillVpdTable()
306 while (ii <= (uint16_t)(Pmax - Pmin)) { in ar2413FillVpdTable()
320 retVpdList[pdGainIdx][ii] = kk; in ar2413FillVpdTable()
321 ii++; in ar2413FillVpdTable()
361 uint32_t ii, jj, kk; in ar2413getGainBoundariesAndPdadcsForPowers() local
382 for (ii = 0; ii < MAX_NUM_PDGAINS_PER_CHANNEL; ii++) { in ar2413getGainBoundariesAndPdadcsForPowers()
383 jj = MAX_NUM_PDGAINS_PER_CHANNEL - ii - 1; in ar2413getGainBoundariesAndPdadcsForPowers()
423 for (ii = 0; ii < numPdGainsUsed; ii++) { in ar2413getGainBoundariesAndPdadcsForPowers()
424 if (ii == (numPdGainsUsed - 1)) in ar2413getGainBoundariesAndPdadcsForPowers()
[all …]
HDar2316.c301 uint16_t ii, jj, kk; in ar2316FillVpdTable() local
306 ii = 0; in ar2316FillVpdTable()
312 while (ii <= (uint16_t)(Pmax - Pmin)) { in ar2316FillVpdTable()
326 retVpdList[pdGainIdx][ii] = kk; in ar2316FillVpdTable()
327 ii++; in ar2316FillVpdTable()
367 uint32_t ii, jj, kk; in ar2316getGainBoundariesAndPdadcsForPowers() local
388 for (ii = 0; ii < MAX_NUM_PDGAINS_PER_CHANNEL; ii++) { in ar2316getGainBoundariesAndPdadcsForPowers()
389 jj = MAX_NUM_PDGAINS_PER_CHANNEL - ii - 1; in ar2316getGainBoundariesAndPdadcsForPowers()
429 for (ii = 0; ii < numPdGainsUsed; ii++) { in ar2316getGainBoundariesAndPdadcsForPowers()
430 if (ii == (numPdGainsUsed - 1)) in ar2316getGainBoundariesAndPdadcsForPowers()
[all …]
HDar5413.c339 uint16_t ii, jj, kk; in ar5413FillVpdTable() local
344 ii = 0; in ar5413FillVpdTable()
350 while (ii <= (uint16_t)(Pmax - Pmin)) { in ar5413FillVpdTable()
364 retVpdList[pdGainIdx][ii] = kk; in ar5413FillVpdTable()
365 ii++; in ar5413FillVpdTable()
405 uint32_t ii, jj, kk; in ar5413getGainBoundariesAndPdadcsForPowers() local
426 for (ii = 0; ii < MAX_NUM_PDGAINS_PER_CHANNEL; ii++) { in ar5413getGainBoundariesAndPdadcsForPowers()
427 jj = MAX_NUM_PDGAINS_PER_CHANNEL - ii - 1; in ar5413getGainBoundariesAndPdadcsForPowers()
467 for (ii = 0; ii < numPdGainsUsed; ii++) { in ar5413getGainBoundariesAndPdadcsForPowers()
468 if (ii == (numPdGainsUsed - 1)) in ar5413getGainBoundariesAndPdadcsForPowers()
[all …]
HDar2425.c297 uint16_t ii, jj, kk; in ar2425FillVpdTable() local
302 ii = 0; in ar2425FillVpdTable()
308 while (ii <= (uint16_t)(Pmax - Pmin)) { in ar2425FillVpdTable()
322 retVpdList[pdGainIdx][ii] = kk; in ar2425FillVpdTable()
323 ii++; in ar2425FillVpdTable()
360 uint32_t ii, jj, kk; in ar2425getGainBoundariesAndPdadcsForPowers() local
389 for (ii = 0; ii < MAX_NUM_PDGAINS_PER_CHANNEL; ii++) { in ar2425getGainBoundariesAndPdadcsForPowers()
390 jj = MAX_NUM_PDGAINS_PER_CHANNEL - ii - 1; in ar2425getGainBoundariesAndPdadcsForPowers()
430 for (ii = 0; ii < numPdGainsUsed; ii++) { in ar2425getGainBoundariesAndPdadcsForPowers()
431 if (ii == (numPdGainsUsed - 1)) in ar2425getGainBoundariesAndPdadcsForPowers()
[all …]
HDar5112.c359 uint32_t ii, jj, kk; in ar5112SetPowerTable() local
429 for (ii = chan_idx_L; ii <= chan_idx_R; ii++) { in ar5112SetPowerTable()
430 pRawCh = &(pPowerExpn->pDataPerChannel[ii]); in ar5112SetPowerTable()
609 uint16_t ii; in getFullPwrTable() local
619 for (ii = 0; ii < 64; ii++) { in getFullPwrTable()
620 if (ii>pcdacs[idxR] && idxR < numPcdacs-1) { in getFullPwrTable()
624 retVals[ii] = interpolate_signed(ii, in getFullPwrTable()
626 if (retVals[ii] >= maxPower) { in getFullPwrTable()
627 while (ii < 64) in getFullPwrTable()
628 retVals[ii++] = maxPower; in getFullPwrTable()
[all …]
/trueos/contrib/bzip2/
HDspewG.c40 int ii, kk, p; in main() local
45 for (ii = 0; ii < p; ii++) in main()
47 for (ii = 0; ii < p-1; ii++) in main()
49 for (ii = 0; ii < p+1; ii++) in main()
/trueos/sys/geom/
HDgeom_ccd.c194 struct ccdiinfo *ii; in g_ccd_freesc() local
198 for (ii = sc->sc_itable; ii->ii_ndisk > 0; ii++) in g_ccd_freesc()
199 if (ii->ii_index != NULL) in g_ccd_freesc()
200 g_free(ii->ii_index); in g_ccd_freesc()
327 struct ccdiinfo *ii; in ccdinterleave() local
351 ii = cs->sc_itable; in ccdinterleave()
355 ii->ii_index = g_malloc(sizeof(int), M_WAITOK); in ccdinterleave()
356 ii->ii_ndisk = 1; in ccdinterleave()
357 ii->ii_startblk = bn; in ccdinterleave()
358 ii->ii_startoff = 0; in ccdinterleave()
[all …]
/trueos/sys/cddl/compat/opensolaris/kern/
HDopensolaris_sysevent.c249 uint_t ii, nelem; in log_sysevent() local
253 for (ii = 0; ii < nelem; ii++) in log_sysevent()
254 sbuf_printf(sb, "%02hhx", value[ii]); in log_sysevent()
260 uint_t ii, nelem; in log_sysevent() local
264 for (ii = 0; ii < nelem; ii++) in log_sysevent()
265 sbuf_printf(sb, "%04hx", value[ii]); in log_sysevent()
271 uint_t ii, nelem; in log_sysevent() local
275 for (ii = 0; ii < nelem; ii++) in log_sysevent()
276 sbuf_printf(sb, "%08jx", (uintmax_t)value[ii]); in log_sysevent()
282 uint_t ii, nelem; in log_sysevent() local
[all …]
/trueos/sbin/hastd/
HDnv.c627 unsigned int ii; in nv_dump() local
686 for (ii = 0; ii < dsize; ii++) in nv_dump()
687 printf(" %jd", (intmax_t)((int8_t *)data)[ii]); in nv_dump()
691 for (ii = 0; ii < dsize; ii++) in nv_dump()
692 printf(" %ju", (uintmax_t)((uint8_t *)data)[ii]); in nv_dump()
696 for (ii = 0; ii < dsize / 2; ii++) { in nv_dump()
698 (intmax_t)le16toh(((int16_t *)(void *)data)[ii]) : in nv_dump()
699 (intmax_t)((int16_t *)(void *)data)[ii]); in nv_dump()
704 for (ii = 0; ii < dsize / 2; ii++) { in nv_dump()
706 (uintmax_t)le16toh(((uint16_t *)(void *)data)[ii]) : in nv_dump()
[all …]
HDhast_proto.c97 unsigned int ii; in hast_proto_send() local
99 for (ii = 0; ii < sizeof(pipeline) / sizeof(pipeline[0]); in hast_proto_send()
100 ii++) { in hast_proto_send()
101 (void)pipeline[ii].hps_send(res, nv, &dptr, &size, in hast_proto_send()
179 unsigned int ii; in hast_proto_recv_data() local
201 for (ii = sizeof(pipeline) / sizeof(pipeline[0]); ii > 0; in hast_proto_recv_data()
202 ii--) { in hast_proto_recv_data()
203 ret = pipeline[ii - 1].hps_recv(res, nv, &dptr, in hast_proto_recv_data()
HDhooks.c173 unsigned int ii; in hook_alloc() local
186 for (ii = 1; args[ii] != NULL; ii++) { in hook_alloc()
188 args[ii]); in hook_alloc()
345 unsigned int ii; in hook_execv() local
356 for (ii = 1; ii < sizeof(args) / sizeof(args[0]); ii++) { in hook_execv()
357 args[ii] = va_arg(ap, char *); in hook_execv()
358 if (args[ii] == NULL) in hook_execv()
361 PJDLOG_ASSERT(ii < sizeof(args) / sizeof(args[0])); in hook_execv()
HDprimary.c381 unsigned int ii, ncomps; in init_environment() local
452 for (ii = 0; ii < HAST_NCOMPONENTS; ii++) { in init_environment()
453 TAILQ_INIT(&hio_send_list[ii]); in init_environment()
454 hio_send_list_size[ii] = 0; in init_environment()
455 mtx_init(&hio_send_list_lock[ii]); in init_environment()
456 cv_init(&hio_send_list_cond[ii]); in init_environment()
457 TAILQ_INIT(&hio_recv_list[ii]); in init_environment()
458 hio_recv_list_size[ii] = 0; in init_environment()
459 mtx_init(&hio_recv_list_lock[ii]); in init_environment()
460 cv_init(&hio_recv_list_cond[ii]); in init_environment()
[all …]
/trueos/crypto/openssl/crypto/rc5/
HDrc5_skey.c66 int i, j, m, c, t, ii, jj; in RC5_32_set_key() local
81 ii = len - i; in RC5_32_set_key()
82 if (ii) { in RC5_32_set_key()
97 ii = jj = 0; in RC5_32_set_key()
100 k = (S[ii] + A + B) & RC5_32_MASK; in RC5_32_set_key()
101 A = S[ii] = ROTATE_l32(k, 3); in RC5_32_set_key()
105 if (++ii >= t) in RC5_32_set_key()
106 ii = 0; in RC5_32_set_key()
/trueos/contrib/ipfilter/
HDmd5.c141 unsigned int i, ii; local
158 for (i = 0, ii = 0; i < 16; i++, ii += 4)
159 in[i] = (((UINT4)mdContext->in[ii+3]) << 24) |
160 (((UINT4)mdContext->in[ii+2]) << 16) |
161 (((UINT4)mdContext->in[ii+1]) << 8) |
162 ((UINT4)mdContext->in[ii]);
178 unsigned int i, ii; local
193 for (i = 0, ii = 0; i < 14; i++, ii += 4)
194 in[i] = (((UINT4)mdContext->in[ii+3]) << 24) |
195 (((UINT4)mdContext->in[ii+2]) << 16) |
[all …]
/trueos/contrib/gcc/
HDmodulo-sched.c108 + 1 + (ps)->ii - 1) / (ps)->ii)
133 int ii; /* Number of rows in the partial schedule. */ member
160 static partial_schedule_ptr create_partial_schedule (int ii, ddg_ptr, int history);
436 int ii = ps->ii; in generate_reg_moves() local
454 int nreg_moves4e = (SCHED_TIME (e->dest) - SCHED_TIME (e->src)) / ii; in generate_reg_moves()
457 nreg_moves4e = (SCHED_TIME (e->dest) - SCHED_TIME (e->src) + ii) / ii; in generate_reg_moves()
480 int dest_copy = (SCHED_TIME (e->dest) - SCHED_TIME (e->src)) / ii; in generate_reg_moves()
483 dest_copy = (SCHED_TIME (e->dest) - SCHED_TIME (e->src) + ii) / ii; in generate_reg_moves()
595 int ii = ps->ii; in normalize_sched_times() local
606 SCHED_ROW (u) = normalized_time % ii; in normalize_sched_times()
[all …]
/trueos/sys/dev/ofw/
HDofw_bus_subr.c256 ofw_bus_setup_iinfo(phandle_t node, struct ofw_bus_iinfo *ii, int intrsz) in ofw_bus_setup_iinfo() argument
263 ii->opi_addrc = addrc * sizeof(pcell_t); in ofw_bus_setup_iinfo()
265 ii->opi_imapsz = OF_getencprop_alloc(node, "interrupt-map", 1, in ofw_bus_setup_iinfo()
266 (void **)&ii->opi_imap); in ofw_bus_setup_iinfo()
267 if (ii->opi_imapsz > 0) { in ofw_bus_setup_iinfo()
269 (void **)&ii->opi_imapmsk); in ofw_bus_setup_iinfo()
274 if (msksz != -1 && msksz != ii->opi_addrc + intrsz) in ofw_bus_setup_iinfo()
281 ofw_bus_lookup_imap(phandle_t node, struct ofw_bus_iinfo *ii, void *reg, in ofw_bus_lookup_imap() argument
288 if (ii->opi_imapsz <= 0) in ofw_bus_lookup_imap()
290 KASSERT(regsz >= ii->opi_addrc, in ofw_bus_lookup_imap()
[all …]
/trueos/contrib/gdb/gdb/
HDrs6000-tdep.c341 int ii, insn; in rs6000_software_single_step() local
363 for (ii = 0; ii < 2; ++ii) in rs6000_software_single_step()
367 if (breaks[ii] == -1) in rs6000_software_single_step()
369 target_insert_breakpoint (breaks[ii], stepBreaks[ii].data); in rs6000_software_single_step()
370 stepBreaks[ii].address = breaks[ii]; in rs6000_software_single_step()
378 for (ii = 0; ii < 2; ++ii) in rs6000_software_single_step()
379 if (stepBreaks[ii].address != 0) in rs6000_software_single_step()
380 target_remove_breakpoint (stepBreaks[ii].address, in rs6000_software_single_step()
381 stepBreaks[ii].data); in rs6000_software_single_step()
1018 int ii, wordsize; in rs6000_pop_frame() local
[all …]

12345678