/haiku/src/add-ons/accelerants/intel_810/ |
H A D | i810_dpms.cpp | 41 uint32 tmp = INREG8(DPMS_SYNC_SELECT) & (H_SYNC_OFF | V_SYNC_OFF); local 44 if (tmp == 0 ) 46 else if (tmp == H_SYNC_OFF) 48 else if (tmp == V_SYNC_OFF)
|
/haiku/3rdparty/mmu_man/scripts/ |
H A D | generate_icon_table.sh | 5 tmpf=/tmp/$$_icon_ 16 rm /tmp/$$_icon_*
|
/haiku/src/tests/kits/support/bstring/ |
H A D | StringSubCopyTest.cpp | 34 char tmp[10]; local 35 memset(tmp, 0, 10); 37 string1->CopyInto(tmp, 0, 4); 38 CPPUNIT_ASSERT(strcmp(tmp, "ABC") == 0);
|
/haiku/src/add-ons/kernel/drivers/graphics/radeon/ |
H A D | pll_access.c | 30 uint32 save, tmp; local 51 tmp = save & ~(0x3f | RADEON_PLL_WR_EN); 52 OUTREG( regs, RADEON_CLOCK_CNTL_INDEX, tmp ); 53 tmp = INREG( regs, RADEON_CLOCK_CNTL_DATA ); 87 uint32 tmp = Radeon_INPLL( regs, asic, addr ); local 88 tmp &= mask; 89 tmp |= val; 90 Radeon_OUTPLL( regs, asic, addr, tmp );
|
H A D | bios.c | 121 uint8 *tmp; local 129 tmp = bios_header + 4; 131 if (( *tmp == 'A' 132 && *(tmp+1) == 'T' 133 && *(tmp+2) == 'O' 134 && *(tmp+3) == 'M' 137 ( *tmp == 'M' 138 && *(tmp+1) == 'O' 139 && *(tmp+2) == 'T' 140 && *(tmp 290 int i = 0, j, tmp, tmp0=0, tmp1=0; local 513 uint16 tmp; local 720 uint32 tmp, maxfreq; local 927 uint32 accessible, bar_size, tmp = 0; local [all...] |
/haiku/src/tests/system/libroot/posix/ |
H A D | CryptTest.cpp | 87 char tmp[200]; local 91 strlcpy(tmp, buf, sizeof(tmp)); 92 buf = crypt(PASSWORD, tmp); 93 CPPUNIT_ASSERT(strcmp(buf, tmp) == 0); 109 char tmp[200]; local 116 strlcpy(tmp, buf, sizeof(tmp)); 117 buf = crypt(PASSWORD, tmp); 118 CPPUNIT_ASSERT(strcmp(buf, tmp) [all...] |
/haiku/src/system/libnetwork/netresolv/nameser/ |
H A D | ns_print.c | 122 char tmp[100]; local 155 len = SPRINTF((tmp, " %s %s", p_class(class), p_type(type))); 156 T(addstr(tmp, (size_t)len, &buf, &buflen)); 218 len = SPRINTF((tmp, "%lu", t)); 219 T(addstr(tmp, (size_t)len, &buf, &buflen)); 275 len = SPRINTF((tmp, "%u ", t)); 276 T(addstr(tmp, (size_t)len, &buf, &buflen)); 293 len = SPRINTF((tmp, "%u ", t)); 294 T(addstr(tmp, (size_t)len, &buf, &buflen)); 432 len = SPRINTF((tmp, " [all...] |
/haiku/src/add-ons/kernel/drivers/audio/ice1712/ |
H A D | io.cpp | 278 int16 tmp; local 281 tmp = read_i2c(ice, I2C_EEPROM_ADDRESS_READ, i); 282 if (tmp >= 0) 283 eeprom[i] = (uint8)tmp; 290 tmp = read_i2c(ice, I2C_EEPROM_ADDRESS_READ, i); 291 if (tmp >= 0) 292 eeprom[i] = (uint8)tmp; 475 uint8 tmp; local 477 tmp = read_gpio(ice); 478 tmp | 508 uint8 tmp; local 541 uint8 tmp, data; local [all...] |
/haiku/src/system/libroot/posix/musl/math/ |
H A D | log2f.c | 29 uint32_t ix, iz, top, tmp; local 52 tmp = ix - OFF; 53 i = (tmp >> (23 - LOG2F_TABLE_BITS)) % N; 54 top = tmp & 0xff800000; 56 k = (int32_t)tmp >> 23; /* arithmetic shift */
|
H A D | logf.c | 30 uint32_t ix, iz, tmp; local 53 tmp = ix - OFF; 54 i = (tmp >> (23 - LOGF_TABLE_BITS)) % N; 55 k = (int32_t)tmp >> 23; /* arithmetic shift */ 56 iz = ix - (tmp & 0x1ff << 23);
|
H A D | exp2.c | 29 static inline double specialcase(double_t tmp, uint64_t sbits, uint64_t ki) argument 37 y = 2 * (scale + scale * tmp); 43 y = scale + scale * tmp; 50 lo = scale - y + scale * tmp; 74 double_t kd, r, r2, scale, tail, tmp; local 114 tmp = tail + r * C1 + r2 * (C2 + r * C3) + r2 * r2 * (C4 + r * C5); 116 return specialcase(tmp, sbits, ki); 118 /* Note: tmp == 0 or |tmp| > 2^-65 and scale > 2^-928, so there 120 return eval_as_double(scale + scale * tmp); [all...] |
H A D | exp.c | 31 static inline double specialcase(double_t tmp, uint64_t sbits, uint64_t ki) argument 39 y = 0x1p1009 * (scale + scale * tmp); 45 y = scale + scale * tmp; 52 lo = scale - y + scale * tmp; 76 double_t kd, z, r, r2, scale, tail, tmp; local 127 tmp = tail + r + r2 * (C2 + r * C3) + r2 * r2 * (C4 + r * C5); 129 return specialcase(tmp, sbits, ki); 131 /* Note: tmp == 0 or |tmp| > 2^-200 and scale > 2^-739, so there 133 return eval_as_double(scale + scale * tmp); [all...] |
/haiku/src/preferences/time/ |
H A D | TimeSettings.cpp | 44 BPoint tmp; local 45 if (file.Read(&tmp, sizeof(BPoint)) == sizeof(BPoint)) 46 leftTop = tmp;
|
/haiku/src/add-ons/accelerants/s3/ |
H A D | virge_edid.cpp | 100 uint8 tmp = ReadCrtcReg(DDCPort); local 101 WriteCrtcReg(DDCPort, tmp | 0x13); 105 WriteCrtcReg(DDCPort, tmp); 113 uint8 tmp = ReadReg8(DDC_REG); local 114 WriteReg8(DDC_REG, tmp | 0x13); 118 WriteReg8(DDC_REG, tmp);
|
/haiku/src/add-ons/media/media-add-ons/mixer/ |
H A D | Interpolate.cpp | 36 float tmp = ((*(const inType*)src) - inMiddle) * gain + outMiddle; local 37 if (tmp <= min) 39 else if (tmp >= max) 42 *(outType *)dest = (outType)tmp; 56 float tmp = (gain * (oldSample + (SRC - oldSample) * current - inMiddle) local 58 if (tmp <= min) 60 else if (tmp >= max) 63 *(outType *)dest = (outType)tmp;
|
H A D | Resampler.cpp | 36 float tmp = ((*(const inType*)src) - inMiddle) * gain + outMiddle; local 37 if (tmp <= min) 39 else if (tmp >= max) 42 *(outType *)dest = (outType)tmp; 54 float tmp = ((*(const inType*)src) - inMiddle) * gain + outMiddle; local 55 if (tmp <= min) 57 else if (tmp >= max) 60 *(outType *)dest = (outType)tmp;
|
/haiku/src/add-ons/accelerants/ati/ |
H A D | mach64_dpms.cpp | 34 uint32 tmp = INREG(CRTC_GEN_CNTL); local 37 if( (tmp & CRTC_DISPLAY_DIS) == 0 ) 39 else if( (tmp & CRTC_VSYNC_DIS) == 0 ) 41 else if( (tmp & CRTC_HSYNC_DIS) == 0 )
|
H A D | mach64_mode.cpp | 117 uint8 tmp = Mach64_GetPLLReg(PLL_VCLK_POST_DIV); local 119 (tmp & ~(0x03 << (2 * clkNum))) | (p << (2 * clkNum))); 126 tmp = Mach64_GetPLLReg(PLL_XCLK_CNTL); 128 Mach64_SetPLLReg(PLL_XCLK_CNTL, tmp | (0x10 << clkNum)); 130 Mach64_SetPLLReg(PLL_XCLK_CNTL, tmp & ~(0x10 << clkNum)); 177 int tmp = Mach64_Divide(multiplier * params.displayFIFODepth, divider, vshift, -1); local 180 for (dsp_precision = -5; tmp; dsp_precision++) 181 tmp >>= 1; 194 tmp = Mach64_Divide(RASMultiplier, RASDivider, xshift, 1); 195 if (dsp_on < tmp) [all...] |
/haiku/src/system/libroot/posix/musl/dirent/ |
H A D | scandir.c | 13 struct dirent *de, **names=0, **tmp; local 25 tmp = realloc(names, len * sizeof *names); 26 if (!tmp) break; 27 names = tmp;
|
/haiku/src/system/kernel/util/ |
H A D | inet_ntop.c | 93 char tmp[sizeof "255.255.255.255"]; local 95 if (SPRINTF((tmp, fmt, src[0], src[1], src[2], src[3])) >= size) { 99 strcpy(dst, tmp); 122 char tmp[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"], *tp; local 163 tp = tmp; 179 if (!inet_ntop4(src+12, tp, sizeof tmp - (tp - tmp))) 195 if ((size_t)(tp - tmp) > size) { 199 strcpy(dst, tmp);
|
/haiku/src/libs/gnu/ |
H A D | qsort.c | 15 #define SORT_R_SWAP(a, b, tmp) ((tmp) = (a), (a) = (b), (b) = (tmp)) 24 char tmp; local 27 SORT_R_SWAP(* itemA, * itemB, tmp); 98 char* tmp; local 109 SORT_R_SWAP(pivList[0], pivList[1], tmp); 111 SORT_R_SWAP(pivList[1], pivList[2], tmp); 113 SORT_R_SWAP(pivList[0], pivList[1], tmp);
|
/haiku/src/add-ons/kernel/network/protocols/ipv6/ |
H A D | ipv6_utils.cpp | 60 char tmp[INET6_ADDRSTRLEN], *tp; local 102 tp = tmp; 119 if (!inet_ntop4(src+12, tp, sizeof tmp - (tp - tmp))) 136 if ((size_t)(tp - tmp) > size) 139 strcpy(dst, tmp);
|
/haiku/headers/libs/libfdt/ |
H A D | libfdt.h | 1320 fdt32_t tmp = cpu_to_fdt32(val); local 1321 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); 1355 fdt64_t tmp = cpu_to_fdt64(val); local 1356 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); 1475 fdt32_t tmp = cpu_to_fdt32(val); local 1476 return fdt_property(fdt, name, &tmp, sizeof(tmp)); 1480 fdt64_t tmp local 1687 fdt32_t tmp = cpu_to_fdt32(val); local 1722 fdt64_t tmp = cpu_to_fdt64(val); local 1865 fdt32_t tmp = cpu_to_fdt32(val); local 1900 fdt64_t tmp = cpu_to_fdt64(val); local [all...] |
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | bitmap.c | 120 int bit, firstbyte, lastbyte, lastbyte_pos, tmp, ret = -1; local 213 tmp = (start_bit >> 3) - firstbyte; 214 br = ntfs_attr_pwrite(na, tmp, bufsize, buf); 226 tmp = (bufsize - firstbyte - lastbyte) << 3; 235 start_bit += tmp; 236 count -= tmp; 237 if (bufsize > (tmp = (count + 7) >> 3)) 238 bufsize = tmp;
|
/haiku/3rdparty/kallisti5/ |
H A D | mksysroot.sh | 20 tar $(for i in $EXCLUDE; do echo "--exclude $i"; done) -cvzf $OUTPUT /boot/system /bin /etc /packages /system /tmp
|