Home
last modified time | relevance | path

Searched refs:ind (Results 1 – 25 of 115) sorted by relevance

12345

/openbsd-src/sys/crypto/
H A Dcriov.c104 int ind, len; in cuio_getptr() local
106 ind = 0; in cuio_getptr()
107 while (loc >= 0 && ind < uio->uio_iovcnt) { in cuio_getptr()
108 len = uio->uio_iov[ind].iov_len; in cuio_getptr()
111 return (ind); in cuio_getptr()
114 ind++; in cuio_getptr()
117 if (ind > 0 && loc == 0) { in cuio_getptr()
118 ind--; in cuio_getptr()
119 *off = uio->uio_iov[ind].iov_len; in cuio_getptr()
120 return (ind); in cuio_getptr()
[all …]
H A Dcryptosoft.c105 int i, k, j, blks, ind, count, ivlen; in swcr_encdec() local
281 ind = cuio_getptr(uio, count, &k); in swcr_encdec()
282 if (ind == -1) in swcr_encdec()
292 if (uio->uio_iov[ind].iov_len < k + blks && in swcr_encdec()
293 uio->uio_iov[ind].iov_len != k) { in swcr_encdec()
340 ind = cuio_getptr(uio, count, &k); in swcr_encdec()
341 if (ind == -1) in swcr_encdec()
356 idat = (char *)uio->uio_iov[ind].iov_base + k; in swcr_encdec()
358 while (uio->uio_iov[ind].iov_len >= k + blks && in swcr_encdec()
403 if (i > 0 && k == uio->uio_iov[ind].iov_len) { in swcr_encdec()
[all …]
/openbsd-src/gnu/usr.bin/perl/regen/
H A Dembed.pl99 my $ind= $level ? " " : "";
100 $ind .= " " x ($level-1) if $level>1;
101 my $inner_ind= $ind ? " " : " ";
325 $ret .= "\n#${ind}define PERL_ARGS_ASSERT_\U$plain_func\E";
345 $ret = "#${ind}ifndef PERL_NO_INLINE_FUNCTIONS\n$ret\n#${ind}endif"
347 $ret = "#${ind}ifndef NO_MATHOMS\n$ret\n#${ind}endif"
440 my ($sym,$pre,$ptr,$ind) = @_;
441 $ind//
[all...]
H A DHeaderParser.pm175 my $ind= "";
176 $ind .= " " if $level;
177 $ind .= " " x ($level - 1) if $level > 1;
178 return $ind;
1057 my $ind= $self->indent_chars($level);
1058 $line =~ s/^#(\s*)/#$ind/;
1319 my $ind= $self->indent_chars($depth);
1360 my $raw= "#${ind}if $expr\n";
1375 $self->_handle_else($not, $node->{$not}, $ind, $depth, @path,
1381 $raw= "#${ind}endi
[all...]
/openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/Chapter9/
H A Dtoy.cpp210 virtual raw_ostream &dump(raw_ostream &out, int ind) { in dump() argument
221 raw_ostream &dump(raw_ostream &out, int ind) override { in dump() argument
222 return ExprAST::dump(out << Val, ind); in dump()
236 raw_ostream &dump(raw_ostream &out, int ind) override { in dump() argument
237 return ExprAST::dump(out << Name, ind); in dump()
250 raw_ostream &dump(raw_ostream &out, int ind) override { in dump() argument
251 ExprAST::dump(out << "unary" << Opcode, ind); in dump()
252 Operand->dump(out, ind + 1); in dump()
267 raw_ostream &dump(raw_ostream &out, int ind) override { in dump() argument
268 ExprAST::dump(out << "binary" << Op, ind); in dump()
[all …]
/openbsd-src/sbin/scsi/
H A Dlibscsi.c565 int ind; in do_encode() local
574 ind = 0; in do_encode()
599 ind = value; in do_encode()
615 if (ind < vec_max) { in do_encode()
616 buff[ind++] = val; in do_encode()
623 if (ind < vec_max) { in do_encode()
624 buff[ind++] = val; in do_encode()
632 if (ind < vec_max) in do_encode()
633 buff[ind++] = value; in do_encode()
637 if (ind < vec_max - 2 + 1) { in do_encode()
[all …]
/openbsd-src/usr.bin/pctr/
H A Dpctr.c250 int ind; in pctr_fn2str() local
258 if ((ind = pctr_ctrfn_index(p5fn, fn)) < 0) in pctr_fn2str()
261 msg = p5fn[ind].name; in pctr_fn2str()
274 if ((ind = pctr_ctrfn_index(cfnp, fn)) < 0) in pctr_fn2str()
277 msg = cfnp[ind].name; in pctr_fn2str()
278 if (cfnp[ind].name && cfnp[ind].flags & CFL_MESI) in pctr_fn2str()
284 else if (cfnp[ind].name && cfnp[ind].flags & CFL_SA) in pctr_fn2str()
432 int ind = 0; in pctr_set_cntr() local
456 if (func && (ind = pctr_ctrfn_index(cfnp, func)) < 0) in pctr_set_cntr()
458 if (func && (cfnp[ind].flags & CFL_SA)) in pctr_set_cntr()
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/IO-Compress/lib/IO/Uncompress/Adapter/
H A DIdentity.pm59 my $ind = index($$in, "\x50\x4b\x07\x08");
61 if ($ind < 0) {
64 $ind = $len - 3 ;
67 $ind = $len - 2 ;
70 $ind = $len - 1 ;
74 if ($ind >= 0) {
75 $remainder = substr($$in, $ind) ;
76 substr($$in, $ind) = '' ;
/openbsd-src/gnu/lib/libiberty/src/
H A Dxatexit.c52 int ind; /* next index in this table */ member
76 if (p->ind >= XATEXIT_SIZE) in xatexit()
80 p->ind = 0; in xatexit()
84 p->fns[p->ind++] = fn; in xatexit()
97 for (n = p->ind; --n >= 0;) in xatexit_cleanup()
/openbsd-src/lib/libcrypto/x509/
H A Dx509_ocsp.c96 BIO *bp, int ind);
260 i2r_ocsp_crlid(const X509V3_EXT_METHOD *method, void *in, BIO *bp, int ind) in i2r_ocsp_crlid() argument
264 if (BIO_printf(bp, "%*scrlUrl: ", ind, "") <= 0) in i2r_ocsp_crlid()
272 if (BIO_printf(bp, "%*scrlNum: ", ind, "") <= 0) in i2r_ocsp_crlid()
280 if (BIO_printf(bp, "%*scrlTime: ", ind, "") <= 0) in i2r_ocsp_crlid()
295 int ind) in i2r_ocsp_acutoff() argument
297 if (BIO_printf(bp, "%*s", ind, "") <= 0) in i2r_ocsp_acutoff()
305 i2r_object(const X509V3_EXT_METHOD *method, void *oid, BIO *bp, int ind) in i2r_object() argument
307 if (BIO_printf(bp, "%*s", ind, "") <= 0) in i2r_object()
398 i2r_ocsp_serviceloc(const X509V3_EXT_METHOD *method, void *in, BIO *bp, int ind) in i2r_ocsp_serviceloc() argument
[all...]
H A Dx509_ncons.c72 void *a, BIO *bp, int ind);
74 STACK_OF(GENERAL_SUBTREE) *trees, BIO *bp, int ind, char *name);
246 i2r_NAME_CONSTRAINTS(const X509V3_EXT_METHOD *method, void *a, BIO *bp, int ind) in i2r_NAME_CONSTRAINTS() argument
251 bp, ind, "Permitted"); in i2r_NAME_CONSTRAINTS()
253 bp, ind, "Excluded"); in i2r_NAME_CONSTRAINTS()
259 STACK_OF(GENERAL_SUBTREE) *trees, BIO *bp, int ind, char *name) in do_i2r_name_constraints() argument
265 BIO_printf(bp, "%*s%s:\n", ind, "", name); in do_i2r_name_constraints()
268 BIO_printf(bp, "%*s", ind + 2, ""); in do_i2r_name_constraints()
/openbsd-src/games/trek/
H A Dshield.c69 int ind; in shield() local
84 ind = CLOAK; in shield()
94 ind = SHIELD; in shield()
97 if (damaged(ind)) in shield()
100 out(ind); in shield()
/openbsd-src/usr.bin/lex/
H A Dccl.c42 int ind, len, i; in ccl_contains() local
45 ind = cclmap[cclp]; in ccl_contains()
48 if (ccltbl[ind + i] == ch) in ccl_contains()
60 int ind, len, newpos, i;
65 ind = cclmap[cclp];
70 if (ccltbl[ind + i] == ch)
77 newpos = ind + len;
62 int ind, len, newpos, i; global() local
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g77.f-torture/execute/
H A Dclaus.f8 ind=k-n+2
9 if (ind /= 1) call abort
10 if (ab(ind) /= 1) call abort
/openbsd-src/lib/libc/stdlib/
H A Datexit.c80 if (p->ind + 1 >= p->max) in __cxa_atexit()
92 p->ind = 1; in __cxa_atexit()
94 p->ind = 0; in __cxa_atexit()
100 fnp = &p->fns[p->ind++]; in __cxa_atexit()
161 for (n = p->ind; --n >= 0;) { in __cxa_finalize()
240 p->ind = 1; in __atexit_register_cleanup()
/openbsd-src/gnu/llvm/llvm/utils/vim/indent/
H A Dllvm.vim63 let ind = indent(prev_lnum)
68 let ind = ind + &shiftwidth
71 return ind
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Parser/YAMLish/
H A DReader.pm149 my ( $next, $ind ) = $self->_peek;
150 last if $ind < $indent;
152 my $pad = $string eq '|' ? ( ' ' x ( $ind - $indent ) ) : '';
/openbsd-src/gnu/usr.sbin/mkhybrid/src/
H A Dfiles.c170 FDECL3(add_file_list, int, argc, char **,argv, int, ind) in FDECL3() argument
175 while (ind < argc) { in FDECL3()
176 dup_arg = strdup (argv[ind]); in FDECL3()
186 ind++; in FDECL3()
/openbsd-src/gnu/usr.bin/binutils/bfd/
H A Dppcboot.c42 bfd_byte ind; member
199 if (hdr.partition[0].partition_end.ind != PPC_IND)
435 if (!tdata->header.partition[i].partition_begin.ind
439 && !tdata->header.partition[i].partition_end.ind
447 tdata->header.partition[i].partition_begin.ind,
453 tdata->header.partition[i].partition_end.ind,
/openbsd-src/gnu/usr.bin/binutils-2.17/bfd/
H A Dppcboot.c42 bfd_byte ind; member
199 if (hdr.partition[0].partition_end.ind != PPC_IND)
438 if (!tdata->header.partition[i].partition_begin.ind
442 && !tdata->header.partition[i].partition_end.ind
450 tdata->header.partition[i].partition_begin.ind,
456 tdata->header.partition[i].partition_end.ind,
/openbsd-src/usr.bin/m4/
H A Deval.c857 int ind; in doundiv() local
861 for (ind = 2; ind < argc; ind++) { in doundiv()
863 n = strtonum(argv[ind], 1, INT_MAX, &errstr); in doundiv()
866 getdivfile(argv[ind]); in doundiv()
/openbsd-src/sbin/growfs/
H A Dgrowfs.c847 int ind; in updcsloc() local
1129 ind = 0; in updcsloc()
1133 if (!ind) { in updcsloc()
1134 bp[ind].old = d / sblock.fs_frag; in updcsloc()
1135 bp[ind].flags|=GFS_FL_FIRST; in updcsloc()
1137 bp[ind].flags |= GFS_FL_LAST; in updcsloc()
1138 ind++; in updcsloc()
1167 bp[ind].old = d / sblock.fs_frag; in updcsloc()
1168 ind++; in updcsloc()
1223 bp[ind].old = d / sblock.fs_frag; in updcsloc()
[all …]
/openbsd-src/gnu/usr.bin/binutils-2.17/opcodes/
H A Dia64-gen.c467 int ind; in fetch_insn_class() local
540 ind = iclen++; in fetch_insn_class()
541 ics[ind] = tmalloc (struct iclass); in fetch_insn_class()
542 memset ((void *)ics[ind], 0, sizeof (struct iclass)); in fetch_insn_class()
543 ics[ind]->name = xstrdup (name); in fetch_insn_class()
544 ics[ind]->is_class = is_class; in fetch_insn_class()
545 ics[ind]->orphan = 1; in fetch_insn_class()
549 ics[ind]->comment = xstrdup (comment + 1); in fetch_insn_class()
550 ics[ind]->comment[strlen (ics[ind]->comment)-1] = 0; in fetch_insn_class()
554 ics[ind]->note = note; in fetch_insn_class()
[all …]
/openbsd-src/gnu/usr.bin/binutils/opcodes/
H A Dia64-gen.c456 int ind; in fetch_insn_class() local
529 ind = iclen++; in fetch_insn_class()
530 ics[ind] = tmalloc (struct iclass); in fetch_insn_class()
531 memset ((void *)ics[ind], 0, sizeof (struct iclass)); in fetch_insn_class()
532 ics[ind]->name = xstrdup (name); in fetch_insn_class()
533 ics[ind]->is_class = is_class; in fetch_insn_class()
534 ics[ind]->orphan = 1; in fetch_insn_class()
538 ics[ind]->comment = xstrdup (comment + 1); in fetch_insn_class()
539 ics[ind]->comment[strlen (ics[ind]->comment)-1] = 0; in fetch_insn_class()
543 ics[ind]->note = note; in fetch_insn_class()
[all …]
/openbsd-src/lib/libcrypto/bn/
H A Dbn_lib.c531 #define BN_CONSTTIME_SWAP(ind) \ in BN_consttime_swap() argument
533 t = (a->d[ind] ^ b->d[ind]) & condition; \ in BN_consttime_swap()
534 a->d[ind] ^= t; \ in BN_consttime_swap()
535 b->d[ind] ^= t; \ in BN_consttime_swap()

12345