Home
last modified time | relevance | path

Searched full:yield (Results 1 – 25 of 433) sorted by relevance

12345678910>>...18

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/
H A Dtst.lib_coroutine.lua34 -- tests for multiple yield/resume arguments
54 _G.x = {coroutine.yield(table.unpack(arg[i]))}
80 local function foo (i) return coroutine.yield(i) end
92 coroutine.yield(n)
108 for i=2,n do coroutine.yield(i) end
116 if n%p ~= 0 then coroutine.yield(n) end
139 coroutine.yield(20)
147 local f = function (s, i) return coroutine.yield(i) end
148 function f (a, b) a = coroutine.yield(a); error{a + b} end
168 coroutine.yield(3)
[all …]
/freebsd/contrib/kyua/engine/
H A Dscanner_test.cpp135 /// yield() call. This function just returns the whole set, which helps in
146 const optional< engine::scan_result > result = scanner.yield(); in yield_all()
150 ATF_REQUIRE(!scanner.yield()); in yield_all()
167 ATF_REQUIRE(!scanner.yield()); in ATF_TEST_CASE_BODY()
308 results.insert(scanner.yield().get()); in ATF_TEST_CASE_BODY()
311 results.insert(scanner.yield().get()); in ATF_TEST_CASE_BODY()
314 results.insert(scanner.yield().get()); in ATF_TEST_CASE_BODY()
317 results.insert(scanner.yield().get()); in ATF_TEST_CASE_BODY()
345 ATF_REQUIRE(!scanner.yield()); in ATF_TEST_CASE_BODY()
447 results.insert(scanner.yield().get()); in ATF_TEST_CASE_BODY()
[all …]
/freebsd/share/man/man9/
H A Dkern_yield.967 Yield the thread without changing its priority.
98 The yield functions are mostly intended to be used by threads which perform a
108 Threads which regularly yield the processor will be given the chance to run
126 the yield.
/freebsd/crypto/openssl/doc/man3/
H A DOPENSSL_FILE.pod23 typically yield the current filename and line number during C compilation.
24 When B<OPENSSL_NO_FILENAMES> is defined they yield B<""> and B<0>, respectively.
26 The macro B<OPENSSL_FUNC> attempts to yield the name of the C function
/freebsd/tools/regression/p1003_1b/
H A Dyield.c60 /* Yield: Verify that "sched_yield" works for the FIFO case.
61 * This runs several processes and verifies that the yield seems
64 int yield(int argc, char *argv[]) in yield() function
138 * The master must yield to let the first slave run. in yield()
197 int main(int argc, char *argv[]) { return yield(argc, argv); } in main()
H A Dmain.c11 int yield(int argc, char *argv[]);
22 { "yield", yield, 1 },
H A DREADME8 p1003_1b yield: Check that yielding runs the expected process.
10 As of today "p1003_1b yield" doesn't work. I have a minimal set
H A DMakefile10 yield.c
/freebsd/cddl/contrib/opensolaris/lib/pyzfs/common/
H A Ddataset.py165 yield ds
167 yield child
181 yield (domain, rid, space)
221 yield ds
230 yield Dataset(child.name + "@" +
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DLLVMContext.h162 /// Defines the type of a yield callback.
273 /// Registers a yield callback with the given context.
275 /// The yield callback function may be called by LLVM to transfer control back
276 /// to the client that invoked the LLVM compilation. This can be used to yield
287 /// yield callback are allowed to be used. Any other API calls into the
288 /// context are not supported until the yield callback function returns
292 /// Calls the yield callback (if applicable).
297 void yield();
/freebsd/crypto/openssl/external/perl/Text-Template-1.56/t/
H A Dsafe.t50 # same template text should yield the same result.
59 # should yield the same result.
98 # (13) text1 should yield badnosafeoutput
101 # (14) text2 should yield badsafeoutput
/freebsd/lib/libthr/
H A Dlibthr.3100 was unable to acquire the mutex, a yield loop
104 but each attempt is followed by a yield of the CPU time
108 By default, the yield loop
114 If both the spin and yield loops
189 A non-zero integer value enables the yield loop
/freebsd/secure/lib/libcrypto/man/man3/
H A DOPENSSL_FILE.3158 typically yield the current filename and line number during C compilation.
159 When \fB\s-1OPENSSL_NO_FILENAMES\s0\fR is defined they yield \fB""\fR and \fB0\fR, respectively.
161 The macro \fB\s-1OPENSSL_FUNC\s0\fR attempts to yield the name of the C function
/freebsd/sys/contrib/xen/
H A Dsched.h36 * with the scheduler, including yield, blocking and shutting itself
49 * of this hypercall, supporting only the commands yield, block and shutdown:
61 * Voluntarily yield the CPU.
/freebsd/crypto/krb5/src/tests/
H A Djsonwalker.py73 yield (a+'.'+attrpath,u)
75 yield (a,v)
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsMTInstrInfo.td79 string AsmString = "yield\t$rd, $rs";
107 def YIELD : YIELD_ENC, YIELD_DESC, ASE_MT;
188 def : MipsInstAlias<"yield $rs", (YIELD ZERO, GPR32Opnd:$rs), 1>, ASE_MT;
/freebsd/contrib/lua/src/
H A Dldo.c660 ** Finish the job of 'lua_pcallk' after it was interrupted by an yield.
678 status = LUA_YIELD; /* was interrupted by an yield */ in finishpcallk()
682 func = luaF_close(L, func, status, 1); /* can yield or raise an error */ in finishpcallk()
696 ** Completes the execution of a C function interrupted by an yield.
791 else { /* resuming from previous yield */ in resume()
798 else { /* 'common' yield */ in resume()
816 ** continue.) Stops with a normal end (status == LUA_OK), an yield
853 lua_assert(status == L->status); /* normal end or yield */ in lua_resume()
880 luaG_runerror(L, "attempt to yield across a C-call boundary"); in lua_yieldk()
882 luaG_runerror(L, "attempt to yield from outside a coroutine"); in lua_yieldk()
[all …]
/freebsd/contrib/diff/lib/
H A Dcmpbuf.c133 /* Yield reasonable values if buffer sizes are zero. */ in buffer_lcm()
143 /* Yield a if there is an overflow. */ in buffer_lcm()
/freebsd/sys/contrib/openzfs/module/lua/
H A Dldo.c600 else { /* resuming from previous yield */ in resume_cb()
605 else { /* 'common' yield */ in resume_cb()
614 firstArg = L->top - n; /* yield results come from continuation */ in resume_cb()
635 else { /* yield or regular error */ in lua_resume()
663 luaG_runerror(L, "attempt to yield across a C-call boundary"); in lua_yieldk()
665 luaG_runerror(L, "attempt to yield from outside a coroutine"); in lua_yieldk()
750 L->nny++; /* cannot yield during parsing */ in luaD_protectedparser()
/freebsd/sys/sys/
H A Ddisk_zone.h52 * its capacity using SMR zones. Sequential writes will yield better
59 * writes will yield better performance in Sequential Write Preferred
/freebsd/tests/atf_python/
H A Dktest.py56 yield py_test
63 yield KtestItem.from_parent(self, name=name, descr=descr, kcls=obj)
/freebsd/usr.sbin/zonectl/
H A Dzonectl.866 Sequential writes will yield better performance, but writing sequentially
75 Sequential writes will yield better performance in Sequential Write
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Dlower_bound.h57 // would yield \Omega(n*log(n)) comparisons and, for non-random-access iterators, \Omega(n^2) itera…
58 // whereas the one-sided version will yield O(n) operations on both counts, with a \Omega(log(n)) b…
/freebsd/contrib/netbsd-tests/usr.bin/config/
H A Dd_no_pseudo9 # Simply negating a pseudo-device should yield an error.
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCoroutine.cpp26 enum class AwaitKind { Init, Normal, Yield, Final }; enumerator
27 static constexpr llvm::StringLiteral AwaitKindStr[] = {"init", "await", "yield",
33 // await/yield expressions were encountered so far.
121 case AwaitKind::Yield: in buildSuspendPrefixStr()
210 // i8 0, label %yield.ready ; go here when resumed
211 // i8 1, label %yield.cleanup ; go here when destroyed
384 return emitSuspendExpression(*this, *CurCoro.Data, E, AwaitKind::Yield, in EmitCoyieldExpr()
490 AwaitKind::Yield, AggValueSlot::ignored(), in EmitCoyieldLValue()

12345678910>>...18