HelenOS sources
a 40 abi/include/abi/fourcc.h #define FOURCC(a, b, c, d) \
a 41 abi/include/abi/fourcc.h (((uint32_t) (a)) | (((uint32_t) (b)) << 8) | \
a 44 abi/include/abi/fourcc.h #define CC_COMPACT(a) \
a 45 abi/include/abi/fourcc.h ((uint32_t) (a) & 0x7f)
a 47 abi/include/abi/fourcc.h #define FOURCC_COMPACT(a, b, c, d) \
a 48 abi/include/abi/fourcc.h ((CC_COMPACT(a) << 4) | (CC_COMPACT(b) << 11) | \
a 68 boot/arch/arm32/src/main.c for (uintptr_t a = ALIGN_DOWN(addr, CP15_C7_MVA_ALIGN); a < addr + size;
a 69 boot/arch/arm32/src/main.c a += CP15_C7_MVA_ALIGN) {
a 71 boot/arch/arm32/src/main.c DCCMVAC_write(a);
a 74 boot/arch/arm32/src/main.c DCCMVA_write(a);
a 76 boot/arch/arm32/src/main.c CCMVA_write(a);
a 37 boot/genarch/src/division.c static unsigned int divandmod32(unsigned int a, unsigned int b,
a 51 boot/genarch/src/division.c if (a < b) {
a 52 boot/genarch/src/division.c *remainder = a;
a 58 boot/genarch/src/division.c *remainder = ((*remainder) << 1) | ((a >> 31) & 0x1);
a 65 boot/genarch/src/division.c a <<= 1;
a 71 boot/genarch/src/division.c static unsigned long long divandmod64(unsigned long long a,
a 85 boot/genarch/src/division.c if (a < b) {
a 86 boot/genarch/src/division.c *remainder = a;
a 92 boot/genarch/src/division.c *remainder = ((*remainder) << 1) | ((a >> 63) & 0x1);
a 99 boot/genarch/src/division.c a <<= 1;
a 106 boot/genarch/src/division.c int __divsi3(int a, int b)
a 109 boot/genarch/src/division.c int result = (int) divandmod32(ABSVAL(a), ABSVAL(b), &rem);
a 111 boot/genarch/src/division.c if (SGN(a) == SGN(b))
a 118 boot/genarch/src/division.c long long __divdi3(long long a, long long b)
a 121 boot/genarch/src/division.c long long result = (long long) divandmod64(ABSVAL(a), ABSVAL(b), &rem);
a 123 boot/genarch/src/division.c if (SGN(a) == SGN(b))
a 130 boot/genarch/src/division.c unsigned int __udivsi3(unsigned int a, unsigned int b)
a 133 boot/genarch/src/division.c return divandmod32(a, b, &rem);
a 137 boot/genarch/src/division.c unsigned long long __udivdi3(unsigned long long a, unsigned long long b)
a 140 boot/genarch/src/division.c return divandmod64(a, b, &rem);
a 144 boot/genarch/src/division.c int __modsi3(int a, int b)
a 147 boot/genarch/src/division.c divandmod32(a, b, &rem);
a 150 boot/genarch/src/division.c if (!(SGN(a)))
a 157 boot/genarch/src/division.c long long __moddi3(long long a, long long b)
a 160 boot/genarch/src/division.c divandmod64(a, b, &rem);
a 163 boot/genarch/src/division.c if (!(SGN(a)))
a 170 boot/genarch/src/division.c unsigned int __umodsi3(unsigned int a, unsigned int b)
a 173 boot/genarch/src/division.c divandmod32(a, b, &rem);
a 178 boot/genarch/src/division.c unsigned long long __umoddi3(unsigned long long a, unsigned long long b)
a 181 boot/genarch/src/division.c divandmod64(a, b, &rem);
a 185 boot/genarch/src/division.c int __divmodsi3(int a, int b, int *c)
a 188 boot/genarch/src/division.c int result = (int) divandmod32(ABSVAL(a), ABSVAL(b), &rem);
a 190 boot/genarch/src/division.c if (SGN(a) == SGN(b)) {
a 199 boot/genarch/src/division.c unsigned int __udivmodsi3(unsigned int a, unsigned int b,
a 202 boot/genarch/src/division.c return divandmod32(a, b, c);
a 205 boot/genarch/src/division.c long long __divmoddi3(long long a, long long b, long long *c)
a 208 boot/genarch/src/division.c long long result = (int) divandmod64(ABSVAL(a), ABSVAL(b), &rem);
a 210 boot/genarch/src/division.c if (SGN(a) == SGN(b)) {
a 219 boot/genarch/src/division.c unsigned long long __udivmoddi3(unsigned long long a, unsigned long long b,
a 222 boot/genarch/src/division.c return divandmod64(a, b, c);
a 47 boot/genarch/src/multiplication.c static unsigned long long mul(unsigned int a, unsigned int b)
a 49 boot/genarch/src/multiplication.c unsigned int a1 = a >> 16;
a 50 boot/genarch/src/multiplication.c unsigned int a2 = a & UINT16_MAX;
a 67 boot/genarch/src/multiplication.c long long __muldi3 (long long a, long long b)
a 71 boot/genarch/src/multiplication.c if (a < 0) {
a 73 boot/genarch/src/multiplication.c a = -a;
a 81 boot/genarch/src/multiplication.c unsigned long long a1 = a >> 32;
a 84 boot/genarch/src/multiplication.c unsigned long long a2 = a & (UINT32_MAX);
a 42 boot/generic/include/align.h #define ALIGN_DOWN(s, a) ((s) & ~((a) - 1))
a 49 boot/generic/include/align.h #define ALIGN_UP(s, a) (((s) + ((a) - 1)) & ~((a) - 1))
a 56 boot/generic/include/align.h #define IS_ALIGNED(s, a) (ALIGN_UP((s), (a)) == (s))
a 35 boot/generic/include/macros.h #define min(a, b) ((a) < (b) ? (a) : (b))
a 76 common/adt/odict.c if (cur->a != NULL || cur->b != NULL) {
a 78 common/adt/odict.c odict_print_tree(cur->a);
a 114 common/adt/odict.c if (cur->a != NULL) {
a 116 common/adt/odict.c if (cur->a->up != cur) {
a 122 common/adt/odict.c if (cur->a->color == odc_red && cur->color == odc_red) {
a 128 common/adt/odict.c rc = odict_validate_tree(cur->a, &bd_a);
a 225 common/adt/odict.c odlink->a = NULL;
a 263 common/adt/odict.c if (cur->a == NULL) {
a 267 common/adt/odict.c cur = cur->a;
a 353 common/adt/odict.c if (odlink->a != NULL && odlink->b != NULL) {
a 361 common/adt/odict.c if (odlink->a != NULL) {
a 363 common/adt/odict.c c = odlink->a;
a 380 common/adt/odict.c odlink->up = odlink->a = odlink->b = NULL;
a 407 common/adt/odict.c if (n == p->a)
a 419 common/adt/odict.c (s->a == NULL || s->a->color == odc_black) &&
a 434 common/adt/odict.c (s->a == NULL || s->a->color == odc_black) &&
a 444 common/adt/odict.c st = s->a;
a 448 common/adt/odict.c sc = s->a;
a 466 common/adt/odict.c st = s->a;
a 470 common/adt/odict.c sc = s->a;
a 673 common/adt/odict.c next = cur->a;
a 730 common/adt/odict.c next = cur->a;
a 784 common/adt/odict.c if ((*p)->a == n) {
a 798 common/adt/odict.c if ((*g)->a == *p) {
a 804 common/adt/odict.c *u = (*g)->a;
a 818 common/adt/odict.c if (p->a == n) {
a 823 common/adt/odict.c *rs = p->a;
a 846 common/adt/odict.c p->b = q->a;
a 849 common/adt/odict.c q->a = p;
a 867 common/adt/odict.c p = q->a;
a 875 common/adt/odict.c q->a = p->b;
a 876 common/adt/odict.c if (q->a != NULL)
a 877 common/adt/odict.c q->a->up = q;
a 894 common/adt/odict.c static void odict_swap_node(odlink_t *a, odlink_t *b)
a 900 common/adt/odict.c if (a->up != NULL && a->up != b) {
a 901 common/adt/odict.c if (a->up->a == a) {
a 902 common/adt/odict.c a->up->a = b;
a 904 common/adt/odict.c assert(a->up->b == a);
a 905 common/adt/odict.c a->up->b = b;
a 910 common/adt/odict.c if (a->a != NULL && a->a != b)
a 911 common/adt/odict.c a->a->up = b;
a 913 common/adt/odict.c if (a->b != NULL && a->b != b)
a 914 common/adt/odict.c a->b->up = b;
a 917 common/adt/odict.c if (b->up != NULL && b->up != a) {
a 918 common/adt/odict.c if (b->up->a == b) {
a 919 common/adt/odict.c b->up->a = a;
a 922 common/adt/odict.c b->up->b = a;
a 927 common/adt/odict.c if (b->a != NULL && b->a != a)
a 928 common/adt/odict.c b->a->up = a;
a 930 common/adt/odict.c if (b->b != NULL && b->b != a)
a 931 common/adt/odict.c b->b->up = a;
a 936 common/adt/odict.c n = a->up;
a 937 common/adt/odict.c a->up = b->up;
a 940 common/adt/odict.c n = a->a;
a 941 common/adt/odict.c a->a = b->a;
a 942 common/adt/odict.c b->a = n;
a 944 common/adt/odict.c n = a->b;
a 945 common/adt/odict.c a->b = b->b;
a 948 common/adt/odict.c c = a->color;
a 949 common/adt/odict.c a->color = b->color;
a 953 common/adt/odict.c if (a->up == a)
a 954 common/adt/odict.c a->up = b;
a 955 common/adt/odict.c if (a->a == a)
a 956 common/adt/odict.c a->a = b;
a 957 common/adt/odict.c if (a->b == a)
a 958 common/adt/odict.c a->b = b;
a 960 common/adt/odict.c b->up = a;
a 961 common/adt/odict.c if (b->a == b)
a 962 common/adt/odict.c b->a = a;
a 964 common/adt/odict.c b->b = a;
a 967 common/adt/odict.c if (a == a->odict->root)
a 968 common/adt/odict.c a->odict->root = b;
a 969 common/adt/odict.c else if (b == a->odict->root)
a 970 common/adt/odict.c a->odict->root = a;
a 985 common/adt/odict.c if (old->up->a == old) {
a 986 common/adt/odict.c old->up->a = n;
a 1006 common/adt/odict.c if (n->up->a == n) {
a 1007 common/adt/odict.c n->up->a = NULL;
a 1019 common/adt/odict.c if (n->a != NULL) {
a 1020 common/adt/odict.c n->a->up = NULL;
a 1021 common/adt/odict.c n->a = NULL;
a 1042 common/adt/odict.c old->a = n;
a 1074 common/adt/odict.c odlink_t *a;
a 1090 common/adt/odict.c a = odict_first(odict);
a 1091 common/adt/odict.c if (a != NULL) {
a 1092 common/adt/odict.c d = odict->cmp(key, odict->getkey(a));
a 1094 common/adt/odict.c return a;
a 1120 common/adt/odict.c a = b = cur = hint;
a 1124 common/adt/odict.c d = odict->cmp(odict->getkey(cur), odict->getkey(a));
a 1126 common/adt/odict.c a = cur;
a 1132 common/adt/odict.c da = odict->cmp(odict->getkey(a), key);
a 42 common/include/adt/gcdlcm.h static inline type name(type a, type b) \
a 44 common/include/adt/gcdlcm.h if (a == 0) \
a 48 common/include/adt/gcdlcm.h if (a > b) \
a 49 common/include/adt/gcdlcm.h a -= b; \
a 51 common/include/adt/gcdlcm.h b -= a; \
a 54 common/include/adt/gcdlcm.h return a; \
a 58 common/include/adt/gcdlcm.h static inline type name(type a, type b) \
a 60 common/include/adt/gcdlcm.h return (a * b) / gcd(a, b); \
a 59 common/stdc/qsort.c static int compar_wrap(const void *a, const void *b, void *arg)
a 64 common/stdc/qsort.c return compar(a, b);
a 75 common/stdc/qsort.c const void *a;
a 79 common/stdc/qsort.c a = qs->base + i * qs->size;
a 82 common/stdc/qsort.c r = qs->compar(a, b, qs->arg);
a 95 common/stdc/qsort.c char *a;
a 100 common/stdc/qsort.c a = qs->base + i * qs->size;
a 104 common/stdc/qsort.c t = a[k];
a 105 common/stdc/qsort.c a[k] = b[k];
a 83 kernel/arch/abs32le/include/arch/mm/page.h #define SET_PTL1_ADDRESS_ARCH(ptl0, i, a) \
a 84 kernel/arch/abs32le/include/arch/mm/page.h (((pte_t *) (ptl0))[(i)].frame_address = (a) >> 12)
a 85 kernel/arch/abs32le/include/arch/mm/page.h #define SET_PTL2_ADDRESS_ARCH(ptl1, i, a)
a 86 kernel/arch/abs32le/include/arch/mm/page.h #define SET_PTL3_ADDRESS_ARCH(ptl2, i, a)
a 87 kernel/arch/abs32le/include/arch/mm/page.h #define SET_FRAME_ADDRESS_ARCH(ptl3, i, a) \
a 88 kernel/arch/abs32le/include/arch/mm/page.h (((pte_t *) (ptl3))[(i)].frame_address = (a) >> 12)
a 31 kernel/arch/abs32le/src/smc.c void smc_coherence(void *a, size_t l)
a 106 kernel/arch/amd64/include/arch/mm/page.h #define SET_PTL1_ADDRESS_ARCH(ptl0, i, a) \
a 107 kernel/arch/amd64/include/arch/mm/page.h set_pt_addr((pte_t *) (ptl0), (size_t) (i), a)
a 108 kernel/arch/amd64/include/arch/mm/page.h #define SET_PTL2_ADDRESS_ARCH(ptl1, i, a) \
a 109 kernel/arch/amd64/include/arch/mm/page.h set_pt_addr((pte_t *) (ptl1), (size_t) (i), a)
a 110 kernel/arch/amd64/include/arch/mm/page.h #define SET_PTL3_ADDRESS_ARCH(ptl2, i, a) \
a 111 kernel/arch/amd64/include/arch/mm/page.h set_pt_addr((pte_t *) (ptl2), (size_t) (i), a)
a 112 kernel/arch/amd64/include/arch/mm/page.h #define SET_FRAME_ADDRESS_ARCH(ptl3, i, a) \
a 113 kernel/arch/amd64/include/arch/mm/page.h set_pt_addr((pte_t *) (ptl3), (size_t) (i), a)
a 217 kernel/arch/amd64/include/arch/mm/page.h _NO_TRACE static inline void set_pt_addr(pte_t *pt, size_t i, uintptr_t a)
a 221 kernel/arch/amd64/include/arch/mm/page.h p->addr_12_51 = (a >> 12) & UINT64_C(0xffffffffff);
a 31 kernel/arch/amd64/src/smc.c void smc_coherence(void *a, size_t l)
a 100 kernel/arch/arm32/include/arch/mm/page.h #define SET_PTL1_ADDRESS_ARCH(ptl0, i, a) \
a 101 kernel/arch/arm32/include/arch/mm/page.h set_ptl1_addr((pte_t*) (ptl0), i, a)
a 102 kernel/arch/arm32/include/arch/mm/page.h #define SET_PTL2_ADDRESS_ARCH(ptl1, i, a)
a 103 kernel/arch/arm32/include/arch/mm/page.h #define SET_PTL3_ADDRESS_ARCH(ptl2, i, a)
a 104 kernel/arch/arm32/include/arch/mm/page.h #define SET_FRAME_ADDRESS_ARCH(ptl3, i, a) \
a 105 kernel/arch/arm32/include/arch/mm/page.h set_ptl3_addr((pte_t*) (ptl3), i, a)
a 52 kernel/arch/arm32/src/smc.c void smc_coherence(void *a, size_t l)
a 54 kernel/arch/arm32/src/smc.c uintptr_t end = (uintptr_t) a + l;
a 55 kernel/arch/arm32/src/smc.c uintptr_t begin = ALIGN_DOWN((uintptr_t) a, CP15_C7_MVA_ALIGN);
a 110 kernel/arch/arm64/include/arch/mm/page.h #define SET_PTL1_ADDRESS_ARCH(ptl0, i, a) \
a 111 kernel/arch/arm64/include/arch/mm/page.h (((pte_t *) (ptl0))[(i)].output_address = (a) >> 12)
a 112 kernel/arch/arm64/include/arch/mm/page.h #define SET_PTL2_ADDRESS_ARCH(ptl1, i, a) \
a 113 kernel/arch/arm64/include/arch/mm/page.h (((pte_t *) (ptl1))[(i)].output_address = (a) >> 12)
a 114 kernel/arch/arm64/include/arch/mm/page.h #define SET_PTL3_ADDRESS_ARCH(ptl2, i, a) \
a 115 kernel/arch/arm64/include/arch/mm/page.h (((pte_t *) (ptl2))[(i)].output_address = (a) >> 12)
a 116 kernel/arch/arm64/include/arch/mm/page.h #define SET_FRAME_ADDRESS_ARCH(ptl3, i, a) \
a 117 kernel/arch/arm64/include/arch/mm/page.h (((pte_t *) (ptl3))[(i)].output_address = (a) >> 12)
a 99 kernel/arch/ia32/include/arch/mm/page.h #define SET_PTL1_ADDRESS_ARCH(ptl0, i, a) \
a 100 kernel/arch/ia32/include/arch/mm/page.h (((pte_t *) (ptl0))[(i)].frame_address = (a) >> 12)
a 101 kernel/arch/ia32/include/arch/mm/page.h #define SET_PTL2_ADDRESS_ARCH(ptl1, i, a)
a 102 kernel/arch/ia32/include/arch/mm/page.h #define SET_PTL3_ADDRESS_ARCH(ptl2, i, a)
a 103 kernel/arch/ia32/include/arch/mm/page.h #define SET_FRAME_ADDRESS_ARCH(ptl3, i, a) \
a 104 kernel/arch/ia32/include/arch/mm/page.h (((pte_t *) (ptl3))[(i)].frame_address = (a) >> 12)
a 31 kernel/arch/ia32/src/smc.c void smc_coherence(void *a, size_t l)
a 45 kernel/arch/ia64/include/arch/barrier.h #define fc_i(a) \
a 46 kernel/arch/ia64/include/arch/barrier.h asm volatile ("fc.i %0\n" :: "r" ((a)) : "memory")
a 112 kernel/arch/ia64/include/arch/mm/page.h unsigned int a : 1;
a 57 kernel/arch/ia64/include/arch/mm/tlb.h unsigned int a : 1; /**< Accessed. */
a 485 kernel/arch/ia64/src/fpu_context.c uint64_t a = 0;
a 491 kernel/arch/ia64/src/fpu_context.c : "+r" (a)
a 244 kernel/arch/ia64/src/mm/page.c v->present.a = false; /* not accessed */
a 379 kernel/arch/ia64/src/mm/tlb.c entry.a = true; /* already accessed */
a 423 kernel/arch/ia64/src/mm/tlb.c entry.a = t->a;
a 453 kernel/arch/ia64/src/mm/tlb.c entry.a = t->a;
a 550 kernel/arch/ia64/src/mm/tlb.c entry.a = true; /* already accessed */
a 699 kernel/arch/ia64/src/mm/tlb.c t.a = true;
a 734 kernel/arch/ia64/src/mm/tlb.c t.a = true;
a 34 kernel/arch/ia64/src/smc.c void smc_coherence(void *a, size_t l)
a 38 kernel/arch/ia64/src/smc.c fc_i(a + i);
a 107 kernel/arch/mips32/include/arch/mm/page.h #define SET_PTL1_ADDRESS_ARCH(ptl0, i, a) \
a 108 kernel/arch/mips32/include/arch/mm/page.h (((pte_t *) (ptl0))[(i)].pfn = (a) >> 12)
a 109 kernel/arch/mips32/include/arch/mm/page.h #define SET_PTL2_ADDRESS_ARCH(ptl1, i, a)
a 110 kernel/arch/mips32/include/arch/mm/page.h #define SET_PTL3_ADDRESS_ARCH(ptl2, i, a)
a 111 kernel/arch/mips32/include/arch/mm/page.h #define SET_FRAME_ADDRESS_ARCH(ptl3, i, a) \
a 112 kernel/arch/mips32/include/arch/mm/page.h (((pte_t *) (ptl3))[(i)].pfn = (a) >> 12)
a 162 kernel/arch/mips32/include/arch/mm/page.h unsigned a : 1; /**< Accessed bit. */
a 54 kernel/arch/mips32/src/mm/tlb.c #define ADDR2HI_VPN(a) ((a) >> VPN_SHIFT)
a 55 kernel/arch/mips32/src/mm/tlb.c #define ADDR2HI_VPN2(a) (ADDR2HI_VPN((a)) >> 1)
a 62 kernel/arch/mips32/src/mm/tlb.c #define BANK_SELECT_BIT(a) (((a) >> PAGE_WIDTH) & 1)
a 108 kernel/arch/mips32/src/mm/tlb.c pte.a = 1;
a 176 kernel/arch/mips32/src/mm/tlb.c pte.a = 1;
a 240 kernel/arch/mips32/src/mm/tlb.c pte.a = 1;
a 31 kernel/arch/mips32/src/smc.c void smc_coherence(void *a, size_t l)
a 98 kernel/arch/ppc32/include/arch/mm/page.h #define SET_PTL1_ADDRESS_ARCH(ptl0, i, a) \
a 99 kernel/arch/ppc32/include/arch/mm/page.h (((pte_t *) (ptl0))[(i)].pfn = (a) >> 12)
a 101 kernel/arch/ppc32/include/arch/mm/page.h #define SET_PTL2_ADDRESS_ARCH(ptl1, i, a)
a 102 kernel/arch/ppc32/include/arch/mm/page.h #define SET_PTL3_ADDRESS_ARCH(ptl2, i, a)
a 104 kernel/arch/ppc32/include/arch/mm/page.h #define SET_FRAME_ADDRESS_ARCH(ptl3, i, a) \
a 105 kernel/arch/ppc32/include/arch/mm/page.h (((pte_t *) (ptl3))[(i)].pfn = (a) >> 12)
a 103 kernel/arch/riscv64/include/arch/mm/page.h #define SET_PTL1_ADDRESS_ARCH(ptl0, i, a) \
a 104 kernel/arch/riscv64/include/arch/mm/page.h (((pte_t *) (ptl0))[(i)].pfn = (a) >> 12)
a 106 kernel/arch/riscv64/include/arch/mm/page.h #define SET_PTL2_ADDRESS_ARCH(ptl1, i, a) \
a 107 kernel/arch/riscv64/include/arch/mm/page.h (((pte_t *) (ptl1))[(i)].pfn = (a) >> 12)
a 109 kernel/arch/riscv64/include/arch/mm/page.h #define SET_PTL3_ADDRESS_ARCH(ptl2, i, a) \
a 110 kernel/arch/riscv64/include/arch/mm/page.h (((pte_t *) (ptl2))[(i)].pfn = (a) >> 12)
a 112 kernel/arch/riscv64/include/arch/mm/page.h #define SET_FRAME_ADDRESS_ARCH(ptl3, i, a) \
a 113 kernel/arch/riscv64/include/arch/mm/page.h (((pte_t *) (ptl3))[(i)].pfn = (a) >> 12)
a 31 kernel/arch/riscv64/src/smc.c void smc_coherence(void *a, size_t l)
a 210 kernel/arch/sparc64/src/mm/sun4u/tlb.c t.a = true;
a 267 kernel/arch/sparc64/src/mm/sun4u/tlb.c t.a = true;
a 311 kernel/arch/sparc64/src/mm/sun4u/tlb.c t.a = true;
a 224 kernel/arch/sparc64/src/mm/sun4v/tlb.c t.a = true;
a 274 kernel/arch/sparc64/src/mm/sun4v/tlb.c t.a = true;
a 313 kernel/arch/sparc64/src/mm/sun4v/tlb.c t.a = true;
a 36 kernel/arch/sparc64/src/smc.c void smc_coherence(void *a, size_t l)
a 43 kernel/arch/sparc64/src/smc.c :: [reg] "r" (a + i)
a 51 kernel/arch/sparc64/src/smc.c void smc_coherence(void *a, size_t l)
a 47 kernel/genarch/include/genarch/drivers/via-cuda/cuda.h ioport8_t a;
a 57 kernel/genarch/include/genarch/mm/as_ht.h unsigned a : 1; /**< Accessed. */
a 99 kernel/genarch/include/genarch/mm/page_pt.h #define SET_PTL1_ADDRESS(ptl0, i, a) SET_PTL1_ADDRESS_ARCH(ptl0, i, a)
a 100 kernel/genarch/include/genarch/mm/page_pt.h #define SET_PTL2_ADDRESS(ptl1, i, a) SET_PTL2_ADDRESS_ARCH(ptl1, i, a)
a 101 kernel/genarch/include/genarch/mm/page_pt.h #define SET_PTL3_ADDRESS(ptl2, i, a) SET_PTL3_ADDRESS_ARCH(ptl2, i, a)
a 102 kernel/genarch/include/genarch/mm/page_pt.h #define SET_FRAME_ADDRESS(ptl3, i, a) SET_FRAME_ADDRESS_ARCH(ptl3, i, a)
a 133 kernel/genarch/src/acpi/madt.c static int madt_cmp(void *a, void *b, void *arg)
a 135 kernel/genarch/src/acpi/madt.c uint8_t typea = (*((struct madt_apic_header **) a))->type;
a 175 kernel/genarch/src/mm/page_ht.c pte->a = false;
a 287 kernel/genarch/src/mm/page_ht.c t->a = pte->a;
a 40 kernel/genarch/src/softint/division.c static unsigned int divandmod32(unsigned int a, unsigned int b,
a 54 kernel/genarch/src/softint/division.c if (a < b) {
a 55 kernel/genarch/src/softint/division.c *remainder = a;
a 61 kernel/genarch/src/softint/division.c *remainder = ((*remainder) << 1) | ((a >> 31) & 0x1);
a 68 kernel/genarch/src/softint/division.c a <<= 1;
a 74 kernel/genarch/src/softint/division.c static unsigned long long divandmod64(unsigned long long a,
a 88 kernel/genarch/src/softint/division.c if (a < b) {
a 89 kernel/genarch/src/softint/division.c *remainder = a;
a 95 kernel/genarch/src/softint/division.c *remainder = ((*remainder) << 1) | ((a >> 63) & 0x1);
a 102 kernel/genarch/src/softint/division.c a <<= 1;
a 109 kernel/genarch/src/softint/division.c int __divsi3(int a, int b)
a 112 kernel/genarch/src/softint/division.c int result = (int) divandmod32(ABSVAL(a), ABSVAL(b), &rem);
a 114 kernel/genarch/src/softint/division.c if (SGN(a) == SGN(b))
a 121 kernel/genarch/src/softint/division.c long long __divdi3(long long a, long long b)
a 124 kernel/genarch/src/softint/division.c long long result = (long long) divandmod64(ABSVAL(a), ABSVAL(b), &rem);
a 126 kernel/genarch/src/softint/division.c if (SGN(a) == SGN(b))
a 133 kernel/genarch/src/softint/division.c unsigned int __udivsi3(unsigned int a, unsigned int b)
a 136 kernel/genarch/src/softint/division.c return divandmod32(a, b, &rem);
a 140 kernel/genarch/src/softint/division.c unsigned long long __udivdi3(unsigned long long a, unsigned long long b)
a 143 kernel/genarch/src/softint/division.c return divandmod64(a, b, &rem);
a 147 kernel/genarch/src/softint/division.c int __modsi3(int a, int b)
a 150 kernel/genarch/src/softint/division.c divandmod32(a, b, &rem);
a 153 kernel/genarch/src/softint/division.c if (!(SGN(a)))
a 160 kernel/genarch/src/softint/division.c long long __moddi3(long long a, long long b)
a 163 kernel/genarch/src/softint/division.c divandmod64(a, b, &rem);
a 166 kernel/genarch/src/softint/division.c if (!(SGN(a)))
a 173 kernel/genarch/src/softint/division.c unsigned int __umodsi3(unsigned int a, unsigned int b)
a 176 kernel/genarch/src/softint/division.c divandmod32(a, b, &rem);
a 181 kernel/genarch/src/softint/division.c unsigned long long __umoddi3(unsigned long long a, unsigned long long b)
a 184 kernel/genarch/src/softint/division.c divandmod64(a, b, &rem);
a 188 kernel/genarch/src/softint/division.c int __divmodsi3(int a, int b, int *c)
a 191 kernel/genarch/src/softint/division.c int result = (int) divandmod32(ABSVAL(a), ABSVAL(b), &rem);
a 193 kernel/genarch/src/softint/division.c if (SGN(a) == SGN(b)) {
a 202 kernel/genarch/src/softint/division.c unsigned int __udivmodsi3(unsigned int a, unsigned int b,
a 205 kernel/genarch/src/softint/division.c return divandmod32(a, b, c);
a 208 kernel/genarch/src/softint/division.c long long __divmoddi3(long long a, long long b, long long *c)
a 211 kernel/genarch/src/softint/division.c long long result = (int) divandmod64(ABSVAL(a), ABSVAL(b), &rem);
a 213 kernel/genarch/src/softint/division.c if (SGN(a) == SGN(b)) {
a 222 kernel/genarch/src/softint/division.c unsigned long long __udivmoddi3(unsigned long long a, unsigned long long b,
a 225 kernel/genarch/src/softint/division.c return divandmod64(a, b, c);
a 228 kernel/genarch/src/softint/division.c unsigned long long __udivmoddi4(unsigned long long a, unsigned long long b,
a 231 kernel/genarch/src/softint/division.c return divandmod64(a, b, c);
a 56 kernel/genarch/src/softint/multiplication.c static unsigned long long mul(unsigned int a, unsigned int b)
a 61 kernel/genarch/src/softint/multiplication.c a1 = a >> 16;
a 62 kernel/genarch/src/softint/multiplication.c a2 = a & MAX_UINT16;
a 79 kernel/genarch/src/softint/multiplication.c long long __muldi3 (long long a, long long b)
a 86 kernel/genarch/src/softint/multiplication.c if (a < 0) {
a 88 kernel/genarch/src/softint/multiplication.c a = -a;
a 96 kernel/genarch/src/softint/multiplication.c a1 = a >> 32;
a 99 kernel/genarch/src/softint/multiplication.c a2 = a & (MAX_UINT32);
a 76 kernel/generic/common/adt/odict.c if (cur->a != NULL || cur->b != NULL) {
a 78 kernel/generic/common/adt/odict.c odict_print_tree(cur->a);
a 114 kernel/generic/common/adt/odict.c if (cur->a != NULL) {
a 116 kernel/generic/common/adt/odict.c if (cur->a->up != cur) {
a 122 kernel/generic/common/adt/odict.c if (cur->a->color == odc_red && cur->color == odc_red) {
a 128 kernel/generic/common/adt/odict.c rc = odict_validate_tree(cur->a, &bd_a);
a 225 kernel/generic/common/adt/odict.c odlink->a = NULL;
a 263 kernel/generic/common/adt/odict.c if (cur->a == NULL) {
a 267 kernel/generic/common/adt/odict.c cur = cur->a;
a 353 kernel/generic/common/adt/odict.c if (odlink->a != NULL && odlink->b != NULL) {
a 361 kernel/generic/common/adt/odict.c if (odlink->a != NULL) {
a 363 kernel/generic/common/adt/odict.c c = odlink->a;
a 380 kernel/generic/common/adt/odict.c odlink->up = odlink->a = odlink->b = NULL;
a 407 kernel/generic/common/adt/odict.c if (n == p->a)
a 419 kernel/generic/common/adt/odict.c (s->a == NULL || s->a->color == odc_black) &&
a 434 kernel/generic/common/adt/odict.c (s->a == NULL || s->a->color == odc_black) &&
a 444 kernel/generic/common/adt/odict.c st = s->a;
a 448 kernel/generic/common/adt/odict.c sc = s->a;
a 466 kernel/generic/common/adt/odict.c st = s->a;
a 470 kernel/generic/common/adt/odict.c sc = s->a;
a 673 kernel/generic/common/adt/odict.c next = cur->a;
a 730 kernel/generic/common/adt/odict.c next = cur->a;
a 784 kernel/generic/common/adt/odict.c if ((*p)->a == n) {
a 798 kernel/generic/common/adt/odict.c if ((*g)->a == *p) {
a 804 kernel/generic/common/adt/odict.c *u = (*g)->a;
a 818 kernel/generic/common/adt/odict.c if (p->a == n) {
a 823 kernel/generic/common/adt/odict.c *rs = p->a;
a 846 kernel/generic/common/adt/odict.c p->b = q->a;
a 849 kernel/generic/common/adt/odict.c q->a = p;
a 867 kernel/generic/common/adt/odict.c p = q->a;
a 875 kernel/generic/common/adt/odict.c q->a = p->b;
a 876 kernel/generic/common/adt/odict.c if (q->a != NULL)
a 877 kernel/generic/common/adt/odict.c q->a->up = q;
a 894 kernel/generic/common/adt/odict.c static void odict_swap_node(odlink_t *a, odlink_t *b)
a 900 kernel/generic/common/adt/odict.c if (a->up != NULL && a->up != b) {
a 901 kernel/generic/common/adt/odict.c if (a->up->a == a) {
a 902 kernel/generic/common/adt/odict.c a->up->a = b;
a 904 kernel/generic/common/adt/odict.c assert(a->up->b == a);
a 905 kernel/generic/common/adt/odict.c a->up->b = b;
a 910 kernel/generic/common/adt/odict.c if (a->a != NULL && a->a != b)
a 911 kernel/generic/common/adt/odict.c a->a->up = b;
a 913 kernel/generic/common/adt/odict.c if (a->b != NULL && a->b != b)
a 914 kernel/generic/common/adt/odict.c a->b->up = b;
a 917 kernel/generic/common/adt/odict.c if (b->up != NULL && b->up != a) {
a 918 kernel/generic/common/adt/odict.c if (b->up->a == b) {
a 919 kernel/generic/common/adt/odict.c b->up->a = a;
a 922 kernel/generic/common/adt/odict.c b->up->b = a;
a 927 kernel/generic/common/adt/odict.c if (b->a != NULL && b->a != a)
a 928 kernel/generic/common/adt/odict.c b->a->up = a;
a 930 kernel/generic/common/adt/odict.c if (b->b != NULL && b->b != a)
a 931 kernel/generic/common/adt/odict.c b->b->up = a;
a 936 kernel/generic/common/adt/odict.c n = a->up;
a 937 kernel/generic/common/adt/odict.c a->up = b->up;
a 940 kernel/generic/common/adt/odict.c n = a->a;
a 941 kernel/generic/common/adt/odict.c a->a = b->a;
a 942 kernel/generic/common/adt/odict.c b->a = n;
a 944 kernel/generic/common/adt/odict.c n = a->b;
a 945 kernel/generic/common/adt/odict.c a->b = b->b;
a 948 kernel/generic/common/adt/odict.c c = a->color;
a 949 kernel/generic/common/adt/odict.c a->color = b->color;
a 953 kernel/generic/common/adt/odict.c if (a->up == a)
a 954 kernel/generic/common/adt/odict.c a->up = b;
a 955 kernel/generic/common/adt/odict.c if (a->a == a)
a 956 kernel/generic/common/adt/odict.c a->a = b;
a 957 kernel/generic/common/adt/odict.c if (a->b == a)
a 958 kernel/generic/common/adt/odict.c a->b = b;
a 960 kernel/generic/common/adt/odict.c b->up = a;
a 961 kernel/generic/common/adt/odict.c if (b->a == b)
a 962 kernel/generic/common/adt/odict.c b->a = a;
a 964 kernel/generic/common/adt/odict.c b->b = a;
a 967 kernel/generic/common/adt/odict.c if (a == a->odict->root)
a 968 kernel/generic/common/adt/odict.c a->odict->root = b;
a 969 kernel/generic/common/adt/odict.c else if (b == a->odict->root)
a 970 kernel/generic/common/adt/odict.c a->odict->root = a;
a 985 kernel/generic/common/adt/odict.c if (old->up->a == old) {
a 986 kernel/generic/common/adt/odict.c old->up->a = n;
a 1006 kernel/generic/common/adt/odict.c if (n->up->a == n) {
a 1007 kernel/generic/common/adt/odict.c n->up->a = NULL;
a 1019 kernel/generic/common/adt/odict.c if (n->a != NULL) {
a 1020 kernel/generic/common/adt/odict.c n->a->up = NULL;
a 1021 kernel/generic/common/adt/odict.c n->a = NULL;
a 1042 kernel/generic/common/adt/odict.c old->a = n;
a 1074 kernel/generic/common/adt/odict.c odlink_t *a;
a 1090 kernel/generic/common/adt/odict.c a = odict_first(odict);
a 1091 kernel/generic/common/adt/odict.c if (a != NULL) {
a 1092 kernel/generic/common/adt/odict.c d = odict->cmp(key, odict->getkey(a));
a 1094 kernel/generic/common/adt/odict.c return a;
a 1120 kernel/generic/common/adt/odict.c a = b = cur = hint;
a 1124 kernel/generic/common/adt/odict.c d = odict->cmp(odict->getkey(cur), odict->getkey(a));
a 1126 kernel/generic/common/adt/odict.c a = cur;
a 1132 kernel/generic/common/adt/odict.c da = odict->cmp(odict->getkey(a), key);
a 42 kernel/generic/common/include/adt/gcdlcm.h static inline type name(type a, type b) \
a 44 kernel/generic/common/include/adt/gcdlcm.h if (a == 0) \
a 48 kernel/generic/common/include/adt/gcdlcm.h if (a > b) \
a 49 kernel/generic/common/include/adt/gcdlcm.h a -= b; \
a 51 kernel/generic/common/include/adt/gcdlcm.h b -= a; \
a 54 kernel/generic/common/include/adt/gcdlcm.h return a; \
a 58 kernel/generic/common/include/adt/gcdlcm.h static inline type name(type a, type b) \
a 60 kernel/generic/common/include/adt/gcdlcm.h return (a * b) / gcd(a, b); \
a 59 kernel/generic/common/stdc/qsort.c static int compar_wrap(const void *a, const void *b, void *arg)
a 64 kernel/generic/common/stdc/qsort.c return compar(a, b);
a 75 kernel/generic/common/stdc/qsort.c const void *a;
a 79 kernel/generic/common/stdc/qsort.c a = qs->base + i * qs->size;
a 82 kernel/generic/common/stdc/qsort.c r = qs->compar(a, b, qs->arg);
a 95 kernel/generic/common/stdc/qsort.c char *a;
a 100 kernel/generic/common/stdc/qsort.c a = qs->base + i * qs->size;
a 104 kernel/generic/common/stdc/qsort.c t = a[k];
a 105 kernel/generic/common/stdc/qsort.c a[k] = b[k];
a 42 kernel/generic/include/align.h #define ALIGN_DOWN(s, a) ((s) & ~((a) - 1))
a 43 kernel/generic/include/align.h #define ALIGN_UP(s, a) (((s) + ((a) - 1)) & ~((a) - 1))
a 51 kernel/generic/include/align.h #define ALIGN_DOWN(s, a) ((s) & ~((typeof(s))(a) - 1))
a 58 kernel/generic/include/align.h #define ALIGN_UP(s, a) (((s) + ((a) - 1)) & ~((typeof(s))(a) - 1))
a 67 kernel/generic/include/align.h #define IS_ALIGNED(s, a) (ALIGN_UP((s), (a)) == (s))
a 83 kernel/generic/include/atomic.h static inline void atomic_time_increment(atomic_time_stat_t *time, int a)
a 91 kernel/generic/include/atomic.h atomic_store_explicit(&time->value, v + a, memory_order_relaxed);
a 116 kernel/generic/include/atomic.h static inline void atomic_time_increment(atomic_time_stat_t *time, int a)
a 129 kernel/generic/include/atomic.h val += a;
a 112 kernel/generic/include/macros.h #define min(a, b) ((a) < (b) ? (a) : (b))
a 113 kernel/generic/include/macros.h #define max(a, b) ((a) > (b) ? (a) : (b))
a 115 kernel/generic/include/macros.h #define min3(a, b, c) ((a) < (b) ? (min(a, c)) : (min(b, c)))
a 116 kernel/generic/include/macros.h #define max3(a, b, c) ((a) > (b) ? (max(a, c)) : (max(b, c)))
a 143 kernel/generic/include/macros.h #define overflows(a, b) \
a 144 kernel/generic/include/macros.h ((a) + (b) < (a))
a 147 kernel/generic/include/macros.h #define overflows_into_positive(a, b) \
a 148 kernel/generic/include/macros.h (overflows((a), (b)) && ((a) + (b) > 0))
a 65 kernel/generic/include/types/adt/odict.h odlink_t *a;
a 306 kernel/generic/src/ddi/ddi.c static int pareas_cmp(void *a, void *b)
a 308 kernel/generic/src/ddi/ddi.c uintptr_t pa = *(uintptr_t *)a;
a 565 kernel/generic/src/mm/as.c static int as_pagemap_cmp(void *a, void *b)
a 567 kernel/generic/src/mm/as.c uintptr_t va = *(uintptr_t *)a;
a 1729 kernel/generic/src/mm/as.c static int as_areas_cmp(void *a, void *b)
a 1731 kernel/generic/src/mm/as.c uintptr_t base_a = *(uintptr_t *)a;
a 1983 kernel/generic/src/mm/as.c static int used_space_cmp(void *a, void *b)
a 1985 kernel/generic/src/mm/as.c uintptr_t va = *(uintptr_t *) a;
a 2034 kernel/generic/src/mm/as.c used_space_ival_t *a;
a 2046 kernel/generic/src/mm/as.c a = (odlink != NULL) ?
a 2051 kernel/generic/src/mm/as.c b = (a != NULL) ? used_space_next(a) :
a 2055 kernel/generic/src/mm/as.c if (a != NULL && overlaps(a->page, P2SZ(a->count), page, P2SZ(count)))
a 2063 kernel/generic/src/mm/as.c adj_a = (a != NULL) && (a->page + P2SZ(a->count) == page);
a 2069 kernel/generic/src/mm/as.c a->count += count + b->count;
a 2073 kernel/generic/src/mm/as.c a->count += count;
a 705 kernel/generic/src/proc/task.c static int tasks_cmp(void *a, void *b)
a 707 kernel/generic/src/proc/task.c task_id_t ida = *(task_id_t *)a;
a 935 kernel/generic/src/proc/thread.c static int threads_cmp(void *a, void *b)
a 937 kernel/generic/src/proc/thread.c if (a > b)
a 939 kernel/generic/src/proc/thread.c else if (a == b)
a 34 kernel/test/atomic/atomic1.c atomic_int a;
a 36 kernel/test/atomic/atomic1.c atomic_store(&a, 10);
a 37 kernel/test/atomic/atomic1.c if (atomic_load(&a) != 10)
a 40 kernel/test/atomic/atomic1.c if (atomic_postinc(&a) != 10)
a 42 kernel/test/atomic/atomic1.c if (atomic_load(&a) != 11)
a 45 kernel/test/atomic/atomic1.c if (atomic_postdec(&a) != 11)
a 47 kernel/test/atomic/atomic1.c if (atomic_load(&a) != 10)
a 50 kernel/test/atomic/atomic1.c if (atomic_preinc(&a) != 11)
a 52 kernel/test/atomic/atomic1.c if (atomic_load(&a) != 11)
a 55 kernel/test/atomic/atomic1.c if (atomic_predec(&a) != 10)
a 57 kernel/test/atomic/atomic1.c if (atomic_load(&a) != 10)
a 52 kernel/test/mm/purge1.c entryd.a = true; /* already accessed */
a 64 kernel/test/mm/purge1.c entryi.a = true; /* already accessed */
a 40 tools/checkers/vcc.h #define __concat_identifiers_str(a, b) a ## b
a 41 tools/checkers/vcc.h #define __concat_identifiers(a, b) __concat_identifiers_str(a, b)
a 158 uspace/app/bdsh/cmds/modules/ls/ls.c static int ls_cmp_type_name(const void *a, const void *b)
a 160 uspace/app/bdsh/cmds/modules/ls/ls.c struct dir_elem_t const *da = a;
a 177 uspace/app/bdsh/cmds/modules/ls/ls.c static int ls_cmp_name(const void *a, const void *b)
a 179 uspace/app/bdsh/cmds/modules/ls/ls.c struct dir_elem_t const *da = a;
a 62 uspace/app/bdsh/scli.c static int alias_cmp(void *a, void *b)
a 64 uspace/app/bdsh/scli.c return str_cmp((char *)a, (char *)b);
a 501 uspace/app/calculator/calculator.c static bool compute(int64_t a, operator_t operator, int64_t b, int64_t *value)
a 505 uspace/app/calculator/calculator.c *value = a + b;
a 508 uspace/app/calculator/calculator.c *value = a - b;
a 511 uspace/app/calculator/calculator.c *value = a * b;
a 517 uspace/app/calculator/calculator.c *value = a / b;
a 234 uspace/app/edit/edit.c static int tag_cmp(tag_t const *a, tag_t const *b);
a 235 uspace/app/edit/edit.c static int spt_cmp(spt_t const *a, spt_t const *b);
a 236 uspace/app/edit/edit.c static int coord_cmp(coord_t const *a, coord_t const *b);
a 2315 uspace/app/edit/edit.c static int tag_cmp(tag_t const *a, tag_t const *b)
a 2319 uspace/app/edit/edit.c tag_get_pt(a, &pa);
a 2326 uspace/app/edit/edit.c static int spt_cmp(spt_t const *a, spt_t const *b)
a 2330 uspace/app/edit/edit.c spt_get_coord(a, &ca);
a 2337 uspace/app/edit/edit.c static int coord_cmp(coord_t const *a, coord_t const *b)
a 2339 uspace/app/edit/edit.c if (a->row - b->row != 0)
a 2340 uspace/app/edit/edit.c return a->row - b->row;
a 2342 uspace/app/edit/edit.c return a->column - b->column;
a 143 uspace/app/edit/search.c bool char_exact_equals(const char32_t a, const char32_t b)
a 145 uspace/app/edit/search.c return a == b;
a 323 uspace/app/edit/sheet.c bool spt_equal(spt_t const *a, spt_t const *b)
a 325 uspace/app/edit/sheet.c return a->b_off == b->b_off;
a 70 uspace/app/hbench/env.c param_t *a = hash_table_get_inst(link_a, param_t, link);
a 73 uspace/app/hbench/env.c return str_cmp(a->key, b->key) == 0;
a 83 uspace/app/mkexfat/mkexfat.c #define div_round_up(a, b) (((a) + (b) - 1) / (b))
a 50 uspace/app/mkfat/fat.h #define FAT_CLUSTER_DOUBLE_SIZE(a) ((a) / 4)
a 60 uspace/app/mkfat/mkfat.c #define div_round_up(a, b) (((a) + (b) - 1) / (b))
a 263 uspace/app/nic/nic.c static char *nic_addr_format(nic_address_t *a)
a 269 uspace/app/nic/nic.c a->address[0], a->address[1], a->address[2],
a 270 uspace/app/nic/nic.c a->address[3], a->address[4], a->address[5]);
a 44 uspace/app/sbi/src/bigint.c static void bigint_sign_comb(bool_t srf_a, bigint_t *a, bool_t srf_b,
a 46 uspace/app/sbi/src/bigint.c static void bigint_add_abs(bigint_t *a, bigint_t *b, bigint_t *dest);
a 47 uspace/app/sbi/src/bigint.c static void bigint_sub_abs(bigint_t *a, bigint_t *b, bigint_t *dest);
a 48 uspace/app/sbi/src/bigint.c static void bigint_shift_mul_dig(bigint_t *a, bigint_word_t b, size_t shift,
a 259 uspace/app/sbi/src/bigint.c void bigint_div_digit(bigint_t *a, bigint_word_t b, bigint_t *quot,
a 270 uspace/app/sbi/src/bigint.c lbound = a->length;
a 273 uspace/app/sbi/src/bigint.c quot->negative = a->negative;
a 280 uspace/app/sbi/src/bigint.c da = a->digit[idx] + r * BIGINT_BASE;
a 302 uspace/app/sbi/src/bigint.c void bigint_add(bigint_t *a, bigint_t *b, bigint_t *dest)
a 307 uspace/app/sbi/src/bigint.c bigint_sign_comb(b_false, a, b_false, b, dest);
a 319 uspace/app/sbi/src/bigint.c void bigint_sub(bigint_t *a, bigint_t *b, bigint_t *dest)
a 324 uspace/app/sbi/src/bigint.c bigint_sign_comb(b_false, a, b_true, b, dest);
a 336 uspace/app/sbi/src/bigint.c void bigint_mul(bigint_t *a, bigint_t *b, bigint_t *dest)
a 348 uspace/app/sbi/src/bigint.c bigint_shift_mul_dig(a, b->digit[idx], idx, &dprod);
a 456 uspace/app/sbi/src/bigint.c static void bigint_sign_comb(bool_t srf_a, bigint_t *a, bool_t srf_b,
a 465 uspace/app/sbi/src/bigint.c neg_a = (srf_a != a->negative);
a 469 uspace/app/sbi/src/bigint.c bigint_add_abs(a, b, dest);
a 472 uspace/app/sbi/src/bigint.c bigint_sub_abs(a, b, dest);
a 486 uspace/app/sbi/src/bigint.c static void bigint_add_abs(bigint_t *a, bigint_t *b, bigint_t *dest)
a 498 uspace/app/sbi/src/bigint.c lbound = (a->length > b->length ? a->length : b->length) + 1;
a 505 uspace/app/sbi/src/bigint.c da = idx < a->length ? a->digit[idx] : 0;
a 531 uspace/app/sbi/src/bigint.c static void bigint_sub_abs(bigint_t *a, bigint_t *b, bigint_t *dest)
a 543 uspace/app/sbi/src/bigint.c lbound = a->length > b->length ? a->length : b->length;
a 549 uspace/app/sbi/src/bigint.c da = idx < a->length ? a->digit[idx] : 0;
a 606 uspace/app/sbi/src/bigint.c static void bigint_shift_mul_dig(bigint_t *a, bigint_word_t b, size_t shift,
a 620 uspace/app/sbi/src/bigint.c lbound = a->length + shift + 1;
a 624 uspace/app/sbi/src/bigint.c dest->negative = a->negative;
a 631 uspace/app/sbi/src/bigint.c da = idx < a->length ? a->digit[idx] : 0;
a 44 uspace/app/sbi/src/bigint.h void bigint_div_digit(bigint_t *a, bigint_word_t b, bigint_t *quot,
a 47 uspace/app/sbi/src/bigint.h void bigint_add(bigint_t *a, bigint_t *b, bigint_t *dest);
a 48 uspace/app/sbi/src/bigint.h void bigint_sub(bigint_t *a, bigint_t *b, bigint_t *dest);
a 49 uspace/app/sbi/src/bigint.h void bigint_mul(bigint_t *a, bigint_t *b, bigint_t *dest);
a 81 uspace/app/sbi/src/cspan.c cspan_t *cspan_merge(cspan_t *a, cspan_t *b)
a 83 uspace/app/sbi/src/cspan.c assert(a != NULL);
a 85 uspace/app/sbi/src/cspan.c assert(a->input == b->input);
a 87 uspace/app/sbi/src/cspan.c return cspan_new(a->input, a->line0, a->col0, b->line1, b->col1);
a 35 uspace/app/sbi/src/cspan.h cspan_t *cspan_merge(cspan_t *a, cspan_t *b);
a 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);
a 243 uspace/app/sbi/src/list.c static void list_node_insert_between(list_node_t *n, list_node_t *a,
a 248 uspace/app/sbi/src/list.c n->prev = a;
a 251 uspace/app/sbi/src/list.c assert(a->next == b);
a 252 uspace/app/sbi/src/list.c assert(b->prev == a);
a 253 uspace/app/sbi/src/list.c a->next = n;
a 265 uspace/app/sbi/src/list.c list_node_t *a, *b;
a 269 uspace/app/sbi/src/list.c a = n->prev;
a 272 uspace/app/sbi/src/list.c assert(a->next == n);
a 275 uspace/app/sbi/src/list.c a->next = b;
a 276 uspace/app/sbi/src/list.c b->prev = a;
a 57 uspace/app/sbi/src/os/helenos.c char *os_str_acat(const char *a, const char *b)
a 62 uspace/app/sbi/src/os/helenos.c a_size = str_size(a);
a 71 uspace/app/sbi/src/os/helenos.c memcpy(str, a, a_size);
a 120 uspace/app/sbi/src/os/helenos.c int os_str_cmp(const char *a, const char *b)
a 122 uspace/app/sbi/src/os/helenos.c return str_cmp(a, b);
a 34 uspace/app/sbi/src/os/os.h char *os_str_acat(const char *a, const char *b);
a 36 uspace/app/sbi/src/os/os.h int os_str_cmp(const char *a, const char *b);
a 60 uspace/app/sbi/src/os/posix.c char *os_str_acat(const char *a, const char *b)
a 65 uspace/app/sbi/src/os/posix.c a_len = strlen(a);
a 74 uspace/app/sbi/src/os/posix.c memcpy(str, a, a_len);
a 116 uspace/app/sbi/src/os/posix.c errno_t os_str_cmp(const char *a, const char *b)
a 118 uspace/app/sbi/src/os/posix.c return strcmp(a, b);
a 54 uspace/app/sbi/src/p_expr.c static stree_expr_t *parse_pf_access(parse_t *parse, stree_expr_t *a);
a 55 uspace/app/sbi/src/p_expr.c static stree_expr_t *parse_pf_call(parse_t *parse, stree_expr_t *a);
a 56 uspace/app/sbi/src/p_expr.c static stree_expr_t *parse_pf_index(parse_t *parse, stree_expr_t *a);
a 57 uspace/app/sbi/src/p_expr.c static stree_expr_t *parse_pf_as(parse_t *parse, stree_expr_t *a);
a 97 uspace/app/sbi/src/p_expr.c stree_expr_t *a, *b, *tmp;
a 100 uspace/app/sbi/src/p_expr.c a = parse_disjunctive(parse);
a 110 uspace/app/sbi/src/p_expr.c return a;
a 116 uspace/app/sbi/src/p_expr.c assign->dest = a;
a 121 uspace/app/sbi/src/p_expr.c tmp->cspan = cspan_merge(a->cspan, b->cspan);
a 134 uspace/app/sbi/src/p_expr.c stree_expr_t *a, *b, *tmp;
a 138 uspace/app/sbi/src/p_expr.c a = parse_conjunctive(parse);
a 139 uspace/app/sbi/src/p_expr.c cs = a->cspan;
a 149 uspace/app/sbi/src/p_expr.c binop->arg1 = a;
a 157 uspace/app/sbi/src/p_expr.c a = tmp;
a 161 uspace/app/sbi/src/p_expr.c return a;
a 170 uspace/app/sbi/src/p_expr.c stree_expr_t *a, *b, *tmp;
a 174 uspace/app/sbi/src/p_expr.c a = parse_comparative(parse);
a 175 uspace/app/sbi/src/p_expr.c cs = a->cspan;
a 185 uspace/app/sbi/src/p_expr.c binop->arg1 = a;
a 193 uspace/app/sbi/src/p_expr.c a = tmp;
a 197 uspace/app/sbi/src/p_expr.c return a;
a 206 uspace/app/sbi/src/p_expr.c stree_expr_t *a, *b, *tmp;
a 211 uspace/app/sbi/src/p_expr.c a = parse_additive(parse);
a 212 uspace/app/sbi/src/p_expr.c cs = a->cspan;
a 248 uspace/app/sbi/src/p_expr.c binop->arg1 = a;
a 256 uspace/app/sbi/src/p_expr.c a = tmp;
a 260 uspace/app/sbi/src/p_expr.c return a;
a 269 uspace/app/sbi/src/p_expr.c stree_expr_t *a, *b, *tmp;
a 274 uspace/app/sbi/src/p_expr.c a = parse_multip(parse);
a 275 uspace/app/sbi/src/p_expr.c cs = a->cspan;
a 296 uspace/app/sbi/src/p_expr.c binop->arg1 = a;
a 304 uspace/app/sbi/src/p_expr.c a = tmp;
a 308 uspace/app/sbi/src/p_expr.c return a;
a 317 uspace/app/sbi/src/p_expr.c stree_expr_t *a, *b, *tmp;
a 322 uspace/app/sbi/src/p_expr.c a = parse_prefix(parse);
a 323 uspace/app/sbi/src/p_expr.c cs = a->cspan;
a 341 uspace/app/sbi/src/p_expr.c binop->arg1 = a;
a 349 uspace/app/sbi/src/p_expr.c a = tmp;
a 353 uspace/app/sbi/src/p_expr.c return a;
a 362 uspace/app/sbi/src/p_expr.c stree_expr_t *a;
a 391 uspace/app/sbi/src/p_expr.c a = parse_postfix(parse);
a 394 uspace/app/sbi/src/p_expr.c unop->arg = a;
a 398 uspace/app/sbi/src/p_expr.c tmp->cspan = cspan_merge(cs0, a->cspan);
a 400 uspace/app/sbi/src/p_expr.c a = tmp;
a 403 uspace/app/sbi/src/p_expr.c a = parse_prefix_new(parse);
a 406 uspace/app/sbi/src/p_expr.c a = parse_postfix(parse);
a 410 uspace/app/sbi/src/p_expr.c return a;
a 472 uspace/app/sbi/src/p_expr.c stree_expr_t *a;
a 475 uspace/app/sbi/src/p_expr.c a = parse_paren(parse);
a 485 uspace/app/sbi/src/p_expr.c tmp = parse_pf_access(parse, a);
a 488 uspace/app/sbi/src/p_expr.c tmp = parse_pf_call(parse, a);
a 491 uspace/app/sbi/src/p_expr.c tmp = parse_pf_index(parse, a);
a 494 uspace/app/sbi/src/p_expr.c tmp = parse_pf_as(parse, a);
a 500 uspace/app/sbi/src/p_expr.c a = tmp;
a 503 uspace/app/sbi/src/p_expr.c return a;
a 510 uspace/app/sbi/src/p_expr.c static stree_expr_t *parse_pf_access(parse_t *parse, stree_expr_t *a)
a 524 uspace/app/sbi/src/p_expr.c access->arg = a;
a 529 uspace/app/sbi/src/p_expr.c expr->cspan = cspan_merge(a->cspan, cs1);
a 540 uspace/app/sbi/src/p_expr.c static stree_expr_t *parse_pf_call(parse_t *parse, stree_expr_t *a)
a 550 uspace/app/sbi/src/p_expr.c call->fun = a;
a 571 uspace/app/sbi/src/p_expr.c expr->cspan = cspan_merge(a->cspan, cs1);
a 581 uspace/app/sbi/src/p_expr.c static stree_expr_t *parse_pf_index(parse_t *parse, stree_expr_t *a)
a 591 uspace/app/sbi/src/p_expr.c index->base = a;
a 612 uspace/app/sbi/src/p_expr.c expr->cspan = cspan_merge(a->cspan, cs1);
a 622 uspace/app/sbi/src/p_expr.c static stree_expr_t *parse_pf_as(parse_t *parse, stree_expr_t *a)
a 636 uspace/app/sbi/src/p_expr.c as_op->arg = a;
a 641 uspace/app/sbi/src/p_expr.c expr->cspan = cspan_merge(a->cspan, cs1);
a 46 uspace/app/sbi/src/p_type.c static stree_texpr_t *parse_pf_taccess(parse_t *parse, stree_texpr_t *a);
a 47 uspace/app/sbi/src/p_type.c static stree_texpr_t *parse_pf_tindex(parse_t *parse, stree_texpr_t *a);
a 126 uspace/app/sbi/src/p_type.c stree_texpr_t *a;
a 129 uspace/app/sbi/src/p_type.c a = parse_tparen(parse);
a 138 uspace/app/sbi/src/p_type.c tmp = parse_pf_taccess(parse, a);
a 141 uspace/app/sbi/src/p_type.c tmp = parse_pf_tindex(parse, a);
a 149 uspace/app/sbi/src/p_type.c a = tmp;
a 152 uspace/app/sbi/src/p_type.c return a;
a 160 uspace/app/sbi/src/p_type.c static stree_texpr_t *parse_pf_taccess(parse_t *parse, stree_texpr_t *a)
a 170 uspace/app/sbi/src/p_type.c taccess->arg = a;
a 176 uspace/app/sbi/src/p_type.c texpr->cspan = cspan_merge(a->cspan, ident->cspan);
a 186 uspace/app/sbi/src/p_type.c static stree_texpr_t *parse_pf_tindex(parse_t *parse, stree_texpr_t *a)
a 194 uspace/app/sbi/src/p_type.c tindex->base_type = a;
a 230 uspace/app/sbi/src/p_type.c texpr->cspan = cspan_merge(a->cspan, cs1);
a 1046 uspace/app/sbi/src/stree.c bool_t stree_is_csi_derived_from_csi(stree_csi_t *a, stree_csi_t *b)
a 1050 uspace/app/sbi/src/stree.c csi = a;
a 99 uspace/app/sbi/src/stree.h bool_t stree_is_csi_derived_from_csi(stree_csi_t *a, stree_csi_t *b);
a 61 uspace/app/sbi/src/symbol.c stree_symbol_t *a, *b;
a 68 uspace/app/sbi/src/symbol.c a = symbol_xlookup_in_csi(prog, scope, texpr->u.taccess->arg);
a 69 uspace/app/sbi/src/symbol.c a_csi = symbol_to_csi(a);
a 78 uspace/app/sbi/src/tdata.c bool_t tdata_is_csi_derived_from_ti(stree_csi_t *a, tdata_item_t *tb)
a 84 uspace/app/sbi/src/tdata.c res = stree_is_csi_derived_from_csi(a, tb->u.tobject->csi);
a 132 uspace/app/sbi/src/tdata.c bool_t tdata_item_equal(tdata_item_t *a, tdata_item_t *b)
a 140 uspace/app/sbi/src/tdata.c if (a->tic == tic_tprimitive && a->u.tprimitive->tpc == tpc_nil) {
a 144 uspace/app/sbi/src/tdata.c if (a->tic == tic_tobject)
a 148 uspace/app/sbi/src/tdata.c if (a->tic != b->tic)
a 151 uspace/app/sbi/src/tdata.c switch (a->tic) {
a 154 uspace/app/sbi/src/tdata.c return (a->u.tprimitive->tpc == b->u.tprimitive->tpc);
a 157 uspace/app/sbi/src/tdata.c return (a->u.tobject->csi == b->u.tobject->csi);
a 160 uspace/app/sbi/src/tdata.c if (a->u.tarray->rank != b->u.tarray->rank)
a 163 uspace/app/sbi/src/tdata.c return tdata_item_equal(a->u.tarray->base_ti,
a 167 uspace/app/sbi/src/tdata.c return (a->u.tenum->enum_d == b->u.tenum->enum_d);
a 170 uspace/app/sbi/src/tdata.c return (a->u.tvref->targ == b->u.tvref->targ);
a 173 uspace/app/sbi/src/tdata.c tdata_item_print(a);
a 50 uspace/app/sbi/src/tdata.h bool_t tdata_is_csi_derived_from_ti(stree_csi_t *a, tdata_item_t *tb);
a 52 uspace/app/sbi/src/tdata.h bool_t tdata_item_equal(tdata_item_t *a, tdata_item_t *b);
a 356 uspace/app/sysinst/sysinst.c static void set_unaligned_u64le(uint8_t *a, uint64_t data)
a 361 uspace/app/sysinst/sysinst.c a[i] = (data >> (i * 8)) & 0xff;
a 61 uspace/app/tester/float/float2.c static bool cmp_float(float a, float b)
a 67 uspace/app/tester/float/float2.c r = a;
a 69 uspace/app/tester/float/float2.c r = a / b - 1.0;
a 78 uspace/app/tester/float/float2.c static bool cmp_double(double a, double b)
a 84 uspace/app/tester/float/float2.c r = a;
a 86 uspace/app/tester/float/float2.c r = a / b - 1.0;
a 363 uspace/app/top/top.c static int cmp_data(void *a, void *b, void *arg)
a 365 uspace/app/top/top.c field_t *fa = (field_t *)a + sort_column;
a 41 uspace/app/top/top.h #define FRACTION_TO_FLOAT(float, a, b) \
a 44 uspace/app/top/top.h (float).upper = (a); \
a 182 uspace/dist/src/c/demos/edit/edit.c static int tag_cmp(tag_t const *a, tag_t const *b);
a 183 uspace/dist/src/c/demos/edit/edit.c static int spt_cmp(spt_t const *a, spt_t const *b);
a 184 uspace/dist/src/c/demos/edit/edit.c static int coord_cmp(coord_t const *a, coord_t const *b);
a 1679 uspace/dist/src/c/demos/edit/edit.c static int tag_cmp(tag_t const *a, tag_t const *b)
a 1683 uspace/dist/src/c/demos/edit/edit.c tag_get_pt(a, &pa);
a 1690 uspace/dist/src/c/demos/edit/edit.c static int spt_cmp(spt_t const *a, spt_t const *b)
a 1694 uspace/dist/src/c/demos/edit/edit.c spt_get_coord(a, &ca);
a 1701 uspace/dist/src/c/demos/edit/edit.c static int coord_cmp(coord_t const *a, coord_t const *b)
a 1703 uspace/dist/src/c/demos/edit/edit.c if (a->row - b->row != 0)
a 1704 uspace/dist/src/c/demos/edit/edit.c return a->row - b->row;
a 1706 uspace/dist/src/c/demos/edit/edit.c return a->column - b->column;
a 142 uspace/dist/src/c/demos/edit/search.c bool char_exact_equals(const char32_t a, const char32_t b)
a 144 uspace/dist/src/c/demos/edit/search.c return a == b;
a 314 uspace/dist/src/c/demos/edit/sheet.c bool spt_equal(spt_t const *a, spt_t const *b)
a 316 uspace/dist/src/c/demos/edit/sheet.c return a->b_off == b->b_off;
a 364 uspace/dist/src/c/demos/top/top.c static int cmp_data(void *a, void *b, void *arg)
a 366 uspace/dist/src/c/demos/top/top.c field_t *fa = (field_t *)a + sort_column;
a 41 uspace/dist/src/c/demos/top/top.h #define FRACTION_TO_FLOAT(float, a, b) \
a 44 uspace/dist/src/c/demos/top/top.h (float).upper = (a); \
a 47 uspace/drv/bus/adb/cuda_adb/cuda_hw.h ioport8_t a;
a 465 uspace/lib/bithenge/src/blob.c errno_t bithenge_blob_equal(bool *out, bithenge_blob_t *a, bithenge_blob_t *b)
a 467 uspace/lib/bithenge/src/blob.c assert(a);
a 468 uspace/lib/bithenge/src/blob.c assert(a->base.blob_ops);
a 475 uspace/lib/bithenge/src/blob.c rc = bithenge_blob_read(a, offset, buffer_a, &size_a);
a 76 uspace/lib/bithenge/src/expression.c bithenge_expression_t *a, *b;
a 96 uspace/lib/bithenge/src/expression.c bithenge_node_t *a, *b;
a 97 uspace/lib/bithenge/src/expression.c rc = bithenge_expression_evaluate(self->a, scope, &a);
a 103 uspace/lib/bithenge/src/expression.c bithenge_node_dec_ref(a);
a 123 uspace/lib/bithenge/src/expression.c if (bithenge_node_type(a) != BITHENGE_NODE_INTEGER)
a 127 uspace/lib/bithenge/src/expression.c a_int = bithenge_integer_node_value(a);
a 133 uspace/lib/bithenge/src/expression.c if (bithenge_node_type(a) != BITHENGE_NODE_BOOLEAN)
a 137 uspace/lib/bithenge/src/expression.c a_bool = bithenge_boolean_node_value(a);
a 141 uspace/lib/bithenge/src/expression.c if (bithenge_node_type(a) != BITHENGE_NODE_BLOB)
a 196 uspace/lib/bithenge/src/expression.c rc = bithenge_node_equal(&out_bool, a, b);
a 202 uspace/lib/bithenge/src/expression.c rc = bithenge_node_equal(&out_bool, a, b);
a 214 uspace/lib/bithenge/src/expression.c rc = bithenge_node_get(a, b, out);
a 220 uspace/lib/bithenge/src/expression.c rc = bithenge_concat_blob_lazy(out, bithenge_node_as_blob(a),
a 222 uspace/lib/bithenge/src/expression.c a = NULL;
a 231 uspace/lib/bithenge/src/expression.c bithenge_node_dec_ref(a);
a 239 uspace/lib/bithenge/src/expression.c bithenge_expression_dec_ref(self->a);
a 257 uspace/lib/bithenge/src/expression.c bithenge_binary_op_t op, bithenge_expression_t *a,
a 273 uspace/lib/bithenge/src/expression.c self->a = a;
a 279 uspace/lib/bithenge/src/expression.c bithenge_expression_dec_ref(a);
a 1005 uspace/lib/bithenge/src/expression.c bithenge_blob_t *a, *b;
a 1063 uspace/lib/bithenge/src/expression.c rc = bithenge_blob_read(self->a, offset, buffer, &a_size);
a 1091 uspace/lib/bithenge/src/expression.c rc = bithenge_blob_read_bits(self->a, offset, buffer, &a_size,
a 1116 uspace/lib/bithenge/src/expression.c bithenge_blob_dec_ref(self->a);
a 1136 uspace/lib/bithenge/src/expression.c errno_t bithenge_concat_blob(bithenge_node_t **out, bithenge_blob_t *a,
a 1140 uspace/lib/bithenge/src/expression.c assert(a);
a 1149 uspace/lib/bithenge/src/expression.c rc = bithenge_blob_size(a, &self->a_size);
a 1157 uspace/lib/bithenge/src/expression.c self->a = a;
a 1165 uspace/lib/bithenge/src/expression.c bithenge_blob_dec_ref(a);
a 1179 uspace/lib/bithenge/src/expression.c errno_t bithenge_concat_blob_lazy(bithenge_node_t **out, bithenge_blob_t *a,
a 1183 uspace/lib/bithenge/src/expression.c assert(a);
a 1193 uspace/lib/bithenge/src/expression.c rc = bithenge_blob_size(a, &self->a_size);
a 1201 uspace/lib/bithenge/src/expression.c self->a = a;
a 1209 uspace/lib/bithenge/src/expression.c bithenge_blob_dec_ref(a);
a 369 uspace/lib/bithenge/src/tree.c errno_t bithenge_node_equal(bool *out, bithenge_node_t *a, bithenge_node_t *b)
a 371 uspace/lib/bithenge/src/tree.c if (a->type != b->type) {
a 375 uspace/lib/bithenge/src/tree.c switch (a->type) {
a 380 uspace/lib/bithenge/src/tree.c *out = a->boolean_value == b->boolean_value;
a 383 uspace/lib/bithenge/src/tree.c *out = a->integer_value == b->integer_value;
a 386 uspace/lib/bithenge/src/tree.c *out = !str_cmp(a->string_value.ptr, b->string_value.ptr);
a 389 uspace/lib/bithenge/src/tree.c return bithenge_blob_equal(out, bithenge_node_as_blob(a),
a 76 uspace/lib/c/common/adt/odict.c if (cur->a != NULL || cur->b != NULL) {
a 78 uspace/lib/c/common/adt/odict.c odict_print_tree(cur->a);
a 114 uspace/lib/c/common/adt/odict.c if (cur->a != NULL) {
a 116 uspace/lib/c/common/adt/odict.c if (cur->a->up != cur) {
a 122 uspace/lib/c/common/adt/odict.c if (cur->a->color == odc_red && cur->color == odc_red) {
a 128 uspace/lib/c/common/adt/odict.c rc = odict_validate_tree(cur->a, &bd_a);
a 225 uspace/lib/c/common/adt/odict.c odlink->a = NULL;
a 263 uspace/lib/c/common/adt/odict.c if (cur->a == NULL) {
a 267 uspace/lib/c/common/adt/odict.c cur = cur->a;
a 353 uspace/lib/c/common/adt/odict.c if (odlink->a != NULL && odlink->b != NULL) {
a 361 uspace/lib/c/common/adt/odict.c if (odlink->a != NULL) {
a 363 uspace/lib/c/common/adt/odict.c c = odlink->a;
a 380 uspace/lib/c/common/adt/odict.c odlink->up = odlink->a = odlink->b = NULL;
a 407 uspace/lib/c/common/adt/odict.c if (n == p->a)
a 419 uspace/lib/c/common/adt/odict.c (s->a == NULL || s->a->color == odc_black) &&
a 434 uspace/lib/c/common/adt/odict.c (s->a == NULL || s->a->color == odc_black) &&
a 444 uspace/lib/c/common/adt/odict.c st = s->a;
a 448 uspace/lib/c/common/adt/odict.c sc = s->a;
a 466 uspace/lib/c/common/adt/odict.c st = s->a;
a 470 uspace/lib/c/common/adt/odict.c sc = s->a;
a 673 uspace/lib/c/common/adt/odict.c next = cur->a;
a 730 uspace/lib/c/common/adt/odict.c next = cur->a;
a 784 uspace/lib/c/common/adt/odict.c if ((*p)->a == n) {
a 798 uspace/lib/c/common/adt/odict.c if ((*g)->a == *p) {
a 804 uspace/lib/c/common/adt/odict.c *u = (*g)->a;
a 818 uspace/lib/c/common/adt/odict.c if (p->a == n) {
a 823 uspace/lib/c/common/adt/odict.c *rs = p->a;
a 846 uspace/lib/c/common/adt/odict.c p->b = q->a;
a 849 uspace/lib/c/common/adt/odict.c q->a = p;
a 867 uspace/lib/c/common/adt/odict.c p = q->a;
a 875 uspace/lib/c/common/adt/odict.c q->a = p->b;
a 876 uspace/lib/c/common/adt/odict.c if (q->a != NULL)
a 877 uspace/lib/c/common/adt/odict.c q->a->up = q;
a 894 uspace/lib/c/common/adt/odict.c static void odict_swap_node(odlink_t *a, odlink_t *b)
a 900 uspace/lib/c/common/adt/odict.c if (a->up != NULL && a->up != b) {
a 901 uspace/lib/c/common/adt/odict.c if (a->up->a == a) {
a 902 uspace/lib/c/common/adt/odict.c a->up->a = b;
a 904 uspace/lib/c/common/adt/odict.c assert(a->up->b == a);
a 905 uspace/lib/c/common/adt/odict.c a->up->b = b;
a 910 uspace/lib/c/common/adt/odict.c if (a->a != NULL && a->a != b)
a 911 uspace/lib/c/common/adt/odict.c a->a->up = b;
a 913 uspace/lib/c/common/adt/odict.c if (a->b != NULL && a->b != b)
a 914 uspace/lib/c/common/adt/odict.c a->b->up = b;
a 917 uspace/lib/c/common/adt/odict.c if (b->up != NULL && b->up != a) {
a 918 uspace/lib/c/common/adt/odict.c if (b->up->a == b) {
a 919 uspace/lib/c/common/adt/odict.c b->up->a = a;
a 922 uspace/lib/c/common/adt/odict.c b->up->b = a;
a 927 uspace/lib/c/common/adt/odict.c if (b->a != NULL && b->a != a)
a 928 uspace/lib/c/common/adt/odict.c b->a->up = a;
a 930 uspace/lib/c/common/adt/odict.c if (b->b != NULL && b->b != a)
a 931 uspace/lib/c/common/adt/odict.c b->b->up = a;
a 936 uspace/lib/c/common/adt/odict.c n = a->up;
a 937 uspace/lib/c/common/adt/odict.c a->up = b->up;
a 940 uspace/lib/c/common/adt/odict.c n = a->a;
a 941 uspace/lib/c/common/adt/odict.c a->a = b->a;
a 942 uspace/lib/c/common/adt/odict.c b->a = n;
a 944 uspace/lib/c/common/adt/odict.c n = a->b;
a 945 uspace/lib/c/common/adt/odict.c a->b = b->b;
a 948 uspace/lib/c/common/adt/odict.c c = a->color;
a 949 uspace/lib/c/common/adt/odict.c a->color = b->color;
a 953 uspace/lib/c/common/adt/odict.c if (a->up == a)
a 954 uspace/lib/c/common/adt/odict.c a->up = b;
a 955 uspace/lib/c/common/adt/odict.c if (a->a == a)
a 956 uspace/lib/c/common/adt/odict.c a->a = b;
a 957 uspace/lib/c/common/adt/odict.c if (a->b == a)
a 958 uspace/lib/c/common/adt/odict.c a->b = b;
a 960 uspace/lib/c/common/adt/odict.c b->up = a;
a 961 uspace/lib/c/common/adt/odict.c if (b->a == b)
a 962 uspace/lib/c/common/adt/odict.c b->a = a;
a 964 uspace/lib/c/common/adt/odict.c b->b = a;
a 967 uspace/lib/c/common/adt/odict.c if (a == a->odict->root)
a 968 uspace/lib/c/common/adt/odict.c a->odict->root = b;
a 969 uspace/lib/c/common/adt/odict.c else if (b == a->odict->root)
a 970 uspace/lib/c/common/adt/odict.c a->odict->root = a;
a 985 uspace/lib/c/common/adt/odict.c if (old->up->a == old) {
a 986 uspace/lib/c/common/adt/odict.c old->up->a = n;
a 1006 uspace/lib/c/common/adt/odict.c if (n->up->a == n) {
a 1007 uspace/lib/c/common/adt/odict.c n->up->a = NULL;
a 1019 uspace/lib/c/common/adt/odict.c if (n->a != NULL) {
a 1020 uspace/lib/c/common/adt/odict.c n->a->up = NULL;
a 1021 uspace/lib/c/common/adt/odict.c n->a = NULL;
a 1042 uspace/lib/c/common/adt/odict.c old->a = n;
a 1074 uspace/lib/c/common/adt/odict.c odlink_t *a;
a 1090 uspace/lib/c/common/adt/odict.c a = odict_first(odict);
a 1091 uspace/lib/c/common/adt/odict.c if (a != NULL) {
a 1092 uspace/lib/c/common/adt/odict.c d = odict->cmp(key, odict->getkey(a));
a 1094 uspace/lib/c/common/adt/odict.c return a;
a 1120 uspace/lib/c/common/adt/odict.c a = b = cur = hint;
a 1124 uspace/lib/c/common/adt/odict.c d = odict->cmp(odict->getkey(cur), odict->getkey(a));
a 1126 uspace/lib/c/common/adt/odict.c a = cur;
a 1132 uspace/lib/c/common/adt/odict.c da = odict->cmp(odict->getkey(a), key);
a 42 uspace/lib/c/common/include/adt/gcdlcm.h static inline type name(type a, type b) \
a 44 uspace/lib/c/common/include/adt/gcdlcm.h if (a == 0) \
a 48 uspace/lib/c/common/include/adt/gcdlcm.h if (a > b) \
a 49 uspace/lib/c/common/include/adt/gcdlcm.h a -= b; \
a 51 uspace/lib/c/common/include/adt/gcdlcm.h b -= a; \
a 54 uspace/lib/c/common/include/adt/gcdlcm.h return a; \
a 58 uspace/lib/c/common/include/adt/gcdlcm.h static inline type name(type a, type b) \
a 60 uspace/lib/c/common/include/adt/gcdlcm.h return (a * b) / gcd(a, b); \
a 59 uspace/lib/c/common/stdc/qsort.c static int compar_wrap(const void *a, const void *b, void *arg)
a 64 uspace/lib/c/common/stdc/qsort.c return compar(a, b);
a 75 uspace/lib/c/common/stdc/qsort.c const void *a;
a 79 uspace/lib/c/common/stdc/qsort.c a = qs->base + i * qs->size;
a 82 uspace/lib/c/common/stdc/qsort.c r = qs->compar(a, b, qs->arg);
a 95 uspace/lib/c/common/stdc/qsort.c char *a;
a 100 uspace/lib/c/common/stdc/qsort.c a = qs->base + i * qs->size;
a 104 uspace/lib/c/common/stdc/qsort.c t = a[k];
a 105 uspace/lib/c/common/stdc/qsort.c a[k] = b[k];
a 89 uspace/lib/c/generic/double_to_str.c uint64_t a, b, c, d;
a 90 uspace/lib/c/generic/double_to_str.c a = x.significand >> 32;
a 97 uspace/lib/c/generic/double_to_str.c ad = a * d;
a 100 uspace/lib/c/generic/double_to_str.c ac = a * c;
a 131 uspace/lib/c/generic/double_to_str.c static fp_num_t subtract(fp_num_t a, fp_num_t b)
a 133 uspace/lib/c/generic/double_to_str.c assert(a.exponent == b.exponent);
a 134 uspace/lib/c/generic/double_to_str.c assert(a.significand >= b.significand);
a 138 uspace/lib/c/generic/double_to_str.c result.significand = a.significand - b.significand;
a 139 uspace/lib/c/generic/double_to_str.c result.exponent = a.exponent;
a 383 uspace/lib/c/generic/elf/elf_mod.c void *a;
a 439 uspace/lib/c/generic/elf/elf_mod.c a = as_area_create((uint8_t *) base + bias, mem_sz,
a 442 uspace/lib/c/generic/elf/elf_mod.c if (a == AS_MAP_FAILED) {
a 449 uspace/lib/c/generic/elf/elf_mod.c (void *) (base + bias), mem_sz, flags, (void *) a);
a 100 uspace/lib/c/generic/getopt.c static int gcd(int a, int b)
a 104 uspace/lib/c/generic/getopt.c c = a % b;
a 106 uspace/lib/c/generic/getopt.c a = b;
a 108 uspace/lib/c/generic/getopt.c c = a % b;
a 52 uspace/lib/c/generic/imath.c uint64_t a;
a 56 uspace/lib/c/generic/imath.c a = 10;
a 59 uspace/lib/c/generic/imath.c if ((r * a) / a != r)
a 61 uspace/lib/c/generic/imath.c r = r * a;
a 68 uspace/lib/c/generic/imath.c if ((a * a) / a != a)
a 70 uspace/lib/c/generic/imath.c a = a * a;
a 90 uspace/lib/c/generic/imath.c uint64_t a;
a 96 uspace/lib/c/generic/imath.c a = 10;
a 97 uspace/lib/c/generic/imath.c p10p2[0] = a;
a 99 uspace/lib/c/generic/imath.c while (v / a >= a) {
a 101 uspace/lib/c/generic/imath.c a = a * a;
a 103 uspace/lib/c/generic/imath.c p10p2[b] = a;
a 43 uspace/lib/c/include/align.h #define ALIGN_DOWN(s, a) ((s) & ~((typeof(s))(a) - 1))
a 50 uspace/lib/c/include/align.h #define ALIGN_UP(s, a) ((((s) + ((a) - 1)) & ~((typeof(s))(a) - 1)))
a 51 uspace/lib/c/include/io/pixel.h #define PIXEL(a, r, g, b) \
a 52 uspace/lib/c/include/io/pixel.h ((((unsigned)(a) & 0xff) << 24) | (((unsigned)(r) & 0xff) << 16) | \
a 38 uspace/lib/c/include/macros.h #define min(a, b) ((a) < (b) ? (a) : (b))
a 39 uspace/lib/c/include/macros.h #define max(a, b) ((a) > (b) ? (a) : (b))
a 40 uspace/lib/c/include/macros.h #define mabs(a) ((a) >= 0 ? (a) : -(a))
a 65 uspace/lib/c/include/types/adt/odict.h odlink_t *a;
a 61 uspace/lib/c/test/adt/odict.c static int test_cmp(void *a, void *b)
a 63 uspace/lib/c/test/adt/odict.c int *ia = (int *)a;
a 32 uspace/lib/c/test/gsort.c static int cmp_func(void *a, void *b, void *param)
a 34 uspace/lib/c/test/gsort.c int ia = *(int *)a;
a 45 uspace/lib/c/test/qsort.c static int test_cmp(const void *a, const void *b)
a 47 uspace/lib/c/test/qsort.c int *ia = (int *)a;
a 208 uspace/lib/c/test/stdlib.c static int test_compar(const void *a, const void *b)
a 212 uspace/lib/c/test/stdlib.c ia = (const int *)a;
a 604 uspace/lib/clui/src/tinput.c const char *a = *(const char **) va;
a 607 uspace/lib/clui/src/tinput.c return str_cmp(a, b);
a 610 uspace/lib/clui/src/tinput.c static size_t common_pref_len(const char *a, const char *b)
a 621 uspace/lib/clui/src/tinput.c ca = str_decode(a, &a_off, STR_NO_LIMIT);
a 155 uspace/lib/cpp/include/__bits/functional/function.hpp function(allocator_arg_t, const A& a) noexcept
a 160 uspace/lib/cpp/include/__bits/functional/function.hpp function(allocator_arg_t, const A& a, nullptr_t) noexcept
a 165 uspace/lib/cpp/include/__bits/functional/function.hpp function(allocator_arg_t, const A& a, const function& other)
a 170 uspace/lib/cpp/include/__bits/functional/function.hpp function(allocator_arg_t, const A& a, function&& other)
a 176 uspace/lib/cpp/include/__bits/functional/function.hpp function(allocator_arg_t, const A& a, F f)
a 260 uspace/lib/cpp/include/__bits/functional/function.hpp void assign(F&& f, const A& a)
a 262 uspace/lib/cpp/include/__bits/functional/function.hpp function{allocator_arg, a, forward<F>(f)}.swap(*this);
a 80 uspace/lib/cpp/include/__bits/random.hpp template<class UIntType, UIntType a, UIntType c, UIntType m>
a 83 uspace/lib/cpp/include/__bits/random.hpp static_assert(m == 0 || (a < m && c < m));
a 88 uspace/lib/cpp/include/__bits/random.hpp static constexpr result_type multiplier = a;
a 210 uspace/lib/cpp/include/__bits/random.hpp state_ = (a * state_ + c) % modulus_;
a 227 uspace/lib/cpp/include/__bits/random.hpp UIntType a, size_t u, UIntType d, size_t s,
a 250 uspace/lib/cpp/include/__bits/random.hpp static constexpr UIntType xor_mask = a;
a 395 uspace/lib/cpp/include/__bits/random.hpp auto alpha = a * (y & 1);
a 1176 uspace/lib/cpp/include/__bits/random.hpp explicit uniform_int_distribution(result_type a = 0,
a 1178 uspace/lib/cpp/include/__bits/random.hpp : a_{a}, b_{b}
a 1286 uspace/lib/cpp/include/__bits/random.hpp explicit uniform_real_distribution(result_type a = 0.0,
a 1288 uspace/lib/cpp/include/__bits/random.hpp : a_{a}, b_{b}
a 83 uspace/lib/cpp/include/__bits/thread/packaged_task.hpp explicit packaged_task(allocator_arg_t, const Allocator& a, F&& f)
a 88 uspace/lib/cpp/include/__bits/thread/packaged_task.hpp >::template rebind_alloc<aux::shared_state<R>> rebound{a};
a 56 uspace/lib/cpp/include/__bits/thread/promise.hpp promise_base(allocator_arg_t, const Allocator& a)
a 61 uspace/lib/cpp/include/__bits/thread/promise.hpp >::template rebind_alloc<aux::shared_state<R>> rebound{a};
a 167 uspace/lib/cpp/include/__bits/thread/promise.hpp promise(allocator_arg_t tag, const Allocator& a)
a 168 uspace/lib/cpp/include/__bits/thread/promise.hpp : aux::promise_base<R>{tag, a}
a 283 uspace/lib/cpp/include/__bits/thread/promise.hpp promise(allocator_arg_t tag, const Allocator& a)
a 284 uspace/lib/cpp/include/__bits/thread/promise.hpp : aux::promise_base<R*>{tag, a}
a 362 uspace/lib/cpp/include/__bits/thread/promise.hpp promise(allocator_arg_t tag, const Allocator& a)
a 363 uspace/lib/cpp/include/__bits/thread/promise.hpp : aux::promise_base<void>{tag, a}
a 88 uspace/lib/cpp/include/__bits/utility/utility.hpp void swap(T (&a)[N], T (&b)[N]) noexcept(noexcept(swap(*a, *b)))
a 90 uspace/lib/cpp/include/__bits/utility/utility.hpp swap_ranges(a, a + N, b);
a 105 uspace/lib/cpp/src/__bits/test/array.cpp auto [a, b, c] = arr4;
a 106 uspace/lib/cpp/src/__bits/test/array.cpp test_eq("structured binding part 1", a, 1);
a 40 uspace/lib/cpp/src/__bits/test/functional.cpp int f1(int a, int b)
a 42 uspace/lib/cpp/src/__bits/test/functional.cpp return a + b;
a 45 uspace/lib/cpp/src/__bits/test/functional.cpp int f2(int a, int b)
a 47 uspace/lib/cpp/src/__bits/test/functional.cpp return a * 10 + b;
a 50 uspace/lib/cpp/src/__bits/test/functional.cpp void f3(int& a, int& b)
a 52 uspace/lib/cpp/src/__bits/test/functional.cpp a = 42;
a 58 uspace/lib/cpp/src/__bits/test/functional.cpp int add(int a)
a 60 uspace/lib/cpp/src/__bits/test/functional.cpp return a + data;
a 51 uspace/lib/gfx/src/coord.c gfx_coord_t gfx_coord_div_rneg(gfx_coord_t a, gfx_coord_t b)
a 53 uspace/lib/gfx/src/coord.c if ((a > 0 && b > 0) || (a < 0 && b < 0)) {
a 55 uspace/lib/gfx/src/coord.c return a / b;
a 58 uspace/lib/gfx/src/coord.c return (a - b + 1) / b;
a 68 uspace/lib/gfx/src/coord.c void gfx_coord2_add(gfx_coord2_t *a, gfx_coord2_t *b, gfx_coord2_t *d)
a 70 uspace/lib/gfx/src/coord.c d->x = a->x + b->x;
a 71 uspace/lib/gfx/src/coord.c d->y = a->y + b->y;
a 80 uspace/lib/gfx/src/coord.c void gfx_coord2_subtract(gfx_coord2_t *a, gfx_coord2_t *b, gfx_coord2_t *d)
a 82 uspace/lib/gfx/src/coord.c d->x = a->x - b->x;
a 83 uspace/lib/gfx/src/coord.c d->y = a->y - b->y;
a 92 uspace/lib/gfx/src/coord.c void gfx_coord2_clip(gfx_coord2_t *a, gfx_rect_t *clip, gfx_coord2_t *d)
a 99 uspace/lib/gfx/src/coord.c t.x = min(a->x, clip->p1.x - 1);
a 100 uspace/lib/gfx/src/coord.c t.y = min(a->y, clip->p1.y - 1);
a 117 uspace/lib/gfx/src/coord.c void gfx_coord2_project(gfx_coord2_t *a, gfx_rect_t *srect, gfx_rect_t *drect,
a 126 uspace/lib/gfx/src/coord.c d->x = dr.p0.x + (a->x - sr.p0.x) * (dr.p1.x - dr.p0.x - 1) /
a 128 uspace/lib/gfx/src/coord.c d->y = dr.p0.y + (a->y - sr.p0.y) * (dr.p1.y - dr.p0.y - 1) /
a 187 uspace/lib/gfx/src/coord.c void gfx_rect_envelope(gfx_rect_t *a, gfx_rect_t *b, gfx_rect_t *dest)
a 191 uspace/lib/gfx/src/coord.c if (gfx_rect_is_empty(a)) {
a 197 uspace/lib/gfx/src/coord.c *dest = *a;
a 203 uspace/lib/gfx/src/coord.c gfx_rect_points_sort(a, &sa);
a 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)
a 254 uspace/lib/gfx/src/coord.c gfx_rect_dims(a, &adim);
a 294 uspace/lib/gfx/src/coord.c bool gfx_rect_is_incident(gfx_rect_t *a, gfx_rect_t *b)
a 298 uspace/lib/gfx/src/coord.c gfx_rect_clip(a, b, &r);
a 308 uspace/lib/gfx/src/coord.c bool gfx_rect_is_inside(gfx_rect_t *a, gfx_rect_t *b)
a 313 uspace/lib/gfx/src/coord.c gfx_rect_points_sort(a, &sa);
a 58 uspace/lib/gfx/test/coord.c gfx_coord2_t a, b;
a 61 uspace/lib/gfx/test/coord.c a.x = 10;
a 62 uspace/lib/gfx/test/coord.c a.y = 11;
a 66 uspace/lib/gfx/test/coord.c gfx_coord2_add(&a, &b, &d);
a 68 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(a.x + b.x, d.x);
a 69 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(a.y + b.y, d.y);
a 75 uspace/lib/gfx/test/coord.c gfx_coord2_t a, b;
a 78 uspace/lib/gfx/test/coord.c a.x = 10;
a 79 uspace/lib/gfx/test/coord.c a.y = 11;
a 83 uspace/lib/gfx/test/coord.c gfx_coord2_subtract(&a, &b, &d);
a 85 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(a.x - b.x, d.x);
a 86 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(a.y - b.y, d.y);
a 155 uspace/lib/gfx/test/coord.c gfx_coord2_t a, d;
a 168 uspace/lib/gfx/test/coord.c a.x = 10;
a 169 uspace/lib/gfx/test/coord.c a.y = 10;
a 170 uspace/lib/gfx/test/coord.c gfx_coord2_project(&a, &srect, &drect, &d);
a 174 uspace/lib/gfx/test/coord.c a.x = 15;
a 175 uspace/lib/gfx/test/coord.c a.y = 15;
a 176 uspace/lib/gfx/test/coord.c gfx_coord2_project(&a, &srect, &drect, &d);
a 180 uspace/lib/gfx/test/coord.c a.x = 12;
a 181 uspace/lib/gfx/test/coord.c a.y = 16;
a 182 uspace/lib/gfx/test/coord.c gfx_coord2_project(&a, &srect, &drect, &d);
a 186 uspace/lib/gfx/test/coord.c a.x = 20;
a 187 uspace/lib/gfx/test/coord.c a.y = 20;
a 188 uspace/lib/gfx/test/coord.c gfx_coord2_project(&a, &srect, &drect, &d);
a 242 uspace/lib/gfx/test/coord.c gfx_coord_t a, b;
a 244 uspace/lib/gfx/test/coord.c gfx_span_points_sort(1, 2, &a, &b);
a 245 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(1, a);
a 252 uspace/lib/gfx/test/coord.c gfx_coord_t a, b;
a 254 uspace/lib/gfx/test/coord.c gfx_span_points_sort(1, 1, &a, &b);
a 255 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(1, a);
a 262 uspace/lib/gfx/test/coord.c gfx_coord_t a, b;
a 264 uspace/lib/gfx/test/coord.c gfx_span_points_sort(1, 0, &a, &b);
a 265 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(1, a);
a 272 uspace/lib/gfx/test/coord.c gfx_rect_t a;
a 276 uspace/lib/gfx/test/coord.c a.p0.x = 0;
a 277 uspace/lib/gfx/test/coord.c a.p0.y = 0;
a 278 uspace/lib/gfx/test/coord.c a.p1.x = 0;
a 279 uspace/lib/gfx/test/coord.c a.p1.y = 0;
a 286 uspace/lib/gfx/test/coord.c gfx_rect_envelope(&a, &b, &e);
a 296 uspace/lib/gfx/test/coord.c gfx_rect_t a;
a 300 uspace/lib/gfx/test/coord.c a.p0.x = 1;
a 301 uspace/lib/gfx/test/coord.c a.p0.y = 2;
a 302 uspace/lib/gfx/test/coord.c a.p1.x = 3;
a 303 uspace/lib/gfx/test/coord.c a.p1.y = 4;
a 310 uspace/lib/gfx/test/coord.c gfx_rect_envelope(&a, &b, &e);
a 320 uspace/lib/gfx/test/coord.c gfx_rect_t a;
a 324 uspace/lib/gfx/test/coord.c a.p0.x = 1;
a 325 uspace/lib/gfx/test/coord.c a.p0.y = 2;
a 326 uspace/lib/gfx/test/coord.c a.p1.x = 3;
a 327 uspace/lib/gfx/test/coord.c a.p1.y = 4;
a 334 uspace/lib/gfx/test/coord.c gfx_rect_envelope(&a, &b, &e);
a 344 uspace/lib/gfx/test/coord.c gfx_rect_t a;
a 348 uspace/lib/gfx/test/coord.c a.p0.x = 5;
a 349 uspace/lib/gfx/test/coord.c a.p0.y = 6;
a 350 uspace/lib/gfx/test/coord.c a.p1.x = 7;
a 351 uspace/lib/gfx/test/coord.c a.p1.y = 8;
a 358 uspace/lib/gfx/test/coord.c gfx_rect_envelope(&a, &b, &e);
a 368 uspace/lib/gfx/test/coord.c gfx_rect_t a;
a 372 uspace/lib/gfx/test/coord.c a.p0.x = 1;
a 373 uspace/lib/gfx/test/coord.c a.p0.y = 2;
a 374 uspace/lib/gfx/test/coord.c a.p1.x = 7;
a 375 uspace/lib/gfx/test/coord.c a.p1.y = 8;
a 382 uspace/lib/gfx/test/coord.c gfx_rect_envelope(&a, &b, &e);
a 392 uspace/lib/gfx/test/coord.c gfx_rect_t a;
a 396 uspace/lib/gfx/test/coord.c a.p0.x = 3;
a 397 uspace/lib/gfx/test/coord.c a.p0.y = 4;
a 398 uspace/lib/gfx/test/coord.c a.p1.x = 5;
a 399 uspace/lib/gfx/test/coord.c a.p1.y = 6;
a 406 uspace/lib/gfx/test/coord.c gfx_rect_envelope(&a, &b, &e);
a 416 uspace/lib/gfx/test/coord.c gfx_rect_t a;
a 420 uspace/lib/gfx/test/coord.c a.p0.x = 1;
a 421 uspace/lib/gfx/test/coord.c a.p0.y = 2;
a 422 uspace/lib/gfx/test/coord.c a.p1.x = 4;
a 423 uspace/lib/gfx/test/coord.c a.p1.y = 3;
a 430 uspace/lib/gfx/test/coord.c gfx_rect_envelope(&a, &b, &e);
a 602 uspace/lib/gfx/test/coord.c gfx_rect_t a;
a 613 uspace/lib/gfx/test/coord.c a.p0.x = 100;
a 614 uspace/lib/gfx/test/coord.c a.p0.y = 200;
a 615 uspace/lib/gfx/test/coord.c a.p1.x = 120;
a 616 uspace/lib/gfx/test/coord.c a.p1.y = 220;
a 619 uspace/lib/gfx/test/coord.c gfx_rect_ctr_on_rect(&a, &b, &dest);
a 626 uspace/lib/gfx/test/coord.c a.p0.x = 100;
a 627 uspace/lib/gfx/test/coord.c a.p0.y = 200;
a 628 uspace/lib/gfx/test/coord.c a.p1.x = 110;
a 629 uspace/lib/gfx/test/coord.c a.p1.y = 210;
a 631 uspace/lib/gfx/test/coord.c gfx_rect_ctr_on_rect(&a, &b, &dest);
a 743 uspace/lib/gfx/test/coord.c gfx_rect_t a;
a 746 uspace/lib/gfx/test/coord.c a.p0.x = 1;
a 747 uspace/lib/gfx/test/coord.c a.p0.y = 2;
a 748 uspace/lib/gfx/test/coord.c a.p1.x = 3;
a 749 uspace/lib/gfx/test/coord.c a.p1.y = 4;
a 756 uspace/lib/gfx/test/coord.c PCUT_ASSERT_FALSE(gfx_rect_is_incident(&a, &b));
a 762 uspace/lib/gfx/test/coord.c gfx_rect_t a;
a 765 uspace/lib/gfx/test/coord.c a.p0.x = 2;
a 766 uspace/lib/gfx/test/coord.c a.p0.y = 3;
a 767 uspace/lib/gfx/test/coord.c a.p1.x = 4;
a 768 uspace/lib/gfx/test/coord.c a.p1.y = 5;
a 775 uspace/lib/gfx/test/coord.c PCUT_ASSERT_TRUE(gfx_rect_is_incident(&a, &b));
a 781 uspace/lib/gfx/test/coord.c gfx_rect_t a;
a 784 uspace/lib/gfx/test/coord.c a.p0.x = 1;
a 785 uspace/lib/gfx/test/coord.c a.p0.y = 2;
a 786 uspace/lib/gfx/test/coord.c a.p1.x = 5;
a 787 uspace/lib/gfx/test/coord.c a.p1.y = 6;
a 794 uspace/lib/gfx/test/coord.c PCUT_ASSERT_TRUE(gfx_rect_is_incident(&a, &b));
a 800 uspace/lib/gfx/test/coord.c gfx_rect_t a;
a 803 uspace/lib/gfx/test/coord.c a.p0.x = 1;
a 804 uspace/lib/gfx/test/coord.c a.p0.y = 2;
a 805 uspace/lib/gfx/test/coord.c a.p1.x = 3;
a 806 uspace/lib/gfx/test/coord.c a.p1.y = 4;
a 813 uspace/lib/gfx/test/coord.c PCUT_ASSERT_TRUE(gfx_rect_is_incident(&a, &b));
a 819 uspace/lib/gfx/test/coord.c gfx_rect_t a;
a 822 uspace/lib/gfx/test/coord.c a.p0.x = 1;
a 823 uspace/lib/gfx/test/coord.c a.p0.y = 2;
a 824 uspace/lib/gfx/test/coord.c a.p1.x = 3;
a 825 uspace/lib/gfx/test/coord.c a.p1.y = 4;
a 832 uspace/lib/gfx/test/coord.c PCUT_ASSERT_TRUE(gfx_rect_is_incident(&a, &b));
a 838 uspace/lib/gfx/test/coord.c gfx_rect_t a;
a 841 uspace/lib/gfx/test/coord.c a.p0.x = 2;
a 842 uspace/lib/gfx/test/coord.c a.p0.y = 3;
a 843 uspace/lib/gfx/test/coord.c a.p1.x = 4;
a 844 uspace/lib/gfx/test/coord.c a.p1.y = 5;
a 851 uspace/lib/gfx/test/coord.c PCUT_ASSERT_TRUE(gfx_rect_is_inside(&a, &b));
a 857 uspace/lib/gfx/test/coord.c gfx_rect_t a;
a 860 uspace/lib/gfx/test/coord.c a.p0.x = 1;
a 861 uspace/lib/gfx/test/coord.c a.p0.y = 2;
a 862 uspace/lib/gfx/test/coord.c a.p1.x = 3;
a 863 uspace/lib/gfx/test/coord.c a.p1.y = 4;
a 870 uspace/lib/gfx/test/coord.c PCUT_ASSERT_TRUE(gfx_rect_is_inside(&a, &b));
a 876 uspace/lib/gfx/test/coord.c gfx_rect_t a;
a 879 uspace/lib/gfx/test/coord.c a.p0.x = 0;
a 880 uspace/lib/gfx/test/coord.c a.p0.y = 2;
a 881 uspace/lib/gfx/test/coord.c a.p1.x = 3;
a 882 uspace/lib/gfx/test/coord.c a.p1.y = 4;
a 889 uspace/lib/gfx/test/coord.c PCUT_ASSERT_FALSE(gfx_rect_is_inside(&a, &b));
a 891 uspace/lib/gfx/test/coord.c a.p0.x = 1;
a 892 uspace/lib/gfx/test/coord.c a.p0.y = 1;
a 893 uspace/lib/gfx/test/coord.c a.p1.x = 3;
a 894 uspace/lib/gfx/test/coord.c a.p1.y = 4;
a 901 uspace/lib/gfx/test/coord.c PCUT_ASSERT_FALSE(gfx_rect_is_inside(&a, &b));
a 907 uspace/lib/gfx/test/coord.c gfx_rect_t a;
a 910 uspace/lib/gfx/test/coord.c a.p0.x = 1;
a 911 uspace/lib/gfx/test/coord.c a.p0.y = 2;
a 912 uspace/lib/gfx/test/coord.c a.p1.x = 4;
a 913 uspace/lib/gfx/test/coord.c a.p1.y = 4;
a 920 uspace/lib/gfx/test/coord.c PCUT_ASSERT_FALSE(gfx_rect_is_inside(&a, &b));
a 922 uspace/lib/gfx/test/coord.c a.p0.x = 1;
a 923 uspace/lib/gfx/test/coord.c a.p0.y = 2;
a 924 uspace/lib/gfx/test/coord.c a.p1.x = 3;
a 925 uspace/lib/gfx/test/coord.c a.p1.y = 5;
a 932 uspace/lib/gfx/test/coord.c PCUT_ASSERT_FALSE(gfx_rect_is_inside(&a, &b));
a 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)
a 111 uspace/lib/http/src/receive-buffer.c if (a->offset > b->offset)
a 114 uspace/lib/http/src/receive-buffer.c size_t size = b->offset - a->offset;
a 119 uspace/lib/http/src/receive-buffer.c memcpy(buf, rb->buffer + a->offset, size);
a 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)
a 127 uspace/lib/http/src/receive-buffer.c if (a->offset > b->offset)
a 130 uspace/lib/http/src/receive-buffer.c size_t size = b->offset - a->offset;
a 135 uspace/lib/http/src/receive-buffer.c memcpy(buf, rb->buffer + a->offset, size);
a 191 uspace/lib/ieee80211/src/ieee80211_impl.c const char *a = "Pairwise key expansion";
a 195 uspace/lib/ieee80211/src/ieee80211_impl.c size_t data_size = PRF_CRYPT_DATA_LENGTH + str_size(a) + 2;
a 199 uspace/lib/ieee80211/src/ieee80211_impl.c memcpy(work_arr, a, str_size(a));
a 200 uspace/lib/ieee80211/src/ieee80211_impl.c memcpy(work_arr + str_size(a) + 1, data, PRF_CRYPT_DATA_LENGTH);
a 234 uspace/lib/ieee80211/src/ieee80211_impl.c uint8_t a[8];
a 236 uspace/lib/ieee80211/src/ieee80211_impl.c memcpy(a, data, 8);
a 247 uspace/lib/ieee80211/src/ieee80211_impl.c a[k] ^= shb;
a 251 uspace/lib/ieee80211/src/ieee80211_impl.c memcpy(work_input, a, 8);
a 254 uspace/lib/ieee80211/src/ieee80211_impl.c memcpy(a, work_output, 8);
a 261 uspace/lib/ieee80211/src/ieee80211_impl.c if (a[it] != 0xa6)
a 46 uspace/lib/inet/include/inet/eth_addr.h { .a = ((uint64_t)(aa) << 40) | ((uint64_t)(bb) << 32) | \
a 66 uspace/lib/inet/include/inet/eth_addr.h uint64_t a;
a 79 uspace/lib/inet/src/addr.c int addr128_compare(const addr128_t a, const addr128_t b)
a 81 uspace/lib/inet/src/addr.c return memcmp(a, b, 16) == 0;
a 93 uspace/lib/inet/src/addr.c mac->a = inet_eth_addr_solicited_node.a;
a 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)
a 113 uspace/lib/inet/src/addr.c addr->addr = ((addr32_t) a << 24) | ((addr32_t) b << 16) |
a 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,
a 121 uspace/lib/inet/src/addr.c naddr->addr = ((addr32_t) a << 24) | ((addr32_t) b << 16) |
a 126 uspace/lib/inet/src/addr.c void inet_addr6(inet_addr_t *addr, uint16_t a, uint16_t b, uint16_t c,
a 130 uspace/lib/inet/src/addr.c addr->addr6[0] = (a >> 8) & 0xff;
a 131 uspace/lib/inet/src/addr.c addr->addr6[1] = a & 0xff;
a 148 uspace/lib/inet/src/addr.c void inet_naddr6(inet_naddr_t *naddr, uint16_t a, uint16_t b, uint16_t c,
a 152 uspace/lib/inet/src/addr.c naddr->addr6[0] = (a >> 8) & 0xff;
a 153 uspace/lib/inet/src/addr.c naddr->addr6[1] = a & 0xff;
a 198 uspace/lib/inet/src/addr.c int inet_addr_compare(const inet_addr_t *a, const inet_addr_t *b)
a 200 uspace/lib/inet/src/addr.c if (a->version != b->version)
a 203 uspace/lib/inet/src/addr.c switch (a->version) {
a 205 uspace/lib/inet/src/addr.c return (a->addr == b->addr);
a 207 uspace/lib/inet/src/addr.c return addr128_compare(a->addr6, b->addr6);
a 282 uspace/lib/inet/src/addr.c uint32_t a = 0;
a 292 uspace/lib/inet/src/addr.c a = (a << 8) + b;
a 320 uspace/lib/inet/src/addr.c raddr->addr = a;
a 54 uspace/lib/inet/src/eth_addr.c uint64_t a;
a 57 uspace/lib/inet/src/eth_addr.c a = addr->a;
a 60 uspace/lib/inet/src/eth_addr.c buf[i] = (a >> (40 - 8 * i)) & 0xff;
a 73 uspace/lib/inet/src/eth_addr.c uint64_t a;
a 76 uspace/lib/inet/src/eth_addr.c a = 0;
a 78 uspace/lib/inet/src/eth_addr.c a |= (uint64_t)buf[i] << (40 - 8 * i);
a 80 uspace/lib/inet/src/eth_addr.c addr->a = a;
a 90 uspace/lib/inet/src/eth_addr.c int eth_addr_compare(const eth_addr_t *a, const eth_addr_t *b)
a 92 uspace/lib/inet/src/eth_addr.c if (a->a < b->a)
a 94 uspace/lib/inet/src/eth_addr.c else if (a->a == b->a)
a 111 uspace/lib/inet/src/eth_addr.c (unsigned)((addr->a >> 40) & 0xff));
a 114 uspace/lib/inet/src/eth_addr.c (unsigned)((addr->a >> (40 - i * 8)) & 0xff));
a 42 uspace/lib/inet/test/eth_addr.c PCUT_ASSERT_INT_EQUALS(0x112233445566, addr.a);
a 52 uspace/lib/inet/test/eth_addr.c PCUT_ASSERT_INT_EQUALS(0x112233445566, addr.a);
a 61 uspace/lib/inet/test/eth_addr.c addr.a = 0x112233445566;
a 75 uspace/lib/inet/test/eth_addr.c eth_addr_t a;
a 78 uspace/lib/inet/test/eth_addr.c a.a = 1;
a 79 uspace/lib/inet/test/eth_addr.c b.a = 2;
a 80 uspace/lib/inet/test/eth_addr.c PCUT_ASSERT_INT_EQUALS(-1, eth_addr_compare(&a, &b));
a 82 uspace/lib/inet/test/eth_addr.c a.a = 2;
a 83 uspace/lib/inet/test/eth_addr.c b.a = 2;
a 84 uspace/lib/inet/test/eth_addr.c PCUT_ASSERT_INT_EQUALS(0, eth_addr_compare(&a, &b));
a 86 uspace/lib/inet/test/eth_addr.c a.a = 2;
a 87 uspace/lib/inet/test/eth_addr.c b.a = 1;
a 88 uspace/lib/inet/test/eth_addr.c PCUT_ASSERT_INT_EQUALS(1, eth_addr_compare(&a, &b));
a 50 uspace/lib/label/include/std/fat.h #define FAT_CLUSTER_DOUBLE_SIZE(a) ((a) / 4)
a 58 uspace/lib/pcm/include/pcm/format.h static inline size_t pcm_format_frame_size(const pcm_format_t *a)
a 60 uspace/lib/pcm/include/pcm/format.h return pcm_sample_format_frame_size(a->channels, a->sample_format);
a 70 uspace/lib/pcm/include/pcm/format.h const pcm_format_t *a)
a 72 uspace/lib/pcm/include/pcm/format.h return pcm_sample_format_size_to_frames(size, a->channels,
a 73 uspace/lib/pcm/include/pcm/format.h a->sample_format);
a 82 uspace/lib/pcm/include/pcm/format.h static inline usec_t pcm_format_size_to_usec(size_t size, const pcm_format_t *a)
a 84 uspace/lib/pcm/include/pcm/format.h return pcm_sample_format_size_to_usec(size, a->sampling_rate,
a 85 uspace/lib/pcm/include/pcm/format.h a->channels, a->sample_format);
a 88 uspace/lib/pcm/include/pcm/format.h bool pcm_format_same(const pcm_format_t *a, const pcm_format_t *b);
a 103 uspace/lib/pcm/include/pcm/format.h errno_t pcm_format_convert(pcm_format_t a, void *srca, size_t sizea,
a 81 uspace/lib/pcm/src/format.c bool pcm_format_same(const pcm_format_t *a, const pcm_format_t *b)
a 83 uspace/lib/pcm/src/format.c assert(a);
a 86 uspace/lib/pcm/src/format.c a->sampling_rate == b->sampling_rate &&
a 87 uspace/lib/pcm/src/format.c a->channels == b->channels &&
a 88 uspace/lib/pcm/src/format.c a->sample_format == b->sample_format;
a 202 uspace/lib/pcm/src/format.c const float a = \
a 206 uspace/lib/pcm/src/format.c float c = (a + b); \
a 68 uspace/lib/pcut/include/pcut/asserts.h int pcut_str_equals(const char *a, const char *b);
a 38 uspace/lib/pcut/include/pcut/helper.h #define PCUT_JOIN_IMPL(a, b) a##b
a 41 uspace/lib/pcut/include/pcut/helper.h #define PCUT_JOIN(a, b) PCUT_JOIN_IMPL(a, b)
a 161 uspace/lib/pcut/src/internal.h int pcut_str_start_equals(const char *a, const char *b, int len);
a 48 uspace/lib/pcut/src/os/helenos.c int pcut_str_equals(const char *a, const char *b) {
a 49 uspace/lib/pcut/src/os/helenos.c return str_cmp(a, b) == 0;
a 53 uspace/lib/pcut/src/os/helenos.c int pcut_str_start_equals(const char *a, const char *b, int len) {
a 54 uspace/lib/pcut/src/os/helenos.c return str_lcmp(a, b, len) == 0;
a 40 uspace/lib/pcut/src/os/stdc.c int pcut_str_equals(const char *a, const char *b) {
a 41 uspace/lib/pcut/src/os/stdc.c return strcmp(a, b) == 0;
a 44 uspace/lib/pcut/src/os/stdc.c int pcut_str_start_equals(const char *a, const char *b, int len) {
a 45 uspace/lib/pcut/src/os/stdc.c return strncmp(a, b, len) == 0;
a 31 uspace/lib/pcut/tests/tested.c #define UNUSED(a) ((void)a)
a 38 uspace/lib/pcut/tests/tested.c int intmin(int a, int b) {
a 40 uspace/lib/pcut/tests/tested.c return a;
a 34 uspace/lib/pcut/tests/tested.h int intmin(int a, int b);
a 42 uspace/lib/posix/include/common/adt/gcdlcm.h static inline type name(type a, type b) \
a 44 uspace/lib/posix/include/common/adt/gcdlcm.h if (a == 0) \
a 48 uspace/lib/posix/include/common/adt/gcdlcm.h if (a > b) \
a 49 uspace/lib/posix/include/common/adt/gcdlcm.h a -= b; \
a 51 uspace/lib/posix/include/common/adt/gcdlcm.h b -= a; \
a 54 uspace/lib/posix/include/common/adt/gcdlcm.h return a; \
a 58 uspace/lib/posix/include/common/adt/gcdlcm.h static inline type name(type a, type b) \
a 60 uspace/lib/posix/include/common/adt/gcdlcm.h return (a * b) / gcd(a, b); \
a 43 uspace/lib/posix/include/libc/align.h #define ALIGN_DOWN(s, a) ((s) & ~((typeof(s))(a) - 1))
a 50 uspace/lib/posix/include/libc/align.h #define ALIGN_UP(s, a) ((((s) + ((a) - 1)) & ~((typeof(s))(a) - 1)))
a 51 uspace/lib/posix/include/libc/io/pixel.h #define PIXEL(a, r, g, b) \
a 52 uspace/lib/posix/include/libc/io/pixel.h ((((unsigned)(a) & 0xff) << 24) | (((unsigned)(r) & 0xff) << 16) | \
a 38 uspace/lib/posix/include/libc/macros.h #define min(a, b) ((a) < (b) ? (a) : (b))
a 39 uspace/lib/posix/include/libc/macros.h #define max(a, b) ((a) > (b) ? (a) : (b))
a 40 uspace/lib/posix/include/libc/macros.h #define mabs(a) ((a) >= 0 ? (a) : -(a))
a 65 uspace/lib/posix/include/libc/types/adt/odict.h odlink_t *a;
a 1087 uspace/lib/sif/src/sif.c static int sif_attr_cmp(void *a, void *b)
a 1091 uspace/lib/sif/src/sif.c ca = (char *)a;
a 204 uspace/lib/trackmod/trackmod.c static void divmod_floor(int a, int b, int *quot, int *rem)
a 207 uspace/lib/trackmod/trackmod.c a = -a;
a 211 uspace/lib/trackmod/trackmod.c if (a >= 0) {
a 212 uspace/lib/trackmod/trackmod.c *quot = a / b;
a 213 uspace/lib/trackmod/trackmod.c *rem = a % b;
a 215 uspace/lib/trackmod/trackmod.c *quot = -(-a + (b - 1)) / b;
a 216 uspace/lib/trackmod/trackmod.c *rem = a - (*quot * b);
a 442 uspace/lib/ui/src/filelist.c ui_file_list_entry_t *a;
a 446 uspace/lib/ui/src/filelist.c a = (ui_file_list_entry_t *)ui_list_entry_get_arg(ea);
a 450 uspace/lib/ui/src/filelist.c dcmp = b->isdir - a->isdir;
a 454 uspace/lib/ui/src/filelist.c return str_cmp(a->name, b->name);
a 1648 uspace/lib/ui/src/list.c ui_list_entry_t *a = *(ui_list_entry_t **)pa;
a 1651 uspace/lib/ui/src/list.c return a->list->cb->compare(a, b);
a 87 uspace/lib/ui/test/accel.c char32_t a;
a 89 uspace/lib/ui/test/accel.c a = ui_accel_get("");
a 90 uspace/lib/ui/test/accel.c PCUT_ASSERT_EQUALS('\0', a);
a 92 uspace/lib/ui/test/accel.c a = ui_accel_get("Hello");
a 93 uspace/lib/ui/test/accel.c PCUT_ASSERT_EQUALS('\0', a);
a 95 uspace/lib/ui/test/accel.c a = ui_accel_get("~~");
a 96 uspace/lib/ui/test/accel.c PCUT_ASSERT_EQUALS('\0', a);
a 98 uspace/lib/ui/test/accel.c a = ui_accel_get("~~Hello~~");
a 99 uspace/lib/ui/test/accel.c PCUT_ASSERT_EQUALS('\0', a);
a 101 uspace/lib/ui/test/accel.c a = ui_accel_get("~H~ello");
a 102 uspace/lib/ui/test/accel.c PCUT_ASSERT_EQUALS('h', a);
a 104 uspace/lib/ui/test/accel.c a = ui_accel_get("H~e~llo");
a 105 uspace/lib/ui/test/accel.c PCUT_ASSERT_EQUALS('e', a);
a 674 uspace/lib/ui/test/filelist.c ui_file_list_entry_t *a, *b;
a 703 uspace/lib/ui/test/filelist.c a = ui_file_list_first(flist);
a 704 uspace/lib/ui/test/filelist.c PCUT_ASSERT_NOT_NULL(a);
a 705 uspace/lib/ui/test/filelist.c b = ui_file_list_next(a);
a 709 uspace/lib/ui/test/filelist.c rel = ui_file_list_list_compare(a->entry, b->entry);
a 713 uspace/lib/ui/test/filelist.c rel = ui_file_list_list_compare(b->entry, a->entry);
a 717 uspace/lib/ui/test/filelist.c rel = ui_file_list_list_compare(a->entry, a->entry);
a 1363 uspace/lib/ui/test/list.c ui_list_entry_t *a, *b, *c, *d, *e;
a 1396 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, &a);
a 1408 uspace/lib/ui/test/list.c PCUT_ASSERT_EQUALS(a, list->page);
a 2966 uspace/lib/ui/test/list.c ui_list_entry_t *a, *b;
a 2998 uspace/lib/ui/test/list.c a = ui_list_first(list);
a 2999 uspace/lib/ui/test/list.c PCUT_ASSERT_NOT_NULL(a);
a 3000 uspace/lib/ui/test/list.c b = ui_list_next(a);
a 3004 uspace/lib/ui/test/list.c rel = ui_list_entry_ptr_cmp(&a, &b);
a 3008 uspace/lib/ui/test/list.c rel = ui_list_entry_ptr_cmp(&b, &a);
a 3012 uspace/lib/ui/test/list.c rel = ui_list_entry_ptr_cmp(&a, &a);
a 3027 uspace/lib/ui/test/list.c ui_list_entry_t *a, *b;
a 3050 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, &a);
a 3058 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(0, ui_list_entry_get_idx(a));
a 3082 uspace/lib/ui/test/list.c static int test_list_compare(ui_list_entry_t *a, ui_list_entry_t *b)
a 3084 uspace/lib/ui/test/list.c return str_cmp(a->caption, b->caption);
a 102 uspace/lib/usb/include/usb/usb.h static inline bool usb_address_is_valid(usb_address_t a)
a 104 uspace/lib/usb/include/usb/usb.h return a <= USB11_ADDRESS_MAX;
a 148 uspace/lib/usb/include/usb/usb.h static inline bool usb_target_same(usb_target_t a, usb_target_t b)
a 150 uspace/lib/usb/include/usb/usb.h return (a.address == b.address) && (a.endpoint == b.endpoint);
a 132 uspace/lib/usb/src/dump.c #define BCD_INT(a) (((unsigned int)(a)) / 256)
a 133 uspace/lib/usb/src/dump.c #define BCD_FRAC(a) (((unsigned int)(a)) % 256)
a 136 uspace/lib/usb/src/dump.c #define BCD_ARGS(a) BCD_INT((a)), BCD_FRAC((a))
a 46 uspace/lib/usbdev/src/recognise.c #define BCD_INT(a) (((unsigned int)(a)) / 256)
a 48 uspace/lib/usbdev/src/recognise.c #define BCD_FRAC(a) (((unsigned int)(a)) % 256)
a 53 uspace/lib/usbdev/src/recognise.c #define BCD_ARGS(a) BCD_INT((a)), BCD_FRAC((a))
a 56 uspace/lib/usbhid/src/hidparser.c static int usb_pow(int a, int b)
a 63 uspace/lib/usbhid/src/hidparser.c return a;
a 66 uspace/lib/usbhid/src/hidparser.c return a * usb_pow(a, b - 1);
a 55 uspace/srv/net/inetsrv/pdu.c static uint16_t inet_ocadd16(uint16_t a, uint16_t b)
a 59 uspace/srv/net/inetsrv/pdu.c s = (uint32_t)a + (uint32_t)b;
a 55 uspace/srv/net/tcp/pdu.c static uint16_t tcp_ocadd16(uint16_t a, uint16_t b)
a 59 uspace/srv/net/tcp/pdu.c s = (uint32_t)a + (uint32_t)b;
a 44 uspace/srv/net/tcp/seq_no.c static bool seq_no_le_lt(uint32_t a, uint32_t b, uint32_t c)
a 46 uspace/srv/net/tcp/seq_no.c if (a <= c) {
a 47 uspace/srv/net/tcp/seq_no.c return (a <= b) && (b < c);
a 49 uspace/srv/net/tcp/seq_no.c return (b < c) || (a <= b);
a 54 uspace/srv/net/tcp/seq_no.c static bool seq_no_lt_le(uint32_t a, uint32_t b, uint32_t c)
a 56 uspace/srv/net/tcp/seq_no.c if (a <= c) {
a 57 uspace/srv/net/tcp/seq_no.c return (a < b) && (b <= c);
a 59 uspace/srv/net/tcp/seq_no.c return (b <= c) || (a < b);
a 231 uspace/srv/net/tcp/test/conn.c inet_ep2_t a, fa;
a 233 uspace/srv/net/tcp/test/conn.c inet_addr(&a.local.addr, 1, 2, 3, 4);
a 234 uspace/srv/net/tcp/test/conn.c a.local.port = 1234;
a 235 uspace/srv/net/tcp/test/conn.c inet_addr(&a.remote.addr, 5, 6, 7, 8);
a 236 uspace/srv/net/tcp/test/conn.c a.remote.port = 5678;
a 238 uspace/srv/net/tcp/test/conn.c tcp_ep2_flipped(&a, &fa);
a 240 uspace/srv/net/tcp/test/conn.c PCUT_ASSERT_INT_EQUALS(a.local.port, fa.remote.port);
a 241 uspace/srv/net/tcp/test/conn.c PCUT_ASSERT_INT_EQUALS(a.remote.port, fa.local.port);
a 243 uspace/srv/net/tcp/test/conn.c PCUT_ASSERT_TRUE(inet_addr_compare(&a.local.addr, &fa.remote.addr));
a 244 uspace/srv/net/tcp/test/conn.c PCUT_ASSERT_TRUE(inet_addr_compare(&a.remote.addr, &fa.local.addr));
a 37 uspace/srv/net/tcp/test/main.c void test_seg_same(tcp_segment_t *a, tcp_segment_t *b)
a 39 uspace/srv/net/tcp/test/main.c PCUT_ASSERT_INT_EQUALS(a->ctrl, b->ctrl);
a 40 uspace/srv/net/tcp/test/main.c PCUT_ASSERT_INT_EQUALS(a->seq, b->seq);
a 41 uspace/srv/net/tcp/test/main.c PCUT_ASSERT_INT_EQUALS(a->ack, b->ack);
a 42 uspace/srv/net/tcp/test/main.c PCUT_ASSERT_INT_EQUALS(a->len, b->len);
a 43 uspace/srv/net/tcp/test/main.c PCUT_ASSERT_INT_EQUALS(a->wnd, b->wnd);
a 44 uspace/srv/net/tcp/test/main.c PCUT_ASSERT_INT_EQUALS(a->up, b->up);
a 45 uspace/srv/net/tcp/test/main.c PCUT_ASSERT_INT_EQUALS(tcp_segment_text_size(a),
a 47 uspace/srv/net/tcp/test/main.c if (tcp_segment_text_size(a) != 0)
a 48 uspace/srv/net/tcp/test/main.c PCUT_ASSERT_NOT_NULL(a->data);
a 51 uspace/srv/net/tcp/test/main.c if (tcp_segment_text_size(a) != 0) {
a 52 uspace/srv/net/tcp/test/main.c PCUT_ASSERT_INT_EQUALS(0, memcmp(a->data, b->data,
a 53 uspace/srv/net/tcp/test/main.c tcp_segment_text_size(a)));
a 54 uspace/srv/net/udp/pdu.c static uint16_t udp_ocadd16(uint16_t a, uint16_t b)
a 58 uspace/srv/net/udp/pdu.c s = (uint32_t)a + (uint32_t)b;
a 63 uspace/srv/vfs/vfs_ops.c static size_t shared_path(char *a, char *b)
a 67 uspace/srv/vfs/vfs_ops.c while (a[res] == b[res] && a[res] != 0)
a 70 uspace/srv/vfs/vfs_ops.c if (a[res] == b[res])
a 74 uspace/srv/vfs/vfs_ops.c while (a[res] != '/')
HelenOS homepage, sources at GitHub