| /src/sys/dev/wscons/ |
| tpcalib.c | 56 #define SCALE (1024) 80 *x = (sc->sc_ax * rawx + sc->sc_bx * rawy) / SCALE + sc->sc_cx; 81 *y = (sc->sc_ay * rawx + sc->sc_by * rawy) / SCALE + sc->sc_cy; 109 d->samplelen, SCALE, 114 d->samplelen, SCALE,
|
| /src/usr.bin/time/ |
| time.c | 167 #define SCALE(x) (long)(ticks ? x / ticks : 0) 172 prl(SCALE(ru.ru_ixrss), "average shared memory size"); 173 prl(SCALE(ru.ru_idrss), "average unshared data size"); 174 prl(SCALE(ru.ru_isrss), "average unshared stack size");
|
| /src/external/gpl3/gcc/dist/gcc/config/aarch64/ |
| fractional-cost.h | 24 // See the comment above the SCALE field for the current set of 31 : m_value (uint64_t (int_value) * SCALE) {} 52 static uint32_t scale (uint32_t, fractional_cost, fractional_cost); 57 double as_double () const { return double (m_value) / SCALE; } 66 static const uint32_t SCALE = 11531520; 77 : m_value (CEIL (uint64_t (a) * SCALE, uint64_t (b))) 79 gcc_checking_assert (SCALE % b == 0); 168 if (m_value <= uint64_t (max - 1) * SCALE) 169 return (m_value + SCALE - 1) / SCALE; 175 fractional_cost::scale (uint32_t cost, fractional_cost a, fractional_cost b) function in class:fractional_cost [all...] |
| /src/external/gpl3/gcc.old/dist/gcc/config/aarch64/ |
| fractional-cost.h | 24 // See the comment above the SCALE field for the current set of 31 : m_value (uint64_t (int_value) * SCALE) {} 52 static uint32_t scale (uint32_t, fractional_cost, fractional_cost); 57 double as_double () const { return double (m_value) / SCALE; } 66 static const uint32_t SCALE = 11531520; 77 : m_value (CEIL (uint64_t (a) * SCALE, uint64_t (b))) 79 gcc_checking_assert (SCALE % b == 0); 168 if (m_value <= uint64_t (max - 1) * SCALE) 169 return (m_value + SCALE - 1) / SCALE; 175 fractional_cost::scale (uint32_t cost, fractional_cost a, fractional_cost b) function in class:fractional_cost [all...] |
| /src/external/gpl3/gcc/dist/libcpp/ |
| symtab.cc | 281 #define SCALE(x) ((unsigned long) ((x) < 1024*10 \ 320 SCALE (total_bytes), LABEL (total_bytes)); 326 SCALE (total_bytes), LABEL (total_bytes), 327 SCALE (overhead), LABEL (overhead)); 330 SCALE (headers), LABEL (headers)); 345 #undef SCALE
|
| /src/external/gpl3/gcc.old/dist/libcpp/ |
| symtab.cc | 281 #define SCALE(x) ((unsigned long) ((x) < 1024*10 \ 320 SCALE (total_bytes), LABEL (total_bytes)); 326 SCALE (total_bytes), LABEL (total_bytes), 327 SCALE (overhead), LABEL (overhead)); 330 SCALE (headers), LABEL (headers)); 345 #undef SCALE
|
| /src/sys/dev/acpi/ |
| acpi_bat.c | 482 #define SCALE(x) (((int)x) / 1000000), ((((int)x) % 1000000) / 1000) 506 SCALE(elm[ACPIBAT_BIF_GRANULARITY1].Integer.Value * 1000), unit, 507 SCALE(elm[ACPIBAT_BIF_GRANULARITY2].Integer.Value * 1000), unit);
|
| /src/external/gpl3/binutils/dist/opcodes/ |
| rx-decode.c | 97 static int SCALE[] = { 1, 2, 4, 0 }; 101 #define GET_SCALE(_indx) ((unsigned)(_indx) < ARRAY_SIZE (SCALE) ? SCALE[(_indx)] : 0)
|
| /src/external/gpl3/binutils.old/dist/opcodes/ |
| rx-decode.c | 97 static int SCALE[] = { 1, 2, 4, 0 }; 101 #define GET_SCALE(_indx) ((unsigned)(_indx) < ARRAY_SIZE (SCALE) ? SCALE[(_indx)] : 0)
|
| /src/external/gpl3/gdb/dist/opcodes/ |
| rx-decode.c | 97 static int SCALE[] = { 1, 2, 4, 0 }; 101 #define GET_SCALE(_indx) ((unsigned)(_indx) < ARRAY_SIZE (SCALE) ? SCALE[(_indx)] : 0)
|
| /src/external/gpl3/gdb.old/dist/opcodes/ |
| rx-decode.c | 97 static int SCALE[] = { 1, 2, 4, 0 }; 101 #define GET_SCALE(_indx) ((unsigned)(_indx) < ARRAY_SIZE (SCALE) ? SCALE[(_indx)] : 0)
|
| /src/sys/dev/ic/ |
| arn9003.c | 2317 #define SCALE (1 << 15) 2355 mag[i][j] = (m * SCALE) / p; 2356 phs[i][j] = (c * SCALE) / p; 2367 sin[i] = (sin[i] * SCALE) / div; 2368 cos[i] = (cos[i] * SCALE) / div; 2374 f2 = (f1 * f1 + f3 * f3) / SCALE; 2385 if (txmag == SCALE) 2389 rxmag = mag[0][0] - (cos[0] * txmag + sin[0] * txphs) / SCALE; 2391 rxphs = phs[0][0] + (sin[0] * txmag - cos[0] * txphs) / SCALE; 2393 if (-rxmag == SCALE) 2639 int32_t scale, atemp, avolt, tempcal, voltcal, temp, volt; local 2781 int alpha, beta, scale, Qalpha, Qbeta, Qscale, Qx, Qb1, Qb2; local [all...] |
| /src/games/rogue/ |
| rogue.h | 75 #define SCALE 2
|
| /src/external/gpl3/gdb/dist/sim/aarch64/ |
| simulator.c | 497 /* This can be used to scale an offset by applying 501 #define SCALE(_offset, _elementSize) \ 504 /* This can be used to optionally scale a register derived offset 581 uint64_t addr = aarch64_get_reg_u64 (cpu, rn, SP_OK) + SCALE (offset, 16); 593 uint64_t addr = aarch64_get_reg_u64 (cpu, rn, SP_OK) + SCALE (offset, 32); 605 uint64_t addr = aarch64_get_reg_u64 (cpu, rn, SP_OK) + SCALE (offset, 64); 617 uint64_t addr = aarch64_get_reg_u64 (cpu, rn, SP_OK) + SCALE (offset, 128); 742 + SCALE (offset, 32))); 801 + SCALE (offset, 64))); 976 + SCALE (offset, 16)) 10961 Scaling scale = INSTR (12, 12); local [all...] |
| /src/external/gpl3/gdb.old/dist/sim/aarch64/ |
| simulator.c | 497 /* This can be used to scale an offset by applying 501 #define SCALE(_offset, _elementSize) \ 504 /* This can be used to optionally scale a register derived offset 581 uint64_t addr = aarch64_get_reg_u64 (cpu, rn, SP_OK) + SCALE (offset, 16); 593 uint64_t addr = aarch64_get_reg_u64 (cpu, rn, SP_OK) + SCALE (offset, 32); 605 uint64_t addr = aarch64_get_reg_u64 (cpu, rn, SP_OK) + SCALE (offset, 64); 617 uint64_t addr = aarch64_get_reg_u64 (cpu, rn, SP_OK) + SCALE (offset, 128); 742 + SCALE (offset, 32))); 801 + SCALE (offset, 64))); 976 + SCALE (offset, 16)) 10961 Scaling scale = INSTR (12, 12); local [all...] |