Searched refs:bitmap (Results 1 – 6 of 6) sorted by relevance
/openthread-3.6.0/third_party/tcplp/lib/test/ |
D | test_all.c | 110 uint8_t bitmap[8]; in test_cbuf() local 149 bmp_init(bitmap, 8); in test_cbuf() 150 bmp_test("bmp_init", bitmap, 8, "0000000000000000"); in test_cbuf() 152 cbuf_reass_write(&chdr, 4, "@@@@@@@@@@@", 0, 11, bitmap, NULL, cbuf_copy_from_buffer); in test_cbuf() 154 bmp_test("cbuf_reass_write (bitmap)", bitmap, 8, "03FF800000000000"); in test_cbuf() 156 cbuf_contiguify(&chdr, bitmap); in test_cbuf() 158 bmp_test("cbuf_reass_write (bitmap)", bitmap, 8, "0000000000003FF8"); in test_cbuf() 163 cbuf_reass_merge(&chdr, 9, bitmap); in test_cbuf() 165 bmp_test("cbuf_reass_merge (bitmap)", bitmap, 8, "0000000000000018"); in test_cbuf() 167 cbuf_reass_merge(&chdr, 2, bitmap); in test_cbuf() [all …]
|
D | Makefile | 12 test_all: test_all.o cbuf.o lbuf.o bitmap.o 13 clang test_all.o cbuf.o lbuf.o bitmap.o -o test_all
|
/openthread-3.6.0/third_party/tcplp/lib/ |
D | cbuf.c | 180 static void cbuf_swap(struct cbufhead* chdr, uint8_t* bitmap, size_t start_1, size_t start_2, size_… in cbuf_swap() argument 191 if (bitmap) { in cbuf_swap() 192 bmp_swap(bitmap, start_1, start_2, length); in cbuf_swap() 196 void cbuf_contiguify(struct cbufhead* chdr, uint8_t* bitmap) { in cbuf_contiguify() argument 255 cbuf_swap(chdr, bitmap, start_idx, move_to_start_idx, distance_from_start); in cbuf_contiguify() 259 cbuf_swap(chdr, bitmap, start_idx, move_to_start_idx, distance_to_end); in cbuf_contiguify() 286 … offset, const void* data, size_t data_offset, size_t numbytes, uint8_t* bitmap, size_t* firstinde… in cbuf_reass_write() argument 301 if (bitmap) { in cbuf_reass_write() 302 bmp_setrange(bitmap, start_index, numbytes); in cbuf_reass_write() 308 if (bitmap) { in cbuf_reass_write() [all …]
|
D | cbuf.h | 89 void cbuf_contiguify(struct cbufhead* chdr, uint8_t* bitmap); 101 … offset, const void* data, size_t data_offset, size_t numbytes, uint8_t* bitmap, size_t* firstinde… 108 size_t cbuf_reass_merge(struct cbufhead* chdr, size_t numbytes, uint8_t* bitmap); 120 size_t cbuf_reass_count_set(struct cbufhead* chdr, size_t offset, uint8_t* bitmap, size_t limit);
|
/openthread-3.6.0/src/core/utils/ |
D | jam_detector.cpp | 235 uint64_t bitmap = mHistoryBitmap; in UpdateJamState() local 238 bitmap &= (static_cast<uint64_t>(1) << mWindow) - 1; in UpdateJamState() 241 while (bitmap != 0) in UpdateJamState() 244 bitmap &= (bitmap - 1); in UpdateJamState()
|
/openthread-3.6.0/third_party/tcplp/ |
D | CMakeLists.txt | 42 lib/bitmap.c
|