HelenOS sources
b 40 abi/include/abi/fourcc.h #define FOURCC(a, b, c, d) \
b 41 abi/include/abi/fourcc.h (((uint32_t) (a)) | (((uint32_t) (b)) << 8) | \
b 47 abi/include/abi/fourcc.h #define FOURCC_COMPACT(a, b, c, d) \
b 48 abi/include/abi/fourcc.h ((CC_COMPACT(a) << 4) | (CC_COMPACT(b) << 11) | \
b 37 boot/genarch/src/division.c static unsigned int divandmod32(unsigned int a, unsigned int b,
b 46 boot/genarch/src/division.c if (b == 0) {
b 51 boot/genarch/src/division.c if (a < b) {
b 61 boot/genarch/src/division.c if (*remainder >= b) {
b 62 boot/genarch/src/division.c *remainder -= b;
b 72 boot/genarch/src/division.c unsigned long long b, unsigned long long *remainder)
b 80 boot/genarch/src/division.c if (b == 0) {
b 85 boot/genarch/src/division.c if (a < b) {
b 95 boot/genarch/src/division.c if (*remainder >= b) {
b 96 boot/genarch/src/division.c *remainder -= b;
b 106 boot/genarch/src/division.c int __divsi3(int a, int b)
b 109 boot/genarch/src/division.c int result = (int) divandmod32(ABSVAL(a), ABSVAL(b), &rem);
b 111 boot/genarch/src/division.c if (SGN(a) == SGN(b))
b 118 boot/genarch/src/division.c long long __divdi3(long long a, long long b)
b 121 boot/genarch/src/division.c long long result = (long long) divandmod64(ABSVAL(a), ABSVAL(b), &rem);
b 123 boot/genarch/src/division.c if (SGN(a) == SGN(b))
b 130 boot/genarch/src/division.c unsigned int __udivsi3(unsigned int a, unsigned int b)
b 133 boot/genarch/src/division.c return divandmod32(a, b, &rem);
b 137 boot/genarch/src/division.c unsigned long long __udivdi3(unsigned long long a, unsigned long long b)
b 140 boot/genarch/src/division.c return divandmod64(a, b, &rem);
b 144 boot/genarch/src/division.c int __modsi3(int a, int b)
b 147 boot/genarch/src/division.c divandmod32(a, b, &rem);
b 157 boot/genarch/src/division.c long long __moddi3(long long a, long long b)
b 160 boot/genarch/src/division.c divandmod64(a, b, &rem);
b 170 boot/genarch/src/division.c unsigned int __umodsi3(unsigned int a, unsigned int b)
b 173 boot/genarch/src/division.c divandmod32(a, b, &rem);
b 178 boot/genarch/src/division.c unsigned long long __umoddi3(unsigned long long a, unsigned long long b)
b 181 boot/genarch/src/division.c divandmod64(a, b, &rem);
b 185 boot/genarch/src/division.c int __divmodsi3(int a, int b, int *c)
b 188 boot/genarch/src/division.c int result = (int) divandmod32(ABSVAL(a), ABSVAL(b), &rem);
b 190 boot/genarch/src/division.c if (SGN(a) == SGN(b)) {
b 199 boot/genarch/src/division.c unsigned int __udivmodsi3(unsigned int a, unsigned int b,
b 202 boot/genarch/src/division.c return divandmod32(a, b, c);
b 205 boot/genarch/src/division.c long long __divmoddi3(long long a, long long b, long long *c)
b 208 boot/genarch/src/division.c long long result = (int) divandmod64(ABSVAL(a), ABSVAL(b), &rem);
b 210 boot/genarch/src/division.c if (SGN(a) == SGN(b)) {
b 219 boot/genarch/src/division.c unsigned long long __udivmoddi3(unsigned long long a, unsigned long long b,
b 222 boot/genarch/src/division.c return divandmod64(a, b, c);
b 47 boot/genarch/src/multiplication.c static unsigned long long mul(unsigned int a, unsigned int b)
b 51 boot/genarch/src/multiplication.c unsigned int b1 = b >> 16;
b 52 boot/genarch/src/multiplication.c unsigned int b2 = b & UINT16_MAX;
b 67 boot/genarch/src/multiplication.c long long __muldi3 (long long a, long long b)
b 76 boot/genarch/src/multiplication.c if (b < 0) {
b 78 boot/genarch/src/multiplication.c b = -b;
b 82 boot/genarch/src/multiplication.c unsigned long long b1 = b >> 32;
b 85 boot/genarch/src/multiplication.c unsigned long long b2 = b & (UINT32_MAX);
b 35 boot/generic/include/macros.h #define min(a, b) ((a) < (b) ? (a) : (b))
b 76 common/adt/odict.c if (cur->a != NULL || cur->b != NULL) {
b 80 common/adt/odict.c odict_print_tree(cur->b);
b 135 common/adt/odict.c if (cur->b != NULL) {
b 137 common/adt/odict.c if (cur->b->up != cur) {
b 143 common/adt/odict.c if (cur->b->color == odc_red && cur->color == odc_red) {
b 149 common/adt/odict.c rc = odict_validate_tree(cur->b, &bd_b);
b 226 common/adt/odict.c odlink->b = NULL;
b 269 common/adt/odict.c if (cur->b == NULL) {
b 273 common/adt/odict.c cur = cur->b;
b 353 common/adt/odict.c if (odlink->a != NULL && odlink->b != NULL) {
b 362 common/adt/odict.c assert(odlink->b == NULL);
b 365 common/adt/odict.c c = odlink->b;
b 380 common/adt/odict.c odlink->up = odlink->a = odlink->b = NULL;
b 420 common/adt/odict.c (s->b == NULL || s->b->color == odc_black)) {
b 435 common/adt/odict.c (s->b == NULL || s->b->color == odc_black)) {
b 445 common/adt/odict.c sc = s->b;
b 447 common/adt/odict.c st = s->b;
b 467 common/adt/odict.c sc = s->b;
b 469 common/adt/odict.c st = s->b;
b 675 common/adt/odict.c next = cur->b;
b 728 common/adt/odict.c next = cur->b;
b 787 common/adt/odict.c assert((*p)->b == n);
b 800 common/adt/odict.c *u = (*g)->b;
b 802 common/adt/odict.c assert((*g)->b == *p);
b 820 common/adt/odict.c *rs = p->b;
b 838 common/adt/odict.c q = p->b;
b 846 common/adt/odict.c p->b = q->a;
b 847 common/adt/odict.c if (p->b != NULL)
b 848 common/adt/odict.c p->b->up = p;
b 875 common/adt/odict.c q->a = p->b;
b 878 common/adt/odict.c p->b = q;
b 894 common/adt/odict.c static void odict_swap_node(odlink_t *a, odlink_t *b)
b 900 common/adt/odict.c if (a->up != NULL && a->up != b) {
b 902 common/adt/odict.c a->up->a = b;
b 904 common/adt/odict.c assert(a->up->b == a);
b 905 common/adt/odict.c a->up->b = b;
b 910 common/adt/odict.c if (a->a != NULL && a->a != b)
b 911 common/adt/odict.c a->a->up = b;
b 913 common/adt/odict.c if (a->b != NULL && a->b != b)
b 914 common/adt/odict.c a->b->up = b;
b 917 common/adt/odict.c if (b->up != NULL && b->up != a) {
b 918 common/adt/odict.c if (b->up->a == b) {
b 919 common/adt/odict.c b->up->a = a;
b 921 common/adt/odict.c assert(b->up->b == b);
b 922 common/adt/odict.c b->up->b = a;
b 927 common/adt/odict.c if (b->a != NULL && b->a != a)
b 928 common/adt/odict.c b->a->up = a;
b 930 common/adt/odict.c if (b->b != NULL && b->b != a)
b 931 common/adt/odict.c b->b->up = a;
b 937 common/adt/odict.c a->up = b->up;
b 938 common/adt/odict.c b->up = n;
b 941 common/adt/odict.c a->a = b->a;
b 942 common/adt/odict.c b->a = n;
b 944 common/adt/odict.c n = a->b;
b 945 common/adt/odict.c a->b = b->b;
b 946 common/adt/odict.c b->b = n;
b 949 common/adt/odict.c a->color = b->color;
b 950 common/adt/odict.c b->color = c;
b 954 common/adt/odict.c a->up = b;
b 956 common/adt/odict.c a->a = b;
b 957 common/adt/odict.c if (a->b == a)
b 958 common/adt/odict.c a->b = b;
b 959 common/adt/odict.c if (b->up == b)
b 960 common/adt/odict.c b->up = a;
b 961 common/adt/odict.c if (b->a == b)
b 962 common/adt/odict.c b->a = a;
b 963 common/adt/odict.c if (b->b == b)
b 964 common/adt/odict.c b->b = a;
b 968 common/adt/odict.c a->odict->root = b;
b 969 common/adt/odict.c else if (b == a->odict->root)
b 988 common/adt/odict.c assert(old->up->b == old);
b 989 common/adt/odict.c old->up->b = n;
b 1009 common/adt/odict.c assert(n->up->b == n);
b 1010 common/adt/odict.c n->up->b = NULL;
b 1024 common/adt/odict.c if (n->b != NULL) {
b 1025 common/adt/odict.c n->b->up = NULL;
b 1026 common/adt/odict.c n->b = NULL;
b 1057 common/adt/odict.c old->b = n;
b 1075 common/adt/odict.c odlink_t *b;
b 1082 common/adt/odict.c b = odict_last(odict);
b 1083 common/adt/odict.c if (b != NULL) {
b 1084 common/adt/odict.c d = odict->cmp(odict->getkey(b), key);
b 1086 common/adt/odict.c return b;
b 1120 common/adt/odict.c a = b = cur = hint;
b 1128 common/adt/odict.c d = odict->cmp(odict->getkey(b), odict->getkey(cur));
b 1130 common/adt/odict.c b = cur;
b 1133 common/adt/odict.c db = odict->cmp(key, odict->getkey(b));
b 42 common/include/adt/gcdlcm.h static inline type name(type a, type b) \
b 45 common/include/adt/gcdlcm.h return b; \
b 47 common/include/adt/gcdlcm.h while (b != 0) { \
b 48 common/include/adt/gcdlcm.h if (a > b) \
b 49 common/include/adt/gcdlcm.h a -= b; \
b 51 common/include/adt/gcdlcm.h b -= a; \
b 58 common/include/adt/gcdlcm.h static inline type name(type a, type b) \
b 60 common/include/adt/gcdlcm.h return (a * b) / gcd(a, b); \
b 52 common/stdc/mem.c void *memset(void *dest, int b, size_t n)
b 73 common/stdc/mem.c *pb++ = b;
b 88 common/stdc/mem.c pattern = (pattern << 8) | (uint8_t) b;
b 100 common/stdc/mem.c *pb++ = b;
b 59 common/stdc/qsort.c static int compar_wrap(const void *a, const void *b, void *arg)
b 64 common/stdc/qsort.c return compar(a, b);
b 76 common/stdc/qsort.c const void *b;
b 80 common/stdc/qsort.c b = qs->base + j * qs->size;
b 82 common/stdc/qsort.c r = qs->compar(a, b, qs->arg);
b 96 common/stdc/qsort.c char *b;
b 101 common/stdc/qsort.c b = qs->base + j * qs->size;
b 105 common/stdc/qsort.c a[k] = b[k];
b 106 common/stdc/qsort.c b[k] = t;
b 189 common/str.c uint8_t b = (uint8_t) str[(*offset)++];
b 192 common/str.c if ((b & 0xc0) != 0x80)
b 196 common/str.c ch = (ch << CONT_BITS) | (char32_t) (b & LO_MASK_8(CONT_BITS));
b 226 common/str.c uint8_t b = (uint8_t) str[--(*offset)];
b 228 common/str.c if (processed == 0 && (b & 0x80) == 0) {
b 230 common/str.c return b & 0x7f;
b 231 common/str.c } else if ((b & 0xe0) == 0xc0 || (b & 0xf0) == 0xe0 ||
b 232 common/str.c (b & 0xf8) == 0xf0) {
b 236 common/str.c } else if ((b & 0xc0) != 0x80) {
b 108 kernel/arch/ia64/src/mm/tlb.c int b = 0;
b 130 kernel/arch/ia64/src/mm/tlb.c b++;
b 131 kernel/arch/ia64/src/mm/tlb.c b >>= 1;
b 134 kernel/arch/ia64/src/mm/tlb.c switch (b) {
b 51 kernel/genarch/include/genarch/drivers/bcm2835/irc.h #define MAKE_IRQ(b,n) (((b) << 5) | ((n) & 0x1f))
b 44 kernel/genarch/include/genarch/drivers/via-cuda/cuda.h ioport8_t b;
b 133 kernel/genarch/src/acpi/madt.c static int madt_cmp(void *a, void *b, void *arg)
b 136 kernel/genarch/src/acpi/madt.c uint8_t typeb = (*((struct madt_apic_header **) b))->type;
b 42 kernel/genarch/src/drivers/omap/uart.c static void omap_uart_txb(omap_uart_t *uart, uint8_t b)
b 48 kernel/genarch/src/drivers/omap/uart.c uart->regs->thr = b;
b 203 kernel/genarch/src/drivers/via-cuda/cuda.c uint8_t b;
b 205 kernel/genarch/src/drivers/via-cuda/cuda.c b = pio_read_8(&dev->b);
b 207 kernel/genarch/src/drivers/via-cuda/cuda.c if ((b & TREQ) != 0) {
b 213 kernel/genarch/src/drivers/via-cuda/cuda.c pio_write_8(&dev->b, pio_read_8(&dev->b) & ~TIP);
b 225 kernel/genarch/src/drivers/via-cuda/cuda.c uint8_t b, data;
b 231 kernel/genarch/src/drivers/via-cuda/cuda.c b = pio_read_8(&dev->b);
b 233 kernel/genarch/src/drivers/via-cuda/cuda.c if ((b & TREQ) == 0) {
b 234 kernel/genarch/src/drivers/via-cuda/cuda.c pio_write_8(&dev->b, b ^ TACK);
b 236 kernel/genarch/src/drivers/via-cuda/cuda.c pio_write_8(&dev->b, b | TACK | TIP);
b 250 kernel/genarch/src/drivers/via-cuda/cuda.c uint8_t b;
b 252 kernel/genarch/src/drivers/via-cuda/cuda.c b = pio_read_8(&dev->b);
b 255 kernel/genarch/src/drivers/via-cuda/cuda.c if ((b & TREQ) == 0) {
b 257 kernel/genarch/src/drivers/via-cuda/cuda.c pio_write_8(&dev->b, b & ~TIP);
b 276 kernel/genarch/src/drivers/via-cuda/cuda.c uint8_t b;
b 278 kernel/genarch/src/drivers/via-cuda/cuda.c b = pio_read_8(&dev->b);
b 280 kernel/genarch/src/drivers/via-cuda/cuda.c if ((b & TREQ) == 0) {
b 284 kernel/genarch/src/drivers/via-cuda/cuda.c pio_write_8(&dev->b, pio_read_8(&dev->b) | TIP | TACK);
b 290 kernel/genarch/src/drivers/via-cuda/cuda.c pio_write_8(&dev->b, pio_read_8(&dev->b) ^ TACK);
b 308 kernel/genarch/src/drivers/via-cuda/cuda.c pio_write_8(&dev->b, pio_read_8(&dev->b) ^ TACK);
b 318 kernel/genarch/src/drivers/via-cuda/cuda.c pio_write_8(&dev->b, pio_read_8(&dev->b) | TACK | TIP);
b 358 kernel/genarch/src/drivers/via-cuda/cuda.c if ((pio_read_8(&dev->b) & TREQ) == 0)
b 363 kernel/genarch/src/drivers/via-cuda/cuda.c pio_write_8(&dev->b, pio_read_8(&dev->b) & ~TIP);
b 40 kernel/genarch/src/softint/division.c static unsigned int divandmod32(unsigned int a, unsigned int b,
b 49 kernel/genarch/src/softint/division.c if (b == 0) {
b 54 kernel/genarch/src/softint/division.c if (a < b) {
b 64 kernel/genarch/src/softint/division.c if (*remainder >= b) {
b 65 kernel/genarch/src/softint/division.c *remainder -= b;
b 75 kernel/genarch/src/softint/division.c unsigned long long b, unsigned long long *remainder)
b 83 kernel/genarch/src/softint/division.c if (b == 0) {
b 88 kernel/genarch/src/softint/division.c if (a < b) {
b 98 kernel/genarch/src/softint/division.c if (*remainder >= b) {
b 99 kernel/genarch/src/softint/division.c *remainder -= b;
b 109 kernel/genarch/src/softint/division.c int __divsi3(int a, int b)
b 112 kernel/genarch/src/softint/division.c int result = (int) divandmod32(ABSVAL(a), ABSVAL(b), &rem);
b 114 kernel/genarch/src/softint/division.c if (SGN(a) == SGN(b))
b 121 kernel/genarch/src/softint/division.c long long __divdi3(long long a, long long b)
b 124 kernel/genarch/src/softint/division.c long long result = (long long) divandmod64(ABSVAL(a), ABSVAL(b), &rem);
b 126 kernel/genarch/src/softint/division.c if (SGN(a) == SGN(b))
b 133 kernel/genarch/src/softint/division.c unsigned int __udivsi3(unsigned int a, unsigned int b)
b 136 kernel/genarch/src/softint/division.c return divandmod32(a, b, &rem);
b 140 kernel/genarch/src/softint/division.c unsigned long long __udivdi3(unsigned long long a, unsigned long long b)
b 143 kernel/genarch/src/softint/division.c return divandmod64(a, b, &rem);
b 147 kernel/genarch/src/softint/division.c int __modsi3(int a, int b)
b 150 kernel/genarch/src/softint/division.c divandmod32(a, b, &rem);
b 160 kernel/genarch/src/softint/division.c long long __moddi3(long long a, long long b)
b 163 kernel/genarch/src/softint/division.c divandmod64(a, b, &rem);
b 173 kernel/genarch/src/softint/division.c unsigned int __umodsi3(unsigned int a, unsigned int b)
b 176 kernel/genarch/src/softint/division.c divandmod32(a, b, &rem);
b 181 kernel/genarch/src/softint/division.c unsigned long long __umoddi3(unsigned long long a, unsigned long long b)
b 184 kernel/genarch/src/softint/division.c divandmod64(a, b, &rem);
b 188 kernel/genarch/src/softint/division.c int __divmodsi3(int a, int b, int *c)
b 191 kernel/genarch/src/softint/division.c int result = (int) divandmod32(ABSVAL(a), ABSVAL(b), &rem);
b 193 kernel/genarch/src/softint/division.c if (SGN(a) == SGN(b)) {
b 202 kernel/genarch/src/softint/division.c unsigned int __udivmodsi3(unsigned int a, unsigned int b,
b 205 kernel/genarch/src/softint/division.c return divandmod32(a, b, c);
b 208 kernel/genarch/src/softint/division.c long long __divmoddi3(long long a, long long b, long long *c)
b 211 kernel/genarch/src/softint/division.c long long result = (int) divandmod64(ABSVAL(a), ABSVAL(b), &rem);
b 213 kernel/genarch/src/softint/division.c if (SGN(a) == SGN(b)) {
b 222 kernel/genarch/src/softint/division.c unsigned long long __udivmoddi3(unsigned long long a, unsigned long long b,
b 225 kernel/genarch/src/softint/division.c return divandmod64(a, b, c);
b 228 kernel/genarch/src/softint/division.c unsigned long long __udivmoddi4(unsigned long long a, unsigned long long b,
b 231 kernel/genarch/src/softint/division.c return divandmod64(a, b, c);
b 56 kernel/genarch/src/softint/multiplication.c static unsigned long long mul(unsigned int a, unsigned int b)
b 63 kernel/genarch/src/softint/multiplication.c b1 = b >> 16;
b 64 kernel/genarch/src/softint/multiplication.c b2 = b & MAX_UINT16;
b 79 kernel/genarch/src/softint/multiplication.c long long __muldi3 (long long a, long long b)
b 91 kernel/genarch/src/softint/multiplication.c if (b < 0) {
b 93 kernel/genarch/src/softint/multiplication.c b = -b;
b 97 kernel/genarch/src/softint/multiplication.c b1 = b >> 32;
b 100 kernel/genarch/src/softint/multiplication.c b2 = b & (MAX_UINT32);
b 76 kernel/generic/common/adt/odict.c if (cur->a != NULL || cur->b != NULL) {
b 80 kernel/generic/common/adt/odict.c odict_print_tree(cur->b);
b 135 kernel/generic/common/adt/odict.c if (cur->b != NULL) {
b 137 kernel/generic/common/adt/odict.c if (cur->b->up != cur) {
b 143 kernel/generic/common/adt/odict.c if (cur->b->color == odc_red && cur->color == odc_red) {
b 149 kernel/generic/common/adt/odict.c rc = odict_validate_tree(cur->b, &bd_b);
b 226 kernel/generic/common/adt/odict.c odlink->b = NULL;
b 269 kernel/generic/common/adt/odict.c if (cur->b == NULL) {
b 273 kernel/generic/common/adt/odict.c cur = cur->b;
b 353 kernel/generic/common/adt/odict.c if (odlink->a != NULL && odlink->b != NULL) {
b 362 kernel/generic/common/adt/odict.c assert(odlink->b == NULL);
b 365 kernel/generic/common/adt/odict.c c = odlink->b;
b 380 kernel/generic/common/adt/odict.c odlink->up = odlink->a = odlink->b = NULL;
b 420 kernel/generic/common/adt/odict.c (s->b == NULL || s->b->color == odc_black)) {
b 435 kernel/generic/common/adt/odict.c (s->b == NULL || s->b->color == odc_black)) {
b 445 kernel/generic/common/adt/odict.c sc = s->b;
b 447 kernel/generic/common/adt/odict.c st = s->b;
b 467 kernel/generic/common/adt/odict.c sc = s->b;
b 469 kernel/generic/common/adt/odict.c st = s->b;
b 675 kernel/generic/common/adt/odict.c next = cur->b;
b 728 kernel/generic/common/adt/odict.c next = cur->b;
b 787 kernel/generic/common/adt/odict.c assert((*p)->b == n);
b 800 kernel/generic/common/adt/odict.c *u = (*g)->b;
b 802 kernel/generic/common/adt/odict.c assert((*g)->b == *p);
b 820 kernel/generic/common/adt/odict.c *rs = p->b;
b 838 kernel/generic/common/adt/odict.c q = p->b;
b 846 kernel/generic/common/adt/odict.c p->b = q->a;
b 847 kernel/generic/common/adt/odict.c if (p->b != NULL)
b 848 kernel/generic/common/adt/odict.c p->b->up = p;
b 875 kernel/generic/common/adt/odict.c q->a = p->b;
b 878 kernel/generic/common/adt/odict.c p->b = q;
b 894 kernel/generic/common/adt/odict.c static void odict_swap_node(odlink_t *a, odlink_t *b)
b 900 kernel/generic/common/adt/odict.c if (a->up != NULL && a->up != b) {
b 902 kernel/generic/common/adt/odict.c a->up->a = b;
b 904 kernel/generic/common/adt/odict.c assert(a->up->b == a);
b 905 kernel/generic/common/adt/odict.c a->up->b = b;
b 910 kernel/generic/common/adt/odict.c if (a->a != NULL && a->a != b)
b 911 kernel/generic/common/adt/odict.c a->a->up = b;
b 913 kernel/generic/common/adt/odict.c if (a->b != NULL && a->b != b)
b 914 kernel/generic/common/adt/odict.c a->b->up = b;
b 917 kernel/generic/common/adt/odict.c if (b->up != NULL && b->up != a) {
b 918 kernel/generic/common/adt/odict.c if (b->up->a == b) {
b 919 kernel/generic/common/adt/odict.c b->up->a = a;
b 921 kernel/generic/common/adt/odict.c assert(b->up->b == b);
b 922 kernel/generic/common/adt/odict.c b->up->b = a;
b 927 kernel/generic/common/adt/odict.c if (b->a != NULL && b->a != a)
b 928 kernel/generic/common/adt/odict.c b->a->up = a;
b 930 kernel/generic/common/adt/odict.c if (b->b != NULL && b->b != a)
b 931 kernel/generic/common/adt/odict.c b->b->up = a;
b 937 kernel/generic/common/adt/odict.c a->up = b->up;
b 938 kernel/generic/common/adt/odict.c b->up = n;
b 941 kernel/generic/common/adt/odict.c a->a = b->a;
b 942 kernel/generic/common/adt/odict.c b->a = n;
b 944 kernel/generic/common/adt/odict.c n = a->b;
b 945 kernel/generic/common/adt/odict.c a->b = b->b;
b 946 kernel/generic/common/adt/odict.c b->b = n;
b 949 kernel/generic/common/adt/odict.c a->color = b->color;
b 950 kernel/generic/common/adt/odict.c b->color = c;
b 954 kernel/generic/common/adt/odict.c a->up = b;
b 956 kernel/generic/common/adt/odict.c a->a = b;
b 957 kernel/generic/common/adt/odict.c if (a->b == a)
b 958 kernel/generic/common/adt/odict.c a->b = b;
b 959 kernel/generic/common/adt/odict.c if (b->up == b)
b 960 kernel/generic/common/adt/odict.c b->up = a;
b 961 kernel/generic/common/adt/odict.c if (b->a == b)
b 962 kernel/generic/common/adt/odict.c b->a = a;
b 963 kernel/generic/common/adt/odict.c if (b->b == b)
b 964 kernel/generic/common/adt/odict.c b->b = a;
b 968 kernel/generic/common/adt/odict.c a->odict->root = b;
b 969 kernel/generic/common/adt/odict.c else if (b == a->odict->root)
b 988 kernel/generic/common/adt/odict.c assert(old->up->b == old);
b 989 kernel/generic/common/adt/odict.c old->up->b = n;
b 1009 kernel/generic/common/adt/odict.c assert(n->up->b == n);
b 1010 kernel/generic/common/adt/odict.c n->up->b = NULL;
b 1024 kernel/generic/common/adt/odict.c if (n->b != NULL) {
b 1025 kernel/generic/common/adt/odict.c n->b->up = NULL;
b 1026 kernel/generic/common/adt/odict.c n->b = NULL;
b 1057 kernel/generic/common/adt/odict.c old->b = n;
b 1075 kernel/generic/common/adt/odict.c odlink_t *b;
b 1082 kernel/generic/common/adt/odict.c b = odict_last(odict);
b 1083 kernel/generic/common/adt/odict.c if (b != NULL) {
b 1084 kernel/generic/common/adt/odict.c d = odict->cmp(odict->getkey(b), key);
b 1086 kernel/generic/common/adt/odict.c return b;
b 1120 kernel/generic/common/adt/odict.c a = b = cur = hint;
b 1128 kernel/generic/common/adt/odict.c d = odict->cmp(odict->getkey(b), odict->getkey(cur));
b 1130 kernel/generic/common/adt/odict.c b = cur;
b 1133 kernel/generic/common/adt/odict.c db = odict->cmp(key, odict->getkey(b));
b 42 kernel/generic/common/include/adt/gcdlcm.h static inline type name(type a, type b) \
b 45 kernel/generic/common/include/adt/gcdlcm.h return b; \
b 47 kernel/generic/common/include/adt/gcdlcm.h while (b != 0) { \
b 48 kernel/generic/common/include/adt/gcdlcm.h if (a > b) \
b 49 kernel/generic/common/include/adt/gcdlcm.h a -= b; \
b 51 kernel/generic/common/include/adt/gcdlcm.h b -= a; \
b 58 kernel/generic/common/include/adt/gcdlcm.h static inline type name(type a, type b) \
b 60 kernel/generic/common/include/adt/gcdlcm.h return (a * b) / gcd(a, b); \
b 52 kernel/generic/common/stdc/mem.c void *memset(void *dest, int b, size_t n)
b 73 kernel/generic/common/stdc/mem.c *pb++ = b;
b 88 kernel/generic/common/stdc/mem.c pattern = (pattern << 8) | (uint8_t) b;
b 100 kernel/generic/common/stdc/mem.c *pb++ = b;
b 59 kernel/generic/common/stdc/qsort.c static int compar_wrap(const void *a, const void *b, void *arg)
b 64 kernel/generic/common/stdc/qsort.c return compar(a, b);
b 76 kernel/generic/common/stdc/qsort.c const void *b;
b 80 kernel/generic/common/stdc/qsort.c b = qs->base + j * qs->size;
b 82 kernel/generic/common/stdc/qsort.c r = qs->compar(a, b, qs->arg);
b 96 kernel/generic/common/stdc/qsort.c char *b;
b 101 kernel/generic/common/stdc/qsort.c b = qs->base + j * qs->size;
b 105 kernel/generic/common/stdc/qsort.c a[k] = b[k];
b 106 kernel/generic/common/stdc/qsort.c b[k] = t;
b 189 kernel/generic/common/str.c uint8_t b = (uint8_t) str[(*offset)++];
b 192 kernel/generic/common/str.c if ((b & 0xc0) != 0x80)
b 196 kernel/generic/common/str.c ch = (ch << CONT_BITS) | (char32_t) (b & LO_MASK_8(CONT_BITS));
b 226 kernel/generic/common/str.c uint8_t b = (uint8_t) str[--(*offset)];
b 228 kernel/generic/common/str.c if (processed == 0 && (b & 0x80) == 0) {
b 230 kernel/generic/common/str.c return b & 0x7f;
b 231 kernel/generic/common/str.c } else if ((b & 0xe0) == 0xc0 || (b & 0xf0) == 0xe0 ||
b 232 kernel/generic/common/str.c (b & 0xf8) == 0xf0) {
b 236 kernel/generic/common/str.c } else if ((b & 0xc0) != 0x80) {
b 112 kernel/generic/include/macros.h #define min(a, b) ((a) < (b) ? (a) : (b))
b 113 kernel/generic/include/macros.h #define max(a, b) ((a) > (b) ? (a) : (b))
b 115 kernel/generic/include/macros.h #define min3(a, b, c) ((a) < (b) ? (min(a, c)) : (min(b, c)))
b 116 kernel/generic/include/macros.h #define max3(a, b, c) ((a) > (b) ? (max(a, c)) : (max(b, c)))
b 143 kernel/generic/include/macros.h #define overflows(a, b) \
b 144 kernel/generic/include/macros.h ((a) + (b) < (a))
b 147 kernel/generic/include/macros.h #define overflows_into_positive(a, b) \
b 148 kernel/generic/include/macros.h (overflows((a), (b)) && ((a) + (b) > 0))
b 67 kernel/generic/include/types/adt/odict.h odlink_t *b;
b 306 kernel/generic/src/ddi/ddi.c static int pareas_cmp(void *a, void *b)
b 309 kernel/generic/src/ddi/ddi.c uintptr_t pb = *(uintptr_t *)b;
b 565 kernel/generic/src/mm/as.c static int as_pagemap_cmp(void *a, void *b)
b 568 kernel/generic/src/mm/as.c uintptr_t vb = *(uintptr_t *)b;
b 1729 kernel/generic/src/mm/as.c static int as_areas_cmp(void *a, void *b)
b 1732 kernel/generic/src/mm/as.c uintptr_t base_b = *(uintptr_t *)b;
b 1983 kernel/generic/src/mm/as.c static int used_space_cmp(void *a, void *b)
b 1986 kernel/generic/src/mm/as.c uintptr_t vb = *(uintptr_t *) b;
b 2035 kernel/generic/src/mm/as.c used_space_ival_t *b;
b 2051 kernel/generic/src/mm/as.c b = (a != NULL) ? used_space_next(a) :
b 2059 kernel/generic/src/mm/as.c if (b != NULL && overlaps(page, P2SZ(count), b->page, P2SZ(b->count)))
b 2065 kernel/generic/src/mm/as.c adj_b = (b != NULL) && page + P2SZ(count) == b->page;
b 2069 kernel/generic/src/mm/as.c a->count += count + b->count;
b 2070 kernel/generic/src/mm/as.c used_space_remove_ival(b);
b 2076 kernel/generic/src/mm/as.c b->page = page;
b 2077 kernel/generic/src/mm/as.c b->count += count;
b 705 kernel/generic/src/proc/task.c static int tasks_cmp(void *a, void *b)
b 708 kernel/generic/src/proc/task.c task_id_t idb = *(task_id_t *)b;
b 935 kernel/generic/src/proc/thread.c static int threads_cmp(void *a, void *b)
b 937 kernel/generic/src/proc/thread.c if (a > b)
b 939 kernel/generic/src/proc/thread.c else if (a == b)
b 40 tools/checkers/vcc.h #define __concat_identifiers_str(a, b) a ## b
b 41 tools/checkers/vcc.h #define __concat_identifiers(a, b) __concat_identifiers_str(a, b)
b 158 uspace/app/bdsh/cmds/modules/ls/ls.c static int ls_cmp_type_name(const void *a, const void *b)
b 161 uspace/app/bdsh/cmds/modules/ls/ls.c struct dir_elem_t const *db = b;
b 177 uspace/app/bdsh/cmds/modules/ls/ls.c static int ls_cmp_name(const void *a, const void *b)
b 180 uspace/app/bdsh/cmds/modules/ls/ls.c struct dir_elem_t const *db = b;
b 62 uspace/app/bdsh/scli.c static int alias_cmp(void *a, void *b)
b 64 uspace/app/bdsh/scli.c return str_cmp((char *)a, (char *)b);
b 249 uspace/app/blkdump/blkdump.c uint8_t b;
b 276 uspace/app/blkdump/blkdump.c b = data[pos];
b 277 uspace/app/blkdump/blkdump.c if (b >= 32 && b < 128) {
b 278 uspace/app/blkdump/blkdump.c putchar(b);
b 501 uspace/app/calculator/calculator.c static bool compute(int64_t a, operator_t operator, int64_t b, int64_t *value)
b 505 uspace/app/calculator/calculator.c *value = a + b;
b 508 uspace/app/calculator/calculator.c *value = a - b;
b 511 uspace/app/calculator/calculator.c *value = a * b;
b 514 uspace/app/calculator/calculator.c if (b == 0)
b 517 uspace/app/calculator/calculator.c *value = a / b;
b 234 uspace/app/edit/edit.c static int tag_cmp(tag_t const *a, tag_t const *b);
b 235 uspace/app/edit/edit.c static int spt_cmp(spt_t const *a, spt_t const *b);
b 236 uspace/app/edit/edit.c static int coord_cmp(coord_t const *a, coord_t const *b);
b 2315 uspace/app/edit/edit.c static int tag_cmp(tag_t const *a, tag_t const *b)
b 2320 uspace/app/edit/edit.c tag_get_pt(b, &pb);
b 2326 uspace/app/edit/edit.c static int spt_cmp(spt_t const *a, spt_t const *b)
b 2331 uspace/app/edit/edit.c spt_get_coord(b, &cb);
b 2337 uspace/app/edit/edit.c static int coord_cmp(coord_t const *a, coord_t const *b)
b 2339 uspace/app/edit/edit.c if (a->row - b->row != 0)
b 2340 uspace/app/edit/edit.c return a->row - b->row;
b 2342 uspace/app/edit/edit.c return a->column - b->column;
b 143 uspace/app/edit/search.c bool char_exact_equals(const char32_t a, const char32_t b)
b 145 uspace/app/edit/search.c return a == b;
b 323 uspace/app/edit/sheet.c bool spt_equal(spt_t const *a, spt_t const *b)
b 325 uspace/app/edit/sheet.c return a->b_off == b->b_off;
b 71 uspace/app/hbench/env.c param_t *b = hash_table_get_inst(link_b, param_t, link);
b 73 uspace/app/hbench/env.c return str_cmp(a->key, b->key) == 0;
b 83 uspace/app/mkexfat/mkexfat.c #define div_round_up(a, b) (((a) + (b) - 1) / (b))
b 60 uspace/app/mkfat/mkfat.c #define div_round_up(a, b) (((a) + (b) - 1) / (b))
b 45 uspace/app/sbi/src/bigint.c bigint_t *b, bigint_t *dest);
b 46 uspace/app/sbi/src/bigint.c static void bigint_add_abs(bigint_t *a, bigint_t *b, bigint_t *dest);
b 47 uspace/app/sbi/src/bigint.c static void bigint_sub_abs(bigint_t *a, bigint_t *b, bigint_t *dest);
b 48 uspace/app/sbi/src/bigint.c static void bigint_shift_mul_dig(bigint_t *a, bigint_word_t b, size_t shift,
b 259 uspace/app/sbi/src/bigint.c void bigint_div_digit(bigint_t *a, bigint_word_t b, bigint_t *quot,
b 281 uspace/app/sbi/src/bigint.c db = b;
b 302 uspace/app/sbi/src/bigint.c void bigint_add(bigint_t *a, bigint_t *b, bigint_t *dest)
b 307 uspace/app/sbi/src/bigint.c bigint_sign_comb(b_false, a, b_false, b, dest);
b 319 uspace/app/sbi/src/bigint.c void bigint_sub(bigint_t *a, bigint_t *b, bigint_t *dest)
b 324 uspace/app/sbi/src/bigint.c bigint_sign_comb(b_false, a, b_true, b, dest);
b 336 uspace/app/sbi/src/bigint.c void bigint_mul(bigint_t *a, bigint_t *b, bigint_t *dest)
b 347 uspace/app/sbi/src/bigint.c for (idx = 0; idx < b->length; ++idx) {
b 348 uspace/app/sbi/src/bigint.c bigint_shift_mul_dig(a, b->digit[idx], idx, &dprod);
b 356 uspace/app/sbi/src/bigint.c if (b->negative)
b 457 uspace/app/sbi/src/bigint.c bigint_t *b, bigint_t *dest)
b 466 uspace/app/sbi/src/bigint.c neg_b = (srf_b != b->negative);
b 469 uspace/app/sbi/src/bigint.c bigint_add_abs(a, b, dest);
b 472 uspace/app/sbi/src/bigint.c bigint_sub_abs(a, b, dest);
b 486 uspace/app/sbi/src/bigint.c static void bigint_add_abs(bigint_t *a, bigint_t *b, bigint_t *dest)
b 498 uspace/app/sbi/src/bigint.c lbound = (a->length > b->length ? a->length : b->length) + 1;
b 506 uspace/app/sbi/src/bigint.c db = idx < b->length ? b->digit[idx] : 0;
b 531 uspace/app/sbi/src/bigint.c static void bigint_sub_abs(bigint_t *a, bigint_t *b, bigint_t *dest)
b 543 uspace/app/sbi/src/bigint.c lbound = a->length > b->length ? a->length : b->length;
b 550 uspace/app/sbi/src/bigint.c db = idx < b->length ? b->digit[idx] : 0;
b 606 uspace/app/sbi/src/bigint.c static void bigint_shift_mul_dig(bigint_t *a, bigint_word_t b, size_t shift,
b 632 uspace/app/sbi/src/bigint.c db = b;
b 44 uspace/app/sbi/src/bigint.h void bigint_div_digit(bigint_t *a, bigint_word_t b, bigint_t *quot,
b 47 uspace/app/sbi/src/bigint.h void bigint_add(bigint_t *a, bigint_t *b, bigint_t *dest);
b 48 uspace/app/sbi/src/bigint.h void bigint_sub(bigint_t *a, bigint_t *b, bigint_t *dest);
b 49 uspace/app/sbi/src/bigint.h void bigint_mul(bigint_t *a, bigint_t *b, bigint_t *dest);
b 81 uspace/app/sbi/src/cspan.c cspan_t *cspan_merge(cspan_t *a, cspan_t *b)
b 84 uspace/app/sbi/src/cspan.c assert(b != NULL);
b 85 uspace/app/sbi/src/cspan.c assert(a->input == b->input);
b 87 uspace/app/sbi/src/cspan.c return cspan_new(a->input, a->line0, a->col0, b->line1, b->col1);
b 35 uspace/app/sbi/src/cspan.h cspan_t *cspan_merge(cspan_t *a, cspan_t *b);
b 45 uspace/app/sbi/src/list.c static void list_node_insert_between(list_node_t *n, list_node_t *a, list_node_t *b);
b 244 uspace/app/sbi/src/list.c list_node_t *b)
b 249 uspace/app/sbi/src/list.c n->next = b;
b 251 uspace/app/sbi/src/list.c assert(a->next == b);
b 252 uspace/app/sbi/src/list.c assert(b->prev == a);
b 254 uspace/app/sbi/src/list.c b->prev = n;
b 265 uspace/app/sbi/src/list.c list_node_t *a, *b;
b 270 uspace/app/sbi/src/list.c b = n->next;
b 273 uspace/app/sbi/src/list.c assert(b->prev == n);
b 275 uspace/app/sbi/src/list.c a->next = b;
b 276 uspace/app/sbi/src/list.c b->prev = a;
b 57 uspace/app/sbi/src/os/helenos.c char *os_str_acat(const char *a, const char *b)
b 63 uspace/app/sbi/src/os/helenos.c b_size = str_size(b);
b 72 uspace/app/sbi/src/os/helenos.c memcpy(str + a_size, b, b_size);
b 120 uspace/app/sbi/src/os/helenos.c int os_str_cmp(const char *a, const char *b)
b 122 uspace/app/sbi/src/os/helenos.c return str_cmp(a, b);
b 34 uspace/app/sbi/src/os/os.h char *os_str_acat(const char *a, const char *b);
b 36 uspace/app/sbi/src/os/os.h int os_str_cmp(const char *a, const char *b);
b 60 uspace/app/sbi/src/os/posix.c char *os_str_acat(const char *a, const char *b)
b 66 uspace/app/sbi/src/os/posix.c b_len = strlen(b);
b 75 uspace/app/sbi/src/os/posix.c memcpy(str + a_len, b, b_len);
b 116 uspace/app/sbi/src/os/posix.c errno_t os_str_cmp(const char *a, const char *b)
b 118 uspace/app/sbi/src/os/posix.c return strcmp(a, b);
b 97 uspace/app/sbi/src/p_expr.c stree_expr_t *a, *b, *tmp;
b 114 uspace/app/sbi/src/p_expr.c b = parse_disjunctive(parse);
b 117 uspace/app/sbi/src/p_expr.c assign->src = b;
b 121 uspace/app/sbi/src/p_expr.c tmp->cspan = cspan_merge(a->cspan, b->cspan);
b 134 uspace/app/sbi/src/p_expr.c stree_expr_t *a, *b, *tmp;
b 146 uspace/app/sbi/src/p_expr.c b = parse_conjunctive(parse);
b 150 uspace/app/sbi/src/p_expr.c binop->arg2 = b;
b 154 uspace/app/sbi/src/p_expr.c tmp->cspan = cspan_merge(cs, b->cspan);
b 170 uspace/app/sbi/src/p_expr.c stree_expr_t *a, *b, *tmp;
b 182 uspace/app/sbi/src/p_expr.c b = parse_comparative(parse);
b 186 uspace/app/sbi/src/p_expr.c binop->arg2 = b;
b 190 uspace/app/sbi/src/p_expr.c tmp->cspan = cspan_merge(cs, b->cspan);
b 206 uspace/app/sbi/src/p_expr.c stree_expr_t *a, *b, *tmp;
b 245 uspace/app/sbi/src/p_expr.c b = parse_additive(parse);
b 249 uspace/app/sbi/src/p_expr.c binop->arg2 = b;
b 253 uspace/app/sbi/src/p_expr.c tmp->cspan = cspan_merge(cs, b->cspan);
b 269 uspace/app/sbi/src/p_expr.c stree_expr_t *a, *b, *tmp;
b 293 uspace/app/sbi/src/p_expr.c b = parse_multip(parse);
b 297 uspace/app/sbi/src/p_expr.c binop->arg2 = b;
b 301 uspace/app/sbi/src/p_expr.c tmp->cspan = cspan_merge(cs, b->cspan);
b 317 uspace/app/sbi/src/p_expr.c stree_expr_t *a, *b, *tmp;
b 338 uspace/app/sbi/src/p_expr.c b = parse_prefix(parse);
b 342 uspace/app/sbi/src/p_expr.c binop->arg2 = b;
b 346 uspace/app/sbi/src/p_expr.c tmp->cspan = cspan_merge(cs, b->cspan);
b 1046 uspace/app/sbi/src/stree.c bool_t stree_is_csi_derived_from_csi(stree_csi_t *a, stree_csi_t *b)
b 1052 uspace/app/sbi/src/stree.c if (csi == b)
b 99 uspace/app/sbi/src/stree.h bool_t stree_is_csi_derived_from_csi(stree_csi_t *a, stree_csi_t *b);
b 61 uspace/app/sbi/src/symbol.c stree_symbol_t *a, *b;
b 74 uspace/app/sbi/src/symbol.c b = symbol_search_csi(prog, a_csi, texpr->u.taccess->member_name);
b 75 uspace/app/sbi/src/symbol.c if (b == NULL) {
b 79 uspace/app/sbi/src/symbol.c return b;
b 132 uspace/app/sbi/src/tdata.c bool_t tdata_item_equal(tdata_item_t *a, tdata_item_t *b)
b 141 uspace/app/sbi/src/tdata.c if (b->tic == tic_tobject)
b 143 uspace/app/sbi/src/tdata.c } else if (b->tic == tic_tprimitive && b->u.tprimitive->tpc == tpc_nil) {
b 148 uspace/app/sbi/src/tdata.c if (a->tic != b->tic)
b 154 uspace/app/sbi/src/tdata.c return (a->u.tprimitive->tpc == b->u.tprimitive->tpc);
b 157 uspace/app/sbi/src/tdata.c return (a->u.tobject->csi == b->u.tobject->csi);
b 160 uspace/app/sbi/src/tdata.c if (a->u.tarray->rank != b->u.tarray->rank)
b 164 uspace/app/sbi/src/tdata.c b->u.tarray->base_ti);
b 167 uspace/app/sbi/src/tdata.c return (a->u.tenum->enum_d == b->u.tenum->enum_d);
b 170 uspace/app/sbi/src/tdata.c return (a->u.tvref->targ == b->u.tvref->targ);
b 175 uspace/app/sbi/src/tdata.c tdata_item_print(b);
b 52 uspace/app/sbi/src/tdata.h bool_t tdata_item_equal(tdata_item_t *a, tdata_item_t *b);
b 182 uspace/app/terminal/terminal.c uint8_t r, g, b;
b 183 uspace/app/terminal/terminal.c termui_color_to_rgb(c, &r, &g, &b);
b 184 uspace/app/terminal/terminal.c return PIXEL(255, r, g, b);
b 61 uspace/app/tester/float/float2.c static bool cmp_float(float a, float b)
b 66 uspace/app/tester/float/float2.c if (b < 1.0 / PRECISIONF && b > -1.0 / PRECISIONF)
b 69 uspace/app/tester/float/float2.c r = a / b - 1.0;
b 78 uspace/app/tester/float/float2.c static bool cmp_double(double a, double b)
b 83 uspace/app/tester/float/float2.c if (b < 1.0 / PRECISION && b > -1.0 / PRECISION)
b 86 uspace/app/tester/float/float2.c r = a / b - 1.0;
b 363 uspace/app/top/top.c static int cmp_data(void *a, void *b, void *arg)
b 366 uspace/app/top/top.c field_t *fb = (field_t *)b + sort_column;
b 41 uspace/app/top/top.h #define FRACTION_TO_FLOAT(float, a, b) \
b 43 uspace/app/top/top.h if ((b) != 0) { \
b 45 uspace/app/top/top.h (float).lower = (b); \
b 182 uspace/dist/src/c/demos/edit/edit.c static int tag_cmp(tag_t const *a, tag_t const *b);
b 183 uspace/dist/src/c/demos/edit/edit.c static int spt_cmp(spt_t const *a, spt_t const *b);
b 184 uspace/dist/src/c/demos/edit/edit.c static int coord_cmp(coord_t const *a, coord_t const *b);
b 1679 uspace/dist/src/c/demos/edit/edit.c static int tag_cmp(tag_t const *a, tag_t const *b)
b 1684 uspace/dist/src/c/demos/edit/edit.c tag_get_pt(b, &pb);
b 1690 uspace/dist/src/c/demos/edit/edit.c static int spt_cmp(spt_t const *a, spt_t const *b)
b 1695 uspace/dist/src/c/demos/edit/edit.c spt_get_coord(b, &cb);
b 1701 uspace/dist/src/c/demos/edit/edit.c static int coord_cmp(coord_t const *a, coord_t const *b)
b 1703 uspace/dist/src/c/demos/edit/edit.c if (a->row - b->row != 0)
b 1704 uspace/dist/src/c/demos/edit/edit.c return a->row - b->row;
b 1706 uspace/dist/src/c/demos/edit/edit.c return a->column - b->column;
b 142 uspace/dist/src/c/demos/edit/search.c bool char_exact_equals(const char32_t a, const char32_t b)
b 144 uspace/dist/src/c/demos/edit/search.c return a == b;
b 314 uspace/dist/src/c/demos/edit/sheet.c bool spt_equal(spt_t const *a, spt_t const *b)
b 316 uspace/dist/src/c/demos/edit/sheet.c return a->b_off == b->b_off;
b 364 uspace/dist/src/c/demos/top/top.c static int cmp_data(void *a, void *b, void *arg)
b 367 uspace/dist/src/c/demos/top/top.c field_t *fb = (field_t *)b + sort_column;
b 41 uspace/dist/src/c/demos/top/top.h #define FRACTION_TO_FLOAT(float, a, b) \
b 43 uspace/dist/src/c/demos/top/top.h if ((b) != 0) { \
b 45 uspace/dist/src/c/demos/top/top.h (float).lower = (b); \
b 313 uspace/drv/bus/adb/cuda_adb/cuda_adb.c uint8_t b = pio_read_8(&cuda->regs->b);
b 315 uspace/drv/bus/adb/cuda_adb/cuda_adb.c if ((b & TREQ) != 0) {
b 320 uspace/drv/bus/adb/cuda_adb/cuda_adb.c pio_write_8(&cuda->regs->b, b & ~TIP);
b 336 uspace/drv/bus/adb/cuda_adb/cuda_adb.c uint8_t b = pio_read_8(&cuda->regs->b);
b 338 uspace/drv/bus/adb/cuda_adb/cuda_adb.c if ((b & TREQ) == 0) {
b 339 uspace/drv/bus/adb/cuda_adb/cuda_adb.c pio_write_8(&cuda->regs->b, b ^ TACK);
b 341 uspace/drv/bus/adb/cuda_adb/cuda_adb.c pio_write_8(&cuda->regs->b, b | TACK | TIP);
b 357 uspace/drv/bus/adb/cuda_adb/cuda_adb.c uint8_t b = pio_read_8(&cuda->regs->b);
b 359 uspace/drv/bus/adb/cuda_adb/cuda_adb.c if ((b & TREQ) == 0) {
b 361 uspace/drv/bus/adb/cuda_adb/cuda_adb.c pio_write_8(&cuda->regs->b, b & ~TIP);
b 380 uspace/drv/bus/adb/cuda_adb/cuda_adb.c uint8_t b;
b 382 uspace/drv/bus/adb/cuda_adb/cuda_adb.c b = pio_read_8(&cuda->regs->b);
b 384 uspace/drv/bus/adb/cuda_adb/cuda_adb.c if ((b & TREQ) == 0) {
b 389 uspace/drv/bus/adb/cuda_adb/cuda_adb.c pio_write_8(&cuda->regs->b, pio_read_8(&cuda->regs->b) |
b 396 uspace/drv/bus/adb/cuda_adb/cuda_adb.c pio_write_8(&cuda->regs->b, pio_read_8(&cuda->regs->b) ^ TACK);
b 414 uspace/drv/bus/adb/cuda_adb/cuda_adb.c pio_write_8(&cuda->regs->b, pio_read_8(&cuda->regs->b) ^ TACK);
b 424 uspace/drv/bus/adb/cuda_adb/cuda_adb.c pio_write_8(&cuda->regs->b, pio_read_8(&cuda->regs->b) | TACK | TIP);
b 500 uspace/drv/bus/adb/cuda_adb/cuda_adb.c if ((pio_read_8(&cuda->regs->b) & TREQ) == 0)
b 505 uspace/drv/bus/adb/cuda_adb/cuda_adb.c pio_write_8(&cuda->regs->b, pio_read_8(&cuda->regs->b) & ~TIP);
b 44 uspace/drv/bus/adb/cuda_adb/cuda_hw.h ioport8_t b;
b 111 uspace/drv/bus/usb/uhci/uhci_batch.h usb_transfer_batch_t *b)
b 113 uspace/drv/bus/usb/uhci/uhci_batch.h assert(b);
b 114 uspace/drv/bus/usb/uhci/uhci_batch.h return (uhci_transfer_batch_t *) b;
b 88 uspace/drv/bus/usb/vhc/hub/virthubops.c uint8_t *b = (uint8_t *) buffer;
b 90 uspace/drv/bus/usb/vhc/hub/virthubops.c *b = change_map;
b 357 uspace/drv/fb/amdm37x_dispc/amdm37x_dispc.c uint16_t r, g, b;
b 359 uspace/drv/fb/amdm37x_dispc/amdm37x_dispc.c gfx_color_get_rgb_i16(color, &r, &g, &b);
b 360 uspace/drv/fb/amdm37x_dispc/amdm37x_dispc.c dispc->color = PIXEL(0, r >> 8, g >> 8, b >> 8);
b 173 uspace/drv/fb/kfb/port.c uint16_t r, g, b;
b 175 uspace/drv/fb/kfb/port.c gfx_color_get_rgb_i16(color, &r, &g, &b);
b 176 uspace/drv/fb/kfb/port.c kfb->color = PIXEL(0, r >> 8, g >> 8, b >> 8);
b 159 uspace/drv/hid/adb-kbd/adb-kbd.c static void adb_kbd_data(adb_kbd_t *kbd, uint8_t b)
b 165 uspace/drv/hid/adb-kbd/adb-kbd.c rc = adb_kbd_key_translate(b, &etype, &key);
b 179 uspace/drv/hid/ps2mouse/ps2mouse.c uint8_t b;
b 181 uspace/drv/hid/ps2mouse/ps2mouse.c rc = chardev_read(mouse->chardev, &b, 1, &nread, chardev_f_nonblock);
b 465 uspace/lib/bithenge/src/blob.c errno_t bithenge_blob_equal(bool *out, bithenge_blob_t *a, bithenge_blob_t *b)
b 469 uspace/lib/bithenge/src/blob.c assert(b);
b 470 uspace/lib/bithenge/src/blob.c assert(b->base.blob_ops);
b 478 uspace/lib/bithenge/src/blob.c rc = bithenge_blob_read(b, offset, buffer_b, &size_b);
b 76 uspace/lib/bithenge/src/expression.c bithenge_expression_t *a, *b;
b 96 uspace/lib/bithenge/src/expression.c bithenge_node_t *a, *b;
b 101 uspace/lib/bithenge/src/expression.c rc = bithenge_expression_evaluate(self->b, scope, &b);
b 125 uspace/lib/bithenge/src/expression.c if (bithenge_node_type(b) != BITHENGE_NODE_INTEGER)
b 128 uspace/lib/bithenge/src/expression.c b_int = bithenge_integer_node_value(b);
b 135 uspace/lib/bithenge/src/expression.c if (bithenge_node_type(b) != BITHENGE_NODE_BOOLEAN)
b 138 uspace/lib/bithenge/src/expression.c b_bool = bithenge_boolean_node_value(b);
b 196 uspace/lib/bithenge/src/expression.c rc = bithenge_node_equal(&out_bool, a, b);
b 202 uspace/lib/bithenge/src/expression.c rc = bithenge_node_equal(&out_bool, a, b);
b 214 uspace/lib/bithenge/src/expression.c rc = bithenge_node_get(a, b, out);
b 215 uspace/lib/bithenge/src/expression.c b = NULL;
b 218 uspace/lib/bithenge/src/expression.c bithenge_expression_inc_ref(self->b);
b 221 uspace/lib/bithenge/src/expression.c self->b, scope);
b 223 uspace/lib/bithenge/src/expression.c b = NULL;
b 232 uspace/lib/bithenge/src/expression.c bithenge_node_dec_ref(b);
b 240 uspace/lib/bithenge/src/expression.c bithenge_expression_dec_ref(self->b);
b 258 uspace/lib/bithenge/src/expression.c bithenge_expression_t *b)
b 274 uspace/lib/bithenge/src/expression.c self->b = b;
b 280 uspace/lib/bithenge/src/expression.c bithenge_expression_dec_ref(b);
b 1005 uspace/lib/bithenge/src/expression.c bithenge_blob_t *a, *b;
b 1023 uspace/lib/bithenge/src/expression.c if (self->b)
b 1035 uspace/lib/bithenge/src/expression.c self->b = bithenge_node_as_blob(b_node);
b 1049 uspace/lib/bithenge/src/expression.c rc = bithenge_blob_size(self->b, size);
b 1072 uspace/lib/bithenge/src/expression.c rc = bithenge_blob_read(self->b,
b 1102 uspace/lib/bithenge/src/expression.c rc = bithenge_blob_read_bits(self->b,
b 1117 uspace/lib/bithenge/src/expression.c bithenge_blob_dec_ref(self->b);
b 1137 uspace/lib/bithenge/src/expression.c bithenge_blob_t *b)
b 1141 uspace/lib/bithenge/src/expression.c assert(b);
b 1158 uspace/lib/bithenge/src/expression.c self->b = b;
b 1166 uspace/lib/bithenge/src/expression.c bithenge_blob_dec_ref(b);
b 1202 uspace/lib/bithenge/src/expression.c self->b = NULL;
b 369 uspace/lib/bithenge/src/tree.c errno_t bithenge_node_equal(bool *out, bithenge_node_t *a, bithenge_node_t *b)
b 371 uspace/lib/bithenge/src/tree.c if (a->type != b->type) {
b 380 uspace/lib/bithenge/src/tree.c *out = a->boolean_value == b->boolean_value;
b 383 uspace/lib/bithenge/src/tree.c *out = a->integer_value == b->integer_value;
b 386 uspace/lib/bithenge/src/tree.c *out = !str_cmp(a->string_value.ptr, b->string_value.ptr);
b 390 uspace/lib/bithenge/src/tree.c bithenge_node_as_blob(b));
b 252 uspace/lib/block/block.c block_t *b = hash_table_get_inst(item, block_t, hash_link);
b 253 uspace/lib/block/block.c return b->lba;
b 259 uspace/lib/block/block.c block_t *b = hash_table_get_inst(item, block_t, hash_link);
b 260 uspace/lib/block/block.c return b->lba == *lba;
b 326 uspace/lib/block/block.c block_t *b = list_get_instance(list_first(&cache->free_list),
b 329 uspace/lib/block/block.c list_remove(&b->free_link);
b 330 uspace/lib/block/block.c if (b->dirty) {
b 331 uspace/lib/block/block.c rc = write_blocks(devcon, b->pba, cache->blocks_cluster,
b 332 uspace/lib/block/block.c b->data, b->size);
b 337 uspace/lib/block/block.c hash_table_remove_item(&cache->block_hash, &b->hash_link);
b 339 uspace/lib/block/block.c free(b->data);
b 340 uspace/lib/block/block.c free(b);
b 361 uspace/lib/block/block.c static void block_initialize(block_t *b)
b 363 uspace/lib/block/block.c fibril_mutex_initialize(&b->lock);
b 364 uspace/lib/block/block.c b->refcnt = 1;
b 365 uspace/lib/block/block.c b->write_failures = 0;
b 366 uspace/lib/block/block.c b->dirty = false;
b 367 uspace/lib/block/block.c b->toxic = false;
b 368 uspace/lib/block/block.c fibril_rwlock_initialize(&b->contents_lock);
b 369 uspace/lib/block/block.c link_initialize(&b->free_link);
b 388 uspace/lib/block/block.c block_t *b;
b 413 uspace/lib/block/block.c b = NULL;
b 422 uspace/lib/block/block.c b = hash_table_get_inst(hlink, block_t, hash_link);
b 423 uspace/lib/block/block.c fibril_mutex_lock(&b->lock);
b 424 uspace/lib/block/block.c if (b->refcnt++ == 0)
b 425 uspace/lib/block/block.c list_remove(&b->free_link);
b 426 uspace/lib/block/block.c if (b->toxic)
b 428 uspace/lib/block/block.c fibril_mutex_unlock(&b->lock);
b 440 uspace/lib/block/block.c b = malloc(sizeof(block_t));
b 441 uspace/lib/block/block.c if (!b)
b 443 uspace/lib/block/block.c b->data = malloc(cache->lblock_size);
b 444 uspace/lib/block/block.c if (!b->data) {
b 445 uspace/lib/block/block.c free(b);
b 446 uspace/lib/block/block.c b = NULL;
b 461 uspace/lib/block/block.c b = list_get_instance(link, block_t, free_link);
b 463 uspace/lib/block/block.c fibril_mutex_lock(&b->lock);
b 464 uspace/lib/block/block.c if (b->dirty) {
b 474 uspace/lib/block/block.c list_remove(&b->free_link);
b 475 uspace/lib/block/block.c list_append(&b->free_link, &cache->free_list);
b 477 uspace/lib/block/block.c rc = write_blocks(devcon, b->pba,
b 478 uspace/lib/block/block.c cache->blocks_cluster, b->data, b->size);
b 486 uspace/lib/block/block.c if (b->write_failures < MAX_WRITE_RETRIES) {
b 487 uspace/lib/block/block.c b->write_failures++;
b 488 uspace/lib/block/block.c fibril_mutex_unlock(&b->lock);
b 494 uspace/lib/block/block.c b->lba, devcon->service_id);
b 497 uspace/lib/block/block.c b->write_failures = 0;
b 499 uspace/lib/block/block.c b->dirty = false;
b 505 uspace/lib/block/block.c fibril_mutex_unlock(&b->lock);
b 519 uspace/lib/block/block.c fibril_mutex_unlock(&b->lock);
b 524 uspace/lib/block/block.c fibril_mutex_unlock(&b->lock);
b 530 uspace/lib/block/block.c list_remove(&b->free_link);
b 531 uspace/lib/block/block.c hash_table_remove_item(&cache->block_hash, &b->hash_link);
b 534 uspace/lib/block/block.c block_initialize(b);
b 535 uspace/lib/block/block.c b->service_id = service_id;
b 536 uspace/lib/block/block.c b->size = cache->lblock_size;
b 537 uspace/lib/block/block.c b->lba = ba;
b 538 uspace/lib/block/block.c b->pba = ba_ltop(devcon, b->lba);
b 539 uspace/lib/block/block.c hash_table_insert(&cache->block_hash, &b->hash_link);
b 546 uspace/lib/block/block.c fibril_mutex_lock(&b->lock);
b 554 uspace/lib/block/block.c rc = read_blocks(devcon, b->pba, cache->blocks_cluster,
b 555 uspace/lib/block/block.c b->data, cache->lblock_size);
b 557 uspace/lib/block/block.c b->toxic = true;
b 561 uspace/lib/block/block.c fibril_mutex_unlock(&b->lock);
b 564 uspace/lib/block/block.c if ((rc != EOK) && b) {
b 565 uspace/lib/block/block.c assert(b->toxic);
b 566 uspace/lib/block/block.c (void) block_put(b);
b 567 uspace/lib/block/block.c b = NULL;
b 569 uspace/lib/block/block.c *block = b;
b 76 uspace/lib/c/common/adt/odict.c if (cur->a != NULL || cur->b != NULL) {
b 80 uspace/lib/c/common/adt/odict.c odict_print_tree(cur->b);
b 135 uspace/lib/c/common/adt/odict.c if (cur->b != NULL) {
b 137 uspace/lib/c/common/adt/odict.c if (cur->b->up != cur) {
b 143 uspace/lib/c/common/adt/odict.c if (cur->b->color == odc_red && cur->color == odc_red) {
b 149 uspace/lib/c/common/adt/odict.c rc = odict_validate_tree(cur->b, &bd_b);
b 226 uspace/lib/c/common/adt/odict.c odlink->b = NULL;
b 269 uspace/lib/c/common/adt/odict.c if (cur->b == NULL) {
b 273 uspace/lib/c/common/adt/odict.c cur = cur->b;
b 353 uspace/lib/c/common/adt/odict.c if (odlink->a != NULL && odlink->b != NULL) {
b 362 uspace/lib/c/common/adt/odict.c assert(odlink->b == NULL);
b 365 uspace/lib/c/common/adt/odict.c c = odlink->b;
b 380 uspace/lib/c/common/adt/odict.c odlink->up = odlink->a = odlink->b = NULL;
b 420 uspace/lib/c/common/adt/odict.c (s->b == NULL || s->b->color == odc_black)) {
b 435 uspace/lib/c/common/adt/odict.c (s->b == NULL || s->b->color == odc_black)) {
b 445 uspace/lib/c/common/adt/odict.c sc = s->b;
b 447 uspace/lib/c/common/adt/odict.c st = s->b;
b 467 uspace/lib/c/common/adt/odict.c sc = s->b;
b 469 uspace/lib/c/common/adt/odict.c st = s->b;
b 675 uspace/lib/c/common/adt/odict.c next = cur->b;
b 728 uspace/lib/c/common/adt/odict.c next = cur->b;
b 787 uspace/lib/c/common/adt/odict.c assert((*p)->b == n);
b 800 uspace/lib/c/common/adt/odict.c *u = (*g)->b;
b 802 uspace/lib/c/common/adt/odict.c assert((*g)->b == *p);
b 820 uspace/lib/c/common/adt/odict.c *rs = p->b;
b 838 uspace/lib/c/common/adt/odict.c q = p->b;
b 846 uspace/lib/c/common/adt/odict.c p->b = q->a;
b 847 uspace/lib/c/common/adt/odict.c if (p->b != NULL)
b 848 uspace/lib/c/common/adt/odict.c p->b->up = p;
b 875 uspace/lib/c/common/adt/odict.c q->a = p->b;
b 878 uspace/lib/c/common/adt/odict.c p->b = q;
b 894 uspace/lib/c/common/adt/odict.c static void odict_swap_node(odlink_t *a, odlink_t *b)
b 900 uspace/lib/c/common/adt/odict.c if (a->up != NULL && a->up != b) {
b 902 uspace/lib/c/common/adt/odict.c a->up->a = b;
b 904 uspace/lib/c/common/adt/odict.c assert(a->up->b == a);
b 905 uspace/lib/c/common/adt/odict.c a->up->b = b;
b 910 uspace/lib/c/common/adt/odict.c if (a->a != NULL && a->a != b)
b 911 uspace/lib/c/common/adt/odict.c a->a->up = b;
b 913 uspace/lib/c/common/adt/odict.c if (a->b != NULL && a->b != b)
b 914 uspace/lib/c/common/adt/odict.c a->b->up = b;
b 917 uspace/lib/c/common/adt/odict.c if (b->up != NULL && b->up != a) {
b 918 uspace/lib/c/common/adt/odict.c if (b->up->a == b) {
b 919 uspace/lib/c/common/adt/odict.c b->up->a = a;
b 921 uspace/lib/c/common/adt/odict.c assert(b->up->b == b);
b 922 uspace/lib/c/common/adt/odict.c b->up->b = a;
b 927 uspace/lib/c/common/adt/odict.c if (b->a != NULL && b->a != a)
b 928 uspace/lib/c/common/adt/odict.c b->a->up = a;
b 930 uspace/lib/c/common/adt/odict.c if (b->b != NULL && b->b != a)
b 931 uspace/lib/c/common/adt/odict.c b->b->up = a;
b 937 uspace/lib/c/common/adt/odict.c a->up = b->up;
b 938 uspace/lib/c/common/adt/odict.c b->up = n;
b 941 uspace/lib/c/common/adt/odict.c a->a = b->a;
b 942 uspace/lib/c/common/adt/odict.c b->a = n;
b 944 uspace/lib/c/common/adt/odict.c n = a->b;
b 945 uspace/lib/c/common/adt/odict.c a->b = b->b;
b 946 uspace/lib/c/common/adt/odict.c b->b = n;
b 949 uspace/lib/c/common/adt/odict.c a->color = b->color;
b 950 uspace/lib/c/common/adt/odict.c b->color = c;
b 954 uspace/lib/c/common/adt/odict.c a->up = b;
b 956 uspace/lib/c/common/adt/odict.c a->a = b;
b 957 uspace/lib/c/common/adt/odict.c if (a->b == a)
b 958 uspace/lib/c/common/adt/odict.c a->b = b;
b 959 uspace/lib/c/common/adt/odict.c if (b->up == b)
b 960 uspace/lib/c/common/adt/odict.c b->up = a;
b 961 uspace/lib/c/common/adt/odict.c if (b->a == b)
b 962 uspace/lib/c/common/adt/odict.c b->a = a;
b 963 uspace/lib/c/common/adt/odict.c if (b->b == b)
b 964 uspace/lib/c/common/adt/odict.c b->b = a;
b 968 uspace/lib/c/common/adt/odict.c a->odict->root = b;
b 969 uspace/lib/c/common/adt/odict.c else if (b == a->odict->root)
b 988 uspace/lib/c/common/adt/odict.c assert(old->up->b == old);
b 989 uspace/lib/c/common/adt/odict.c old->up->b = n;
b 1009 uspace/lib/c/common/adt/odict.c assert(n->up->b == n);
b 1010 uspace/lib/c/common/adt/odict.c n->up->b = NULL;
b 1024 uspace/lib/c/common/adt/odict.c if (n->b != NULL) {
b 1025 uspace/lib/c/common/adt/odict.c n->b->up = NULL;
b 1026 uspace/lib/c/common/adt/odict.c n->b = NULL;
b 1057 uspace/lib/c/common/adt/odict.c old->b = n;
b 1075 uspace/lib/c/common/adt/odict.c odlink_t *b;
b 1082 uspace/lib/c/common/adt/odict.c b = odict_last(odict);
b 1083 uspace/lib/c/common/adt/odict.c if (b != NULL) {
b 1084 uspace/lib/c/common/adt/odict.c d = odict->cmp(odict->getkey(b), key);
b 1086 uspace/lib/c/common/adt/odict.c return b;
b 1120 uspace/lib/c/common/adt/odict.c a = b = cur = hint;
b 1128 uspace/lib/c/common/adt/odict.c d = odict->cmp(odict->getkey(b), odict->getkey(cur));
b 1130 uspace/lib/c/common/adt/odict.c b = cur;
b 1133 uspace/lib/c/common/adt/odict.c db = odict->cmp(key, odict->getkey(b));
b 42 uspace/lib/c/common/include/adt/gcdlcm.h static inline type name(type a, type b) \
b 45 uspace/lib/c/common/include/adt/gcdlcm.h return b; \
b 47 uspace/lib/c/common/include/adt/gcdlcm.h while (b != 0) { \
b 48 uspace/lib/c/common/include/adt/gcdlcm.h if (a > b) \
b 49 uspace/lib/c/common/include/adt/gcdlcm.h a -= b; \
b 51 uspace/lib/c/common/include/adt/gcdlcm.h b -= a; \
b 58 uspace/lib/c/common/include/adt/gcdlcm.h static inline type name(type a, type b) \
b 60 uspace/lib/c/common/include/adt/gcdlcm.h return (a * b) / gcd(a, b); \
b 52 uspace/lib/c/common/stdc/mem.c void *memset(void *dest, int b, size_t n)
b 73 uspace/lib/c/common/stdc/mem.c *pb++ = b;
b 88 uspace/lib/c/common/stdc/mem.c pattern = (pattern << 8) | (uint8_t) b;
b 100 uspace/lib/c/common/stdc/mem.c *pb++ = b;
b 59 uspace/lib/c/common/stdc/qsort.c static int compar_wrap(const void *a, const void *b, void *arg)
b 64 uspace/lib/c/common/stdc/qsort.c return compar(a, b);
b 76 uspace/lib/c/common/stdc/qsort.c const void *b;
b 80 uspace/lib/c/common/stdc/qsort.c b = qs->base + j * qs->size;
b 82 uspace/lib/c/common/stdc/qsort.c r = qs->compar(a, b, qs->arg);
b 96 uspace/lib/c/common/stdc/qsort.c char *b;
b 101 uspace/lib/c/common/stdc/qsort.c b = qs->base + j * qs->size;
b 105 uspace/lib/c/common/stdc/qsort.c a[k] = b[k];
b 106 uspace/lib/c/common/stdc/qsort.c b[k] = t;
b 189 uspace/lib/c/common/str.c uint8_t b = (uint8_t) str[(*offset)++];
b 192 uspace/lib/c/common/str.c if ((b & 0xc0) != 0x80)
b 196 uspace/lib/c/common/str.c ch = (ch << CONT_BITS) | (char32_t) (b & LO_MASK_8(CONT_BITS));
b 226 uspace/lib/c/common/str.c uint8_t b = (uint8_t) str[--(*offset)];
b 228 uspace/lib/c/common/str.c if (processed == 0 && (b & 0x80) == 0) {
b 230 uspace/lib/c/common/str.c return b & 0x7f;
b 231 uspace/lib/c/common/str.c } else if ((b & 0xe0) == 0xc0 || (b & 0xf0) == 0xe0 ||
b 232 uspace/lib/c/common/str.c (b & 0xf8) == 0xf0) {
b 236 uspace/lib/c/common/str.c } else if ((b & 0xc0) != 0x80) {
b 89 uspace/lib/c/generic/double_to_str.c uint64_t a, b, c, d;
b 91 uspace/lib/c/generic/double_to_str.c b = x.significand & low_bits;
b 96 uspace/lib/c/generic/double_to_str.c bd = b * d;
b 99 uspace/lib/c/generic/double_to_str.c bc = b * c;
b 131 uspace/lib/c/generic/double_to_str.c static fp_num_t subtract(fp_num_t a, fp_num_t b)
b 133 uspace/lib/c/generic/double_to_str.c assert(a.exponent == b.exponent);
b 134 uspace/lib/c/generic/double_to_str.c assert(a.significand >= b.significand);
b 138 uspace/lib/c/generic/double_to_str.c result.significand = a.significand - b.significand;
b 100 uspace/lib/c/generic/getopt.c static int gcd(int a, int b)
b 104 uspace/lib/c/generic/getopt.c c = a % b;
b 106 uspace/lib/c/generic/getopt.c a = b;
b 107 uspace/lib/c/generic/getopt.c b = c;
b 108 uspace/lib/c/generic/getopt.c c = a % b;
b 111 uspace/lib/c/generic/getopt.c return b;
b 87 uspace/lib/c/generic/imath.c unsigned b;
b 94 uspace/lib/c/generic/imath.c b = 0;
b 100 uspace/lib/c/generic/imath.c ++b;
b 103 uspace/lib/c/generic/imath.c p10p2[b] = a;
b 109 uspace/lib/c/generic/imath.c if (v >= p10p2[b]) {
b 110 uspace/lib/c/generic/imath.c v = v / p10p2[b];
b 111 uspace/lib/c/generic/imath.c r = r ^ (1 << b);
b 114 uspace/lib/c/generic/imath.c if (b == 0)
b 116 uspace/lib/c/generic/imath.c --b;
b 671 uspace/lib/c/generic/io/io.c uint8_t b;
b 707 uspace/lib/c/generic/io/io.c b = data[i];
b 708 uspace/lib/c/generic/io/io.c stream->buf_head[i] = b;
b 710 uspace/lib/c/generic/io/io.c if ((b == '\n') && (stream->btype == _IOLBF))
b 781 uspace/lib/c/generic/io/io.c unsigned char b;
b 784 uspace/lib/c/generic/io/io.c b = (unsigned char) c;
b 785 uspace/lib/c/generic/io/io.c wr = fwrite(&b, sizeof(b), 1, stream);
b 789 uspace/lib/c/generic/io/io.c return b;
b 103 uspace/lib/c/generic/rndgen.c uint8_t b;
b 109 uspace/lib/c/generic/rndgen.c rc = rndgen_uint8(rndgen, &b);
b 113 uspace/lib/c/generic/rndgen.c w = (w << 8) | b;
b 129 uspace/lib/c/generic/rndgen.c uint8_t b;
b 135 uspace/lib/c/generic/rndgen.c rc = rndgen_uint8(rndgen, &b);
b 139 uspace/lib/c/generic/rndgen.c w = (w << 8) | b;
b 136 uspace/lib/c/generic/thread/mpsc.c errno_t mpsc_send(mpsc_t *q, const void *b)
b 143 uspace/lib/c/generic/thread/mpsc.c memcpy(n->data, b, q->elem_size);
b 154 uspace/lib/c/generic/thread/mpsc.c errno_t mpsc_receive(mpsc_t *q, void *b, const struct timespec *expires)
b 173 uspace/lib/c/generic/thread/mpsc.c memcpy(b, new_head->data, q->elem_size);
b 57 uspace/lib/c/include/align.h #define ROUND_UP(n, b) (((n) / (b) + ((n) % (b) != 0)) * (b))
b 51 uspace/lib/c/include/io/pixel.h #define PIXEL(a, r, g, b) \
b 53 uspace/lib/c/include/io/pixel.h (((unsigned)(g) & 0xff) << 8) | ((unsigned)(b) & 0xff))
b 38 uspace/lib/c/include/macros.h #define min(a, b) ((a) < (b) ? (a) : (b))
b 39 uspace/lib/c/include/macros.h #define max(a, b) ((a) > (b) ? (a) : (b))
b 67 uspace/lib/c/include/types/adt/odict.h odlink_t *b;
b 61 uspace/lib/c/test/adt/odict.c static int test_cmp(void *a, void *b)
b 64 uspace/lib/c/test/adt/odict.c int *ib = (int *)b;
b 32 uspace/lib/c/test/gsort.c static int cmp_func(void *a, void *b, void *param)
b 35 uspace/lib/c/test/gsort.c int ib = *(int *)b;
b 45 uspace/lib/c/test/qsort.c static int test_cmp(const void *a, const void *b)
b 48 uspace/lib/c/test/qsort.c int *ib = (int *)b;
b 208 uspace/lib/c/test/stdlib.c static int test_compar(const void *a, const void *b)
b 213 uspace/lib/c/test/stdlib.c ib = (const int *)b;
b 605 uspace/lib/clui/src/tinput.c const char *b = *(const char **) vb;
b 607 uspace/lib/clui/src/tinput.c return str_cmp(a, b);
b 610 uspace/lib/clui/src/tinput.c static size_t common_pref_len(const char *a, const char *b)
b 622 uspace/lib/clui/src/tinput.c cb = str_decode(b, &b_off, STR_NO_LIMIT);
b 294 uspace/lib/codepage/src/cp437.c uint8_t b;
b 302 uspace/lib/codepage/src/cp437.c b = 0;
b 311 uspace/lib/codepage/src/cp437.c b = u0xxx_to_cp437[c];
b 313 uspace/lib/codepage/src/cp437.c b = u2xxx_to_cp437[c - 0x2000];
b 320 uspace/lib/codepage/src/cp437.c if (b == 0)
b 323 uspace/lib/codepage/src/cp437.c *code = b;
b 146 uspace/lib/congfx/src/console.c cgc->clr = PIXEL(color->attr, color->r >> 8, color->g >> 8, color->b >> 8);
b 134 uspace/lib/cpp/include/__bits/functional/bind.hpp constexpr decltype(auto) operator[](const bind_t<R, B, F, BindArgs...> b)
b 137 uspace/lib/cpp/include/__bits/functional/bind.hpp return b; // TODO: bind subexpressions
b 99 uspace/lib/cpp/include/__bits/io/iomanip_objs.hpp setbase_t(int b);
b 228 uspace/lib/cpp/include/__bits/random.hpp UIntType b, size_t t, UIntType c, size_t l, UIntType f
b 255 uspace/lib/cpp/include/__bits/random.hpp static constexpr UIntType tempering_b = b;
b 404 uspace/lib/cpp/include/__bits/random.hpp auto z2 = z1 ^ (lshift_(z1, s) & b);
b 1153 uspace/lib/cpp/include/__bits/random.hpp auto b = (bits < numeric_limits<RealType>::digits) ? bits : numeric_limits<RealType>::digits;
b 1155 uspace/lib/cpp/include/__bits/random.hpp size_t tmp = aux::ceil(b / aux::log2(r));
b 1177 uspace/lib/cpp/include/__bits/random.hpp result_type b = numeric_limits<result_type>::max())
b 1178 uspace/lib/cpp/include/__bits/random.hpp : a_{a}, b_{b}
b 1287 uspace/lib/cpp/include/__bits/random.hpp result_type b = 1.0)
b 1288 uspace/lib/cpp/include/__bits/random.hpp : a_{a}, b_{b}
b 1212 uspace/lib/cpp/include/__bits/type_traits/type_traits.hpp template<bool b, class T = void>
b 1213 uspace/lib/cpp/include/__bits/type_traits/type_traits.hpp using enable_if_t = typename enable_if<b, T>::type;
b 1215 uspace/lib/cpp/include/__bits/type_traits/type_traits.hpp template<bool b, class T, class F>
b 1216 uspace/lib/cpp/include/__bits/type_traits/type_traits.hpp using conditional_t = typename conditional<b, T, F>::type;
b 88 uspace/lib/cpp/include/__bits/utility/utility.hpp void swap(T (&a)[N], T (&b)[N]) noexcept(noexcept(swap(*a, *b)))
b 90 uspace/lib/cpp/include/__bits/utility/utility.hpp swap_ranges(a, a + N, b);
b 105 uspace/lib/cpp/src/__bits/test/array.cpp auto [a, b, c] = arr4;
b 107 uspace/lib/cpp/src/__bits/test/array.cpp test_eq("structured binding part 2", b, 2);
b 40 uspace/lib/cpp/src/__bits/test/functional.cpp int f1(int a, int b)
b 42 uspace/lib/cpp/src/__bits/test/functional.cpp return a + b;
b 45 uspace/lib/cpp/src/__bits/test/functional.cpp int f2(int a, int b)
b 47 uspace/lib/cpp/src/__bits/test/functional.cpp return a * 10 + b;
b 50 uspace/lib/cpp/src/__bits/test/functional.cpp void f3(int& a, int& b)
b 53 uspace/lib/cpp/src/__bits/test/functional.cpp b = 1337;
b 58 uspace/lib/cpp/src/iomanip.cpp setbase_t::setbase_t(int b)
b 59 uspace/lib/cpp/src/iomanip.cpp : base{b}
b 589 uspace/lib/ext4/src/filesystem.c uint32_t ext4_filesystem_blockaddr2group(ext4_superblock_t *sb, uint64_t b)
b 594 uspace/lib/ext4/src/filesystem.c return (b - first_block) / blocks_per_group;
b 603 uspace/lib/ext4/src/filesystem.c aoff64_t b;
b 640 uspace/lib/ext4/src/filesystem.c b = block_id;
b 644 uspace/lib/ext4/src/filesystem.c rc = block_get(&block, fs->device, b, BLOCK_FLAGS_NOREAD);
b 698 uspace/lib/ext4/src/filesystem.c ++b;
b 49 uspace/lib/gfx/private/color.h uint16_t b;
b 54 uspace/lib/gfx/src/color.c errno_t gfx_color_new_rgb_i16(uint16_t r, uint16_t g, uint16_t b,
b 65 uspace/lib/gfx/src/color.c color->b = b;
b 111 uspace/lib/gfx/src/color.c uint16_t *b)
b 115 uspace/lib/gfx/src/color.c *b = color->b;
b 51 uspace/lib/gfx/src/coord.c gfx_coord_t gfx_coord_div_rneg(gfx_coord_t a, gfx_coord_t b)
b 53 uspace/lib/gfx/src/coord.c if ((a > 0 && b > 0) || (a < 0 && b < 0)) {
b 55 uspace/lib/gfx/src/coord.c return a / b;
b 58 uspace/lib/gfx/src/coord.c return (a - b + 1) / b;
b 68 uspace/lib/gfx/src/coord.c void gfx_coord2_add(gfx_coord2_t *a, gfx_coord2_t *b, gfx_coord2_t *d)
b 70 uspace/lib/gfx/src/coord.c d->x = a->x + b->x;
b 71 uspace/lib/gfx/src/coord.c d->y = a->y + b->y;
b 80 uspace/lib/gfx/src/coord.c void gfx_coord2_subtract(gfx_coord2_t *a, gfx_coord2_t *b, gfx_coord2_t *d)
b 82 uspace/lib/gfx/src/coord.c d->x = a->x - b->x;
b 83 uspace/lib/gfx/src/coord.c d->y = a->y - b->y;
b 187 uspace/lib/gfx/src/coord.c void gfx_rect_envelope(gfx_rect_t *a, gfx_rect_t *b, gfx_rect_t *dest)
b 192 uspace/lib/gfx/src/coord.c *dest = *b;
b 196 uspace/lib/gfx/src/coord.c if (gfx_rect_is_empty(b)) {
b 204 uspace/lib/gfx/src/coord.c gfx_rect_points_sort(b, &sb);
b 249 uspace/lib/gfx/src/coord.c void gfx_rect_ctr_on_rect(gfx_rect_t *a, gfx_rect_t *b, gfx_rect_t *dest)
b 255 uspace/lib/gfx/src/coord.c gfx_rect_dims(b, &bdim);
b 257 uspace/lib/gfx/src/coord.c dest->p0.x = b->p0.x + bdim.x / 2 - adim.x / 2;
b 258 uspace/lib/gfx/src/coord.c dest->p0.y = b->p0.y + bdim.y / 2 - adim.y / 2;
b 294 uspace/lib/gfx/src/coord.c bool gfx_rect_is_incident(gfx_rect_t *a, gfx_rect_t *b)
b 298 uspace/lib/gfx/src/coord.c gfx_rect_clip(a, b, &r);
b 308 uspace/lib/gfx/src/coord.c bool gfx_rect_is_inside(gfx_rect_t *a, gfx_rect_t *b)
b 314 uspace/lib/gfx/src/coord.c gfx_rect_points_sort(b, &sb);
b 58 uspace/lib/gfx/test/coord.c gfx_coord2_t a, b;
b 63 uspace/lib/gfx/test/coord.c b.x = 20;
b 64 uspace/lib/gfx/test/coord.c b.y = 22;
b 66 uspace/lib/gfx/test/coord.c gfx_coord2_add(&a, &b, &d);
b 68 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(a.x + b.x, d.x);
b 69 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(a.y + b.y, d.y);
b 75 uspace/lib/gfx/test/coord.c gfx_coord2_t a, b;
b 80 uspace/lib/gfx/test/coord.c b.x = 20;
b 81 uspace/lib/gfx/test/coord.c b.y = 22;
b 83 uspace/lib/gfx/test/coord.c gfx_coord2_subtract(&a, &b, &d);
b 85 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(a.x - b.x, d.x);
b 86 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(a.y - b.y, d.y);
b 242 uspace/lib/gfx/test/coord.c gfx_coord_t a, b;
b 244 uspace/lib/gfx/test/coord.c gfx_span_points_sort(1, 2, &a, &b);
b 246 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(2, b);
b 252 uspace/lib/gfx/test/coord.c gfx_coord_t a, b;
b 254 uspace/lib/gfx/test/coord.c gfx_span_points_sort(1, 1, &a, &b);
b 256 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(1, b);
b 262 uspace/lib/gfx/test/coord.c gfx_coord_t a, b;
b 264 uspace/lib/gfx/test/coord.c gfx_span_points_sort(1, 0, &a, &b);
b 266 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(2, b);
b 273 uspace/lib/gfx/test/coord.c gfx_rect_t b;
b 281 uspace/lib/gfx/test/coord.c b.p0.x = 1;
b 282 uspace/lib/gfx/test/coord.c b.p0.y = 2;
b 283 uspace/lib/gfx/test/coord.c b.p1.x = 3;
b 284 uspace/lib/gfx/test/coord.c b.p1.y = 4;
b 286 uspace/lib/gfx/test/coord.c gfx_rect_envelope(&a, &b, &e);
b 297 uspace/lib/gfx/test/coord.c gfx_rect_t b;
b 305 uspace/lib/gfx/test/coord.c b.p0.x = 0;
b 306 uspace/lib/gfx/test/coord.c b.p0.y = 0;
b 307 uspace/lib/gfx/test/coord.c b.p1.x = 0;
b 308 uspace/lib/gfx/test/coord.c b.p1.y = 0;
b 310 uspace/lib/gfx/test/coord.c gfx_rect_envelope(&a, &b, &e);
b 321 uspace/lib/gfx/test/coord.c gfx_rect_t b;
b 329 uspace/lib/gfx/test/coord.c b.p0.x = 5;
b 330 uspace/lib/gfx/test/coord.c b.p0.y = 6;
b 331 uspace/lib/gfx/test/coord.c b.p1.x = 7;
b 332 uspace/lib/gfx/test/coord.c b.p1.y = 8;
b 334 uspace/lib/gfx/test/coord.c gfx_rect_envelope(&a, &b, &e);
b 345 uspace/lib/gfx/test/coord.c gfx_rect_t b;
b 353 uspace/lib/gfx/test/coord.c b.p0.x = 1;
b 354 uspace/lib/gfx/test/coord.c b.p0.y = 2;
b 355 uspace/lib/gfx/test/coord.c b.p1.x = 3;
b 356 uspace/lib/gfx/test/coord.c b.p1.y = 4;
b 358 uspace/lib/gfx/test/coord.c gfx_rect_envelope(&a, &b, &e);
b 369 uspace/lib/gfx/test/coord.c gfx_rect_t b;
b 377 uspace/lib/gfx/test/coord.c b.p0.x = 3;
b 378 uspace/lib/gfx/test/coord.c b.p0.y = 4;
b 379 uspace/lib/gfx/test/coord.c b.p1.x = 5;
b 380 uspace/lib/gfx/test/coord.c b.p1.y = 6;
b 382 uspace/lib/gfx/test/coord.c gfx_rect_envelope(&a, &b, &e);
b 393 uspace/lib/gfx/test/coord.c gfx_rect_t b;
b 401 uspace/lib/gfx/test/coord.c b.p0.x = 1;
b 402 uspace/lib/gfx/test/coord.c b.p0.y = 2;
b 403 uspace/lib/gfx/test/coord.c b.p1.x = 7;
b 404 uspace/lib/gfx/test/coord.c b.p1.y = 8;
b 406 uspace/lib/gfx/test/coord.c gfx_rect_envelope(&a, &b, &e);
b 417 uspace/lib/gfx/test/coord.c gfx_rect_t b;
b 425 uspace/lib/gfx/test/coord.c b.p0.x = 2;
b 426 uspace/lib/gfx/test/coord.c b.p0.y = 1;
b 427 uspace/lib/gfx/test/coord.c b.p1.x = 3;
b 428 uspace/lib/gfx/test/coord.c b.p1.y = 4;
b 430 uspace/lib/gfx/test/coord.c gfx_rect_envelope(&a, &b, &e);
b 603 uspace/lib/gfx/test/coord.c gfx_rect_t b;
b 607 uspace/lib/gfx/test/coord.c b.p0.x = 10;
b 608 uspace/lib/gfx/test/coord.c b.p0.y = 20;
b 609 uspace/lib/gfx/test/coord.c b.p1.x = 30;
b 610 uspace/lib/gfx/test/coord.c b.p1.y = 40;
b 619 uspace/lib/gfx/test/coord.c gfx_rect_ctr_on_rect(&a, &b, &dest);
b 620 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(b.p0.x, dest.p0.x);
b 621 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(b.p0.y, dest.p0.y);
b 622 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(b.p1.x, dest.p1.x);
b 623 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(b.p1.y, dest.p1.y);
b 631 uspace/lib/gfx/test/coord.c gfx_rect_ctr_on_rect(&a, &b, &dest);
b 744 uspace/lib/gfx/test/coord.c gfx_rect_t b;
b 751 uspace/lib/gfx/test/coord.c b.p0.x = 3;
b 752 uspace/lib/gfx/test/coord.c b.p0.y = 2;
b 753 uspace/lib/gfx/test/coord.c b.p1.x = 5;
b 754 uspace/lib/gfx/test/coord.c b.p1.y = 6;
b 756 uspace/lib/gfx/test/coord.c PCUT_ASSERT_FALSE(gfx_rect_is_incident(&a, &b));
b 763 uspace/lib/gfx/test/coord.c gfx_rect_t b;
b 770 uspace/lib/gfx/test/coord.c b.p0.x = 1;
b 771 uspace/lib/gfx/test/coord.c b.p0.y = 2;
b 772 uspace/lib/gfx/test/coord.c b.p1.x = 5;
b 773 uspace/lib/gfx/test/coord.c b.p1.y = 6;
b 775 uspace/lib/gfx/test/coord.c PCUT_ASSERT_TRUE(gfx_rect_is_incident(&a, &b));
b 782 uspace/lib/gfx/test/coord.c gfx_rect_t b;
b 789 uspace/lib/gfx/test/coord.c b.p0.x = 2;
b 790 uspace/lib/gfx/test/coord.c b.p0.y = 3;
b 791 uspace/lib/gfx/test/coord.c b.p1.x = 4;
b 792 uspace/lib/gfx/test/coord.c b.p1.y = 5;
b 794 uspace/lib/gfx/test/coord.c PCUT_ASSERT_TRUE(gfx_rect_is_incident(&a, &b));
b 801 uspace/lib/gfx/test/coord.c gfx_rect_t b;
b 808 uspace/lib/gfx/test/coord.c b.p0.x = 2;
b 809 uspace/lib/gfx/test/coord.c b.p0.y = 3;
b 810 uspace/lib/gfx/test/coord.c b.p1.x = 4;
b 811 uspace/lib/gfx/test/coord.c b.p1.y = 5;
b 813 uspace/lib/gfx/test/coord.c PCUT_ASSERT_TRUE(gfx_rect_is_incident(&a, &b));
b 820 uspace/lib/gfx/test/coord.c gfx_rect_t b;
b 827 uspace/lib/gfx/test/coord.c b.p0.x = 1;
b 828 uspace/lib/gfx/test/coord.c b.p0.y = 2;
b 829 uspace/lib/gfx/test/coord.c b.p1.x = 3;
b 830 uspace/lib/gfx/test/coord.c b.p1.y = 4;
b 832 uspace/lib/gfx/test/coord.c PCUT_ASSERT_TRUE(gfx_rect_is_incident(&a, &b));
b 839 uspace/lib/gfx/test/coord.c gfx_rect_t b;
b 846 uspace/lib/gfx/test/coord.c b.p0.x = 1;
b 847 uspace/lib/gfx/test/coord.c b.p0.y = 2;
b 848 uspace/lib/gfx/test/coord.c b.p1.x = 5;
b 849 uspace/lib/gfx/test/coord.c b.p1.y = 6;
b 851 uspace/lib/gfx/test/coord.c PCUT_ASSERT_TRUE(gfx_rect_is_inside(&a, &b));
b 858 uspace/lib/gfx/test/coord.c gfx_rect_t b;
b 865 uspace/lib/gfx/test/coord.c b.p0.x = 1;
b 866 uspace/lib/gfx/test/coord.c b.p0.y = 2;
b 867 uspace/lib/gfx/test/coord.c b.p1.x = 3;
b 868 uspace/lib/gfx/test/coord.c b.p1.y = 4;
b 870 uspace/lib/gfx/test/coord.c PCUT_ASSERT_TRUE(gfx_rect_is_inside(&a, &b));
b 877 uspace/lib/gfx/test/coord.c gfx_rect_t b;
b 884 uspace/lib/gfx/test/coord.c b.p0.x = 1;
b 885 uspace/lib/gfx/test/coord.c b.p0.y = 2;
b 886 uspace/lib/gfx/test/coord.c b.p1.x = 3;
b 887 uspace/lib/gfx/test/coord.c b.p1.y = 4;
b 889 uspace/lib/gfx/test/coord.c PCUT_ASSERT_FALSE(gfx_rect_is_inside(&a, &b));
b 896 uspace/lib/gfx/test/coord.c b.p0.x = 1;
b 897 uspace/lib/gfx/test/coord.c b.p0.y = 2;
b 898 uspace/lib/gfx/test/coord.c b.p1.x = 3;
b 899 uspace/lib/gfx/test/coord.c b.p1.y = 4;
b 901 uspace/lib/gfx/test/coord.c PCUT_ASSERT_FALSE(gfx_rect_is_inside(&a, &b));
b 908 uspace/lib/gfx/test/coord.c gfx_rect_t b;
b 915 uspace/lib/gfx/test/coord.c b.p0.x = 1;
b 916 uspace/lib/gfx/test/coord.c b.p0.y = 2;
b 917 uspace/lib/gfx/test/coord.c b.p1.x = 3;
b 918 uspace/lib/gfx/test/coord.c b.p1.y = 4;
b 920 uspace/lib/gfx/test/coord.c PCUT_ASSERT_FALSE(gfx_rect_is_inside(&a, &b));
b 927 uspace/lib/gfx/test/coord.c b.p0.x = 1;
b 928 uspace/lib/gfx/test/coord.c b.p0.y = 2;
b 929 uspace/lib/gfx/test/coord.c b.p1.x = 3;
b 930 uspace/lib/gfx/test/coord.c b.p1.y = 4;
b 932 uspace/lib/gfx/test/coord.c PCUT_ASSERT_FALSE(gfx_rect_is_inside(&a, &b));
b 155 uspace/lib/gfx/test/render.c uint16_t r, g, b;
b 175 uspace/lib/gfx/test/render.c gfx_color_get_rgb_i16(tgc.dclr, &r, &g, &b);
b 179 uspace/lib/gfx/test/render.c PCUT_ASSERT_INT_EQUALS(0xffff, b);
b 603 uspace/lib/gfxfont/src/font.c uint8_t b;
b 618 uspace/lib/gfxfont/src/font.c b = 0;
b 621 uspace/lib/gfxfont/src/font.c b = (b << 1) | (pix & 1);
b 624 uspace/lib/gfxfont/src/font.c *dp++ = b;
b 625 uspace/lib/gfxfont/src/font.c b = 0;
b 631 uspace/lib/gfxfont/src/font.c b = b << (8 - (x & 7));
b 632 uspace/lib/gfxfont/src/font.c *dp++ = b;
b 656 uspace/lib/gfxfont/src/font.c uint8_t b;
b 669 uspace/lib/gfxfont/src/font.c b = 0;
b 672 uspace/lib/gfxfont/src/font.c b = *sp++;
b 673 uspace/lib/gfxfont/src/font.c *dp++ = (b >> 7) ? PIXEL(255, 255, 255, 255) :
b 675 uspace/lib/gfxfont/src/font.c b = b << 1;
b 109 uspace/lib/http/src/receive-buffer.c errno_t recv_cut(receive_buffer_t *rb, receive_buffer_mark_t *a, receive_buffer_mark_t *b, void **out_buf, size_t *out_size)
b 111 uspace/lib/http/src/receive-buffer.c if (a->offset > b->offset)
b 114 uspace/lib/http/src/receive-buffer.c size_t size = b->offset - a->offset;
b 125 uspace/lib/http/src/receive-buffer.c errno_t recv_cut_str(receive_buffer_t *rb, receive_buffer_mark_t *a, receive_buffer_mark_t *b, char **out_buf)
b 127 uspace/lib/http/src/receive-buffer.c if (a->offset > b->offset)
b 130 uspace/lib/http/src/receive-buffer.c size_t size = b->offset - a->offset;
b 79 uspace/lib/inet/src/addr.c int addr128_compare(const addr128_t a, const addr128_t b)
b 81 uspace/lib/inet/src/addr.c return memcmp(a, b, 16) == 0;
b 92 uspace/lib/inet/src/addr.c uint8_t b[6];
b 95 uspace/lib/inet/src/addr.c eth_addr_encode(&inet_eth_addr_solicited_node, b);
b 96 uspace/lib/inet/src/addr.c memcpy(&b[3], ip + 13, 3);
b 97 uspace/lib/inet/src/addr.c eth_addr_decode(b, mac);
b 110 uspace/lib/inet/src/addr.c void inet_addr(inet_addr_t *addr, uint8_t a, uint8_t b, uint8_t c, uint8_t d)
b 113 uspace/lib/inet/src/addr.c addr->addr = ((addr32_t) a << 24) | ((addr32_t) b << 16) |
b 117 uspace/lib/inet/src/addr.c void inet_naddr(inet_naddr_t *naddr, uint8_t a, uint8_t b, uint8_t c, uint8_t d,
b 121 uspace/lib/inet/src/addr.c naddr->addr = ((addr32_t) a << 24) | ((addr32_t) b << 16) |
b 126 uspace/lib/inet/src/addr.c void inet_addr6(inet_addr_t *addr, uint16_t a, uint16_t b, uint16_t c,
b 132 uspace/lib/inet/src/addr.c addr->addr6[2] = (b >> 8) & 0xff;
b 133 uspace/lib/inet/src/addr.c addr->addr6[3] = b & 0xff;
b 148 uspace/lib/inet/src/addr.c void inet_naddr6(inet_naddr_t *naddr, uint16_t a, uint16_t b, uint16_t c,
b 154 uspace/lib/inet/src/addr.c naddr->addr6[2] = (b >> 8) & 0xff;
b 155 uspace/lib/inet/src/addr.c naddr->addr6[3] = b & 0xff;
b 198 uspace/lib/inet/src/addr.c int inet_addr_compare(const inet_addr_t *a, const inet_addr_t *b)
b 200 uspace/lib/inet/src/addr.c if (a->version != b->version)
b 205 uspace/lib/inet/src/addr.c return (a->addr == b->addr);
b 207 uspace/lib/inet/src/addr.c return addr128_compare(a->addr6, b->addr6);
b 283 uspace/lib/inet/src/addr.c uint8_t b;
b 288 uspace/lib/inet/src/addr.c errno_t rc = str_uint8_t(cur, (const char **)&cur, 10, false, &b);
b 292 uspace/lib/inet/src/addr.c a = (a << 8) + b;
b 90 uspace/lib/inet/src/eth_addr.c int eth_addr_compare(const eth_addr_t *a, const eth_addr_t *b)
b 92 uspace/lib/inet/src/eth_addr.c if (a->a < b->a)
b 94 uspace/lib/inet/src/eth_addr.c else if (a->a == b->a)
b 49 uspace/lib/inet/test/eth_addr.c uint8_t b[] = { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66 };
b 51 uspace/lib/inet/test/eth_addr.c eth_addr_decode(b, &addr);
b 59 uspace/lib/inet/test/eth_addr.c uint8_t b[7] = { 0, 0, 0, 0, 0, 0, 0 };
b 62 uspace/lib/inet/test/eth_addr.c eth_addr_encode(&addr, b);
b 64 uspace/lib/inet/test/eth_addr.c PCUT_ASSERT_INT_EQUALS(0x11, b[0]);
b 65 uspace/lib/inet/test/eth_addr.c PCUT_ASSERT_INT_EQUALS(0x22, b[1]);
b 66 uspace/lib/inet/test/eth_addr.c PCUT_ASSERT_INT_EQUALS(0x33, b[2]);
b 67 uspace/lib/inet/test/eth_addr.c PCUT_ASSERT_INT_EQUALS(0x44, b[3]);
b 68 uspace/lib/inet/test/eth_addr.c PCUT_ASSERT_INT_EQUALS(0x55, b[4]);
b 69 uspace/lib/inet/test/eth_addr.c PCUT_ASSERT_INT_EQUALS(0x66, b[5]);
b 76 uspace/lib/inet/test/eth_addr.c eth_addr_t b;
b 79 uspace/lib/inet/test/eth_addr.c b.a = 2;
b 80 uspace/lib/inet/test/eth_addr.c PCUT_ASSERT_INT_EQUALS(-1, eth_addr_compare(&a, &b));
b 83 uspace/lib/inet/test/eth_addr.c b.a = 2;
b 84 uspace/lib/inet/test/eth_addr.c PCUT_ASSERT_INT_EQUALS(0, eth_addr_compare(&a, &b));
b 87 uspace/lib/inet/test/eth_addr.c b.a = 1;
b 88 uspace/lib/inet/test/eth_addr.c PCUT_ASSERT_INT_EQUALS(1, eth_addr_compare(&a, &b));
b 107 uspace/lib/ipcgfx/src/client.c uint16_t r, g, b;
b 110 uspace/lib/ipcgfx/src/client.c gfx_color_get_rgb_i16(color, &r, &g, &b);
b 113 uspace/lib/ipcgfx/src/client.c rc = async_req_3_0(exch, GC_SET_RGB_COLOR, r, g, b);
b 77 uspace/lib/ipcgfx/src/server.c uint16_t r, g, b;
b 83 uspace/lib/ipcgfx/src/server.c b = ipc_get_arg3(call);
b 85 uspace/lib/ipcgfx/src/server.c rc = gfx_color_new_rgb_i16(r, g, b, &color);
b 109 uspace/lib/memgfx/src/memgc.c uint16_t r, g, b;
b 112 uspace/lib/memgfx/src/memgc.c gfx_color_get_rgb_i16(color, &r, &g, &b);
b 114 uspace/lib/memgfx/src/memgc.c mgc->color = PIXEL(attr, r >> 8, g >> 8, b >> 8);
b 507 uspace/lib/nic/src/nic_rx_control.c uint8_t b;
b 511 uspace/lib/nic/src/nic_rx_control.c b = addr[i];
b 513 uspace/lib/nic/src/nic_rx_control.c carry = ((crc & 0x80000000L) ? 1 : 0) ^ (b & 0x01);
b 515 uspace/lib/nic/src/nic_rx_control.c b >>= 1;
b 88 uspace/lib/pcm/include/pcm/format.h bool pcm_format_same(const pcm_format_t *a, const pcm_format_t *b);
b 104 uspace/lib/pcm/include/pcm/format.h pcm_format_t b, void *srcb, size_t *sizeb);
b 81 uspace/lib/pcm/src/format.c bool pcm_format_same(const pcm_format_t *a, const pcm_format_t *b)
b 84 uspace/lib/pcm/src/format.c assert(b);
b 86 uspace/lib/pcm/src/format.c a->sampling_rate == b->sampling_rate &&
b 87 uspace/lib/pcm/src/format.c a->channels == b->channels &&
b 88 uspace/lib/pcm/src/format.c a->sample_format == b->sample_format;
b 204 uspace/lib/pcm/src/format.c const float b = \
b 206 uspace/lib/pcm/src/format.c float c = (a + b); \
b 68 uspace/lib/pcut/include/pcut/asserts.h int pcut_str_equals(const char *a, const char *b);
b 38 uspace/lib/pcut/include/pcut/helper.h #define PCUT_JOIN_IMPL(a, b) a##b
b 41 uspace/lib/pcut/include/pcut/helper.h #define PCUT_JOIN(a, b) PCUT_JOIN_IMPL(a, b)
b 161 uspace/lib/pcut/src/internal.h int pcut_str_start_equals(const char *a, const char *b, int len);
b 48 uspace/lib/pcut/src/os/helenos.c int pcut_str_equals(const char *a, const char *b) {
b 49 uspace/lib/pcut/src/os/helenos.c return str_cmp(a, b) == 0;
b 53 uspace/lib/pcut/src/os/helenos.c int pcut_str_start_equals(const char *a, const char *b, int len) {
b 54 uspace/lib/pcut/src/os/helenos.c return str_lcmp(a, b, len) == 0;
b 40 uspace/lib/pcut/src/os/stdc.c int pcut_str_equals(const char *a, const char *b) {
b 41 uspace/lib/pcut/src/os/stdc.c return strcmp(a, b) == 0;
b 44 uspace/lib/pcut/src/os/stdc.c int pcut_str_start_equals(const char *a, const char *b, int len) {
b 45 uspace/lib/pcut/src/os/stdc.c return strncmp(a, b, len) == 0;
b 38 uspace/lib/pcut/tests/tested.c int intmin(int a, int b) {
b 39 uspace/lib/pcut/tests/tested.c UNUSED(b);
b 34 uspace/lib/pcut/tests/tested.h int intmin(int a, int b);
b 42 uspace/lib/posix/include/common/adt/gcdlcm.h static inline type name(type a, type b) \
b 45 uspace/lib/posix/include/common/adt/gcdlcm.h return b; \
b 47 uspace/lib/posix/include/common/adt/gcdlcm.h while (b != 0) { \
b 48 uspace/lib/posix/include/common/adt/gcdlcm.h if (a > b) \
b 49 uspace/lib/posix/include/common/adt/gcdlcm.h a -= b; \
b 51 uspace/lib/posix/include/common/adt/gcdlcm.h b -= a; \
b 58 uspace/lib/posix/include/common/adt/gcdlcm.h static inline type name(type a, type b) \
b 60 uspace/lib/posix/include/common/adt/gcdlcm.h return (a * b) / gcd(a, b); \
b 57 uspace/lib/posix/include/libc/align.h #define ROUND_UP(n, b) (((n) / (b) + ((n) % (b) != 0)) * (b))
b 51 uspace/lib/posix/include/libc/io/pixel.h #define PIXEL(a, r, g, b) \
b 53 uspace/lib/posix/include/libc/io/pixel.h (((unsigned)(g) & 0xff) << 8) | ((unsigned)(b) & 0xff))
b 38 uspace/lib/posix/include/libc/macros.h #define min(a, b) ((a) < (b) ? (a) : (b))
b 39 uspace/lib/posix/include/libc/macros.h #define max(a, b) ((a) > (b) ? (a) : (b))
b 67 uspace/lib/posix/include/libc/types/adt/odict.h odlink_t *b;
b 1087 uspace/lib/sif/src/sif.c static int sif_attr_cmp(void *a, void *b)
b 1092 uspace/lib/sif/src/sif.c cb = (char *)b;
b 137 uspace/lib/termui/include/termui.h termui_color_t termui_color_from_rgb(uint8_t r, uint8_t g, uint8_t b);
b 138 uspace/lib/termui/include/termui.h void termui_color_to_rgb(termui_color_t c, uint8_t *r, uint8_t *g, uint8_t *b);
b 714 uspace/lib/termui/src/history.c void _history_append_row(struct history *history, const termui_cell_t *b, bool last)
b 720 uspace/lib/termui/src/history.c while (len > 1 && _cell_is_empty(b[len - 1]) && _cell_is_empty(b[len - 2]))
b 724 uspace/lib/termui/src/history.c memcpy(_history_append(history, len), b, sizeof(termui_cell_t) * len);
b 81 uspace/lib/termui/src/history.h INTERNAL void _history_append_row(struct history *history, const termui_cell_t *b, bool last);
b 340 uspace/lib/termui/src/termui.c termui_color_t termui_color_from_rgb(uint8_t r, uint8_t g, uint8_t b)
b 344 uspace/lib/termui/src/termui.c b = b >> 3;
b 346 uspace/lib/termui/src/termui.c return 0x8000 | r << 10 | g << 5 | b;
b 349 uspace/lib/termui/src/termui.c void termui_color_to_rgb(const termui_color_t c, uint8_t *r, uint8_t *g, uint8_t *b)
b 365 uspace/lib/termui/src/termui.c *b = (bb << 3) | (bb >> 2);
b 367 uspace/lib/termui/src/termui.c assert(termui_color_from_rgb(*r, *g, *b) == c);
b 204 uspace/lib/trackmod/trackmod.c static void divmod_floor(int a, int b, int *quot, int *rem)
b 206 uspace/lib/trackmod/trackmod.c if (b < 0) {
b 208 uspace/lib/trackmod/trackmod.c b = -b;
b 212 uspace/lib/trackmod/trackmod.c *quot = a / b;
b 213 uspace/lib/trackmod/trackmod.c *rem = a % b;
b 215 uspace/lib/trackmod/trackmod.c *quot = -(-a + (b - 1)) / b;
b 216 uspace/lib/trackmod/trackmod.c *rem = a - (*quot * b);
b 443 uspace/lib/ui/src/filelist.c ui_file_list_entry_t *b;
b 447 uspace/lib/ui/src/filelist.c b = (ui_file_list_entry_t *)ui_list_entry_get_arg(eb);
b 450 uspace/lib/ui/src/filelist.c dcmp = b->isdir - a->isdir;
b 454 uspace/lib/ui/src/filelist.c return str_cmp(a->name, b->name);
b 1649 uspace/lib/ui/src/list.c ui_list_entry_t *b = *(ui_list_entry_t **)pb;
b 1651 uspace/lib/ui/src/list.c return a->list->cb->compare(a, b);
b 674 uspace/lib/ui/test/filelist.c ui_file_list_entry_t *a, *b;
b 705 uspace/lib/ui/test/filelist.c b = ui_file_list_next(a);
b 706 uspace/lib/ui/test/filelist.c PCUT_ASSERT_NOT_NULL(b);
b 709 uspace/lib/ui/test/filelist.c rel = ui_file_list_list_compare(a->entry, b->entry);
b 713 uspace/lib/ui/test/filelist.c rel = ui_file_list_list_compare(b->entry, a->entry);
b 1363 uspace/lib/ui/test/list.c ui_list_entry_t *a, *b, *c, *d, *e;
b 1401 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, &b);
b 1405 uspace/lib/ui/test/list.c ui_list_cursor_center(list, b);
b 1406 uspace/lib/ui/test/list.c PCUT_ASSERT_EQUALS(b, list->cursor);
b 1434 uspace/lib/ui/test/list.c PCUT_ASSERT_EQUALS(b, list->page);
b 2966 uspace/lib/ui/test/list.c ui_list_entry_t *a, *b;
b 3000 uspace/lib/ui/test/list.c b = ui_list_next(a);
b 3001 uspace/lib/ui/test/list.c PCUT_ASSERT_NOT_NULL(b);
b 3004 uspace/lib/ui/test/list.c rel = ui_list_entry_ptr_cmp(&a, &b);
b 3008 uspace/lib/ui/test/list.c rel = ui_list_entry_ptr_cmp(&b, &a);
b 3027 uspace/lib/ui/test/list.c ui_list_entry_t *a, *b;
b 3055 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, &b);
b 3059 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, ui_list_entry_get_idx(b));
b 3082 uspace/lib/ui/test/list.c static int test_list_compare(ui_list_entry_t *a, ui_list_entry_t *b)
b 3084 uspace/lib/ui/test/list.c return str_cmp(a->caption, b->caption);
b 148 uspace/lib/usb/include/usb/usb.h static inline bool usb_target_same(usb_target_t a, usb_target_t b)
b 150 uspace/lib/usb/include/usb/usb.h return (a.address == b.address) && (a.endpoint == b.endpoint);
b 56 uspace/lib/usbhid/src/hidparser.c static int usb_pow(int a, int b)
b 58 uspace/lib/usbhid/src/hidparser.c switch (b) {
b 66 uspace/lib/usbhid/src/hidparser.c return a * usb_pow(a, b - 1);
b 53 uspace/srv/fs/exfat/exfat_bitmap.c block_t *b = NULL;
b 67 uspace/srv/fs/exfat/exfat_bitmap.c rc = exfat_block_get(&b, bs, bitmapp, offset / BPS(bs), BLOCK_FLAGS_NONE);
b 72 uspace/srv/fs/exfat/exfat_bitmap.c bitmap = (uint8_t *)b->data;
b 75 uspace/srv/fs/exfat/exfat_bitmap.c rc = block_put(b);
b 94 uspace/srv/fs/exfat/exfat_bitmap.c block_t *b = NULL;
b 107 uspace/srv/fs/exfat/exfat_bitmap.c rc = exfat_block_get(&b, bs, bitmapp, offset / BPS(bs), BLOCK_FLAGS_NONE);
b 112 uspace/srv/fs/exfat/exfat_bitmap.c bitmap = (uint8_t *)b->data;
b 115 uspace/srv/fs/exfat/exfat_bitmap.c b->dirty = true;
b 116 uspace/srv/fs/exfat/exfat_bitmap.c rc = block_put(b);
b 129 uspace/srv/fs/exfat/exfat_bitmap.c block_t *b = NULL;
b 142 uspace/srv/fs/exfat/exfat_bitmap.c rc = exfat_block_get(&b, bs, bitmapp, offset / BPS(bs),
b 148 uspace/srv/fs/exfat/exfat_bitmap.c bitmap = (uint8_t *)b->data;
b 151 uspace/srv/fs/exfat/exfat_bitmap.c b->dirty = true;
b 152 uspace/srv/fs/exfat/exfat_bitmap.c rc = block_put(b);
b 51 uspace/srv/fs/exfat/exfat_directory.c di->b = NULL;
b 93 uspace/srv/fs/exfat/exfat_directory.c if (di->b) {
b 94 uspace/srv/fs/exfat/exfat_directory.c rc = block_put(di->b);
b 95 uspace/srv/fs/exfat/exfat_directory.c di->b = NULL;
b 110 uspace/srv/fs/exfat/exfat_directory.c if (di->b && di->bnum != i) {
b 111 uspace/srv/fs/exfat/exfat_directory.c rc = block_put(di->b);
b 112 uspace/srv/fs/exfat/exfat_directory.c di->b = NULL;
b 116 uspace/srv/fs/exfat/exfat_directory.c if (!di->b) {
b 118 uspace/srv/fs/exfat/exfat_directory.c rc = exfat_block_get(&di->b, di->bs, di->nodep, i,
b 121 uspace/srv/fs/exfat/exfat_directory.c rc = exfat_block_get_by_clst(&di->b, di->bs,
b 126 uspace/srv/fs/exfat/exfat_directory.c di->b = NULL;
b 182 uspace/srv/fs/exfat/exfat_directory.c *d = ((exfat_dentry_t *)di->b->data) + o;
b 355 uspace/srv/fs/exfat/exfat_directory.c di->b->dirty = true;
b 429 uspace/srv/fs/exfat/exfat_directory.c di->b->dirty = true;
b 439 uspace/srv/fs/exfat/exfat_directory.c di->b->dirty = true;
b 468 uspace/srv/fs/exfat/exfat_directory.c di->b->dirty = true;
b 492 uspace/srv/fs/exfat/exfat_directory.c di->b->dirty = true;
b 49 uspace/srv/fs/exfat/exfat_directory.h block_t *b;
b 233 uspace/srv/fs/exfat/exfat_fat.c block_t *b;
b 239 uspace/srv/fs/exfat/exfat_fat.c rc = block_get(&b, service_id, FAT_FS(bs) + offset / BPS(bs), BLOCK_FLAGS_NONE);
b 243 uspace/srv/fs/exfat/exfat_fat.c *value = uint32_t_le2host(*(uint32_t *)(b->data + offset % BPS(bs)));
b 245 uspace/srv/fs/exfat/exfat_fat.c rc = block_put(b);
b 263 uspace/srv/fs/exfat/exfat_fat.c block_t *b;
b 269 uspace/srv/fs/exfat/exfat_fat.c rc = block_get(&b, service_id, FAT_FS(bs) + offset / BPS(bs), BLOCK_FLAGS_NONE);
b 273 uspace/srv/fs/exfat/exfat_fat.c *(uint32_t *)(b->data + offset % BPS(bs)) = host2uint32_t_le(value);
b 275 uspace/srv/fs/exfat/exfat_fat.c b->dirty = true; /* need to sync block */
b 276 uspace/srv/fs/exfat/exfat_fat.c rc = block_put(b);
b 490 uspace/srv/fs/exfat/exfat_fat.c block_t *b;
b 494 uspace/srv/fs/exfat/exfat_fat.c rc = exfat_block_get_by_clst(&b, bs, service_id, false, c, NULL,
b 498 uspace/srv/fs/exfat/exfat_fat.c memset(b->data, 0, BPS(bs));
b 499 uspace/srv/fs/exfat/exfat_fat.c b->dirty = true;
b 500 uspace/srv/fs/exfat/exfat_fat.c rc = block_put(b);
b 512 uspace/srv/fs/exfat/exfat_fat.c block_t *b;
b 518 uspace/srv/fs/exfat/exfat_fat.c rc = exfat_block_get(&b, bs, nodep, i, BLOCK_FLAGS_NOREAD);
b 523 uspace/srv/fs/exfat/exfat_fat.c memcpy(uctable, b->data, count);
b 525 uspace/srv/fs/exfat/exfat_fat.c rc = block_put(b);
b 1329 uspace/srv/fs/exfat/exfat_ops.c block_t *b;
b 1362 uspace/srv/fs/exfat/exfat_ops.c rc = exfat_block_get(&b, bs, nodep, pos / BPS(bs),
b 1370 uspace/srv/fs/exfat/exfat_ops.c b->data + pos % BPS(bs), bytes);
b 1371 uspace/srv/fs/exfat/exfat_ops.c rc = block_put(b);
b 1471 uspace/srv/fs/exfat/exfat_ops.c block_t *b;
b 1528 uspace/srv/fs/exfat/exfat_ops.c rc = exfat_block_get(&b, bs, nodep, pos / BPS(bs), flags);
b 1536 uspace/srv/fs/exfat/exfat_ops.c b->data + pos % BPS(bs), bytes);
b 1537 uspace/srv/fs/exfat/exfat_ops.c b->dirty = true; /* need to sync block */
b 1538 uspace/srv/fs/exfat/exfat_ops.c rc = block_put(b);
b 50 uspace/srv/fs/fat/fat_directory.c di->b = NULL;
b 68 uspace/srv/fs/fat/fat_directory.c if (di->b)
b 69 uspace/srv/fs/fat/fat_directory.c rc = block_put(di->b);
b 81 uspace/srv/fs/fat/fat_directory.c if (di->b && di->bnum != i) {
b 82 uspace/srv/fs/fat/fat_directory.c block_put(di->b);
b 83 uspace/srv/fs/fat/fat_directory.c di->b = NULL;
b 85 uspace/srv/fs/fat/fat_directory.c if (!di->b) {
b 86 uspace/srv/fs/fat/fat_directory.c rc = fat_block_get(&di->b, di->bs, di->nodep, i,
b 89 uspace/srv/fs/fat/fat_directory.c di->b = NULL;
b 148 uspace/srv/fs/fat/fat_directory.c *d = ((fat_dentry_t *)di->b->data) + o;
b 251 uspace/srv/fs/fat/fat_directory.c di->b->dirty = true;
b 261 uspace/srv/fs/fat/fat_directory.c di->b->dirty = true;
b 339 uspace/srv/fs/fat/fat_directory.c di->b->dirty = true;
b 409 uspace/srv/fs/fat/fat_directory.c di->b->dirty = true;
b 49 uspace/srv/fs/fat/fat_directory.h block_t *b;
b 242 uspace/srv/fs/fat/fat_fat.c block_t *b;
b 253 uspace/srv/fs/fat/fat_fat.c rc = fat_block_get(&b, bs, nodep, o / BPS(bs), flags);
b 256 uspace/srv/fs/fat/fat_fat.c memset(b->data + o % BPS(bs), 0, BPS(bs) - o % BPS(bs));
b 257 uspace/srv/fs/fat/fat_fat.c b->dirty = true; /* need to sync node */
b 258 uspace/srv/fs/fat/fat_fat.c rc = block_put(b);
b 268 uspace/srv/fs/fat/fat_fat.c rc = _fat_block_get(&b, bs, nodep->idx->service_id, mcl,
b 272 uspace/srv/fs/fat/fat_fat.c memset(b->data, 0, min(BPS(bs), pos - o));
b 273 uspace/srv/fs/fat/fat_fat.c b->dirty = true; /* need to sync node */
b 274 uspace/srv/fs/fat/fat_fat.c rc = block_put(b);
b 295 uspace/srv/fs/fat/fat_fat.c block_t *b, *b1;
b 304 uspace/srv/fs/fat/fat_fat.c rc = block_get(&b, service_id, RSCNT(bs) + SF(bs) * fatno +
b 309 uspace/srv/fs/fat/fat_fat.c byte1 = ((uint8_t *) b->data)[offset % BPS(bs)];
b 319 uspace/srv/fs/fat/fat_fat.c block_put(b);
b 330 uspace/srv/fs/fat/fat_fat.c block_put(b);
b 335 uspace/srv/fs/fat/fat_fat.c block_put(b);
b 339 uspace/srv/fs/fat/fat_fat.c byte2 = ((uint8_t *) b->data)[(offset % BPS(bs)) + 1];
b 347 uspace/srv/fs/fat/fat_fat.c rc = block_put(b);
b 365 uspace/srv/fs/fat/fat_fat.c block_t *b;
b 371 uspace/srv/fs/fat/fat_fat.c rc = block_get(&b, service_id, RSCNT(bs) + SF(bs) * fatno +
b 376 uspace/srv/fs/fat/fat_fat.c *value = uint16_t_le2host(*(uint16_t *)(b->data + offset % BPS(bs)));
b 378 uspace/srv/fs/fat/fat_fat.c rc = block_put(b);
b 396 uspace/srv/fs/fat/fat_fat.c block_t *b;
b 402 uspace/srv/fs/fat/fat_fat.c rc = block_get(&b, service_id, RSCNT(bs) + SF(bs) * fatno +
b 407 uspace/srv/fs/fat/fat_fat.c *value = uint32_t_le2host(*(uint32_t *)(b->data + offset % BPS(bs))) &
b 410 uspace/srv/fs/fat/fat_fat.c rc = block_put(b);
b 456 uspace/srv/fs/fat/fat_fat.c block_t *b, *b1 = NULL;
b 465 uspace/srv/fs/fat/fat_fat.c rc = block_get(&b, service_id, RSCNT(bs) + SF(bs) * fatno +
b 470 uspace/srv/fs/fat/fat_fat.c byte1 = ((uint8_t *) b->data)[offset % BPS(bs)];
b 481 uspace/srv/fs/fat/fat_fat.c block_put(b);
b 492 uspace/srv/fs/fat/fat_fat.c block_put(b);
b 496 uspace/srv/fs/fat/fat_fat.c byte2 = ((uint8_t *) b->data)[(offset % BPS(bs)) + 1];
b 511 uspace/srv/fs/fat/fat_fat.c ((uint8_t *) b->data)[(offset % BPS(bs))] = byte1;
b 518 uspace/srv/fs/fat/fat_fat.c block_put(b);
b 522 uspace/srv/fs/fat/fat_fat.c ((uint8_t *) b->data)[(offset % BPS(bs)) + 1] = byte2;
b 524 uspace/srv/fs/fat/fat_fat.c b->dirty = true; /* need to sync block */
b 525 uspace/srv/fs/fat/fat_fat.c rc = block_put(b);
b 544 uspace/srv/fs/fat/fat_fat.c block_t *b;
b 550 uspace/srv/fs/fat/fat_fat.c rc = block_get(&b, service_id, RSCNT(bs) + SF(bs) * fatno +
b 555 uspace/srv/fs/fat/fat_fat.c *(uint16_t *)(b->data + offset % BPS(bs)) = host2uint16_t_le(value);
b 557 uspace/srv/fs/fat/fat_fat.c b->dirty = true; /* need to sync block */
b 558 uspace/srv/fs/fat/fat_fat.c rc = block_put(b);
b 577 uspace/srv/fs/fat/fat_fat.c block_t *b;
b 584 uspace/srv/fs/fat/fat_fat.c rc = block_get(&b, service_id, RSCNT(bs) + SF(bs) * fatno +
b 589 uspace/srv/fs/fat/fat_fat.c temp = uint32_t_le2host(*(uint32_t *)(b->data + offset % BPS(bs)));
b 592 uspace/srv/fs/fat/fat_fat.c *(uint32_t *)(b->data + offset % BPS(bs)) = host2uint32_t_le(temp);
b 594 uspace/srv/fs/fat/fat_fat.c b->dirty = true; /* need to sync block */
b 595 uspace/srv/fs/fat/fat_fat.c rc = block_put(b);
b 885 uspace/srv/fs/fat/fat_fat.c block_t *b;
b 889 uspace/srv/fs/fat/fat_fat.c rc = _fat_block_get(&b, bs, service_id, c, NULL, i,
b 893 uspace/srv/fs/fat/fat_fat.c memset(b->data, 0, BPS(bs));
b 894 uspace/srv/fs/fat/fat_fat.c b->dirty = true;
b 895 uspace/srv/fs/fat/fat_fat.c rc = block_put(b);
b 119 uspace/srv/fs/fat/fat_ops.c block_t *b;
b 129 uspace/srv/fs/fat/fat_ops.c rc = _fat_block_get(&b, bs, node->idx->service_id, node->idx->pfc,
b 135 uspace/srv/fs/fat/fat_ops.c d = ((fat_dentry_t *)b->data) + (node->idx->pdi % DPS(bs));
b 146 uspace/srv/fs/fat/fat_ops.c b->dirty = true; /* need to sync block */
b 147 uspace/srv/fs/fat/fat_ops.c rc = block_put(b);
b 271 uspace/srv/fs/fat/fat_ops.c block_t *b;
b 306 uspace/srv/fs/fat/fat_ops.c rc = _fat_block_get(&b, bs, idxp->service_id, idxp->pfc, NULL,
b 313 uspace/srv/fs/fat/fat_ops.c d = ((fat_dentry_t *)b->data) + (idxp->pdi % DPS(bs));
b 337 uspace/srv/fs/fat/fat_ops.c (void) block_put(b);
b 350 uspace/srv/fs/fat/fat_ops.c rc = block_put(b);
b 584 uspace/srv/fs/fat/fat_ops.c block_t *b;
b 643 uspace/srv/fs/fat/fat_ops.c rc = fat_block_get(&b, bs, childp, 0, BLOCK_FLAGS_NONE);
b 651 uspace/srv/fs/fat/fat_ops.c d = (fat_dentry_t *) b->data;
b 673 uspace/srv/fs/fat/fat_ops.c b->dirty = true; /* need to sync block */
b 678 uspace/srv/fs/fat/fat_ops.c (void) block_put(b);
b 761 uspace/srv/fs/fat/fat_ops.c block_t *b;
b 778 uspace/srv/fs/fat/fat_ops.c rc = fat_block_get(&b, bs, nodep, i, BLOCK_FLAGS_NONE);
b 784 uspace/srv/fs/fat/fat_ops.c d = ((fat_dentry_t *)b->data) + j;
b 791 uspace/srv/fs/fat/fat_ops.c rc = block_put(b);
b 797 uspace/srv/fs/fat/fat_ops.c rc = block_put(b);
b 803 uspace/srv/fs/fat/fat_ops.c rc = block_put(b);
b 1131 uspace/srv/fs/fat/fat_ops.c block_t *b;
b 1137 uspace/srv/fs/fat/fat_ops.c rc = block_get(&b, service_id, uint16_t_le2host(bs->fat32.fsinfo_sec),
b 1142 uspace/srv/fs/fat/fat_ops.c info = (fat32_fsinfo_t *) b->data;
b 1147 uspace/srv/fs/fat/fat_ops.c (void) block_put(b);
b 1154 uspace/srv/fs/fat/fat_ops.c b->dirty = true;
b 1155 uspace/srv/fs/fat/fat_ops.c return block_put(b);
b 1218 uspace/srv/fs/fat/fat_ops.c block_t *b;
b 1251 uspace/srv/fs/fat/fat_ops.c rc = fat_block_get(&b, bs, nodep, pos / BPS(bs),
b 1259 uspace/srv/fs/fat/fat_ops.c b->data + pos % BPS(bs), bytes);
b 1260 uspace/srv/fs/fat/fat_ops.c rc = block_put(b);
b 1328 uspace/srv/fs/fat/fat_ops.c block_t *b;
b 1375 uspace/srv/fs/fat/fat_ops.c rc = fat_block_get(&b, bs, nodep, pos / BPS(bs), flags);
b 1382 uspace/srv/fs/fat/fat_ops.c b->data + pos % BPS(bs), bytes);
b 1383 uspace/srv/fs/fat/fat_ops.c b->dirty = true; /* need to sync block */
b 1384 uspace/srv/fs/fat/fat_ops.c rc = block_put(b);
b 1422 uspace/srv/fs/fat/fat_ops.c rc = _fat_block_get(&b, bs, service_id, lcl, NULL,
b 1431 uspace/srv/fs/fat/fat_ops.c b->data + pos % BPS(bs), bytes);
b 1432 uspace/srv/fs/fat/fat_ops.c b->dirty = true; /* need to sync block */
b 1433 uspace/srv/fs/fat/fat_ops.c rc = block_put(b);
b 189 uspace/srv/fs/mfs/mfs.h mfs_read_map(uint32_t *b, const struct mfs_node *mnode, const uint32_t pos);
b 37 uspace/srv/fs/mfs/mfs_balloc.c find_free_bit_and_set(bitchunk_t *b, const int bsize,
b 176 uspace/srv/fs/mfs/mfs_balloc.c block_t *b;
b 184 uspace/srv/fs/mfs/mfs_balloc.c r = block_get(&b, inst->service_id, block + start_block,
b 190 uspace/srv/fs/mfs/mfs_balloc.c bitchunk_t *data = (bitchunk_t *) b->data;
b 210 uspace/srv/fs/mfs/mfs_balloc.c r = block_put(b);
b 237 uspace/srv/fs/mfs/mfs_balloc.c block_t *b;
b 263 uspace/srv/fs/mfs/mfs_balloc.c r = block_get(&b, inst->service_id, block, BLOCK_FLAGS_NONE);
b 269 uspace/srv/fs/mfs/mfs_balloc.c bitchunk_t *ptr = b->data;
b 277 uspace/srv/fs/mfs/mfs_balloc.c b->dirty = true;
b 278 uspace/srv/fs/mfs/mfs_balloc.c r = block_put(b);
b 322 uspace/srv/fs/mfs/mfs_balloc.c block_t *b;
b 327 uspace/srv/fs/mfs/mfs_balloc.c r = block_get(&b, inst->service_id, i + start_block,
b 335 uspace/srv/fs/mfs/mfs_balloc.c freebit = find_free_bit_and_set(b->data, sbi->block_size,
b 339 uspace/srv/fs/mfs/mfs_balloc.c r = block_put(b);
b 349 uspace/srv/fs/mfs/mfs_balloc.c r = block_put(b);
b 356 uspace/srv/fs/mfs/mfs_balloc.c b->dirty = true;
b 357 uspace/srv/fs/mfs/mfs_balloc.c r = block_put(b);
b 375 uspace/srv/fs/mfs/mfs_balloc.c find_free_bit_and_set(bitchunk_t *b, const int bsize,
b 386 uspace/srv/fs/mfs/mfs_balloc.c if (!(~b[i])) {
b 391 uspace/srv/fs/mfs/mfs_balloc.c chunk = conv32(native, b[i]);
b 397 uspace/srv/fs/mfs/mfs_balloc.c b[i] = conv32(native, chunk);
b 53 uspace/srv/fs/mfs/mfs_dentry.c block_t *b;
b 65 uspace/srv/fs/mfs/mfs_dentry.c r = block_get(&b, inst->service_id, block, BLOCK_FLAGS_NONE);
b 75 uspace/srv/fs/mfs/mfs_dentry.c d3 = b->data + (dentry_off * MFS3_DIRSIZE);
b 86 uspace/srv/fs/mfs/mfs_dentry.c d = b->data + dentry_off * (longnames ? MFSL_DIRSIZE :
b 93 uspace/srv/fs/mfs/mfs_dentry.c r = block_put(b);
b 115 uspace/srv/fs/mfs/mfs_dentry.c block_t *b;
b 123 uspace/srv/fs/mfs/mfs_dentry.c r = block_get(&b, mnode->instance->service_id, block, BLOCK_FLAGS_NONE);
b 128 uspace/srv/fs/mfs/mfs_dentry.c uint8_t *ptr = b->data;
b 145 uspace/srv/fs/mfs/mfs_dentry.c b->dirty = true;
b 146 uspace/srv/fs/mfs/mfs_dentry.c r = block_put(b);
b 229 uspace/srv/fs/mfs/mfs_dentry.c uint32_t b, pos;
b 231 uspace/srv/fs/mfs/mfs_dentry.c r = mfs_read_map(&b, mnode, pos);
b 235 uspace/srv/fs/mfs/mfs_dentry.c if (b == 0) {
b 239 uspace/srv/fs/mfs/mfs_dentry.c r = mfs_alloc_zone(mnode->instance, &b);
b 242 uspace/srv/fs/mfs/mfs_dentry.c r = mfs_write_map(mnode, pos, b, &dummy);
b 244 uspace/srv/fs/mfs/mfs_dentry.c mfs_free_zone(mnode->instance, b);
b 84 uspace/srv/fs/mfs/mfs_inode.c block_t *b;
b 104 uspace/srv/fs/mfs/mfs_inode.c r = block_get(&b, instance->service_id,
b 111 uspace/srv/fs/mfs/mfs_inode.c ino = b->data + ino_off * sizeof(struct mfs_inode);
b 125 uspace/srv/fs/mfs/mfs_inode.c r = block_put(b);
b 144 uspace/srv/fs/mfs/mfs_inode.c block_t *b;
b 163 uspace/srv/fs/mfs/mfs_inode.c r = block_get(&b, instance->service_id,
b 170 uspace/srv/fs/mfs/mfs_inode.c ino = b->data + ino_off * sizeof(struct mfs2_inode);
b 187 uspace/srv/fs/mfs/mfs_inode.c r = block_put(b);
b 230 uspace/srv/fs/mfs/mfs_inode.c block_t *b;
b 239 uspace/srv/fs/mfs/mfs_inode.c r = block_get(&b, mnode->instance->service_id,
b 246 uspace/srv/fs/mfs/mfs_inode.c struct mfs_inode *ino = b->data;
b 261 uspace/srv/fs/mfs/mfs_inode.c b->dirty = true;
b 262 uspace/srv/fs/mfs/mfs_inode.c r = block_put(b);
b 274 uspace/srv/fs/mfs/mfs_inode.c block_t *b;
b 283 uspace/srv/fs/mfs/mfs_inode.c r = block_get(&b, mnode->instance->service_id,
b 290 uspace/srv/fs/mfs/mfs_inode.c struct mfs2_inode *ino2 = b->data;
b 308 uspace/srv/fs/mfs/mfs_inode.c b->dirty = true;
b 309 uspace/srv/fs/mfs/mfs_inode.c r = block_put(b);
b 891 uspace/srv/fs/mfs/mfs_ops.c block_t *b;
b 911 uspace/srv/fs/mfs/mfs_ops.c rc = block_get(&b, service_id, zone, BLOCK_FLAGS_NONE);
b 915 uspace/srv/fs/mfs/mfs_ops.c async_data_read_finalize(&call, b->data +
b 918 uspace/srv/fs/mfs/mfs_ops.c rc = block_put(b);
b 986 uspace/srv/fs/mfs/mfs_ops.c block_t *b;
b 987 uspace/srv/fs/mfs/mfs_ops.c r = block_get(&b, service_id, block, flags);
b 992 uspace/srv/fs/mfs/mfs_ops.c memset(b->data, 0, sbi->block_size);
b 994 uspace/srv/fs/mfs/mfs_ops.c async_data_write_finalize(&call, b->data + (pos % bs), bytes);
b 995 uspace/srv/fs/mfs/mfs_ops.c b->dirty = true;
b 997 uspace/srv/fs/mfs/mfs_ops.c r = block_put(b);
b 37 uspace/srv/fs/mfs/mfs_rw.c rw_map_ondisk(uint32_t *b, const struct mfs_node *mnode, int rblock,
b 63 uspace/srv/fs/mfs/mfs_rw.c mfs_read_map(uint32_t *b, const struct mfs_node *mnode, uint32_t pos)
b 75 uspace/srv/fs/mfs/mfs_rw.c *b = 0;
b 79 uspace/srv/fs/mfs/mfs_rw.c r = rw_map_ondisk(b, mnode, rblock, false, 0);
b 102 uspace/srv/fs/mfs/mfs_rw.c rw_map_ondisk(uint32_t *b, const struct mfs_node *mnode, int rblock,
b 127 uspace/srv/fs/mfs/mfs_rw.c *b = ino_i->i_dzone[rblock];
b 150 uspace/srv/fs/mfs/mfs_rw.c *b = 0;
b 159 uspace/srv/fs/mfs/mfs_rw.c *b = ind_zone[rblock];
b 184 uspace/srv/fs/mfs/mfs_rw.c *b = 0;
b 211 uspace/srv/fs/mfs/mfs_rw.c *b = 0;
b 220 uspace/srv/fs/mfs/mfs_rw.c *b = ind2_zone[rblock - (ind2_off * ptrs_per_block)];
b 316 uspace/srv/fs/mfs/mfs_rw.c block_t *b;
b 319 uspace/srv/fs/mfs/mfs_rw.c r = block_get(&b, inst->service_id, zone, BLOCK_FLAGS_NOREAD);
b 323 uspace/srv/fs/mfs/mfs_rw.c memset(b->data, 0, b->size);
b 324 uspace/srv/fs/mfs/mfs_rw.c b->dirty = true;
b 326 uspace/srv/fs/mfs/mfs_rw.c return block_put(b);
b 348 uspace/srv/fs/mfs/mfs_rw.c block_t *b;
b 356 uspace/srv/fs/mfs/mfs_rw.c r = block_get(&b, inst->service_id, zone, BLOCK_FLAGS_NONE);
b 363 uspace/srv/fs/mfs/mfs_rw.c uint16_t *src_ptr = b->data;
b 368 uspace/srv/fs/mfs/mfs_rw.c uint32_t *src_ptr = b->data;
b 374 uspace/srv/fs/mfs/mfs_rw.c return block_put(b);
b 383 uspace/srv/fs/mfs/mfs_rw.c block_t *b;
b 385 uspace/srv/fs/mfs/mfs_rw.c r = block_get(&b, inst->service_id, zone, BLOCK_FLAGS_NOREAD);
b 390 uspace/srv/fs/mfs/mfs_rw.c uint16_t *dest_ptr = b->data;
b 395 uspace/srv/fs/mfs/mfs_rw.c uint32_t *dest_ptr = b->data;
b 401 uspace/srv/fs/mfs/mfs_rw.c b->dirty = true;
b 403 uspace/srv/fs/mfs/mfs_rw.c return block_put(b);
b 51 uspace/srv/fs/udf/udf_types.h #define ALL_UP(n, b) ((n) / (b) + ((n) % (b) != 0))
b 139 uspace/srv/hid/input/port/chardev.c uint8_t b;
b 142 uspace/srv/hid/input/port/chardev.c rc = chardev_read(chardev, &b, sizeof(b), &nread,
b 144 uspace/srv/hid/input/port/chardev.c if (rc != EOK || nread != sizeof(b)) {
b 149 uspace/srv/hid/input/port/chardev.c kbd_push_data(kbd_dev, b);
b 198 uspace/srv/hid/rfb/main.c uint16_t r, g, b;
b 200 uspace/srv/hid/rfb/main.c gfx_color_get_rgb_i16(color, &r, &g, &b);
b 201 uspace/srv/hid/rfb/main.c rfb->color = PIXEL(0, r >> 8, g >> 8, b >> 8);
b 77 uspace/srv/net/inetsrv/inet_link.c uint8_t b[ETH_ADDR_SIZE];
b 80 uspace/srv/net/inetsrv/inet_link.c eth_addr_encode(mac_addr, b);
b 82 uspace/srv/net/inetsrv/inet_link.c ip_addr[8] = b[0] ^ 0x02;
b 83 uspace/srv/net/inetsrv/inet_link.c ip_addr[9] = b[1];
b 84 uspace/srv/net/inetsrv/inet_link.c ip_addr[10] = b[2];
b 85 uspace/srv/net/inetsrv/inet_link.c ip_addr[13] = b[3];
b 86 uspace/srv/net/inetsrv/inet_link.c ip_addr[14] = b[4];
b 87 uspace/srv/net/inetsrv/inet_link.c ip_addr[15] = b[5];
b 55 uspace/srv/net/inetsrv/pdu.c static uint16_t inet_ocadd16(uint16_t a, uint16_t b)
b 59 uspace/srv/net/inetsrv/pdu.c s = (uint32_t)a + (uint32_t)b;
b 55 uspace/srv/net/tcp/pdu.c static uint16_t tcp_ocadd16(uint16_t a, uint16_t b)
b 59 uspace/srv/net/tcp/pdu.c s = (uint32_t)a + (uint32_t)b;
b 44 uspace/srv/net/tcp/seq_no.c static bool seq_no_le_lt(uint32_t a, uint32_t b, uint32_t c)
b 47 uspace/srv/net/tcp/seq_no.c return (a <= b) && (b < c);
b 49 uspace/srv/net/tcp/seq_no.c return (b < c) || (a <= b);
b 54 uspace/srv/net/tcp/seq_no.c static bool seq_no_lt_le(uint32_t a, uint32_t b, uint32_t c)
b 57 uspace/srv/net/tcp/seq_no.c return (a < b) && (b <= c);
b 59 uspace/srv/net/tcp/seq_no.c return (b <= c) || (a < b);
b 37 uspace/srv/net/tcp/test/main.c void test_seg_same(tcp_segment_t *a, tcp_segment_t *b)
b 39 uspace/srv/net/tcp/test/main.c PCUT_ASSERT_INT_EQUALS(a->ctrl, b->ctrl);
b 40 uspace/srv/net/tcp/test/main.c PCUT_ASSERT_INT_EQUALS(a->seq, b->seq);
b 41 uspace/srv/net/tcp/test/main.c PCUT_ASSERT_INT_EQUALS(a->ack, b->ack);
b 42 uspace/srv/net/tcp/test/main.c PCUT_ASSERT_INT_EQUALS(a->len, b->len);
b 43 uspace/srv/net/tcp/test/main.c PCUT_ASSERT_INT_EQUALS(a->wnd, b->wnd);
b 44 uspace/srv/net/tcp/test/main.c PCUT_ASSERT_INT_EQUALS(a->up, b->up);
b 46 uspace/srv/net/tcp/test/main.c tcp_segment_text_size(b));
b 49 uspace/srv/net/tcp/test/main.c if (tcp_segment_text_size(b) != 0)
b 50 uspace/srv/net/tcp/test/main.c PCUT_ASSERT_NOT_NULL(b->data);
b 52 uspace/srv/net/tcp/test/main.c PCUT_ASSERT_INT_EQUALS(0, memcmp(a->data, b->data,
b 54 uspace/srv/net/udp/pdu.c static uint16_t udp_ocadd16(uint16_t a, uint16_t b)
b 58 uspace/srv/net/udp/pdu.c s = (uint32_t)a + (uint32_t)b;
b 63 uspace/srv/vfs/vfs_ops.c static size_t shared_path(char *a, char *b)
b 67 uspace/srv/vfs/vfs_ops.c while (a[res] == b[res] && a[res] != 0)
b 70 uspace/srv/vfs/vfs_ops.c if (a[res] == b[res])
HelenOS homepage, sources at GitHub