Home
last modified time | relevance | path

Searched refs:abs (Results 1 – 8 of 8) sorted by relevance

/system/core/libpixelflinger/codeflinger/
DARMAssemblerInterface.cpp45 LOG_ALWAYS_FATAL_IF(abs(immed12) >= 0x800, in __immed12_pre()
49 ((W&1)<<21) | (abs(immed12)&0x7FF); in __immed12_pre()
54 uint32_t offset = abs(immed8); in __immed8_pre()
56 LOG_ALWAYS_FATAL_IF(abs(immed8) >= 0x100, in __immed8_pre()
DARMAssembler.cpp529 LOG_ALWAYS_FATAL_IF(abs(immed12) >= 0x800, in immed12_pre()
533 ((W&1)<<21) | (abs(immed12)&0x7FF); in immed12_pre()
538 LOG_ALWAYS_FATAL_IF(abs(immed12) >= 0x800, in immed12_post()
542 return (((uint32_t(immed12)>>31)^1)<<23) | (abs(immed12)&0x7FF); in immed12_post()
550 reg_imm(abs(Rm), type, shift); in reg_scale_pre()
555 return (1<<25) | (((uint32_t(Rm)>>31)^1)<<23) | reg_imm(abs(Rm), type, shift); in reg_scale_post()
561 uint32_t offset = abs(immed8); in immed8_pre()
563 LOG_ALWAYS_FATAL_IF(abs(immed8) >= 0x100, in immed8_pre()
573 uint32_t offset = abs(immed8); in immed8_post()
575 LOG_ALWAYS_FATAL_IF(abs(immed8) >= 0x100, in immed8_post()
[all …]
DMIPSAssembler.cpp259 LOG_ALWAYS_FATAL_IF(abs(immed12) >= 0x800, in immed12_pre()
269 LOG_ALWAYS_FATAL_IF(abs(immed12) >= 0x800, in immed12_post()
302 LOG_ALWAYS_FATAL_IF(abs(immed8) >= 0x100, in immed8_pre()
312 LOG_ALWAYS_FATAL_IF(abs(immed8) >= 0x100, in immed8_post()
916 mMips->SUBU(R_at, Rn, abs(amode.reg)); in LDRH()
958 mMips->SUBU(R_at, Rn, abs(amode.reg)); in STRH()
/system/core/toolbox/
Dgetevent.c195 struct input_absinfo abs; in print_possible_events() local
196 if(ioctl(fd, EVIOCGABS(j * 8 + k), &abs) == 0) { in print_possible_events()
198 abs.value, abs.minimum, abs.maximum, abs.fuzz, abs.flat, in print_possible_events()
199 abs.resolution); in print_possible_events()
/system/media/audio_utils/tests/
Dprimitives_tests.cpp53 int diff = abs(uval - uval2); in testClamp8()
73 int diff = abs(ival - ival2); in testClamp16()
93 int diff = abs(ival - ival2); in testClamp24()
/system/core/healthd/
DBatteryMonitor.cpp252 abs(props.batteryTemperature / 10), in update()
253 abs(props.batteryTemperature % 10), props.batteryHealth, in update()
/system/core/libpixelflinger/
Dtrap.cpp356 const GGLcoord dx = abs(v0[0] - v1[0]); in linex()
357 const GGLcoord dy = abs(v0[1] - v1[1]); in linex()
894 edge->y_incr = abs(gglDivQ16(dy, dx)); in aa_edge_setup()
/system/media/audio_utils/
Decho_reference.c396 if (abs(deltaNs) >= MIN_DELAY_DELTA_NS) { in echo_reference_read()