Home
last modified time | relevance | path

Searched refs:locked (Results 1 – 25 of 69) sorted by relevance

123

/mirbsd/src/gnu/usr.bin/perl/lib/Hash/
DUtil.t25 my %hash = (foo => 42, bar => 23, locked => 'yep');
49 eval { delete $hash{locked} };
52 eval { $hash{locked} = 42; };
55 is( $hash{locked}, 'yep' );
67 eval { $hash{locked} = 42; };
70 eval { delete $hash{locked} },
74 $hash{locked} = 42;
75 is( $hash{locked}, 42, 'unlock_value' );
79 my %hash = ( foo => 42, locked => 23 );
/mirbsd/src/sys/uvm/
Duvm_fault.c301 boolean_t locked; /* did we relock? */ local
418 locked = uvmfault_relock(ufi);
419 if (locked && amap != NULL) {
422 if (locked || we_own)
455 if (locked)
487 if (locked)
504 if (!locked)
512 if (!locked) {
569 boolean_t wired, narrow, promote, locked, shadowed; local
1391 locked = uvmfault_relock(&ufi);
[all …]
Duvm_loan.c421 boolean_t locked; local
477 locked = uvmfault_relock(ufi);
478 if (locked && amap)
489 (locked && amap && amap_lookup(&ufi->entry->aref,
492 if (locked)
494 locked = FALSE;
501 if (locked == FALSE) {
Duvm_anon.c317 boolean_t locked = FALSE; local
343 locked =
347 locked = TRUE;
356 if (!locked) {
/mirbsd/src/gnu/usr.bin/perl/ext/Thread/Thread/
DSpecific.pm20 sub import : locked : method {
25 sub key_create : locked : method {
/mirbsd/src/gnu/usr.bin/perl/lib/
DAutoSplit.t227 sub test_a1 ($) : locked :locked { 1; }
228 sub test_a2 : locked { 1; }
260 sub test_a1\s*\(\$\)\s*:\s*locked\s*:\s*locked\s*;
261 sub test_a2\s*:\s*locked\s*;
DAutoSplit.pm499 sub test_a1 ($) : locked :locked { 1; }
500 sub test_a2 : locked { 1; }
/mirbsd/src/gnu/usr.bin/perl/t/op/
Dattrs.t66 eval 'my $x : locked method;';
67 like $@, qr/^Invalid SCALAR attributes: ["']?locked : method["']? at/;
155 my @code = qw(lvalue locked method);
Dexists_sub.t11 sub t2 : locked;
/mirbsd/src/gnu/usr.bin/perl/ext/Thread/
DQueue.pmx82 sub dequeue : locked : method {
88 sub dequeue_nb : locked : method {
97 sub enqueue : locked : method {
102 sub pending : locked : method {
Dsync2.tx13 sub single_file : locked {
17 print "Uh oh: $who entered while locked by $global\n" if $global;
Dthr5005.t58 sub islocked : locked {
75 sub monster : locked : method {
DSemaphore.pmx84 sub down : locked : method {
91 sub up : locked : method {
Dsync.tx13 sub single_file : locked {
/mirbsd/src/gnu/usr.bin/perl/ext/threads/shared/t/
Dcond.t121 ok(2,1,"lock factory: locked all locks");
128 ok(4,1,"lock factory: child: locked all locks");
152 ok(3,1,"cond_signal: child locked");
177 ok(3,1,"cond_signal: ref: child locked");
197 # locked region. When N reaches 0, the child instead does a
/mirbsd/src/sys/miscfs/deadfs/
Ddead_vnops.c361 int locked = 0; local
366 locked = 1;
368 return (locked);
/mirbsd/src/gnu/usr.bin/perl/ext/Storable/t/
Drestrict.t82 "key 'question' not locked in copy?";
85 "key 'answer' not locked in copy?";
/mirbsd/src/gnu/usr.sbin/sendmail/sendmail/
Dmci.c864 bool locked = true; local
907 locked = lockfile(sm_io_getinfo(fp, SM_IO_WHAT_FD, NULL), fname, "",
909 if (locked)
920 return locked;
1320 bool locked; local
1358 locked = !lockfile(sm_io_getinfo(fp, SM_IO_WHAT_FD, NULL), pathname,
1364 locked ? '*' : ' ', hostname,
/mirbsd/src/lib/libssl/src/crypto/engine/
Deng_lib.c107 int engine_free_util(ENGINE *e, int locked) in engine_free_util() argument
117 if(locked) in engine_free_util()
Deng_int.h130 int engine_free_util(ENGINE *e, int locked);
/mirbsd/src/usr.bin/vi/common/
Drecover.c602 int fd, found, locked, requested, sv_fd; local
648 locked = 0;
651 locked = 1;
766 if (!locked)
/mirbsd/src/usr.bin/ssh/
Dssh-agent.c119 int locked = 0; variable
565 if (locked && !lock && strcmp(passwd, lock_passwd) == 0) { in process_lock_agent()
566 locked = 0; in process_lock_agent()
571 } else if (!locked && lock) { in process_lock_agent()
572 locked = 1; in process_lock_agent()
731 if (locked && type != SSH_AGENTC_UNLOCK) { in process_message()
DPROTOCOL.agent446 Upon receipt of this message and if the agent is not already locked,
448 reply. If the agent is already locked, it will return SSH_AGENT_FAILURE.
450 While locked, the agent will refuse all requests except
453 treated specially by a locked agent: it will always return an empty list
461 If the passphrase matches and the agent is locked, then it will resume
463 is not locked or the passphrase does not match then it will return
/mirbsd/src/lib/libssl/src/crypto/bio/
Db_sock.c108 int locked = 0; in BIO_get_host_ip() local
129 locked = 1; in BIO_get_host_ip()
148 if (locked) in BIO_get_host_ip()
/mirbsd/src/usr.sbin/pppd/
Dmain.c133 static int locked; /* lock() has succeeded */ variable
453 locked = 1;
601 if (locked) {
603 locked = 0;
803 if (locked) in cleanup()

123