Searched refs:tm (Results 1 - 25 of 622) sorted by relevance

1234567891011>>

/external/compiler-rt/test/msan/
H A Dmktime.cc10 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 Dasn1_locl.h75 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 Dtime_support.c69 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 D19-1-buildonly.c19 struct tm *mytime;
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/
H A D50-1-buildonly.c9 struct tm *mytime;
/external/linux-kselftest/tools/testing/selftests/powerpc/tm/
H A DMakefile1 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 Dcal.c26 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 Ddate.c59 // 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 D21-1-buildonly.c10 struct tm *gmtime_r(const time_t *, struct tm *);
16 typedef struct tm *(*gmtime_r_test) (const time_t *, struct tm *);
H A D23-1-buildonly.c10 struct tm *localtime_r(const time_t *, struct tm *);
16 typedef struct tm *(*localtime_r_test) (const time_t *, struct tm *);
H A D19-1-buildonly.c10 struct tm *getdate(const char *);
16 typedef struct tm *(*getdate_test) (const char *);
H A D20-1-buildonly.c9 struct tm *gmtime(const time_t *);
15 typedef struct tm *(*gmtime_test) (const time_t *);
H A D22-1-buildonly.c9 struct tm *localtime(const time_t *);
15 typedef struct tm *(*localtime_test) (const time_t *);
H A D24-1-buildonly.c9 time_t mktime(struct tm *);
15 typedef time_t(*mktime_test) (struct tm *);
H A D27-1-buildonly.c10 char *strptime(const char *, const char *, struct tm *);
16 typedef char *(*strptime_test) (const char *, const char *, struct tm *);
H A D8-1-buildonly.c9 char *asctime(const struct tm *);
15 typedef char *(*asctime_test) (const struct tm *);
H A D9-1-buildonly.c10 char *asctime_r(const struct tm *, char *);
16 typedef char *(*asctime_r_test) (const struct tm *, char *);
/external/webrtc/webrtc/voice_engine/
H A Dtransmit_mixer_unittest.cc31 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 Dparsedate.h28 CURLcode Curl_gmtime(time_t intime, struct tm *store);
/external/fmtlib/test/
H A Dtime-test.cc14 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 Dtime_interceptor.cc13 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 DAMDGPU.h24 FunctionPass *createR600ExpandSpecialInstrsPass(TargetMachine &tm);
27 FunctionPass *createSIAssignInterpRegsPass(TargetMachine &tm);
31 FunctionPass *createAMDGPUConvertToISAPass(TargetMachine &tm);
/external/syslinux/gpxe/src/include/
H A Dtime.h6 struct tm { struct
20 extern time_t mktime ( struct tm *tm );
/external/testng/src/main/java/org/testng/internal/
H A DITestResultNotifier.java21 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 Dtelnetd.c209 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...]

Completed in 512 milliseconds

1234567891011>>