Searched refs:bb (Results 1 – 5 of 5) sorted by relevance
/system/core/libsparse/ |
D | backed_block.c | 60 struct backed_block *backed_block_iter_next(struct backed_block *bb) in backed_block_iter_next() argument 62 return bb->next; in backed_block_iter_next() 65 unsigned int backed_block_len(struct backed_block *bb) in backed_block_len() argument 67 return bb->len; in backed_block_len() 70 unsigned int backed_block_block(struct backed_block *bb) in backed_block_block() argument 72 return bb->block; in backed_block_block() 75 void *backed_block_data(struct backed_block *bb) in backed_block_data() argument 77 assert(bb->type == BACKED_BLOCK_DATA); in backed_block_data() 78 return bb->data.data; in backed_block_data() 81 const char *backed_block_filename(struct backed_block *bb) in backed_block_filename() argument [all …]
|
D | sparse.c | 83 struct backed_block *bb; in sparse_count_chunks() local 87 for (bb = backed_block_iter_new(s->backed_block_list); bb; in sparse_count_chunks() 88 bb = backed_block_iter_next(bb)) { in sparse_count_chunks() 89 if (backed_block_block(bb) > last_block) { in sparse_count_chunks() 94 last_block = backed_block_block(bb) + in sparse_count_chunks() 95 DIV_ROUND_UP(backed_block_len(bb), s->block_size); in sparse_count_chunks() 105 struct backed_block *bb) in sparse_file_write_block() argument 109 switch (backed_block_type(bb)) { in sparse_file_write_block() 111 ret = write_data_chunk(out, backed_block_len(bb), backed_block_data(bb)); in sparse_file_write_block() 114 ret = write_file_chunk(out, backed_block_len(bb), in sparse_file_write_block() [all …]
|
D | backed_block.h | 42 struct backed_block *backed_block_iter_next(struct backed_block *bb); 43 unsigned int backed_block_len(struct backed_block *bb); 44 unsigned int backed_block_block(struct backed_block *bb); 45 void *backed_block_data(struct backed_block *bb); 46 const char *backed_block_filename(struct backed_block *bb); 47 int backed_block_fd(struct backed_block *bb); 48 int64_t backed_block_file_offset(struct backed_block *bb); 49 uint32_t backed_block_fill_val(struct backed_block *bb); 50 enum backed_block_type backed_block_type(struct backed_block *bb); 51 int backed_block_split(struct backed_block_list *bbl, struct backed_block *bb, [all …]
|
/system/bt/osi/test/ |
D | ringbuffer_test.cpp | 38 uint8_t bb[] = {0xBB, 0xBB, 0xBB, 0xBB, 0xBB}; in TEST() local 46 added = ringbuffer_insert(rb, bb, 5); in TEST() 74 uint8_t bb[] = {0xBB, 0xBB, 0xBB, 0xBB, 0xBB}; in TEST() local 75 ringbuffer_insert(rb, bb, sizeof(bb)); in TEST()
|
/system/bt/stack/smp/ |
D | smp_utils.c | 850 UINT8 i, *aa = a, *bb = b; in smp_xor_128() local 855 aa[i] = aa[i] ^ bb[i]; in smp_xor_128()
|