/bionic/tests/ |
time_test.cpp | 61 tm* broken_down = gmtime(&t); 72 struct tm tm = {}; local 74 struct tm* broken_down = gmtime_r(&t, &tm); 75 ASSERT_EQ(broken_down, &tm); 113 struct tm t; 114 memset(&t, 0, sizeof(tm)); 123 memset(&t, 0, sizeof(tm)); 134 struct tm t 780 struct tm tm; local 841 struct tm tm = {}; local 850 const struct tm tm = {}; local 855 const struct tm tm = {}; local 888 struct tm tm; local 922 struct tm tm; local [all...] |
/cts/tests/tests/security/src/android/security/cts/ |
X509CertChainBuildingTest.java | 179 for (TrustManager tm : tmf.getTrustManagers()) { 180 if (tm instanceof X509TrustManager) { 181 return (X509TrustManager) tm; 205 X509TrustManager tm = getTrustManager(ks, p); local 206 X509TrustManagerExtensions xtm = new X509TrustManagerExtensions(tm);
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
ApkNdkApiReport.java | 98 for (TestModule tm : apiReport.mTestModules) { 99 tm.getDynSymArr();
|
GTestApiReport.java | 96 for (TestModule tm : apiReport.mTestModules) { 97 tm.getDynSymArr();
|
/device/linaro/bootloader/arm-trusted-firmware/include/lib/stdlib/ |
time.h | 125 struct tm { struct 144 char *asctime(const struct tm *); 149 struct tm *gmtime(const time_t *); 150 struct tm *localtime(const time_t *); 151 time_t mktime(struct tm *); 153 const struct tm *__restrict); 181 char *asctime_r(const struct tm *, char *); 183 struct tm *gmtime_r(const time_t *, struct tm *); 184 struct tm *localtime_r(const time_t *, struct tm *) [all...] |
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/ |
EmuThunk.c | 359 struct tm *tm; local 363 tm = localtime (&t); 365 Time->Year = 1900 + tm->tm_year; 366 Time->Month = tm->tm_mon + 1; 367 Time->Day = tm->tm_mday; 368 Time->Hour = tm->tm_hour; 369 Time->Minute = tm->tm_min; 370 Time->Second = tm->tm_sec; 374 | (tm->tm_isdst > 0 ? EFI_TIME_IN_DAYLIGHT : 0) [all...] |
/device/linaro/bootloader/edk2/StdLib/Include/ |
time.h | 15 arithmetic types capable of representing times; and struct tm which holds
19 implementation-defined. The tm structure shall contain at least the following
47 struct tm Holds the components of a calendar time; or broken-down time.
55 time_t mktime (struct tm *timeptr);
59 char * asctime (const struct tm *timeptr);
61 struct tm * gmtime (const time_t *timer);
62 time_t timegm (struct tm*);
63 struct tm * localtime (const time_t *timer);
66 const struct tm * __restrict timeptr);
67 char * strptime (const char *, const char * format, struct tm*);
141 struct tm { struct [all...] |
/device/linaro/hikey/wpan/uim/ |
uim.c | 94 struct timespec tm = {0, 50*1000*1000}; local 107 nanosleep(&tm, NULL);
|
/external/autotest/client/tests/tsc/src/ |
checktsc.c | 199 uint64_t t0, t1, tm; local
|
/external/blktrace/ |
blkparse_fmt.c | 87 struct tm *tm; local 98 tm = localtime(&sec); 101 tm->tm_hour, 102 tm->tm_min, 103 tm->tm_sec,
|
/external/clang/test/SemaCXX/ |
class.cpp | 37 func tm; member in class:C
|
/external/curl/lib/ |
file.c | 480 struct tm buffer; 481 const struct tm *tm = &buffer; local 502 Curl_wkday[tm->tm_wday?tm->tm_wday-1:6], 503 tm->tm_mday, 504 Curl_month[tm->tm_mon], 505 tm->tm_year + 1900, 506 tm->tm_hour, 507 tm->tm_min [all...] |
parsedate.c | 271 /* this is a clone of 'struct tm' but with all fields we don't need or use 282 /* struct tm to time since epoch in GMT time zone. 287 static time_t my_timegm(struct my_tm *tm) 293 if(tm->tm_year < 70) 298 year = tm->tm_year + 1900; 299 month = tm->tm_mon; 309 leap_days = year - (tm->tm_mon <= 1); 314 + leap_days + month_days_cumulative [month] + tm->tm_mday - 1) * 24 315 + tm->tm_hour) * 60 + tm->tm_min) * 60 + tm->tm_sec 340 struct my_tm tm; local 570 const struct tm *tm; local [all...] |
/external/e2fsprogs/e2fsck/ |
logfile.c | 72 struct tm *tm = NULL, tm_struct; local 81 tm = (*flags & FLAG_UTC) ? gmtime_r(&ctx->now, &tm_struct) : 90 sprintf(buf, "%02d", tm->tm_mday); 93 sprintf(buf, "%d%02d%02d", tm->tm_year + 1900, tm->tm_mon + 1, 94 tm->tm_mday); 106 sprintf(buf, "%02d", tm->tm_hour); 109 sprintf(buf, "%02d", tm->tm_mon + 1); 112 sprintf(buf, "%02d", tm->tm_min) [all...] |
/external/iproute2/tc/ |
m_ipt.c | 502 struct tcf_t *tm = RTA_DATA(tb[TCA_IPT_TM]); local 504 print_tm(f, tm);
|
m_xt_old.c | 425 struct tcf_t *tm = RTA_DATA(tb[TCA_IPT_TM]); local 427 print_tm(f, tm);
|
/external/iptables/extensions/ |
libxt_time.c | 96 struct tm tm; local 140 tm.tm_year = year - 1900; 141 tm.tm_mon = month - 1; 142 tm.tm_mday = day; 143 tm.tm_hour = hour; 144 tm.tm_min = minute; 145 tm.tm_sec = second; 146 tm.tm_isdst = 0; 153 ret = mktime(&tm); [all...] |
/external/libnl/lib/route/ |
act.c | 464 struct tcamsg *tm; local 469 err = nlmsg_parse(n, sizeof(*tm), tb, TCAA_MAX, NULL); 473 tm = nlmsg_data(n); 474 tc->tc_family = tm->tca_family;
|
/external/mesa3d/src/amd/common/ |
ac_llvm_util.c | 135 LLVMTargetMachineRef tm = LLVMCreateTargetMachine( local 144 return tm;
|
/external/ppp/pppd/plugins/radius/ |
avpair.c | 531 struct tm *tm; local 635 tm = localtime (&timeval); 636 tm->tm_hour = 0; 637 tm->tm_min = 0; 638 tm->tm_sec = 0; 639 rc_str2tm (valstr, tm); 641 pair->lvalue = (UINT4) timelocal (tm); 643 pair->lvalue = (UINT4) mktime (tm);
|
/external/skia/gm/ |
blurrect.cpp | 66 SkShader::TileMode tm = SkShader::kClamp_TileMode; local 79 colors, pos, SK_ARRAY_COUNT(colors), tm,
|
/external/skqp/gm/ |
blurrect.cpp | 66 SkShader::TileMode tm = SkShader::kClamp_TileMode; local 79 colors, pos, SK_ARRAY_COUNT(colors), tm,
|
/external/tcpdump/ |
print-ahcp.c | 104 struct tm *tm; local 111 if (NULL == (tm = gmtime(&t))) 113 else if (0 == strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", tm))
|
print-ntp.c | 365 struct tm *tm; local 368 tm = localtime(&seconds); 369 strftime(time_buf, sizeof (time_buf), "%Y/%m/%d %H:%M:%S", tm);
|
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/ |
utils.h | 89 struct timespec tm; local 90 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tm); 91 return tm.tv_sec * 1000000000LL + tm.tv_nsec; 101 struct timespec tm; local 102 clock_gettime(CLOCK_MONOTONIC, &tm); 103 return tm.tv_sec * 1000LL + tm.tv_nsec / 1000000LL;
|