/system/bt/osi/src/ |
D | ringbuffer.cc | 44 void ringbuffer_free(ringbuffer_t* rb) { in ringbuffer_free() argument 45 if (rb != NULL) osi_free(rb->base); in ringbuffer_free() 46 osi_free(rb); in ringbuffer_free() 49 size_t ringbuffer_available(const ringbuffer_t* rb) { in ringbuffer_available() argument 50 CHECK(rb); in ringbuffer_available() 51 return rb->available; in ringbuffer_available() 54 size_t ringbuffer_size(const ringbuffer_t* rb) { in ringbuffer_size() argument 55 CHECK(rb); in ringbuffer_size() 56 return rb->total - rb->available; in ringbuffer_size() 59 size_t ringbuffer_insert(ringbuffer_t* rb, const uint8_t* p, size_t length) { in ringbuffer_insert() argument [all …]
|
/system/nfc/utils/ |
D | ringbuffer.cc | 46 void ringbuffer_free(ringbuffer_t* rb) { in ringbuffer_free() argument 47 if (rb != nullptr) free(rb->base); in ringbuffer_free() 48 free(rb); in ringbuffer_free() 51 size_t ringbuffer_available(const ringbuffer_t* rb) { in ringbuffer_available() argument 52 assert(rb); in ringbuffer_available() 53 return rb->available; in ringbuffer_available() 56 size_t ringbuffer_size(const ringbuffer_t* rb) { in ringbuffer_size() argument 57 assert(rb); in ringbuffer_size() 58 return rb->total - rb->available; in ringbuffer_size() 61 size_t ringbuffer_insert(ringbuffer_t* rb, const uint8_t* p, size_t length) { in ringbuffer_insert() argument [all …]
|
/system/nfc/utils/test/ |
D | ringbuffer_test.cc | 6 ringbuffer_t* rb = ringbuffer_init(4096); in TEST() local 7 ASSERT_TRUE(rb != nullptr); in TEST() 8 EXPECT_EQ((size_t)4096, ringbuffer_available(rb)); in TEST() 9 EXPECT_EQ((size_t)0, ringbuffer_size(rb)); in TEST() 10 ringbuffer_free(rb); in TEST() 14 ringbuffer_t* rb = ringbuffer_init(16); in TEST() local 18 ringbuffer_insert(rb, buffer, 10); in TEST() 19 EXPECT_EQ((size_t)10, ringbuffer_size(rb)); in TEST() 20 EXPECT_EQ((size_t)6, ringbuffer_available(rb)); in TEST() 23 size_t peeked = ringbuffer_peek(rb, 0, peek, 10); in TEST() [all …]
|
/system/bt/osi/test/ |
D | ringbuffer_test.cc | 7 ringbuffer_t* rb = ringbuffer_init(4096); in TEST() local 8 ASSERT_TRUE(rb != NULL); in TEST() 9 EXPECT_EQ((size_t)4096, ringbuffer_available(rb)); in TEST() 10 EXPECT_EQ((size_t)0, ringbuffer_size(rb)); in TEST() 11 ringbuffer_free(rb); in TEST() 15 ringbuffer_t* rb = ringbuffer_init(16); in TEST() local 19 ringbuffer_insert(rb, buffer, 10); in TEST() 20 EXPECT_EQ((size_t)10, ringbuffer_size(rb)); in TEST() 21 EXPECT_EQ((size_t)6, ringbuffer_available(rb)); in TEST() 24 size_t peeked = ringbuffer_peek(rb, 0, peek, 10); in TEST() [all …]
|
/system/nfc/utils/include/ |
D | ringbuffer.h | 37 void ringbuffer_free(ringbuffer_t* rb); 40 size_t ringbuffer_available(const ringbuffer_t* rb); 43 size_t ringbuffer_size(const ringbuffer_t* rb); 48 size_t ringbuffer_insert(ringbuffer_t* rb, const uint8_t* p, size_t length); 54 size_t ringbuffer_peek(const ringbuffer_t* rb, off_t offset, uint8_t* p, 58 size_t ringbuffer_pop(ringbuffer_t* rb, uint8_t* p, size_t length); 62 size_t ringbuffer_delete(ringbuffer_t* rb, size_t length);
|
/system/bt/osi/include/ |
D | ringbuffer.h | 37 void ringbuffer_free(ringbuffer_t* rb); 40 size_t ringbuffer_available(const ringbuffer_t* rb); 43 size_t ringbuffer_size(const ringbuffer_t* rb); 48 size_t ringbuffer_insert(ringbuffer_t* rb, const uint8_t* p, size_t length); 54 size_t ringbuffer_peek(const ringbuffer_t* rb, off_t offset, uint8_t* p, 58 size_t ringbuffer_pop(ringbuffer_t* rb, uint8_t* p, size_t length); 62 size_t ringbuffer_delete(ringbuffer_t* rb, size_t length);
|
/system/tools/aidl/build/ |
D | aidl_api.go | 155 rb := android.NewRuleBuilder(pctx, ctx) 163 rb.Command().Text("rm -f " + newVersionNeededFile.String()) 166 equalityCheckCommand := rb.Command() 182 rb.Command().Text("touch").Text(newVersionNeededFile.String()) 187 rb.Command(). 193 rb.Command(). 203 rb.Command().Text("mkdir -p " + targetDir) 204 rb.Command().Text("rm -rf " + targetDir + "/*") 205 rb.Command().Text("cp -rf " + dump.dir.String() + "/* " + targetDir).Implicits(dump.files) 209 rb.Command().Text("touch").Output(timestampFile) [all …]
|
/system/bt/gd/security/ |
D | pairing_handler_le_secure_connections.cc | 140 auto [Na, Nb, ra, rb] = stage1result; in DoSecureConnectionsStage2() 179 Octet16 Ea = crypto_toolbox::f6(mac_key, Na, Nb, rb, iocapA.data(), a, b); in DoSecureConnectionsStage2() 248 Octet16 Na, Nb, ra, rb; in SecureConnectionsOutOfBand() local 251 rb = remoteR; in SecureConnectionsOutOfBand() 264 rb = localR; in SecureConnectionsOutOfBand() 277 return Stage1Result{Na, Nb, ra, rb}; in SecureConnectionsOutOfBand() 285 Octet16 Na, Nb, ra{0}, rb{0}; in SecureConnectionsPasskeyEntry() local 399 rb = ra; in SecureConnectionsPasskeyEntry() 401 return Stage1Result{Na, Nb, ra, rb}; in SecureConnectionsPasskeyEntry() 413 const auto [Na, Nb, ra, rb] = std::get<Stage1Result>(result); in SecureConnectionsNumericComparison() [all …]
|
D | pairing_handler_le_unittest.cc | 217 Octet16 ra, rb; in TEST_F() local 218 ra = rb = {0}; in TEST_F() 258 Octet16 Ea = crypto_toolbox::f6(mac_key, Na, Nb, rb, iocapA.data(), a, b); in TEST_F()
|
/system/bt/test/stub/ |
D | osi.cc | 564 size_t ringbuffer_available(const ringbuffer_t* rb) { in ringbuffer_available() argument 568 size_t ringbuffer_delete(ringbuffer_t* rb, size_t length) { in ringbuffer_delete() argument 572 size_t ringbuffer_insert(ringbuffer_t* rb, const uint8_t* p, size_t length) { in ringbuffer_insert() argument 576 size_t ringbuffer_peek(const ringbuffer_t* rb, off_t offset, uint8_t* p, in ringbuffer_peek() argument 581 size_t ringbuffer_pop(ringbuffer_t* rb, uint8_t* p, size_t length) { in ringbuffer_pop() argument 585 size_t ringbuffer_size(const ringbuffer_t* rb) { in ringbuffer_size() argument 589 void ringbuffer_free(ringbuffer_t* rb) { mock_function_count_map[__func__]++; } in ringbuffer_free() argument
|
/system/tools/hidl/c2hal/ |
D | c2hal_l.ll | 270 FILE *file = fopen(ast->getFilename().c_str(), "rb");
|
/system/libprocinfo/testdata/ |
D | maps | 742 7062bce000-7062dce000 rw-p 00000000 00:05 10270726 [anon:dalvik-rb copying gc…
|
/system/memory/libmeminfo/testdata1/ |
D | smaps | 30450 7007722bf000-7007724bf000 rw-p 00000000 00:00 0 [anon:dalvik-rb copying gc… 30451 Name: [anon:dalvik-rb copying gc mark stack] 30492 700772cbf000-700772ebf000 rw-p 00000000 00:00 0 [anon:dalvik-rb copying gc… 30493 Name: [anon:dalvik-rb copying gc mark stack]
|