Searched refs:idx (Results 126 - 150 of 2817) sorted by relevance

1234567891011>>

/netbsd-current/external/lgpl3/gmp/dist/mpn/generic/
H A Dtrialdiv.c67 gmp_uint_least32_t idx:24; /* index of first primes in dtab */ member in struct:gmp_primes_ptab
99 long i, j, idx, np; local
111 idx = gmp_primes_ptab[i].idx;
115 dp = &gmp_primes_dtab[idx] + np;
/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/subdev/bios/
H A Drammap.h11 u32 nvbios_rammapEe(struct nvkm_bios *, int idx,
15 u32 nvbios_rammapEp(struct nvkm_bios *, int idx,
21 u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx,
23 u32 nvbios_rammapSp_from_perf(struct nvkm_bios *bios, u32 data, u8 size, int idx,
26 u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx,
/netbsd-current/crypto/external/bsd/openssl.old/dist/test/
H A Dx509_internal_test.c90 static int test_a2i_ipaddress(int idx) argument
94 int len = a2i_ipaddress_tests[idx].length;
96 ip = a2i_IPADDRESS(a2i_ipaddress_tests[idx].ipasc);
100 TEST_note("'%s' should not be parsed as IP address", a2i_ipaddress_tests[idx].ipasc);
106 a2i_ipaddress_tests[idx].data, len)) {
H A Dmdc2_internal_test.c47 static int test_mdc2(int idx) argument
51 const TESTDATA testdata = tests[idx];
60 TEST_info("mdc2 test %d: unexpected output", idx);
H A Drsa_test.c215 static int rsa_setkey(RSA** key, unsigned char *ctext, int idx) argument
221 switch (idx) {
235 static int test_rsa_simple(int idx, int en_pad_type, int de_pad_type, argument
249 clentmp = rsa_setkey(&key, ctext_ex, idx);
276 static int test_rsa_pkcs1(int idx) argument
278 return test_rsa_simple(idx, RSA_PKCS1_PADDING, RSA_PKCS1_PADDING, 1, NULL,
282 static int test_rsa_sslv23(int idx) argument
287 ret = test_rsa_simple(idx, RSA_PKCS1_PADDING, RSA_SSLV23_PADDING, 1, NULL,
291 ret &= test_rsa_simple(idx, RSA_SSLV23_PADDING, RSA_PKCS1_PADDING, 1, NULL,
298 ret &= test_rsa_simple(idx, RSA_SSLV23_PADDIN
304 test_rsa_oaep(int idx) argument
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/test/
H A Dx509_internal_test.c81 static int test_a2i_ipaddress(int idx) argument
85 int len = a2i_ipaddress_tests[idx].length;
87 ip = a2i_IPADDRESS(a2i_ipaddress_tests[idx].ipasc);
91 TEST_note("'%s' should not be parsed as IP address", a2i_ipaddress_tests[idx].ipasc);
97 a2i_ipaddress_tests[idx].data, len)) {
H A Dmdc2_internal_test.c53 static int test_mdc2(int idx) argument
57 const TESTDATA testdata = tests[idx];
66 TEST_info("mdc2 test %d: unexpected output", idx);
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_bitvector.h34 bool setBit(uptr idx) { argument
36 bits_ |= mask(idx);
41 bool clearBit(uptr idx) { argument
43 bits_ &= ~mask(idx);
47 bool getBit(uptr idx) const { return (bits_ & mask(idx)) != 0; }
51 uptr idx = LeastSignificantSetBitIndex(bits_); local
52 clearBit(idx);
53 return idx;
85 // uptr idx
144 setBit(uptr idx) argument
159 clearBit(uptr idx) argument
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_bitvector.h32 bool setBit(uptr idx) { argument
34 bits_ |= mask(idx);
39 bool clearBit(uptr idx) { argument
41 bits_ &= ~mask(idx);
45 bool getBit(uptr idx) const { return (bits_ & mask(idx)) != 0; }
49 uptr idx = LeastSignificantSetBitIndex(bits_); local
50 clearBit(idx);
51 return idx;
83 // uptr idx
142 setBit(uptr idx) argument
157 clearBit(uptr idx) argument
[all...]
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_bitvector.h33 bool setBit(uptr idx) { argument
35 bits_ |= mask(idx);
40 bool clearBit(uptr idx) { argument
42 bits_ &= ~mask(idx);
46 bool getBit(uptr idx) const { return (bits_ & mask(idx)) != 0; }
50 uptr idx = LeastSignificantSetBitIndex(bits_); local
51 clearBit(idx);
52 return idx;
84 // uptr idx
143 setBit(uptr idx) argument
158 clearBit(uptr idx) argument
[all...]
/netbsd-current/external/bsd/openldap/dist/tests/progs/
H A Dslapd-mtread.c63 int force, int idx );
68 int force, int idx );
73 int force, int idx );
109 thread_error(int idx, char *string) argument
113 snprintf(thrstr, BUFSIZ, "error on tidx: %d: %s", idx, string);
118 thread_output(int idx, char *string) argument
122 snprintf(thrstr, BUFSIZ, "tidx: %d says: %s", idx, string);
127 thread_verbose(int idx, char *string) argument
133 snprintf(thrstr, BUFSIZ, "tidx: %d says: %s", idx, string);
342 int idx local
410 int idx = (ldap_pvt_thread_t *)arg - rtid; local
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/clk/
H A Dnouveau_nvkm_subdev_clk_gk104.c150 read_clk(struct gk104_clk *clk, int idx) argument
153 u32 sctl = nvkm_rd32(device, 0x137250 + (idx * 4));
156 if (idx < 7) {
158 if (ssel & (1 << idx)) {
159 sclk = read_pll(clk, 0x137000 + (idx * 0x20));
162 sclk = read_div(clk, idx, 0x137160, 0x1371d0);
166 u32 ssrc = nvkm_rd32(device, 0x137160 + (idx * 0x04));
168 sclk = read_div(clk, idx, 0x137160, 0x1371d0);
177 sclk = read_div(clk, idx, 0x137160, 0x1371d0);
228 calc_div(struct gk104_clk *clk, int idx, u3 argument
239 calc_src(struct gk104_clk *clk, int idx, u32 freq, u32 *dsrc, u32 *ddiv) argument
268 calc_pll(struct gk104_clk *clk, int idx, u32 freq, u32 *coef) argument
292 calc_clk(struct gk104_clk *clk, struct nvkm_cstate *cstate, int idx, int dom) argument
362 gk104_clk_prog_0(struct gk104_clk *clk, int idx) argument
373 gk104_clk_prog_1_0(struct gk104_clk *clk, int idx) argument
384 gk104_clk_prog_1_1(struct gk104_clk *clk, int idx) argument
391 gk104_clk_prog_2(struct gk104_clk *clk, int idx) argument
416 gk104_clk_prog_3(struct gk104_clk *clk, int idx) argument
427 gk104_clk_prog_4_0(struct gk104_clk *clk, int idx) argument
442 gk104_clk_prog_4_1(struct gk104_clk *clk, int idx) argument
[all...]
/netbsd-current/sys/arch/arm/rockchip/
H A Drk3399_iomux.c212 rk3399_iomux_set_bias(struct rk3399_iomux_softc *sc, u_int bank, u_int idx, int flags) argument
226 reg += 0x4 * (idx / 8);
228 const int pull_type = banks[bank].iomux[idx / 8].pull_type;
244 const uint32_t bias_val = __SHIFTIN(bias, GRF_GPIO_P_CTL(idx));
245 const uint32_t bias_mask = GRF_GPIO_P_WRITE_EN(idx);
248 printf("%s: bank %d idx %d flags %#x: %08x -> ", __func__, bank, idx, flags, RD4(syscon, reg));
266 rk3399_iomux_set_drive_strength(struct rk3399_iomux_softc *sc, u_int bank, u_int idx, u_int val) argument
274 if (idx >= 32)
277 const int drv = rk3399_iomux_map_drive_strength(sc, banks[bank].iomux[idx /
356 rk3399_iomux_set_mux(struct rk3399_iomux_softc *sc, u_int bank, u_int idx, u_int mux) argument
383 rk3399_iomux_config(struct rk3399_iomux_softc *sc, const int phandle, u_int bank, u_int idx, u_int mux) argument
425 const u_int idx = be32toh(pins[1]); local
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/
H A Di915_syncmap.c162 unsigned int idx; local
196 idx = __sync_leaf_idx(p, id);
197 if (!(p->bitmap & BIT(idx)))
200 return seqno_later(__sync_seqno(p)[idx], seqno);
221 unsigned int idx = __sync_leaf_idx(p, id); local
223 p->bitmap |= BIT(idx);
224 __sync_seqno(p)[idx] = seqno;
228 unsigned int idx,
231 p->bitmap |= BIT(idx);
232 __sync_child(p)[idx]
227 __sync_set_child(struct i915_syncmap *p, unsigned int idx, struct i915_syncmap *child) argument
238 unsigned int idx; local
[all...]
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/x509/
H A Dx509_trs.c68 int idx; local
74 idx = X509_TRUST_get_by_id(id);
75 if (idx == -1)
77 pt = X509_TRUST_get0(idx);
88 X509_TRUST *X509_TRUST_get0(int idx) argument
90 if (idx < 0)
92 if (idx < (int)X509_TRUST_COUNT)
93 return trstandard + idx;
94 return sk_X509_TRUST_value(trtable, idx - X509_TRUST_COUNT);
100 int idx; local
126 int idx; local
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/x509/
H A Dx509_trust.c68 int idx; local
74 idx = X509_TRUST_get_by_id(id);
75 if (idx < 0)
77 pt = X509_TRUST_get0(idx);
88 X509_TRUST *X509_TRUST_get0(int idx) argument
90 if (idx < 0)
92 if (idx < (int)X509_TRUST_COUNT)
93 return trstandard + idx;
94 return sk_X509_TRUST_value(trtable, idx - X509_TRUST_COUNT);
100 int idx; local
126 int idx; local
[all...]
/netbsd-current/sys/dev/ic/
H A Di82365var.h200 pcic_read(h, idx)
202 int idx;
204 if (idx != -1)
206 h->sock + idx);
212 pcic_write(h, idx, data)
214 int idx;
217 if (idx != -1)
219 h->sock + idx);
223 #define pcic_read(h, idx) \
224 (*(h)->ph_read)((h), (idx))
[all...]
/netbsd-current/common/lib/libc/string/
H A Dstrcspn.c46 static const uint8_t idx[8] = { 1, 2, 4, 8, 16, 32, 64, 128 }; local
63 set[UC(*charset) >> 3] |= idx[UC(*charset) & 7];
66 if (set[UC(*t) >> 3] & idx[UC(*t) & 7])
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFAbbreviationDeclaration.h100 dwarf::Form getFormByIndex(uint32_t idx) const {
101 assert(idx < AttributeSpecs.size());
102 return AttributeSpecs[idx].Form;
109 dwarf::Attribute getAttrByIndex(uint32_t idx) const {
110 assert(idx < AttributeSpecs.size());
111 return AttributeSpecs[idx].Attr;
114 bool getAttrIsImplicitConstByIndex(uint32_t idx) const {
115 assert(idx < AttributeSpecs.size());
116 return AttributeSpecs[idx].isImplicitConst();
119 int64_t getAttrImplicitConstValueByIndex(uint32_t idx) cons
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/subdev/
H A Dgpio.h32 int nvkm_gpio_find(struct nvkm_gpio *, int idx, u8 tag, u8 line,
34 int nvkm_gpio_set(struct nvkm_gpio *, int idx, u8 tag, u8 line, int state);
35 int nvkm_gpio_get(struct nvkm_gpio *, int idx, u8 tag, u8 line);
/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/
H A Dnouveau_nvkm_subdev_bios_boost.c64 nvbios_boostEe(struct nvkm_bios *bios, int idx, argument
69 if (data && idx < *cnt) {
70 data = data + *hdr + (idx * (*len + (snr * ssz)));
80 nvbios_boostEp(struct nvkm_bios *bios, int idx, argument
83 u32 data = nvbios_boostEe(bios, idx, ver, hdr, cnt, len);
97 u32 data, idx = 0; local
98 while ((data = nvbios_boostEp(bios, idx++, ver, hdr, cnt, len, info))) {
106 nvbios_boostSe(struct nvkm_bios *bios, int idx, argument
109 if (data && idx < cnt) {
110 data = data + *hdr + (idx * le
118 nvbios_boostSp(struct nvkm_bios *bios, int idx, u32 data, u8 *ver, u8 *hdr, u8 cnt, u8 len, struct nvbios_boostS *info) argument
[all...]
H A Dnouveau_nvkm_subdev_bios_cstep.c64 nvbios_cstepEe(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr) argument
68 if (data && idx < cnt) {
69 data = data + *hdr + (idx * len);
77 nvbios_cstepEp(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr, argument
80 u32 data = nvbios_cstepEe(bios, idx, ver, hdr);
93 u32 data, idx = 0; local
94 while ((data = nvbios_cstepEp(bios, idx++, ver, hdr, info))) {
102 nvbios_cstepXe(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr) argument
106 if (data && idx < xnr) {
107 data = data + *hdr + (cnt * len) + (idx * xs
115 nvbios_cstepXp(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr, struct nvbios_cstepX *info) argument
[all...]
/netbsd-current/lib/libc/stdlib/
H A Dhcreate.c105 size_t idx; local
134 for (idx = 0; idx < nel; idx++)
135 SLIST_INIT(&table[idx]);
158 size_t idx; local
169 for (idx = 0; idx < head->size; idx++) {
170 while (!SLIST_EMPTY(&table[idx])) {
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/arm/
H A Dsimd_by_scalar_low_regbank.s1 .macro vmul_iter reg0 reg1 reg2 idx
3 \op d\reg0, d\reg1, d\reg2[\idx]
4 \op q\reg0, q\reg1, d\reg2[\idx]
8 .macro vmul_acc_iter reg0 reg1 reg2 idx
10 \op d\reg0, d\reg1, d\reg2[\idx]
11 \op q\reg0, q\reg1, d\reg2[\idx]
/netbsd-current/external/gpl3/gdb/dist/gdb/dwarf2/
H A Dmapped-index.h47 offset_type idx; member in struct:name_component
98 (offset_type idx, dwarf2_per_objfile *per_objfile) const = 0;
102 virtual bool symbol_name_slot_invalid (offset_type idx) const

Completed in 408 milliseconds

1234567891011>>