/freebsd-10.0-release/contrib/wpa/src/utils/ |
H A D | os_unix.c | 66 struct tm tm, *tm1; local 75 memset(&tm, 0, sizeof(tm)); 76 tm.tm_year = year - 1900; 77 tm.tm_mon = month - 1; 78 tm.tm_mday = day; 79 tm.tm_hour = hour; 80 tm.tm_min = min; 81 tm 103 os_gmtime(os_time_t t, struct os_tm *tm) argument [all...] |
/freebsd-10.0-release/sys/i386/xen/ |
H A D | clock.c | 357 unsigned long tm; local 369 tm = time_second; 372 tm -= tz_minuteswest * 60 + (wall_cmos_clock ? adjkerntz : 0); 378 op.u.settime.secs = tm; 478 unsigned long tm; local 490 tm = time_second; 498 tm -= tz_minuteswest * 60 + (wall_cmos_clock ? adjkerntz : 0); 500 writertc(RTC_SEC, bin2bcd(tm%60)); tm /= 60; /* Write back Seconds */ 501 writertc(RTC_MIN, bin2bcd(tm [all...] |
/freebsd-10.0-release/usr.sbin/ctm/ctm/ |
H A D | ctm_pass3.c | 61 struct tm tm; local 78 tm.tm_isdst = tm.tm_gmtoff = 0; 81 tm.tm_year = atoi(buf) - 1900; 83 tm.tm_mon = atoi(buf) - 1; 84 if (tm.tm_mon < 0 || tm.tm_mon > 11) WRONGDATE 86 tm.tm_mday = atoi(buf); 87 if (tm [all...] |
/freebsd-10.0-release/contrib/tzcode/zic/ |
H A D | zdump.c | 23 #include <time.h> /* for struct tm */ 156 static char * abbr(struct tm * tmp); 158 static long delta(struct tm * newp, struct tm * oldp); 159 static void dumptime(const struct tm * tmp); 169 static struct tm * 173 register struct tm * tmp; 177 struct tm tm; local 180 tm 258 struct tm tm; local 488 struct tm tm; local [all...] |
/freebsd-10.0-release/crypto/openssl/crypto/x509/ |
H A D | x509_set.c | 107 int X509_set_notBefore(X509 *x, const ASN1_TIME *tm) argument 113 if (in != tm) 115 in=M_ASN1_TIME_dup(tm); 125 int X509_set_notAfter(X509 *x, const ASN1_TIME *tm) argument 131 if (in != tm) 133 in=M_ASN1_TIME_dup(tm);
|
/freebsd-10.0-release/games/grdc/ |
H A D | grdc.c | 30 static struct tm *tm; variable in typeref:struct:tm 146 tm = localtime(&now.tv_sec); 147 set(tm->tm_sec%10, 0); 148 set(tm->tm_sec/10, 4); 149 set(tm->tm_min%10, 10); 150 set(tm->tm_min/10, 14); 153 if (tm->tm_hour > 12) { 154 tm->tm_hour -= 12; 157 if (tm [all...] |
/freebsd-10.0-release/contrib/llvm/lib/CodeGen/ |
H A D | MachineFunctionAnalysis.cpp | 22 MachineFunctionAnalysis::MachineFunctionAnalysis(const TargetMachine &tm) : argument 23 FunctionPass(ID), TM(tm), MF(0) {
|
/freebsd-10.0-release/contrib/llvm/lib/Target/R600/ |
H A D | AMDGPURegisterInfo.cpp | 20 AMDGPURegisterInfo::AMDGPURegisterInfo(TargetMachine &tm, argument 23 TM(tm),
|
H A D | R600RegisterInfo.h | 30 R600RegisterInfo(AMDGPUTargetMachine &tm, const TargetInstrInfo &tii);
|
H A D | SIRegisterInfo.h | 30 SIRegisterInfo(AMDGPUTargetMachine &tm, const TargetInstrInfo &tii);
|
/freebsd-10.0-release/gnu/usr.bin/gdb/arch/arm/ |
H A D | Makefile | 14 tm.h: 15 #XXX this should be arm/tm-fbsd.h 16 echo '#include "tm-fbsd.h"' > ${.TARGET}
|
/freebsd-10.0-release/gnu/usr.bin/gdb/arch/ia64/ |
H A D | Makefile | 13 tm.h: 14 echo '#include "ia64/tm-fbsd.h"' > ${.TARGET}
|
/freebsd-10.0-release/gnu/usr.bin/gdb/arch/mips/ |
H A D | Makefile | 15 tm.h: 16 echo '#include "mips/tm-fbsd.h"' > ${.TARGET}
|
/freebsd-10.0-release/gnu/usr.bin/gdb/arch/powerpc/ |
H A D | Makefile | 13 tm.h: 14 echo '#include "powerpc/tm-ppc-eabi.h"' > ${.TARGET}
|
/freebsd-10.0-release/gnu/usr.bin/gdb/arch/powerpc64/ |
H A D | Makefile | 13 tm.h: 14 echo '#include "powerpc/tm-ppc-eabi.h"' > ${.TARGET}
|
/freebsd-10.0-release/usr.sbin/cron/cron/ |
H A D | cron.c | 105 struct tm *tm; local 179 tm = localtime(&TargetTime); 180 if (tm->tm_sec > 0) { 221 static struct tm lasttm; 224 struct tm otztm; /* time in the old time zone */ 226 register struct tm *tm = localtime(&TargetTime); local 233 second = (secres == 0) ? 0 : tm->tm_sec -FIRST_SECOND; 234 minute = tm 368 struct tm *tm; local [all...] |
/freebsd-10.0-release/contrib/apr-util/include/ |
H A D | apr_anylock.h | 42 apr_thread_mutex_t *tm; /**< Thread mutex */ member in union:apr_anylock_t::apr_anylock_u_t 55 ? apr_thread_mutex_lock((lck)->lock.tm) \ 82 ? apr_thread_mutex_trylock((lck)->lock.tm) \ 109 ? apr_thread_mutex_unlock((lck)->lock.tm) \
|
/freebsd-10.0-release/usr.sbin/bhyve/ |
H A D | rtc.c | 192 static struct tm tm; local 208 localtime_r(&t, &tm); 224 *eax = rtcout(tm.tm_sec); 227 *eax = rtcout(tm.tm_min); 231 hour = tm.tm_hour; 233 hour = (tm.tm_hour % 12) + 1; 241 if ((status_b & RTCSB_24HR) == 0 && tm.tm_hour >= 12) 246 *eax = rtcout(tm.tm_wday + 1); 249 *eax = rtcout(tm 323 struct tm tm; local [all...] |
/freebsd-10.0-release/sys/ia64/ia64/ |
H A D | nexus.c | 490 struct efi_tm tm; local 492 efi_get_time(&tm); 499 if (tm.tm_year < 2005) 502 ct.nsec = tm.tm_nsec; 503 ct.sec = tm.tm_sec; 504 ct.min = tm.tm_min; 505 ct.hour = tm.tm_hour; 506 ct.day = tm.tm_mday; 507 ct.mon = tm.tm_mon; 508 ct.year = tm 517 struct efi_tm tm; local [all...] |
/freebsd-10.0-release/usr.bin/calendar/ |
H A D | calendar.c | 78 struct tm tp1, tp2; 154 struct tm tm; local 159 localtime_r(&t, &tm); 160 utcoffset = tm.tm_gmtoff;
|
H A D | io.c | 96 struct tm tm; local 106 tm.tm_sec = 0; 107 tm.tm_min = 0; 108 tm.tm_hour = 0; 109 tm.tm_wday = 0; 198 tm.tm_mon = month[i] - 1; 199 tm.tm_mday = day[i]; 200 tm.tm_year = year[i] - 1900; 202 d_first ? "%e %b" : "%b %e", &tm); [all...] |
/freebsd-10.0-release/sys/dev/mps/ |
H A D | mps_sas.c | 137 static int mpssas_send_abort(struct mps_softc *sc, struct mps_command *tm, struct mps_command *cm); 138 static int mpssas_send_reset(struct mps_softc *sc, struct mps_command *tm, uint8_t type); 222 struct mps_command *tm; local 225 tm = mps_alloc_high_priority_command(sc); 226 if (tm != NULL) { 235 return tm; 239 mpssas_free_tm(struct mps_softc *sc, struct mps_command *tm) argument 242 if (tm == NULL) 256 mps_free_high_priority_command(sc, tm); 347 mpssas_remove_volume(struct mps_softc *sc, struct mps_command *tm) argument 528 mpssas_remove_device(struct mps_softc *sc, struct mps_command *tm) argument 603 mpssas_remove_complete(struct mps_softc *sc, struct mps_command *tm) argument 1179 struct mps_command *tm = data; local 1190 mpssas_logical_unit_reset_complete(struct mps_softc *sc, struct mps_command *tm) argument 1282 mpssas_target_reset_complete(struct mps_softc *sc, struct mps_command *tm) argument 1357 mpssas_send_reset(struct mps_softc *sc, struct mps_command *tm, uint8_t type) argument 1415 mpssas_abort_complete(struct mps_softc *sc, struct mps_command *tm) argument 1499 mpssas_send_abort(struct mps_softc *sc, struct mps_command *tm, struct mps_command *cm) argument 3067 struct mps_command *tm; local 3101 mpssas_resetdev_complete(struct mps_softc *sc, struct mps_command *tm) argument [all...] |
/freebsd-10.0-release/crypto/openssl/crypto/bn/ |
H A D | bnspeed.c | 186 double tm; local 200 tm=Time_F(STOP); 201 printf("mul %4d x %4d -> %8.3fms\n",sizes[i],sizes[j],tm*1000.0/num); 213 tm=Time_F(STOP); 214 printf("sqr %4d x %4d -> %8.3fms\n",sizes[i],sizes[i],tm*1000.0/num); 228 tm=Time_F(STOP); 229 printf("div %4d / %4d -> %8.3fms\n",sizes[j],sizes[i]-1,tm*1000.0/num);
|
/freebsd-10.0-release/usr.bin/find/ |
H A D | getdate.y | 637 struct tm *tm; 641 tm = localtime(&now); 642 now += SECSPERDAY * ((DayNumber - tm->tm_wday + 7) % 7); 651 struct tm *tm; 657 tm = localtime(&Start); 658 Month = 12 * (tm->tm_year + 1900) + tm->tm_mon + RelMonth; 662 Convert(Month, (time_t)tm [all...] |
/freebsd-10.0-release/usr.sbin/fifolog/lib/ |
H A D | getdate.y | 569 struct tm *ltm; 626 struct tm *tm; 630 tm = localtime(&now); 631 now += SECSPERDAY * ((DayNumber - tm->tm_wday + 7) % 7); 640 struct tm *tm; 646 tm = localtime(&Start); 647 Month = 12 * (tm->tm_year + 1900) + tm [all...] |