/external/compiler-rt/test/msan/ |
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/ltp/testcases/open_posix_testsuite/conformance/definitions/sched_h/ |
19-1-buildonly.c | 19 struct tm *mytime;
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/ |
50-1-buildonly.c | 9 struct tm *mytime;
|
/bionic/libc/include/ |
time64.h | 50 char* asctime64(const struct tm*); 51 char* asctime64_r(const struct tm*, char*); 54 struct tm* gmtime64(const time64_t*); 55 struct tm* gmtime64_r(const time64_t*, struct tm*); 56 struct tm* localtime64(const time64_t*); 57 struct tm* localtime64_r(const time64_t*, struct tm*); 58 time64_t mktime64(const struct tm*); 59 time64_t timegm64(const struct tm*); [all...] |
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
rstime.rs | 23 rs_tm tm; 26 rsLocaltime(&tm, &curTime); 28 rsDebug("tm.tm_sec", tm.tm_sec); 29 rsDebug("tm.tm_min", tm.tm_min); 30 rsDebug("tm.tm_hour", tm.tm_hour); 31 rsDebug("tm.tm_mday", tm.tm_mday) [all...] |
/external/boringssl/src/crypto/asn1/ |
asn1_locl.h | 75 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 *tm, const ASN1_GENERALIZEDTIME *d) [all...] |
/external/linux-kselftest/tools/testing/selftests/powerpc/tm/ |
Makefile | 2 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-fork tm-tar tm-tmspr tm-vmx-unavail tm-unavailable [all...] |
/external/toybox/toys/posix/ |
cal.c | 26 static char *calstrings(char *buf, struct tm *tm) 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->tm_mon+(tm->tm_mon>6 ? 1 : 0)) & 1) len = 30 72 struct tm *tm; local [all...] |
date.c | 60 static int parse_default(char *str, struct tm *tm) 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->tm_year = year - 1900 165 struct tm tm; local [all...] |
/external/adhd/cras/src/server/ |
cras_tm.h | 19 * 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/ |
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 *);
|
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 *);
|
19-1-buildonly.c | 10 struct tm *getdate(const char *); 16 typedef struct tm *(*getdate_test) (const char *);
|
20-1-buildonly.c | 9 struct tm *gmtime(const time_t *); 15 typedef struct tm *(*gmtime_test) (const time_t *);
|
22-1-buildonly.c | 9 struct tm *localtime(const time_t *); 15 typedef struct tm *(*localtime_test) (const time_t *);
|
24-1-buildonly.c | 9 time_t mktime(struct tm *); 15 typedef time_t(*mktime_test) (struct tm *);
|
27-1-buildonly.c | 10 char *strptime(const char *, const char *, struct tm *); 16 typedef char *(*strptime_test) (const char *, const char *, struct tm *);
|
8-1-buildonly.c | 9 char *asctime(const struct tm *); 15 typedef char *(*asctime_test) (const struct tm *);
|
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/ |
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->DeRegisterExternalMediaProcessing(kPlaybackPerChannel)) [all...] |
/bionic/tests/headers/posix/ |
time_h.c | 47 TYPE(struct tm); 48 STRUCT_MEMBER(struct tm, int, tm_sec); 49 STRUCT_MEMBER(struct tm, int, tm_min); 50 STRUCT_MEMBER(struct tm, int, tm_hour); 51 STRUCT_MEMBER(struct tm, int, tm_mday); 52 STRUCT_MEMBER(struct tm, int, tm_mon); 53 STRUCT_MEMBER(struct tm, int, tm_year); 54 STRUCT_MEMBER(struct tm, int, tm_wday); 55 STRUCT_MEMBER(struct tm, int, tm_yday); 56 STRUCT_MEMBER(struct tm, int, tm_isdst) [all...] |
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/ |
Makefile | 2 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
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
TelecomManagerUtil.java | 28 public static Intent createManageBlockedNumbersIntent(TelecomManager tm) { 29 return CompatUtils.isNCompatible() ? tm.createManageBlockedNumbersIntent() : null;
|
/device/linaro/bootloader/edk2/StdLib/LibC/Time/ |
timegm.c | 53 * timezone state file to figure out strange unnormalized struct tm values,
54 * as might result from someone doing date math on the tm struct then passing
57 * It just does as well as it can at normalizing the tm input, then does a
61 * setting of tm_isdst when comparing tm values, causing the search to be
82 time2(struct tm * const tmp, void (* const funcp)(const time_t*, long, struct tm*),
92 struct tm * const tmp
100 Convert a tm structure to a GMT based time_t.
102 time_t timegm( struct tm * tmp )
|
/external/curl/lib/ |
parsedate.h | 28 CURLcode Curl_gmtime(time_t intime, struct tm *store);
|