/haiku/src/libs/mapm/ |
H A D | mapm_fft.c | 389 double xr, xi, yr, yi; in M_bitrv2() local 404 yr = a[k]; in M_bitrv2() 406 a[j] = yr; in M_bitrv2() 414 yr = a[k1]; in M_bitrv2() 416 a[j1] = yr; in M_bitrv2() 424 yr = a[k1]; in M_bitrv2() 426 a[j1] = yr; in M_bitrv2() 434 yr = a[k1]; in M_bitrv2() 436 a[j1] = yr; in M_bitrv2() 446 yr = a[k1]; in M_bitrv2() [all …]
|
/haiku/src/add-ons/kernel/file_systems/exfat/ |
H A D | Inode.cpp | 210 static int leaps(int yr, int mon) in leaps() argument 213 int result = (yr+2)/4 - (yr + 70) / 100; in leaps() 214 if((yr+70) >= 100) result++; // correct for 2000 in leaps() 215 if (IS_LEAP_YEAR(yr + 1970)) in leaps()
|
/haiku/src/bin/unzip/ |
H A D | list.c | 106 unsigned yr, mo, dy, hh, mm; in list_files() local 278 yr = (unsigned)(t->tm_year % 100); in list_files() 284 yr = ((((unsigned)(G.crec.last_mod_dos_datetime >> 25) & 0x7f) in list_files() 296 mo = yr; yr = dy; dy = methnum; in list_files() 337 (unsigned)cfactor, mo, dy, yr, hh, mm, in list_files() 349 yr, hh, mm, G.crec.crc32, (G.pInfo->lcflag? '^':' '))); in list_files() 354 mo, dy, yr, hh, mm, (G.pInfo->lcflag? '^':' '))); in list_files() 358 mo, dy, yr, hh, mm, (G.pInfo->lcflag? '^':' '))); in list_files()
|
H A D | fileio.c | 1653 int yr, mo, dy, hh, mm, ss; local 1683 yr = ((int)(dosdatetime >> 25) & 0x7f) + (1980 - YRBASE); 1694 sprintf (temp, "%02d/%02d/%02d %02d:%02d:%02d", mo+1, dy+1, yr, hh, mm, ss); 1706 leap = ((yr + YRBASE - 1) / 4); /* leap year base factor */ 1709 days = (yr * 365) + (leap - 492) + ydays[mo]; 1712 if ((mo > 1) && ((yr+YRBASE)%4 == 0) && ((yr+YRBASE) != 2100))
|
H A D | zipinfo.c | 2118 unsigned yr, mo, dy, hh, mm, ss; variable 2156 yr = (unsigned)(t->tm_year); 2164 yr = ((unsigned)(*datetimez >> 25) & 0x7f) + 80; 2180 sprintf(d_t_str, LoadFarString(YMDHMSTime), yr+1900, monthstr, dy, hh, 2183 sprintf(d_t_str, LoadFarString(DecimalTime), yr+1900, mo, dy, hh, mm, 2186 sprintf(d_t_str, LoadFarString(DMYHMTime), dy, monthstr, yr%100, hh,
|
/haiku/src/add-ons/screen_savers/nebula/ |
H A D | Nebula.cpp | 135 rotate3d(float* xr, float* yr, float* zr, /* point to rotate */ in rotate3d() argument 140 xr2 = (*xr * ocos(az) + *yr * osin(az)); in rotate3d() 141 yr2 = (*xr * osin(az) - *yr * ocos(az)); in rotate3d() 143 *yr = yr2; in rotate3d() 150 zr2 = (*zr * ocos(ax) + *yr * osin(ax)); in rotate3d() 151 yr2 = (*zr * osin(ax) - *yr * ocos(ax)); in rotate3d() 153 *yr = yr2; in rotate3d()
|