Searched refs:run_len (Results 1 - 5 of 5) sorted by relevance

/fuchsia/zircon/system/ulib/bitmap/
H A Draw-bitmap.cpp131 size_t run_len, size_t* out) const {
138 (bitmax - start < run_len)) {
141 if (Scan(start, start + run_len, is_set, &bitoff)) {
149 size_t run_len, size_t* out) const {
160 if ((start - bitoff < run_len)) {
163 if (ReverseScan(start - run_len, start, is_set, &bitmax)) {
164 *out = start - run_len;
130 Find(bool is_set, size_t bitoff, size_t bitmax, size_t run_len, size_t* out) const argument
148 ReverseFind(bool is_set, size_t bitoff, size_t bitmax, size_t run_len, size_t* out) const argument
H A Drle-bitmap.cpp43 zx_status_t RleBitmap::Find(bool is_set, size_t bitoff, size_t bitmax, size_t run_len, size_t* out) argument
47 // Loop through all existing elems to try to find a |run_len| length range of |is_set| bits.
50 // Therefore, we can check whether |run_len| bits between |bitmax| and |bitoff| exist before
55 } else if (bitmax - bitoff < run_len) {
62 if (is_set && elem_max > elem_min && elem_max - elem_min >= run_len) {
63 // This element contains at least |run_len| bits
69 if (!is_set && bitoff < elem.bitoff && elem.bitoff - bitoff >= run_len) {
70 // There are at least |run_len| bits between |bitoff| and the beginning of this element.
86 if (!is_set && bitmax - bitoff >= run_len) {
/fuchsia/zircon/system/ulib/bitmap/include/bitmap/
H A Dbitmap.h18 // Finds a run of |run_len| |is_set| bits, between |bitoff| and |bitmax|.
23 size_t run_len, size_t* out) const = 0;
H A Draw-bitmap.h58 // Finds the first (or last, in the case of ReverseFind) run of *run_len*
62 zx_status_t Find(bool is_set, size_t bitoff, size_t bitmax, size_t run_len,
65 size_t run_len, size_t* out) const;
H A Drle-bitmap.h47 size_t run_len, size_t* out) const override;

Completed in 78 milliseconds