/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/ |
ReferenceQueueTest.java | 50 SoftReference sr = new SoftReference(integer, rq); 55 ReferenceQueue rq; field in class:ReferenceQueueTest 67 SoftReference sr = new SoftReference(b, rq); 68 WeakReference wr = new WeakReference(obj, rq); 69 PhantomReference pr = new PhantomReference(str, rq); 70 assertNull(rq.poll()); 76 assertTrue("Remove failed.", ((Boolean) rq.poll().get()) 83 assertEquals("Remove failed.", obj, (rq.poll().get())); 89 assertNull("Remove failed.", rq.poll().get()); 94 assertNull(rq.poll()) 238 ReferenceQueue rq = new ReferenceQueue(); local [all...] |
PhantomReferenceTest.java | 39 ReferenceQueue rq = new ReferenceQueue(); local 41 PhantomReference pr = new PhantomReference(bool, rq); 83 final ReferenceQueue rq = new ReferenceQueue(); local 91 tprs[0] = new TestPhantomReference(obj, rq); 92 tprs[1] = new TestPhantomReference(obj, rq); 93 tprs[2] = new TestPhantomReference(obj, rq); 94 tprs[3] = new TestPhantomReference(obj, rq); 111 Reference r = rq.remove(100L); 131 ReferenceQueue rq = new ReferenceQueue(); local 134 PhantomReference pr = new PhantomReference(bool, rq); [all...] |
ReferenceTest.java | 89 ReferenceQueue rq = new ReferenceQueue(); local 91 Reference ref = new SoftReference(obj, rq); 94 assertTrue("Not properly enqueued.", rq.poll().get() == obj); 98 && (rq.poll() == null)); 100 rq = new ReferenceQueue(); 103 ref = new WeakReference(obj, rq); 106 assertTrue("Not properly enqueued2.", rq.poll().get() == obj); 110 && (rq.poll() == null)); 112 ref = new PhantomReference(obj, rq); 115 assertNull("Not properly enqueued3.", rq.poll().get()) 173 final ReferenceQueue rq = new ReferenceQueue(); local 242 ReferenceQueue rq = new ReferenceQueue(); local [all...] |
WeakReferenceTest.java | 35 ReferenceQueue rq = new ReferenceQueue(); local 39 WeakReference wr = new WeakReference(bool, rq);
|
SoftReferenceTest.java | 38 ReferenceQueue rq = new ReferenceQueue(); local 41 SoftReference sr = new SoftReference(bool, rq); 94 final ReferenceQueue rq = new ReferenceQueue(); local 99 r = new SoftReference(testObj, rq); 127 ref = rq.poll();
|
/prebuilts/jdk/jdk8/darwin-x86/sample/nio/server/ |
RequestServicer.java | 76 Request rq = null; local 78 rq = Request.parse(rbb); 83 if (rp == null) rp = build(rq); // Build 136 Reply build(Request rq) throws IOException { 139 Request.Action action = rq.action(); 143 new StringContent(rq.toString())); 146 new FileContent(rq.uri()), action);
|
/prebuilts/jdk/jdk8/linux-x86/sample/nio/server/ |
RequestServicer.java | 76 Request rq = null; local 78 rq = Request.parse(rbb); 83 if (rp == null) rp = build(rq); // Build 136 Reply build(Request rq) throws IOException { 139 Request.Action action = rq.action(); 143 new StringContent(rq.toString())); 146 new FileContent(rq.uri()), action);
|
/external/ltp/testcases/kernel/syscalls/clock_nanosleep/ |
clock_nanosleep01.c | 46 struct timespec rq; member in struct:test_case 62 .rq = (struct timespec) {.tv_sec = 0, .tv_nsec = -1}, 70 .rq = (struct timespec) {.tv_sec = 0, .tv_nsec = 1000000000}, 78 .rq = (struct timespec) {.tv_sec = 0, .tv_nsec = 500000000}, 86 .rq = (struct timespec) {.tv_sec = 10, .tv_nsec = 0}, 108 TEST(clock_nanosleep(tc->clk_id, tc->flags, &tc->rq, &rm)); 116 long long expect_ms = tst_timespec_to_ms(tc->rq);
|
/external/ltp/testcases/kernel/syscalls/mq_timedsend/ |
mq_timedsend01.c | 98 .rq = &(struct timespec) {.tv_sec = -1, .tv_nsec = 0}, 106 .rq = &(struct timespec) {.tv_sec = 0, .tv_nsec = -1}, 114 .rq = &(struct timespec) {.tv_sec = 0, .tv_nsec = 1000000000}, 122 .rq = &ts, 133 .rq = &ts, 149 pid = set_sig(tc->rq); 152 set_timeout(tc->rq); 159 TEST(mq_timedsend(*tc->fd, smsg, tc->len, tc->prio, tc->rq)); 178 TEST(mq_timedreceive(*tc->fd, rmsg, len, &prio, tc->rq));
|
/external/ltp/testcases/kernel/syscalls/mq_timedreceive/ |
mq_timedreceive01.c | 98 .rq = &(struct timespec) {.tv_sec = -1, .tv_nsec = 0}, 105 .rq = &(struct timespec) {.tv_sec = 0, .tv_nsec = -1}, 112 .rq = &(struct timespec) {.tv_sec = 0, .tv_nsec = 1000000000}, 121 .rq = &ts, 128 .rq = &ts, 144 pid = set_sig(tc->rq); 147 set_timeout(tc->rq); 155 TEST(mq_timedreceive(*tc->fd, rmsg, len, &prio, tc->rq));
|
/external/toolchain-utils/go/chromeos/ |
target_cp | 25 scp -rq ${src} ${target}:${dest}
|
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/ |
EmuThunk.c | 295 struct timespec rq, rm; local 299 rq.tv_sec = DivU64x32 (Nanoseconds, 1000000000); 300 rq.tv_nsec = ModU64x32 (Nanoseconds, 1000000000); 307 end.tv_sec = start.tv_sec + rq.tv_sec; 308 MicroSec = (start.tv_usec + rq.tv_nsec/1000); 314 while (nanosleep (&rq, &rm) == -1) { 324 rq = rm; 334 struct timespec rq, rm; local 337 rq.tv_sec = 1; 338 rq.tv_nsec = 0 [all...] |
/external/ltp/testcases/kernel/syscalls/mq_open/ |
mq_open01.c | 47 struct mq_attr *rq; member in struct:test_case 68 .rq = &(struct mq_attr){.mq_maxmsg = 20, .mq_msgsize = 16384}, 244 TEST(fd = mq_open(qname, tc->oflag, S_IRWXU, tc->rq)); 246 if (fd > 0 && tc->rq) { 252 if (oldattr.mq_maxmsg != tc->rq->mq_maxmsg 253 || oldattr.mq_msgsize != tc->rq->mq_msgsize) { 257 tc->rq->mq_maxmsg, oldattr.mq_maxmsg, tc->rq->mq_msgsize,
|
/external/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.callonce/ |
call_once.pass.cpp | 250 RefQual rq; local 251 std::call_once(f1, rq); 252 assert(rq.lv_called == 1); 253 std::call_once(f2, std::move(rq)); 254 assert(rq.rv_called == 1);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.once/thread.once.callonce/ |
call_once.pass.cpp | 250 RefQual rq; local 251 std::call_once(f1, rq); 252 assert(rq.lv_called == 1); 253 std::call_once(f2, std::move(rq)); 254 assert(rq.rv_called == 1);
|
/external/ltp/testcases/kernel/device-drivers/tbio/tbio_kernel/ |
ltp_tbio.c | 81 struct request *rq; local 82 rq = blk_make_request(q, bio, GFP_KERNEL); 83 if (!rq) { 88 if ((!inter->cmd_len) || (inter->cmd_len > rq->cmd_len)) { 93 rq->cmd_len = inter->cmd_len; 95 if (copy_from_user(rq->cmd, inter->cmd, inter->cmd_len)) 98 if (*(rq->cmd + rq->cmd_len - 1)) { 99 prk_err("rq->cmd is not null-terminated"); 103 rq->__sector = bio->bi_sector [all...] |
/external/ltp/testcases/kernel/syscalls/utils/ |
mq_timed.h | 27 struct timespec *rq; member in struct:test_case
|
/external/fio/os/ |
os-linux.h | 181 struct raw_config_request rq; local 197 rq.raw_minor = minor(dev); 198 if (ioctl(fd, RAW_GETBIND, &rq) < 0) { 204 *majdev = rq.block_major; 205 *mindev = rq.block_minor;
|
/external/ltp/tools/pounder21/test_scripts/ |
ide_cdrom_copy | 70 diff -rq "$MOUNTPOINT" "$DESTINATION/`basename $MOUNTPOINT`"
|
/cts/suite/audio_quality/ |
Android.mk | 42 zip -rq $(notdir $@) android-cts-audio-quality -x android-cts-audio-quality/reports/\*
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/rpc/ |
clnt.h | 206 #define CLNT_CONTROL(cl,rq,in) ((*(cl)->cl_ops->cl_control)(cl,rq,in)) 207 #define clnt_control(cl,rq,in) ((*(cl)->cl_ops->cl_control)(cl,rq,in))
|
/toolchain/binutils/binutils-2.27/gas/config/ |
tc-tic6x.c | 1334 char *rq = q + 2; local 1355 char *rq = q + 3; local 1374 char *rq = q + 3; local 1397 char *rq = q + len; local 1531 char *rq = mq; local 1599 char *rq = q; local 4560 char *rq = regname; local [all...] |
/external/deqp/framework/opengl/ |
gluTextureTestUtil.cpp | 277 static float computeNonProjectedTriLod (LodMode mode, const tcu::IVec2& dstSize, const tcu::IVec3& srcSize, const tcu::Vec3& sq, const tcu::Vec3& tq, const tcu::Vec3& rq) 283 float dwx = (rq.z() - rq.x()) * (float)srcSize.z(); 284 float dwy = (rq.y() - rq.x()) * (float)srcSize.z(); 610 static void sampleTextureCube (const tcu::SurfaceAccess& dst, const tcu::TextureCubeView& rawSrc, const tcu::Vec4& sq, const tcu::Vec4& tq, const tcu::Vec4& rq, const ReferenceParams& params) 624 const tcu::Vec3 triR[2] = { rq.swizzle(0, 1, 2), rq.swizzle(3, 2, 1) }; 664 const tcu::Vec4 rq = tcu::Vec4(texCoord[0+2], texCoord[3+2], texCoord[6+2], texCoord[9+2]); local 666 return sampleTextureCube(dst, view, sq, tq, rq, params) 712 tcu::Vec4 rq = tcu::Vec4(texCoord[0+2], texCoord[3+2], texCoord[6+2], texCoord[9+2]); local 856 const tcu::Vec4 rq = tcu::Vec4(texCoord[0+2], texCoord[3+2], texCoord[6+2], texCoord[9+2]); local 919 tcu::Vec4 rq = tcu::Vec4(texCoord[0+2], texCoord[4+2], texCoord[8+2], texCoord[12+2]); local 1545 const tcu::Vec4 rq = tcu::Vec4(texCoord[0+2], texCoord[3+2], texCoord[6+2], texCoord[9+2]); local 1725 const tcu::Vec4 rq = tcu::Vec4(texCoord[0+2], texCoord[3+2], texCoord[6+2], texCoord[9+2]); local 2003 const tcu::Vec4 rq = tcu::Vec4(texCoord[0+2], texCoord[3+2], texCoord[6+2], texCoord[9+2]); local 2190 const tcu::Vec4 rq = tcu::Vec4(texCoord[0+2], texCoord[4+2], texCoord[8+2], texCoord[12+2]); local 2484 const tcu::Vec4 rq = tcu::Vec4(texCoord[0+2], texCoord[3+2], texCoord[6+2], texCoord[9+2]); local 2606 const tcu::Vec4 rq = tcu::Vec4(texCoord[0+2], texCoord[3+2], texCoord[6+2], texCoord[9+2]); local [all...] |
/prebuilts/go/darwin-x86/src/cmd/pack/ |
doc.go | 32 pack's r operation is more like Unix ar's rq operation.
|
/prebuilts/go/linux-x86/src/cmd/pack/ |
doc.go | 32 pack's r operation is more like Unix ar's rq operation.
|