Home
last modified time | relevance | path

Searched refs:rb_src (Results 1 – 2 of 2) sorted by relevance

/system/bt/btif/src/
Dbtif_debug_btsnoop.cc133 static bool btsnoop_compress(ringbuffer_t* rb_dst, ringbuffer_t* rb_src) { in btsnoop_compress() argument
135 CHECK(rb_src != NULL); in btsnoop_compress()
149 (ringbuffer_size(rb_src) + BLOCK_SIZE - 1) / BLOCK_SIZE; in btsnoop_compress()
152 ringbuffer_peek(rb_src, i * BLOCK_SIZE, block_src, BLOCK_SIZE); in btsnoop_compress()
/system/nfc/src/adaptation/
Ddebug_nfcsnoop.cc76 static bool nfcsnoop_compress(ringbuffer_t* rb_dst, ringbuffer_t* rb_src) { in nfcsnoop_compress() argument
78 CHECK(rb_src != nullptr); in nfcsnoop_compress()
92 (ringbuffer_size(rb_src) + BLOCK_SIZE - 1) / BLOCK_SIZE; in nfcsnoop_compress()
95 ringbuffer_peek(rb_src, i * BLOCK_SIZE, block_src, BLOCK_SIZE); in nfcsnoop_compress()