/external/bluetooth/bluez/test/ |
lmptest.c | 50 struct hci_request rq; 58 memset(&rq, 0, sizeof(rq)); 59 rq.ogf = OGF_VENDOR_CMD; 60 rq.ocf = OCF_ERICSSON_SEND_LMP; 61 rq.cparam = &cp; 62 rq.clen = ERICSSON_SEND_LMP_CP_SIZE; 63 rq.rparam = NULL; 64 rq.rlen = 0; 66 if (hci_send_req(dd, &rq, 1000) < 0 83 struct hci_request rq; local [all...] |
bdaddr.c | 63 struct hci_request rq; local 69 memset(&rq, 0, sizeof(rq)); 70 rq.ogf = OGF_VENDOR_CMD; 71 rq.ocf = OCF_ERICSSON_WRITE_BD_ADDR; 72 rq.cparam = &cp; 73 rq.clen = ERICSSON_WRITE_BD_ADDR_CP_SIZE; 74 rq.rparam = NULL; 75 rq.rlen = 0; 77 if (hci_send_req(dd, &rq, 1000) < 0 93 struct hci_request rq; local 123 struct hci_request rq; local 173 struct hci_request rq; local 205 struct hci_request rq; local 233 struct hci_request rq; local 261 struct hci_request rq; local [all...] |
/external/bluetooth/bluez/tools/ |
csr_hci.c | 90 struct hci_request rq; local 120 memset(&rq, 0, sizeof(rq)); 121 rq.ogf = OGF_VENDOR_CMD; 122 rq.ocf = 0x00; 123 rq.event = EVT_VENDOR; 124 rq.cparam = cp; 125 rq.clen = (size * 2) + 1; 126 rq.rparam = rp; 127 rq.rlen = sizeof(rp) [all...] |
csr.c | 2361 struct hci_request rq; local 2407 struct hci_request rq; local 2446 struct hci_request rq; local 2487 struct hci_request rq; local 2527 struct hci_request rq; local 2569 struct hci_request rq; local 2611 struct hci_request rq; local [all...] |
hciattach_ti.c | 246 struct hci_request rq; local 247 memset(&rq, 0, sizeof(rq)); 248 rq.ogf = cmd_opcode_ogf(opcode); 249 rq.ocf = cmd_opcode_ocf(opcode); 250 rq.event = EVT_CMD_COMPLETE; 251 rq.cparam = &send_action->data[3]; 252 rq.clen = send_action->data[2]; 253 rq.rparam = response; 254 rq.rlen = sizeof(response) [all...] |
hciconfig.c | 200 struct hci_request rq; local 223 memset(&rq, 0, sizeof(rq)); 224 rq.ogf = OGF_LE_CTL; 225 rq.ocf = OCF_LE_SET_RANDOM_ADDRESS; 226 rq.cparam = &cp; 227 rq.clen = LE_SET_RANDOM_ADDRESS_CP_SIZE; 228 rq.rparam = &status; 229 rq.rlen = 1; 231 ret = hci_send_req(dd, &rq, 1000) 243 struct hci_request rq; local 291 struct hci_request rq; local 1387 struct hci_request rq; local 1456 struct hci_request rq; local 1527 struct hci_request rq; local 1658 struct hci_request rq; local 1704 struct hci_request rq; local [all...] |
hcitool.c | 1003 struct hci_request rq; local 1032 memset(&rq, 0, sizeof(rq)); 1033 rq.ogf = OGF_LINK_CTL; 1034 rq.ocf = OCF_PERIODIC_INQUIRY; 1035 rq.cparam = &cp; 1036 rq.clen = PERIODIC_INQUIRY_CP_SIZE; 1038 if (hci_send_req(dd, &rq, 100) < 0) { 1694 struct hci_request rq; local [all...] |
/libcore/luni/src/test/java/tests/api/java/lang/ref/ |
ReferenceQueueTest.java | 43 rq.wait(1000); 46 synchronized (rq) { 50 SoftReference sr = new SoftReference(integer, rq); 52 rq.notify(); 57 ReferenceQueue rq; field in class:ReferenceQueueTest 69 SoftReference sr = new SoftReference(b, rq); 70 WeakReference wr = new WeakReference(obj, rq); 71 PhantomReference pr = new PhantomReference(str, rq); 72 assertNull(rq.poll()); 78 assertNull("Remove failed.", rq.poll().get()) 238 ReferenceQueue rq = new ReferenceQueue(); local [all...] |
WeakReferenceTest.java | 35 ReferenceQueue rq = new ReferenceQueue(); local 39 WeakReference wr = new WeakReference(bool, rq);
|
PhantomReferenceTest.java | 38 ReferenceQueue rq = new ReferenceQueue(); local 40 PhantomReference pr = new PhantomReference(bool, rq); 65 final ReferenceQueue rq = new ReferenceQueue(); local 73 tprs[0] = new TestPhantomReference(obj, rq); 74 tprs[1] = new TestPhantomReference(obj, rq); 75 tprs[2] = new TestPhantomReference(obj, rq); 76 tprs[3] = new TestPhantomReference(obj, rq); 93 Reference r = rq.remove(100L); 113 ReferenceQueue rq = new ReferenceQueue(); local 116 PhantomReference pr = new PhantomReference(bool, rq); [all...] |
SoftReferenceTest.java | 39 ReferenceQueue rq = new ReferenceQueue(); local 42 SoftReference sr = new SoftReference(bool, rq); 95 final ReferenceQueue rq = new ReferenceQueue(); local 100 r = new SoftReference(testObj, rq); 129 ref = rq.poll();
|
ReferenceTest.java | 111 ReferenceQueue rq = new ReferenceQueue(); local 113 Reference ref = new SoftReference(obj, rq); 116 assertTrue("Not properly enqueued.", rq.poll().get() == obj); 120 && (rq.poll() == null)); 122 rq = new ReferenceQueue(); 125 ref = new WeakReference(obj, rq); 128 assertTrue("Not properly enqueued2.", rq.poll().get() == obj); 132 && (rq.poll() == null)); 134 ref = new PhantomReference(obj, rq); 137 assertNull("Not properly enqueued3.", rq.poll().get()) 197 final ReferenceQueue rq = new ReferenceQueue(); local 267 ReferenceQueue rq = new ReferenceQueue(); local [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ref/ |
ReferenceQueueTest.java | 40 rq.wait(1000); 43 synchronized (rq) { 47 SoftReference sr = new SoftReference(integer, rq); 49 rq.notify(); 54 ReferenceQueue rq; field in class:ReferenceQueueTest 63 SoftReference sr = new SoftReference(b, rq); 65 assertTrue("Remove failed.", ((Boolean) rq.poll().get()) 76 SoftReference sr = new SoftReference(b, rq); 78 assertTrue("Remove failed.", ((Boolean) rq.remove().get()) 86 assertNull("Queue is empty.", rq.poll()) [all...] |
PhantomReferenceTest.java | 34 ReferenceQueue rq = new ReferenceQueue(); local 36 PhantomReference pr = new PhantomReference(bool, rq); 45 ReferenceQueue rq = new ReferenceQueue(); local 47 PhantomReference pr = new PhantomReference(bool, rq);
|
SoftReferenceTest.java | 34 ReferenceQueue rq = new ReferenceQueue(); local 36 SoftReference sr = new SoftReference(bool, rq);
|
WeakReferenceTest.java | 35 ReferenceQueue rq = new ReferenceQueue(); local 38 WeakReference wr = new WeakReference(bool, rq);
|
ReferenceTest.java | 55 ReferenceQueue rq = new ReferenceQueue(); local 57 Reference ref = new SoftReference(obj, rq); 60 assertTrue("Not properly enqueued.", rq.poll().get() == obj); 64 && (rq.poll() == null)); 66 rq = new ReferenceQueue(); 68 ref = new WeakReference(obj, rq); 71 assertTrue("Not properly enqueued2.", rq.poll().get() == obj); 75 && (rq.poll() == null)); 96 final ReferenceQueue rq = new ReferenceQueue(); local 103 wr = new WeakReference(testObj, rq); 147 ReferenceQueue rq = new ReferenceQueue(); local [all...] |
/sdk/ide_common/tests/src/com/android/ide/common/resources/configuration/ |
RegionQualifierTest.java | 23 private RegionQualifier rq; field in class:RegionQualifierTest 30 rq = new RegionQualifier(); 37 rq = null; 42 assertEquals(true, rq.checkAndSet("rUS", config));//$NON-NLS-1$ 49 assertEquals(false, rq.checkAndSet("", config));//$NON-NLS-1$ 50 assertEquals(false, rq.checkAndSet("rus", config));//$NON-NLS-1$ 51 assertEquals(false, rq.checkAndSet("rUSA", config));//$NON-NLS-1$ 52 assertEquals(false, rq.checkAndSet("abc", config));//$NON-NLS-1$
|
/external/bluetooth/hcidump/src/ |
bpasniff.c | 60 struct hci_request rq; local 64 memset(&rq, 0, sizeof(rq)); 65 rq.ogf = OGF_VENDOR_CMD; 66 rq.ocf = 0x000e; 67 rq.cparam = req; 68 rq.clen = sizeof(req); 69 rq.rparam = &buf; 70 rq.rlen = sizeof(buf); 72 if (hci_send_req(dd, &rq, 1000) < 0 88 struct hci_request rq; local 113 struct hci_request rq; local [all...] |
/external/bluetooth/bluez/lib/ |
hci.c | 1235 struct hci_request rq; local 1244 memset(&rq, 0, sizeof(rq)); 1245 rq.ogf = OGF_LINK_CTL; 1246 rq.ocf = OCF_CREATE_CONN; 1247 rq.event = EVT_CONN_COMPLETE; 1248 rq.cparam = &cp; 1249 rq.clen = CREATE_CONN_CP_SIZE; 1250 rq.rparam = &rp; 1251 rq.rlen = EVT_CONN_COMPLETE_SIZE 1269 struct hci_request rq; local 1296 struct hci_request rq; local 1325 struct hci_request rq; local 1354 struct hci_request rq; local 1381 struct hci_request rq; local 1404 struct hci_request rq; local 1428 struct hci_request rq; local 1452 struct hci_request rq; local 1491 struct hci_request rq; local 1513 struct hci_request rq; local 1545 struct hci_request rq; local 1579 struct hci_request rq; local 1615 struct hci_request rq; local 1644 struct hci_request rq; local 1671 struct hci_request rq; local 1696 struct hci_request rq; local 1723 struct hci_request rq; local 1755 struct hci_request rq; local 1780 struct hci_request rq; local 1803 struct hci_request rq; local 1819 struct hci_request rq; local 1842 struct hci_request rq; local 1857 struct hci_request rq; local 1881 struct hci_request rq; local 1899 struct hci_request rq; local 1917 struct hci_request rq; local 1936 struct hci_request rq; local 1955 struct hci_request rq; local 1982 struct hci_request rq; local 2010 struct hci_request rq; local 2037 struct hci_request rq; local 2065 struct hci_request rq; local 2096 struct hci_request rq; local 2124 struct hci_request rq; local 2148 struct hci_request rq; local 2175 struct hci_request rq; local 2199 struct hci_request rq; local 2226 struct hci_request rq; local 2250 struct hci_request rq; local 2277 struct hci_request rq; local 2303 struct hci_request rq; local 2331 struct hci_request rq; local 2355 struct hci_request rq; local 2382 struct hci_request rq; local 2406 struct hci_request rq; local 2435 struct hci_request rq; local 2464 struct hci_request rq; local 2493 struct hci_request rq; local 2519 struct hci_request rq; local 2548 struct hci_request rq; local 2575 struct hci_request rq; local 2604 struct hci_request rq; local 2632 struct hci_request rq; local 2657 struct hci_request rq; local 2683 struct hci_request rq; local 2711 struct hci_request rq; local 2740 struct hci_request rq; local 2771 struct hci_request rq; local 2803 struct hci_request rq; local 2837 struct hci_request rq; local 2884 struct hci_request rq; local [all...] |
/external/openssl/apps/ |
x509.c | 199 X509_REQ *rq=NULL; local 997 rq=X509_to_X509_REQ(x,pk,digest); 999 if (rq == NULL) 1006 X509_REQ_print(out,rq); 1007 PEM_write_bio_X509_REQ(out,rq); 1084 X509_REQ_free(rq); [all...] |
/bionic/libc/kernel/common/linux/ |
blkdev.h | 287 struct request_list rq; member in struct:request_queue 406 #define blk_fs_request(rq) ((rq)->flags & REQ_CMD) 407 #define blk_pc_request(rq) ((rq)->flags & REQ_BLOCK_PC) 408 #define blk_noretry_request(rq) ((rq)->flags & REQ_FAILFAST) 409 #define blk_rq_started(rq) ((rq)->flags & REQ_STARTED) 411 #define blk_account_rq(rq) (blk_rq_started(rq) && blk_fs_request(rq) [all...] |
/development/ndk/platforms/android-3/include/linux/ |
blkdev.h | 287 struct request_list rq; member in struct:request_queue 406 #define blk_fs_request(rq) ((rq)->flags & REQ_CMD) 407 #define blk_pc_request(rq) ((rq)->flags & REQ_BLOCK_PC) 408 #define blk_noretry_request(rq) ((rq)->flags & REQ_FAILFAST) 409 #define blk_rq_started(rq) ((rq)->flags & REQ_STARTED) 411 #define blk_account_rq(rq) (blk_rq_started(rq) && blk_fs_request(rq) [all...] |
/external/iproute2/misc/ |
ss.c | 430 int rq, wq; member in struct:tcpstat 1215 &s.state, &s.wq, &s.rq, 1235 printf("%-6d %-6d ", s.rq, s.wq); 1903 int rq; member in struct:unixstat 2076 int rq; local 2151 int rq, wq, rc; local [all...] |
/external/kernel-headers/original/linux/ |
blkdev.h | 328 struct request_list rq; member in struct:request_queue 493 #define blk_fs_request(rq) ((rq)->flags & REQ_CMD) 494 #define blk_pc_request(rq) ((rq)->flags & REQ_BLOCK_PC) 495 #define blk_noretry_request(rq) ((rq)->flags & REQ_FAILFAST) 496 #define blk_rq_started(rq) ((rq)->flags & REQ_STARTED) 498 #define blk_account_rq(rq) (blk_rq_started(rq) && blk_fs_request(rq) [all...] |