/external/compiler-rt/test/msan/ |
H A D | mktime.cc | 10 struct tm tm; local 11 tm.tm_year = 2014; 12 tm.tm_mon = 3; 13 tm.tm_mday = 28; 15 tm.tm_hour = 13; 17 tm.tm_min = 4; 18 tm.tm_sec = 42; 19 tm.tm_isdst = -1; 20 time_t t = mktime(&tm); [all...] |
/external/boringssl/src/crypto/asn1/ |
H A D | asn1_locl.h | 75 struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result); 77 /* OPENSSL_gmtime_adj updates |tm| by adding |offset_day| days and |offset_sec| 79 int OPENSSL_gmtime_adj(struct tm *tm, int offset_day, long offset_sec); 84 int OPENSSL_gmtime_diff(int *out_days, int *out_secs, const struct tm *from, 85 const struct tm *to); 90 int asn1_utctime_to_tm(struct tm *tm, const ASN1_UTCTIME *d); 91 int asn1_generalizedtime_to_tm(struct tm *t [all...] |
H A D | time_support.c | 69 struct tm *OPENSSL_gmtime(const time_t *time, struct tm *result) { 102 /* Convert tm structure and offset into julian day and seconds */ 103 static int julian_adj(const struct tm *tm, int off_day, long offset_sec, argument 114 offset_hms += tm->tm_hour * 3600 + tm->tm_min * 60 + tm->tm_sec; 126 time_year = tm->tm_year + 1900; 127 time_month = tm 144 OPENSSL_gmtime_adj(struct tm *tm, int off_day, long offset_sec) argument [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sched_h/ |
H A D | 19-1-buildonly.c | 19 struct tm *mytime;
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/ |
H A D | 50-1-buildonly.c | 9 struct tm *mytime;
|
/external/linux-kselftest/tools/testing/selftests/powerpc/tm/ |
H A D | Makefile | 1 TEST_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack \ 2 tm-vmxcopy tm-fork tm-tar tm-tmspr tm-exec tm [all...] |
/external/toybox/toys/posix/ |
H A D | cal.c | 26 static char *calstrings(char *buf, struct tm *tm) argument 32 len = strftime(temp, 21, "%B %Y", tm); 40 if (tm->tm_mday>1) 41 start = (36+tm->tm_wday-tm->tm_mday)%7; 42 else start = tm->tm_wday; 46 if (tm->tm_mon == 1) { 47 int year = tm->tm_year; 50 } else if ((tm 72 struct tm *tm; local [all...] |
H A D | date.c | 59 // mktime(3) normalizes the struct tm fields, but date(1) shouldn't. 60 static time_t chkmktime(struct tm *tm, const char *str, const char* fmt) argument 62 struct tm tm0 = *tm; 63 struct tm tm1; 64 time_t t = mktime(tm); 98 static int parse_default(char *str, struct tm *tm) argument 108 // Note: struct tm has 168 struct tm tm; local [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/ |
H A D | 21-1-buildonly.c | 10 struct tm *gmtime_r(const time_t *, struct tm *); 16 typedef struct tm *(*gmtime_r_test) (const time_t *, struct tm *);
|
H A D | 23-1-buildonly.c | 10 struct tm *localtime_r(const time_t *, struct tm *); 16 typedef struct tm *(*localtime_r_test) (const time_t *, struct tm *);
|
H A D | 19-1-buildonly.c | 10 struct tm *getdate(const char *); 16 typedef struct tm *(*getdate_test) (const char *);
|
H A D | 20-1-buildonly.c | 9 struct tm *gmtime(const time_t *); 15 typedef struct tm *(*gmtime_test) (const time_t *);
|
H A D | 22-1-buildonly.c | 9 struct tm *localtime(const time_t *); 15 typedef struct tm *(*localtime_test) (const time_t *);
|
H A D | 24-1-buildonly.c | 9 time_t mktime(struct tm *); 15 typedef time_t(*mktime_test) (struct tm *);
|
H A D | 27-1-buildonly.c | 10 char *strptime(const char *, const char *, struct tm *); 16 typedef char *(*strptime_test) (const char *, const char *, struct tm *);
|
H A D | 8-1-buildonly.c | 9 char *asctime(const struct tm *); 15 typedef char *(*asctime_test) (const struct tm *);
|
H A D | 9-1-buildonly.c | 10 char *asctime_r(const struct tm *, char *); 16 typedef char *(*asctime_r_test) (const struct tm *, char *);
|
/external/webrtc/webrtc/voice_engine/ |
H A D | transmit_mixer_unittest.cc | 31 TransmitMixer* tm = NULL; local 32 ASSERT_EQ(0, TransmitMixer::Create(tm, 0)); 33 ASSERT_TRUE(tm != NULL); 35 EXPECT_EQ(-1, tm->RegisterExternalMediaProcessing(NULL, 37 EXPECT_EQ(-1, tm->RegisterExternalMediaProcessing(&callback, 39 EXPECT_EQ(-1, tm->RegisterExternalMediaProcessing(&callback, 41 EXPECT_EQ(-1, tm->RegisterExternalMediaProcessing(&callback, 43 EXPECT_EQ(0, tm->RegisterExternalMediaProcessing(&callback, 45 EXPECT_EQ(0, tm->RegisterExternalMediaProcessing(&callback, 47 EXPECT_EQ(-1, tm [all...] |
/external/curl/lib/ |
H A D | parsedate.h | 28 CURLcode Curl_gmtime(time_t intime, struct tm *store);
|
/external/fmtlib/test/ |
H A D | time-test.cc | 14 std::tm tm = std::tm(); local 15 tm.tm_year = 116; 16 tm.tm_mon = 3; 17 tm.tm_mday = 25; 19 fmt::format("The date is {:%Y-%m-%d}.", tm)); 32 EXPECT_EQ("", fmt::format("{}", std::tm())); 35 bool EqualTime(const std::tm &lhs, const std::tm 49 std::tm tm = *std::localtime(&t); local 55 std::tm tm = *std::gmtime(&t); local [all...] |
/external/compiler-rt/test/asan/TestCases/ |
H A D | time_interceptor.cc | 13 time_t *tm = (time_t*)malloc(sizeof(time_t)); local 14 free(tm); 15 time_t t = time(tm);
|
/external/mesa3d/src/gallium/drivers/radeon/ |
H A D | AMDGPU.h | 24 FunctionPass *createR600ExpandSpecialInstrsPass(TargetMachine &tm); 27 FunctionPass *createSIAssignInterpRegsPass(TargetMachine &tm); 31 FunctionPass *createAMDGPUConvertToISAPass(TargetMachine &tm);
|
/external/syslinux/gpxe/src/include/ |
H A D | time.h | 6 struct tm { struct 20 extern time_t mktime ( struct tm *tm );
|
/external/testng/src/main/java/org/testng/internal/ |
H A D | ITestResultNotifier.java | 21 Set<ITestResult> getPassedTests(ITestNGMethod tm); argument 23 Set<ITestResult> getFailedTests(ITestNGMethod tm); argument 25 Set<ITestResult> getSkippedTests(ITestNGMethod tm); argument 27 void addPassedTest(ITestNGMethod tm, ITestResult tr); argument 29 void addSkippedTest(ITestNGMethod tm, ITestResult tr); argument 31 void addFailedTest(ITestNGMethod tm, ITestResult tr); argument 33 void addFailedButWithinSuccessPercentageTest(ITestNGMethod tm, ITestResult tr); argument
|
/external/toybox/toys/pending/ |
H A D | telnetd.c | 209 static int handle_iacs(struct term_session *tm, int c, int fd) argument 214 curr = start = tm->buff2+tm->buff2_avail; 215 end = tm->buff2 + c -1; 216 tm->rem = 0; 233 tm->rem = 1; 250 tm->rem = end - curr; 259 curr++, tm->rem++; 262 tm->rem++; 265 tm 308 struct term_session *tm = NULL; local [all...] |