| /openbsd-src/lib/libc/crypt/ |
| H A D | cryptutil.c | 54 crypt_newhash(const char *pass, const char *pref, char *hash, size_t hashlen) in crypt_newhash() argument 64 if (pref == NULL) in crypt_newhash() 65 pref = defaultpref; in crypt_newhash() 70 if (strcmp(pref, choice) == 0) { in crypt_newhash() 73 } else if (strncmp(pref, choice, len) == 0 && in crypt_newhash() 74 pref[len] == ',') { in crypt_newhash() 75 if (strcmp(pref + len + 1, "a") == 0) { in crypt_newhash() 78 rounds = strtonum(pref + len + 1, 4, 31, &errstr); in crypt_newhash()
|
| /openbsd-src/gnu/usr.bin/perl/cpan/IPC-Cmd/t/ |
| H A D | 01_IPC-Cmd.t | 95 for my $pref ( @Prefs ) { 97 local $IPC::Cmd::USE_IPC_RUN = !!$pref->[0]; 98 local $IPC::Cmd::USE_IPC_RUN = !!$pref->[0]; 99 local $IPC::Cmd::USE_IPC_OPEN3 = !!$pref->[1]; 100 local $IPC::Cmd::USE_IPC_OPEN3 = !!$pref->[1]; 109 $pp_cmd .= " (IPC::Run: $pref->[0] IPC::Open3: $pref->[1])"; 199 for my $pref ( @Prefs ) { 200 diag( "Running config: IPC::Run: $pref->[0] IPC::Open3: $pref->[1]" ) 203 local $IPC::Cmd::USE_IPC_RUN = $pref->[0]; 204 local $IPC::Cmd::USE_IPC_OPEN3 = $pref->[1]; [all …]
|
| /openbsd-src/usr.bin/yacc/ |
| H A D | mkpar.c | 241 action *p, *pref = NULL; in remove_conflicts() local 253 pref = p; in remove_conflicts() 258 } else if (pref->action_code == SHIFT) { in remove_conflicts() 259 if (pref->prec > 0 && p->prec > 0) { in remove_conflicts() 260 if (pref->prec < p->prec) { in remove_conflicts() 261 pref->suppressed = 2; in remove_conflicts() 262 pref = p; in remove_conflicts() 263 } else if (pref->prec > p->prec) { in remove_conflicts() 265 } else if (pref->assoc == LEFT) { in remove_conflicts() 266 pref->suppressed = 2; in remove_conflicts() [all …]
|
| /openbsd-src/usr.sbin/makefs/ffs/ |
| H A D | ffs_balloc.c | 77 daddr_t newb, pref; in ffs_balloc_ufs1() local 195 pref = 0; in ffs_balloc_ufs1() 213 pref = ffs_blkpref_ufs1(ip, lbn, 0, (int32_t *)0); in ffs_balloc_ufs1() 214 error = ffs_alloc(ip, lbn, pref, (int)fs->fs_bsize, &newb); in ffs_balloc_ufs1() 252 if (pref == 0) in ffs_balloc_ufs1() 253 pref = ffs_blkpref_ufs1(ip, lbn, 0, (int32_t *)0); in ffs_balloc_ufs1() 254 error = ffs_alloc(ip, lbn, pref, (int)fs->fs_bsize, &newb); in ffs_balloc_ufs1() 283 pref = ffs_blkpref_ufs1(ip, lbn, indirs[num].in_off, &bap[0]); in ffs_balloc_ufs1() 284 error = ffs_alloc(ip, lbn, pref, (int)fs->fs_bsize, &newb); in ffs_balloc_ufs1() 326 daddr_t newb, pref, nb; in ffs_balloc_ufs2() local [all …]
|
| /openbsd-src/sys/ufs/ext2fs/ |
| H A D | ext2fs_balloc.c | 67 daddr_t lbn, pref; in ext2fs_buf_alloc() local 110 pref = 0; in ext2fs_buf_alloc() 125 pref = ext2fs_blkpref(ip, lbn, 0, NULL); in ext2fs_buf_alloc() 126 error = ext2fs_alloc(ip, lbn, pref, cred, &newb); in ext2fs_buf_alloc() 164 pref = ext2fs_blkpref(ip, lbn, 0, NULL); in ext2fs_buf_alloc() 165 error = ext2fs_alloc(ip, lbn, pref, cred, &newb); in ext2fs_buf_alloc() 201 pref = ext2fs_blkpref(ip, lbn, indirs[num].in_off, bap); in ext2fs_buf_alloc() 202 error = ext2fs_alloc(ip, lbn, pref, cred, &newb); in ext2fs_buf_alloc()
|
| /openbsd-src/sys/ufs/ffs/ |
| H A D | ffs_balloc.c | 73 daddr_t lbn, nb, newb, pref; in ffs1_balloc() local 211 pref = 0; in ffs1_balloc() 227 pref = ffs1_blkpref(ip, lbn, -indirs[0].in_off - 1, NULL); in ffs1_balloc() 228 error = ffs_alloc(ip, lbn, pref, (int)fs->fs_bsize, in ffs1_balloc() 268 if (pref == 0) in ffs1_balloc() 269 pref = ffs1_blkpref(ip, lbn, i - num - 1, NULL); in ffs1_balloc() 270 error = ffs_alloc(ip, lbn, pref, (int)fs->fs_bsize, cred, in ffs1_balloc() 307 pref = ffs1_blkpref(ip, lbn, indirs[i].in_off, &bap[0]); in ffs1_balloc() 308 error = ffs_alloc(ip, lbn, pref, (int)fs->fs_bsize, cred, in ffs1_balloc() 408 daddr_t pref, *allocblk, allociblk[NIADDR + 1]; in ffs2_balloc() local [all …]
|
| H A D | ffs_alloc.c | 599 uint32_t pref; in ffs1_blkpref() local 621 pref = cgmeta(fs, inocg); in ffs1_blkpref() 628 pref = ip->i_din1->di_db[NDADDR - 1] + fs->fs_frag; in ffs1_blkpref() 629 return (pref); in ffs1_blkpref() 637 pref = ip->i_din1->di_ib[0]; in ffs1_blkpref() 638 if (pref != 0 && pref >= cgdata(fs, inocg) && in ffs1_blkpref() 639 pref < cgbase(fs, inocg + 1)) in ffs1_blkpref() 640 return (pref + fs->fs_frag); in ffs1_blkpref() 700 uint64_t pref; in ffs2_blkpref() local 722 pref = cgmeta(fs, inocg); in ffs2_blkpref() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/dist/I18N-LangTags/lib/I18N/LangTags/ |
| H A D | Detect.pm | 97 my %pref; 117 push @{ $pref{$q} }, lc $1; 122 map @{$pref{$_}}, 124 keys %pref
|
| /openbsd-src/gnu/usr.bin/perl/regen/ |
| H A D | feature.pl | 449 my %pref; 451 push @{$pref{substr($key, 0, 1)}}, $key; 454 for my $pref (sort keys %pref) { 456 case '$pref': 459 for my $subkey (@{$pref{$pref}}) {
|
| /openbsd-src/usr.bin/encrypt/ |
| H A D | encrypt.c | 67 const char *pref; in print_passwd() local 74 pref = prefbuf; in print_passwd() 81 pref = login_getcapstr(lc, "localcipher", NULL, NULL); in print_passwd() 83 if (crypt_newhash(string, pref, buffer, sizeof(buffer)) != 0) in print_passwd()
|
| /openbsd-src/gnu/usr.bin/perl/dist/Locale-Maketext/t/ |
| H A D | 01_about_verbose.t | 30 my $pref; 54 $pref = length($this) ? "$this\::" : ''; 55 push @stack, map m/^(.+)::$/ ? "$pref$1" : (), keys %{$this . '::'};
|
| /openbsd-src/lib/libssl/ |
| H A D | t1_lib.c | 445 tls1_get_group_lists(const SSL *ssl, const uint16_t **pref, size_t *preflen, in tls1_get_group_lists() argument 455 tls1_get_group_list(ssl, (server_pref == 0), pref, preflen); in tls1_get_group_lists() 478 const uint16_t *pref, *supp; in tls1_count_shared_groups() local 480 if (!tls1_get_group_lists(ssl, &pref, &preflen, &supp, &supplen)) in tls1_count_shared_groups() 485 if (!tls1_group_id_present(pref[i], supp, supplen)) in tls1_count_shared_groups() 488 if (!ssl_security_shared_group(ssl, pref[i])) in tls1_count_shared_groups() 504 const uint16_t *pref, *supp; in tls1_group_by_index() local 506 if (!tls1_get_group_lists(ssl, &pref, &preflen, &supp, &supplen)) in tls1_group_by_index() 511 if (!tls1_group_id_present(pref[i], supp, supplen)) in tls1_group_by_index() 514 if (!ssl_security_fn(ssl, pref[ in tls1_group_by_index() [all...] |
| /openbsd-src/usr.bin/passwd/ |
| H A D | local_passwd.c | 175 char *p, *pref; in getnewpasswd() local 237 pref = login_getcapstr(lc, "localcipher", NULL, NULL); in getnewpasswd() 238 if (crypt_newhash(newpass, pref, hash, sizeof(hash)) != 0) { in getnewpasswd() 244 free(pref); in getnewpasswd()
|
| /openbsd-src/usr.bin/rcs/ |
| H A D | diff.c | 221 static int pref, suff; /* length of prefix and suffix */ variable 461 for (pref = 0; pref < len[0] && pref < len[1] && in prune() 462 file[0][pref + 1].value == file[1][pref + 1].value; in prune() 463 pref++) in prune() 465 for (suff = 0; suff < len[0] - pref && suff < len[1] - pref && in prune() 470 sfile[j] = file[j] + pref; in prune() 471 slen[j] = len[j] - pref - suff; in prune() 619 J[i] = i <= pref ? i : in unravel() 622 J[q->x + pref] = q->y + pref; in unravel()
|
| /openbsd-src/usr.bin/top/ |
| H A D | machine.c | 131 static struct kinfo_proc **pref; variable 438 pref = reallocarray(pref, (onproc = nproc), in get_process_info() 440 if (pref == NULL) { in get_process_info() 460 prefp = pref; in get_process_info() 491 qsort((char *)pref, active_procs, sizeof(struct kinfo_proc *), compare); in get_process_info() 497 handle.next_proc = pref; in get_process_info() 805 prefp = pref; in proc_owner()
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Win32API-File/ |
| H A D | File.pm | 287 my( $mode, $pref ); 291 $pref= "+<"; 294 $pref= "<"; 299 $pref= ">"; 304 $pref= "<"; 321 return open( $fh, $pref."&=".(0+$fd) );
|
| /openbsd-src/usr.bin/diff/ |
| H A D | diffreg.c | 215 static int pref, suff; /* length of prefix and suffix */ variable 528 for (pref = 0; pref < len[0] && pref < len[1] && in prune() 529 file[0][pref + 1].value == file[1][pref + 1].value; in prune() 530 pref++) in prune() 532 for (suff = 0; suff < len[0] - pref && suff < len[1] - pref && in prune() 537 sfile[j] = file[j] + pref; in prune() 538 slen[j] = len[j] - pref - suff; in prune() 686 J[i] = i <= pref ? i : in unravel() 689 J[q->x + pref] = q->y + pref; in unravel()
|
| /openbsd-src/usr.bin/cvs/ |
| H A D | diff_internals.c | 224 static int pref, suff; /* length of prefix and suffix */ variable 479 for (pref = 0; pref < len[0] && pref < len[1] && in prune() 480 file[0][pref + 1].value == file[1][pref + 1].value; in prune() 481 pref++) in prune() 483 for (suff = 0; suff < len[0] - pref && suff < len[1] - pref && in prune() 488 sfile[j] = file[j] + pref; in prune() 489 slen[j] = len[j] - pref - suff; in prune() 637 J[i] = i <= pref ? i : in unravel() 640 J[q->x + pref] = q->y + pref; in unravel()
|
| /openbsd-src/usr.sbin/amd/amd/ |
| H A D | nfsx_ops.c | 165 char *pref; in nfsx_init() local 175 pref = host+1; in nfsx_init() 181 ivec = strsplit(pref, ',', '\''); in nfsx_init() 201 rfs = str3cat(rfs, pref, "/", path); in nfsx_init() 215 if (pref[1] != '\0') in nfsx_init()
|
| /openbsd-src/gnu/usr.bin/perl/dist/Test/t/ |
| H A D | 05_about_verbose.t | 29 my $pref; 52 $pref = length($this) ? "$this\::" : ''; 53 push @stack, map m/^(.+)::$/ ? "$pref$1" : (), keys %{$this . '::'};
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Pod-Perldoc/t/ |
| H A D | 01_about_verbose.t | 29 my $pref; 52 $pref = length($this) ? "$this\::" : ''; 53 push @stack, map m/^(.+)::$/ ? "$pref$1" : (), keys %{$this . '::'};
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Pod-Escapes/t/ |
| H A D | 01_about_verbose.t | 34 my $pref; 57 $pref = length($this) ? "$this\::" : ''; 58 push @stack, map m/^(.+)::$/ ? "$pref$1" : (), keys %{$this . '::'};
|
| /openbsd-src/gnu/usr.bin/perl/dist/I18N-LangTags/t/ |
| H A D | 01_about_verbose.t | 33 my $pref; 57 $pref = length($this) ? "$this\::" : ''; 58 push @stack, map m/^(.+)::$/ ? "$pref$1" : (), keys %{$this . '::'};
|
| /openbsd-src/sys/nfs/ |
| H A D | nfs_vfsops.c | 193 u_int32_t pref, max; in nfs_fsinfo() local 215 pref = fxdr_unsigned(u_int32_t, fsp->fs_wtpref); in nfs_fsinfo() 216 if (pref < nmp->nm_wsize) in nfs_fsinfo() 217 nmp->nm_wsize = (pref + NFS_FABLKSIZE - 1) & in nfs_fsinfo() 225 pref = fxdr_unsigned(u_int32_t, fsp->fs_rtpref); in nfs_fsinfo() 226 if (pref < nmp->nm_rsize) in nfs_fsinfo() 227 nmp->nm_rsize = (pref + NFS_FABLKSIZE - 1) & in nfs_fsinfo() 235 pref = fxdr_unsigned(u_int32_t, fsp->fs_dtpref); in nfs_fsinfo() 236 if (pref < nmp->nm_readdirsize) in nfs_fsinfo() 237 nmp->nm_readdirsize = (pref in nfs_fsinfo() [all...] |
| /openbsd-src/regress/sbin/slaacd/ |
| H A D | process_ra.py | 18 pref = ICMPv6NDOptPrefixInfo(prefixlen=64, prefix='2001:db8:1::', variable 25 p = eth/ip/ra/pref/mtu/rdnss/dnssl
|