Searched refs:tm (Results 1 - 25 of 481) 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.h61 int asn1_utctime_to_tm(struct tm *tm, const ASN1_UTCTIME *d);
62 int asn1_generalizedtime_to_tm(struct tm *tm, const ASN1_GENERALIZEDTIME *d);
H A Da_utctm.c102 int asn1_utctime_to_tm(struct tm *tm, const ASN1_UTCTIME *d) argument
121 if (tm)
122 tm->tm_sec = 0;
134 if (tm)
139 tm->tm_year = n < 50 ? n + 100 : n;
142 tm->tm_mon = n - 1;
145 tm->tm_mday = n;
148 tm->tm_hour = n;
151 tm
[all...]
/external/boringssl/include/openssl/
H A Dtime_support.h73 struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result);
75 /* OPENSSL_gmtime_adj updates |tm| by adding |offset_day| days and |offset_sec|
77 int OPENSSL_gmtime_adj(struct tm *tm, int offset_day, long offset_sec);
82 int OPENSSL_gmtime_diff(int *out_days, int *out_secs, const struct tm *from,
83 const struct tm *to);
/external/boringssl/src/include/openssl/
H A Dtime_support.h73 struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result);
75 /* OPENSSL_gmtime_adj updates |tm| by adding |offset_day| days and |offset_sec|
77 int OPENSSL_gmtime_adj(struct tm *tm, int offset_day, long offset_sec);
82 int OPENSSL_gmtime_diff(int *out_days, int *out_secs, const struct tm *from,
83 const struct tm *to);
/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/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/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/boringssl/src/crypto/
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/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
H A DBshMock.java8 public boolean includeMethodFromExpression(String expression, ITestNGMethod tm) { argument
H A DIBsh.java6 boolean includeMethodFromExpression(String expression, ITestNGMethod tm); 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...]
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
H A DTrustManagerImplTest.java77 TrustManagerImpl tm = new TrustManagerImpl(ks);
78 assertEquals(0, tm.getAcceptedIssuers().length);
79 checkTrustManager(tm);
85 TrustManagerImpl tm = new TrustManagerImpl(ks);
86 assertEquals(1, tm.getAcceptedIssuers().length);
87 checkTrustManager(tm);
90 private void checkTrustManager(TrustManagerImpl tm) throws Exception { argument
92 tm.checkClientTrusted(null, "RSA");
98 tm.checkClientTrusted(new X509Certificate[0], "RSA");
104 tm
[all...]
/external/bison/lib/
H A Dtime.in.h132 _GL_FUNCDECL_RPL (mktime, time_t, (struct tm *__tp) _GL_ARG_NONNULL ((1)));
133 _GL_CXXALIAS_RPL (mktime, time_t, (struct tm *__tp));
135 _GL_CXXALIAS_SYS (mktime, time_t, (struct tm *__tp));
149 _GL_FUNCDECL_RPL (localtime_r, struct tm *, (time_t const *restrict __timer,
150 struct tm *restrict __result)
152 _GL_CXXALIAS_RPL (localtime_r, struct tm *, (time_t const *restrict __timer,
153 struct tm *restrict __result));
156 _GL_FUNCDECL_SYS (localtime_r, struct tm *, (time_t const *restrict __timer,
157 struct tm *restrict __result)
160 _GL_CXXALIAS_SYS (localtime_r, struct tm *, (time_
[all...]
/external/fio/
H A Dtickmarks.h9 int calc_tickmarks(double min, double max, int nticks, struct tickmark **tm,
/external/webrtc/webrtc/base/
H A Dtimeutils_unittest.cc131 struct tm tm; local
135 CurrentTmTime(&tm, &microseconds);
138 // Assert that 'tm' represents a time between 'before' and 'after'.
141 time_t t = ::mktime(&tm) + local_delta;
196 std::tm tm; local
197 tm.tm_year = year - 1900; // std::tm is year 1900 based.
198 tm
249 std::tm* tm = std::gmtime(&t); local
253 std::tm tm; local
[all...]
/external/testng/src/main/java/org/testng/remote/strprotocol/
H A DIRemoteTestListener.java12 void onStart(TestMessage tm); argument
14 void onFinish(TestMessage tm); argument
/external/ppp/pppd/plugins/radius/
H A Dutil.c23 * Purpose: Turns printable string into correct tm struct entries.
33 void rc_str2tm (char *valstr, struct tm *tm) argument
42 tm->tm_mon = i;
48 tm->tm_mday = atoi (&valstr[4]);
51 tm->tm_year = atoi (&valstr[7]) - 1900;
/external/libcxx/test/std/language.support/support.runtime/
H A Dctime.pass.cpp29 std::tm tm = {0}; local
32 static_assert((std::is_same<decltype(std::mktime(&tm)), std::time_t>::value), "");
35 static_assert((std::is_same<decltype(std::asctime(&tm)), char*>::value), "");
37 static_assert((std::is_same<decltype(std::gmtime(&t)), std::tm*>::value), "");
38 static_assert((std::is_same<decltype(std::localtime(&t)), std::tm*>::value), "");
42 static_assert((std::is_same<decltype(std::strftime(c1,s,c2,&tm)), std::size_t>::value), "");
/external/libcxx/test/std/utilities/date.time/
H A Dtested_elsewhere.pass.cpp27 std::tm tm = {0}; local
31 static_assert((std::is_same<decltype(std::mktime(&tm)), std::time_t>::value), "");
33 static_assert((std::is_same<decltype(std::asctime(&tm)), char*>::value), "");
35 static_assert((std::is_same<decltype(std::gmtime(&t)), std::tm*>::value), "");
36 static_assert((std::is_same<decltype(std::localtime(&t)), std::tm*>::value), "");
37 static_assert((std::is_same<decltype(std::strftime(str,s,"",&tm)), std::size_t>::value), "");
/external/opencv3/samples/gpu/
H A Dvideo_reader.cpp36 TickMeter tm; local
42 tm.reset(); tm.start();
45 tm.stop();
46 cpu_times.push_back(tm.getTimeMilli());
48 tm.reset(); tm.start();
51 tm.stop();
52 gpu_times.push_back(tm.getTimeMilli());

Completed in 1066 milliseconds

1234567891011>>