Home
last modified time | relevance | path

Searched refs:idx (Results 1 – 25 of 1456) sorted by relevance

12345678910>>...59

/openbsd/usr.sbin/mopd/common/
H A Dput.c35 pkt[*idx] = value; in mopPutChar()
36 (*idx)++; in mopPutChar()
42 pkt[*idx] = value % 256; in mopPutShort()
44 *idx += 2; in mopPutShort()
50 pkt[*idx] = value / 256; in mopPutNShort()
52 *idx += 2; in mopPutNShort()
64 *idx += 4; in mopPutLong()
74 *idx += size; in mopPutMulti()
135 int idx; in mopPutLength() local
139 idx = 14; in mopPutLength()
[all …]
H A Dget.c35 ret = pkt[*idx]; in mopGetChar()
36 *idx = *idx + 1; in mopGetChar()
45 ret = pkt[*idx] + pkt[*idx+1]*256; in mopGetShort()
46 *idx = *idx + 2; in mopGetShort()
55 ret = pkt[*idx]*256 + pkt[*idx+1]; in mopGetNShort()
56 *idx = *idx + 2; in mopGetNShort()
65 ret = pkt[*idx] + pkt[*idx+1]*0x100 + pkt[*idx+2]*0x10000 + in mopGetLong()
67 *idx = *idx + 4; in mopGetLong()
78 *idx = *idx + size; in mopGetMulti()
102 *idx = *idx + 12; in mopGetHeader()
[all …]
H A Ddl.c35 int i, idx = 0; in mopDumpDL() local
44 idx = 22; in mopDumpDL()
48 idx = 16; in mopDumpDL()
51 code = mopGetChar(pkt, &idx); in mopDumpDL()
144 program[i] = mopGetChar(pkt, &idx); in mopDumpDL()
184 tmpc = mopGetChar(pkt, &idx); /* Bits */ in mopDumpDL()
228 mopGetChar(pkt, &idx)); in mopDumpDL()
235 mopGetChar(pkt, &idx)); in mopDumpDL()
242 mopGetChar(pkt, &idx)); in mopDumpDL()
249 mopGetChar(pkt, &idx)); in mopDumpDL()
[all …]
H A Drc.c35 int i, idx = 0; in mopDumpRC() local
44 idx = 22; in mopDumpRC()
48 idx = 16; in mopDumpRC()
51 code = mopGetChar(pkt, &idx); in mopDumpRC()
56 tmpc = mopGetChar(pkt, &idx); in mopDumpRC()
59 tmps = mopGetShort(pkt, &idx); in mopDumpRC()
70 tmpl = mopGetLong(pkt, &idx); in mopDumpRC()
146 tmpl = mopGetLong(pkt, &idx); in mopDumpRC()
149 tmpl = mopGetLong(pkt, &idx); in mopDumpRC()
152 tmpl = mopGetLong(pkt, &idx); in mopDumpRC()
[all …]
H A Dprint.c93 int idx = 0; in mopPrintOneline() local
240 int len, idx = 0; in mopPrintHeader() local
446 *idx = *idx + tmpc; in mopPrintInfo()
469 *idx = *idx + 6; in mopPrintInfo()
488 *idx = *idx + 6; in mopPrintInfo()
495 *idx = *idx + 10; in mopPrintInfo()
587 *idx = *idx + ilen; in mopPrintInfo()
596 *idx = *idx + ilen; in mopPrintInfo()
611 *idx = *idx + ilen; in mopPrintInfo()
620 *idx = *idx + ilen; in mopPrintInfo()
[all …]
/openbsd/gnu/usr.bin/binutils-2.17/bfd/doc/
H A Dchew.c435 idx = skip_white_and_stars (src, idx);
452 idx = skip_white_and_stars (src, idx);
468 idx++;
531 for (idx = 0; idx < len; idx++) in paramstuff()
543 for (idx = fname; idx < len; idx++) in paramstuff()
548 for (idx = openp; at (tos, idx) && at (tos, idx) != ';'; idx++) in paramstuff()
872 idx++;
883 idx = copy_past_newline (ptr, idx, tos); in icopy_past_newline()
920 idx--; in kill_bogus_lines()
924 idx++; in kill_bogus_lines()
[all …]
/openbsd/sys/dev/fdt/
H A Dimxccm.c566 if (idx >= sc->sc_nmuxs || sc->sc_muxs[idx].reg == 0) in imxccm_imx7d_enet()
589 if (idx >= sc->sc_nmuxs || sc->sc_muxs[idx].reg == 0) in imxccm_imx7d_i2c()
612 if (idx >= sc->sc_nmuxs || sc->sc_muxs[idx].reg == 0) in imxccm_imx7d_uart()
633 if (idx >= sc->sc_nmuxs || sc->sc_muxs[idx].reg == 0) in imxccm_imx7d_usdhc()
776 if (idx >= sc->sc_nmuxs || sc->sc_muxs[idx].reg == 0) in imxccm_imx8mm_enet()
799 if (idx >= sc->sc_nmuxs || sc->sc_muxs[idx].reg == 0) in imxccm_imx8mm_ahb()
828 if (idx >= sc->sc_nmuxs || sc->sc_muxs[idx].reg == 0) in imxccm_imx8mm_i2c()
849 if (idx >= sc->sc_nmuxs || sc->sc_muxs[idx].reg == 0) in imxccm_imx8mm_uart()
1528 idx < sc->sc_ndivs && sc->sc_divs[idx].reg && in imxccm_get_frequency()
1569 idx < sc->sc_ndivs && sc->sc_divs[idx].reg && in imxccm_get_frequency()
[all …]
H A Drkpinctrl.c94 u_int idx : 5; member
427 } else if ((bank == 1) && (idx >= 16 && idx <= 17)) { in rk3308_pinctrl()
430 } else if ((bank == 1) && (idx >= 18 && idx <= 20)) { in rk3308_pinctrl()
433 } else if ((bank == 1) && (idx >= 21 && idx <= 23)) { in rk3308_pinctrl()
437 } else if ((bank == 3) && (idx >= 12 && idx <= 13)) { in rk3308_pinctrl()
569 } else if (bank == 2 && idx >= 16 && idx <= 20) { in rk3328_pinctrl()
572 } else if (bank == 2 && idx >= 21 && idx <= 23) { in rk3328_pinctrl()
578 } else if (bank == 3 && idx >= 5 && idx <= 7) { in rk3328_pinctrl()
581 } else if (bank == 3 && idx >= 8 && idx <= 12) { in rk3328_pinctrl()
584 } else if (bank == 3 && idx >= 13 && idx <= 15) { in rk3328_pinctrl()
[all …]
/openbsd/gnu/usr.bin/binutils/bfd/doc/
H A Dchew.c434 idx = skip_white_and_stars (src, idx);
451 idx = skip_white_and_stars (src, idx);
467 idx++;
530 for (idx = 0; idx < len; idx++) in paramstuff()
542 for (idx = fname; idx < len; idx++) in paramstuff()
547 for (idx = openp; at (tos, idx) && at (tos, idx) != ';'; idx++) in paramstuff()
910 idx++;
921 idx = copy_past_newline (ptr, idx, tos); in icopy_past_newline()
958 idx--; in kill_bogus_lines()
962 idx++; in kill_bogus_lines()
[all …]
/openbsd/gnu/usr.bin/binutils/gas/
H A Dmacro.c257 idx = sb_skip_white (idx, in); in getstring()
346 idx = sb_skip_white (idx, in); in get_any_string()
439 idx = sb_skip_white (idx, in); in do_formals()
517 idx = sb_skip_white (idx, in); in define_macro()
544 for (idx = 0; idx < name.len; idx++) in define_macro()
562 idx = get_token (idx, in, name); in get_apost_token()
893 idx = sb_skip_white (idx, in); in macro_expand()
914 idx = get_token (idx, in, &t); in macro_expand()
974 idx = sb_skip_comma (idx, in); in macro_expand()
1106 idx = sb_skip_white (idx, in); in expand_irp()
[all …]
/openbsd/gnu/usr.bin/binutils-2.17/gas/
H A Dmacro.c391 idx = sb_skip_white (idx, in); in get_any_string()
525 idx = sb_skip_white (idx, in); in do_formals()
572 idx = sb_skip_white (idx, in); in do_formals()
578 idx = sb_skip_white (idx, in); in do_formals()
669 idx = sb_skip_white (idx, in); in define_macro()
710 for (idx = 0; idx < name.len; idx++) in define_macro()
1068 idx = sb_skip_white (idx, in); in macro_expand()
1089 idx = get_token (idx, in, &t); in macro_expand()
1167 idx = sb_skip_comma (idx, in); in macro_expand()
1334 idx = sb_skip_white (idx, in); in expand_irp()
[all …]
/openbsd/usr.sbin/mopd/mopprobe/
H A Dmopprobe.c209 idx = idx + tmpc; in mopProcess()
212 idx = idx + 3; in mopProcess()
218 idx = idx + 2; in mopProcess()
224 idx = idx + 6; in mopProcess()
227 idx = idx + 10; in mopProcess()
248 idx = idx + tmpc; in mopProcess()
251 idx = idx + 1; in mopProcess()
254 idx = idx + 1; in mopProcess()
257 idx = idx + 2; in mopProcess()
273 idx = idx + 2; in mopProcess()
[all …]
/openbsd/usr.sbin/mopd/mopd/
H A Dprocess.c69 *idx = *idx + tmpc; in mopProcessInfo()
72 *idx = *idx + 3; in mopProcessInfo()
82 *idx = *idx + 6; in mopProcessInfo()
85 *idx = *idx + 10; in mopProcessInfo()
92 *idx = *idx + tmpc; in mopProcessInfo()
113 *idx = *idx + ilen; in mopProcessInfo()
120 *idx = *idx + ilen; in mopProcessInfo()
132 idx = 0; in mopSendASV()
150 if (pfWrite(ii->fd, pkt, idx, trans) != idx) in mopSendASV()
212 idx = idx + len; in mopStartLoad()
[all …]
/openbsd/gnu/llvm/libcxx/src/
H A Dstring.cpp96 if (idx) in as_integer_helper()
97 *idx = static_cast<size_t>(ptr - p); in as_integer_helper()
183 if (idx) in as_float_helper()
184 *idx = static_cast<size_t>(ptr - p); in as_float_helper()
245 float stof(const string& str, size_t* idx) { in stof() argument
246 return as_float<float>("stof", str, idx); in stof()
249 double stod(const string& str, size_t* idx) { in stod() argument
250 return as_float<double>("stod", str, idx); in stod()
278 float stof(const wstring& str, size_t* idx) { in stof() argument
279 return as_float<float>("stof", str, idx); in stof()
[all …]
/openbsd/gnu/usr.bin/binutils-2.17/opcodes/
H A Ddlx-dis.c146 int idx; in dlx_r_type() local
148 for (idx = 0; idx < r_opc_num; idx++) in dlx_r_type()
159 for (idx = 0 ; idx < dlx_r_opcode_num; idx++) in dlx_r_type()
203 int idx; in dlx_load_type() local
205 for (idx = 0 ; idx < dlx_load_opcode_num; idx++) in dlx_load_type()
247 int idx; in dlx_store_type() local
249 for (idx = 0 ; idx < dlx_store_opcode_num; idx++) in dlx_store_type()
305 for (idx = 0 ; idx < dlx_aluI_opcode_num; idx++) in dlx_aluI_type()
339 for (idx = 0 ; idx < dlx_br_opcode_num; idx++) in dlx_br_type()
379 for (idx = 0 ; idx < dlx_jmp_opcode_num; idx++) in dlx_jmp_type()
[all …]
/openbsd/gnu/llvm/lldb/tools/debugserver/source/MacOSX/
H A DMachThreadList.cpp122 for (size_t idx = 0; idx < num_threads; ++idx) { in GetThreadByID() local
136 for (size_t idx = 0; idx < num_threads; ++idx) { in GetThreadByMachPortNumber() local
150 for (size_t idx = 0; idx < num_threads; ++idx) { in GetThreadIDByMachPortNumber() local
163 for (size_t idx = 0; idx < num_threads; ++idx) { in GetMachPortNumberByThreadID() local
309 for (idx = 0; idx < thread_list_count; ++idx) { in UpdateThreadList()
369 for (uint32_t idx = 0; idx < num_threads; ++idx) { in Dump() local
414 for (uint32_t idx = 0; idx < num_threads; ++idx) { in ProcessWillResume() local
453 for (uint32_t idx = 0; idx < num_threads; ++idx) { in ProcessDidStop() local
481 for (uint32_t idx = 0; idx < num_threads; ++idx) { in NotifyBreakpointChanged() local
498 for (uint32_t idx = 0; idx < num_threads; ++idx) { in DoHardwareBreakpointAction() local
[all …]
/openbsd/gnu/usr.bin/binutils/opcodes/
H A Ddlx-dis.c169 int idx; local
171 for (idx = 0; idx < r_opc_num; idx++)
182 for (idx = 0 ; idx < dlx_r_opcode_num; idx++)
227 int idx; local
229 for (idx = 0 ; idx < dlx_load_opcode_num; idx++)
272 int idx; local
274 for (idx = 0 ; idx < dlx_store_opcode_num; idx++)
331 for (idx = 0 ; idx < dlx_aluI_opcode_num; idx++)
366 for (idx = 0 ; idx < dlx_br_opcode_num; idx++)
407 for (idx = 0 ; idx < dlx_jmp_opcode_num; idx++)
[all …]
/openbsd/sys/dev/pci/drm/radeon/
H A Devergreen_cs.c1073 unsigned idx; in evergreen_cs_parse_packet0() local
1076 idx = pkt->idx + 1; in evergreen_cs_parse_packet0()
1785 idx = pkt->idx + 1; in evergreen_packet3_check()
2104 ib[idx+1] = (ib[idx+1] & 0x3) | (offset & 0xfffffffc); in evergreen_packet3_check()
2802 u32 idx; in evergreen_dma_cs_parse() local
2812 idx = p->idx; in evergreen_dma_cs_parse()
3350 u32 idx = pkt->idx + 1; in evergreen_vm_packet3_check() local
3527 pkt.idx = idx; in evergreen_ib_parse()
3537 idx += 1; in evergreen_ib_parse()
3644 idx += 4; in evergreen_dma_ib_parse()
[all …]
H A Dr600_cs.c927 idx, reg); in r600_packet0_check()
942 unsigned idx; in r600_cs_parse_packet0() local
945 idx = pkt->idx + 1; in r600_cs_parse_packet0()
1313 ib[idx] |= 3; in r600_cs_check_reg()
1632 unsigned idx; in r600_packet3_check() local
1640 idx = pkt->idx + 1; in r600_packet3_check()
1770 ib[idx+1] = (ib[idx+1] & 0x3) | (offset & 0xfffffff0); in r600_packet3_check()
2011 ib[idx+1+(i*8)+2] = (ib[idx+1+(i*8)+2] & 0xffffff00) | in r600_packet3_check()
2345 unsigned idx; in r600_dma_cs_next_reloc() local
2392 idx = p->idx; in r600_dma_cs_parse()
[all …]
/openbsd/sys/arch/sparc64/sparc64/
H A Dmdesc.c193 idx++; in mdesc_get_prop_val()
217 idx++; in mdesc_get_prop_str()
243 idx++; in mdesc_get_prop_data()
256 int idx; in mdesc_find() local
261 for (idx = 0; elem[idx].tag == 'N'; idx = elem[idx].d.val) { in mdesc_find()
265 return (idx); in mdesc_find()
285 for (; elem[idx].tag != 'E'; idx++) { in mdesc_find_child()
290 arc = elem[idx].d.val; in mdesc_find_child()
307 int idx; in mdesc_find_node() local
313 for (idx = 0; elem[idx].tag == 'N'; idx = elem[idx].d.val) { in mdesc_find_node()
[all …]
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_flat_map.h41 CHECK_LT(idx, kSize); in contains()
45 T &operator[](uptr idx) {
46 DCHECK_LT(idx, kSize);
47 return map_[idx];
51 DCHECK_LT(idx, kSize);
52 return map_[idx];
114 T &operator[](uptr idx) {
125 T *Get(uptr idx) const { in Get() argument
126 DCHECK_LT(idx, kSize1); in Get()
144 return Create(idx); in GetOrCreate()
[all …]
/openbsd/gnu/llvm/lldb/include/lldb/Interpreter/
H A DOptionValueProperties.h97 uint32_t idx) const;
113 uint32_t idx) const;
139 uint32_t idx,
147 uint32_t idx);
151 uint32_t idx) const;
155 uint32_t idx) const;
159 uint32_t idx) const;
174 uint32_t idx,
210 Property *ProtectedGetPropertyAtIndex(uint32_t idx) { in ProtectedGetPropertyAtIndex() argument
211 return ((idx < m_properties.size()) ? &m_properties[idx] : nullptr); in ProtectedGetPropertyAtIndex()
[all …]
/openbsd/regress/lib/libagentx/
H A Dmain.c453 uint32_t idx; in regress_intindex() local
465 idx++; in regress_intindex()
468 idx++; in regress_intindex()
543 if (idx == NULL || idx[0] < 'a') { in regress_strindex()
576 (idx[0] != 'a' && idx[0] != 'b' && idx[0] != 'c'))) { in regress_implstrindex()
591 if (idx == NULL || idx[0] < 'a') in regress_implstrindex()
754 uint32_t idx; in regress_intindexstaticvalueint() local
763 uint32_t idx; in regress_intindexstaticvaluestring() local
772 uint32_t idx; in regress_intindexstaticanyint() local
781 uint32_t idx; in regress_intindexstaticanystring() local
[all …]
/openbsd/sys/arch/riscv64/dev/
H A Dstfclock.c335 switch (idx) { in stfclock_get_frequency_jh7100()
356 switch (idx) { in stfclock_get_frequency_jh7100()
399 switch (idx) { in stfclock_get_frequency_jh7100()
468 switch (idx) { in stfclock_enable_jh7100()
505 switch (idx) { in stfclock_get_frequency_jh7110_aon()
520 switch (idx) { in stfclock_get_frequency_jh7110_aon()
527 switch (idx) { in stfclock_get_frequency_jh7110_aon()
561 switch (idx) { in stfclock_set_frequency_jh7110_aon()
571 switch (idx) { in stfclock_set_frequency_jh7110_aon()
581 switch (idx) { in stfclock_set_frequency_jh7110_aon()
[all …]
/openbsd/sys/dev/pci/drm/i915/display/
H A Dintel_display_power_map.c111 .hsw.idx = HSW_PW_CTL_IDX_GLOBAL,
145 .hsw.idx = HSW_PW_CTL_IDX_GLOBAL,
204 .vlv.idx = PUNIT_PWGT_IDX_DISP2D,
362 .hsw.idx = SKL_PW_CTL_IDX_PW_1,
390 .hsw.idx = SKL_PW_CTL_IDX_PW_2,
470 .hsw.idx = SKL_PW_CTL_IDX_PW_2,
574 .hsw.idx = SKL_PW_CTL_IDX_PW_2,
724 .hsw.idx = ICL_PW_CTL_IDX_PW_1,
743 .hsw.idx = ICL_PW_CTL_IDX_PW_2,
751 .hsw.idx = ICL_PW_CTL_IDX_PW_3,
[all …]

12345678910>>...59