/haiku-fatelf/src/bin/ |
H A D | dstcheck.cpp | 85 struct tm tm; local 88 localtime_r(&t, &tm); 106 struct tm tm; local 109 localtime_r(&t, &tm); 133 dst = tm.tm_isdst; 136 if (dst != tm.tm_isdst || argc > 1) { 153 char dst_byte = tm.tm_isdst ? '1' : '0';
|
/haiku-fatelf/src/bin/unzip/ |
H A D | timezone.h | 65 int _isindst OF((struct tm *tb)); 79 time_t mkgmtime OF((struct tm *tm));
|
H A D | timezone.c | 526 static struct tm _tmbuf; 528 struct tm *gmtime(when) 556 struct tm *localtime(when) 561 struct tm *ret; 581 struct tm *tb; 583 time_t localt; /* time_t equivalent of given tm struct */ 624 of the local time and date in the exploded time structure `tm', 625 adjust out of range fields in `tm' and set `tm->tm_yday', `tm [all...] |
/haiku-fatelf/headers/private/kernel/ |
H A D | real_time_clock.h | 31 // Both functions use the passed struct tm only partially 33 uint32 rtc_tm_to_secs(const struct tm *t); 34 void rtc_secs_to_tm(uint32 seconds, struct tm *t);
|
/haiku-fatelf/src/bin/network/tcpdump/ |
H A D | gmt2local.c | 49 register struct tm *gmt, *loc; 50 struct tm sgmt;
|
/haiku-fatelf/src/bin/rcs/ |
H A D | rcstime.c | 48 register struct tm const *tm = time2tm(unixtime, RCSversion<VERSION(5)); local 55 tm->tm_year + ((unsigned)tm->tm_year < 100 ? 0 : 1900), 56 tm->tm_mon+1, tm->tm_mday, 57 tm->tm_hour, tm->tm_min, tm->tm_sec 141 struct tm [all...] |
/haiku-fatelf/src/bin/network/wget/src/ |
H A D | cmpt.c | 162 static struct tm *localtime_r __P ((const time_t *, struct tm *)); 163 static struct tm * 166 struct tm *tp; 168 struct tm *l = localtime (t); 307 && (rp = strptime_internal (rp, (new_fmt), tm, decided)) != NULL) 375 day_of_the_week (struct tm *tm) 380 int corr_year = 1900 + tm->tm_year - (tm [all...] |
/haiku-fatelf/src/build/libroot/ |
H A D | misc.cpp | 39 struct timeval tm; local 40 gettimeofday(&tm, NULL); 41 return (int64)tm.tv_sec * 1000000LL + (int64)tm.tv_usec;
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/time_h/ |
H A D | 2-1.c | 8 * Test that tm structure is declared. 12 struct tm this_type_should_exist, t;
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/gmtime/ |
H A D | 2-1.c | 9 * The gmtime function shall return a pointer to struct tm. 20 struct tm *tm_ptr;
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/localtime/ |
H A D | 1-1.c | 9 * This test shall return a pointer to the tm structure when converting 20 struct tm *timeptr;
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/strftime/ |
H A D | 3-1.c | 19 struct tm *tm_ptr;
|
/haiku-fatelf/src/bin/sharutils/lib/ |
H A D | mktime.c | 73 /* Print the values in a `struct tm'. */ 76 struct tm *it; 95 struct tm *t1; 96 struct tm *t2; 150 /* MKTIME converts the values in a struct tm to a time_t. The values 157 struct tm *tmptr; 222 struct tm *timeptr; 223 struct tm *(*producer) __P ((const time_t *)); 225 struct tm our_tm; /* our working space */ 226 struct tm *m 433 struct tm *tm = localtime ((time_t *) &q); local [all...] |
/haiku-fatelf/src/bin/gdb/opcodes/ |
H A D | tic54x-dis.c | 52 const template* tm; local 62 tm = tic54x_get_insn (info, memaddr, opcode, &size); 69 if (tm->flags & FL_PAR) 71 if (!print_parallel_instruction (info, memaddr, opcode, tm, size)) 77 (char *) tm->name, 78 tm->operand_types, 79 size, (tm->flags & FL_EXT))) 87 has_lkaddr (unsigned short memdata, const template *tm) argument 90 && (OPTYPE (tm->operand_types[0]) == OP_Smem 91 || OPTYPE (tm 104 const template *tm = NULL; local [all...] |
H A D | tic30-dis.c | 65 template *tm; member in struct:instruction 143 insn->tm = current_optab; 149 insn->tm = current_optab; 202 insn->tm = current_optab; 210 insn->tm = current_optab; 218 insn->tm = current_optab; 245 if (insn->tm == NULL) 247 strcpy (name, insn->tm->name); 248 if (insn->tm->opcode_modifier == AddressMode) 252 if ((insn->tm [all...] |
/haiku-fatelf/src/bin/zic/ |
H A D | zdump.c | 12 #include "time.h" /* for struct tm */ 149 static char * abbr P((struct tm * tmp)); 151 static long delta P((struct tm * newp, struct tm * oldp)); 152 static void dumptime P((const struct tm * tmp)); 162 static struct tm * 166 register struct tm * tmp; 170 struct tm tm; local 173 tm 251 struct tm tm; local 480 struct tm tm; local [all...] |
/haiku-fatelf/src/add-ons/translators/hpgs/lib/ |
H A D | hpgsbezier.c | 46 double tp,tm; local 49 tm = 0.5 - t; 51 p->x = 3.0* ((path->points[i+1].p.x-path->points[i].p.x)*tm*tm+ 52 2.0 * (path->points[i+2].p.x-path->points[i+1].p.x) * tm*tp+ 55 p->y = 3.0 * ((path->points[i+1].p.y-path->points[i].p.y)*tm*tm+ 56 2.0 * (path->points[i+2].p.y-path->points[i+1].p.y) * tm*tp+ 65 double tp,tm; local 68 tm 80 double tp,tm; local 402 double tp,tm; local 535 double tp,tm; local 549 double tp,tm; local 566 double tp,tm; local [all...] |
/haiku-fatelf/src/bin/network/atftpd/ |
H A D | logger.c | 90 struct tm *tm; local 97 tm = localtime(&t); 98 strftime(time_buf, MAXLEN, "%b %d %H:%M:%S", tm);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/mktime/ |
H A D | 1-1.c | 19 struct tm tm_ptr;
|
/haiku-fatelf/src/tests/system/benchmarks/libMicro/ |
H A D | mktime.c | 43 struct tm ts_tm1; 44 struct tm ts_tm2; 81 struct tm t1, t2;
|
/haiku-fatelf/src/system/libroot/os/ |
H A D | parsedate.cpp | 528 sense that it doesn't need to have a prefilled "struct tm" 702 computeRelativeUnit(parsed_element& element, struct tm& tm, int* _flags) argument 708 tm.tm_mon = 0; // supposed to fall through 710 tm.tm_mday = 1; // supposed to fall through 712 tm.tm_hour = 0; 713 tm.tm_min = 0; 714 tm.tm_sec = 0; 726 tm.tm_mon += value; 728 tm 764 struct tm tm; local [all...] |
/haiku-fatelf/src/bin/coreutils/lib/ |
H A D | getdate.y | 893 tm_diff (struct tm const *a, struct tm const *b) 1155 /* If *TM0 is the old and *TM1 is the new value of a struct tm after 1160 mktime_ok (struct tm const *tm0, struct tm const *tm1, time_t t) 1209 struct tm const *tmp; 1210 struct tm tm; 1211 struct tm tm0; 1287 tm [all...] |
H A D | getdate.c | 2866 tm_diff (struct tm const *a, struct tm const *b) 3128 /* If *TM0 is the old and *TM1 is the new value of a struct tm after 3133 mktime_ok (struct tm const *tm0, struct tm const *tm1, time_t t) 3182 struct tm const *tmp; 3183 struct tm tm; 3184 struct tm tm0; 3260 tm 3180 struct tm tm; local 3521 struct tm const *tm; local [all...] |
/haiku-fatelf/src/tests/system/libroot/posix/ |
H A D | test_time.c | 28 register struct tm *tp; 29 struct tm tbuf; 91 struct tm *loctime;
|
/haiku-fatelf/src/libs/ncurses/test/ |
H A D | gdc.c | 135 struct tm *tm; local 209 tm = localtime(&now); 212 set(tm->tm_sec % 10, 0); 213 set(tm->tm_sec / 10, 4); 214 set(tm->tm_min % 10, 10); 215 set(tm->tm_min / 10, 14); 216 set(tm->tm_hour % 10, 20); 217 set(tm->tm_hour / 10, 24);
|