Searched refs:tm (Results 1 - 25 of 683) 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/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/boringssl/src/crypto/asn1/
H A Dasn1_locl.h75 struct tm *OPENSSL_gmtime(const time_t *time, 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/linux-kselftest/tools/testing/selftests/powerpc/tm/
H A DMakefile2 SIGNAL_CONTEXT_CHK_TESTS := tm-signal-context-chk-gpr tm-signal-context-chk-fpu \
3 tm-signal-context-chk-vmx tm-signal-context-chk-vsx
5 TEST_GEN_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack \
6 tm-vmxcopy 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.c60 static int parse_default(char *str, struct tm *tm) argument
70 // Note: struct tm hasn't got a fractional seconds field, thus strptime()
83 gmtime_r(&tt, tm);
89 sscanf(str, "%2u%2u%2u%2u%n", &tm->tm_mon, &tm->tm_mday, &tm->tm_hour,
90 &tm->tm_min, &len);
93 tm->tm_mon--;
101 if (len == 4) tm
134 puts_time(char *fmt, struct tm *tm) argument
165 struct tm tm; local
[all...]
/external/adhd/cras/src/server/
H A Dcras_tm.h19 * tm - Timer manager.
28 struct cras_tm *tm,
34 void cras_tm_cancel_timer(struct cras_tm *tm, struct cras_timer *t);
40 void cras_tm_deinit(struct cras_tm *tm);
45 * tm - Timer manager.
50 int cras_tm_get_next_timeout(const struct cras_tm *tm, struct timespec *ts);
53 void cras_tm_call_callbacks(struct cras_tm *tm);
/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/linux-kselftest/tools/testing/selftests/powerpc/ptrace/
H A DMakefile2 TEST_PROGS := ptrace-gpr ptrace-tm-gpr ptrace-tm-spd-gpr \
3 ptrace-tar ptrace-tm-tar ptrace-tm-spd-tar ptrace-vsx ptrace-tm-vsx \
4 ptrace-tm-spd-vsx ptrace-tm-spr
10 CFLAGS += -m64 -I../../../../../usr/include -I../tm -mhtm -fno-pie
/external/curl/lib/
H A Dparsedate.h28 CURLcode Curl_gmtime(time_t intime, struct tm *store);
/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/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 460 milliseconds

1234567891011>>