/external/bison/lib/ |
D | time.in.h | 132 _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_t const *restrict __timer, [all …]
|
/external/chromium_org/third_party/webrtc/voice_engine/ |
D | transmit_mixer_unittest.cc | 31 TransmitMixer* tm = NULL; in TEST() local 32 ASSERT_EQ(0, TransmitMixer::Create(tm, 0)); in TEST() 33 ASSERT_TRUE(tm != NULL); in TEST() 35 EXPECT_EQ(-1, tm->RegisterExternalMediaProcessing(NULL, in TEST() 37 EXPECT_EQ(-1, tm->RegisterExternalMediaProcessing(&callback, in TEST() 39 EXPECT_EQ(-1, tm->RegisterExternalMediaProcessing(&callback, in TEST() 41 EXPECT_EQ(-1, tm->RegisterExternalMediaProcessing(&callback, in TEST() 43 EXPECT_EQ(0, tm->RegisterExternalMediaProcessing(&callback, in TEST() 45 EXPECT_EQ(0, tm->RegisterExternalMediaProcessing(&callback, in TEST() 47 EXPECT_EQ(-1, tm->DeRegisterExternalMediaProcessing(kPlaybackPerChannel)); in TEST() [all …]
|
/external/chromium_org/third_party/boringssl/src/crypto/ |
D | time_support.c | 66 struct tm *OPENSSL_gmtime(const time_t *time, struct tm *result) { in OPENSSL_gmtime() 100 static int julian_adj(const struct tm *tm, int off_day, long offset_sec, in julian_adj() argument 111 offset_hms += tm->tm_hour * 3600 + tm->tm_min * 60 + tm->tm_sec; in julian_adj() 123 time_year = tm->tm_year + 1900; in julian_adj() 124 time_month = tm->tm_mon + 1; in julian_adj() 125 time_day = tm->tm_mday; in julian_adj() 140 int OPENSSL_gmtime_adj(struct tm *tm, int off_day, long offset_sec) { in OPENSSL_gmtime_adj() argument 145 if (!julian_adj(tm, off_day, offset_sec, &time_jd, &time_sec)) in OPENSSL_gmtime_adj() 157 tm->tm_year = time_year - 1900; in OPENSSL_gmtime_adj() 158 tm->tm_mon = time_month - 1; in OPENSSL_gmtime_adj() [all …]
|
/external/compiler-rt/test/msan/ |
D | mktime.cc | 10 struct tm tm; in main() local 11 tm.tm_year = 2014; in main() 12 tm.tm_mon = 3; in main() 13 tm.tm_mday = 28; in main() 15 tm.tm_hour = 13; in main() 17 tm.tm_min = 4; in main() 18 tm.tm_sec = 42; in main() 19 tm.tm_isdst = -1; in main() 20 time_t t = mktime(&tm); in main() 24 assert(__msan_test_shadow(&tm, sizeof(tm)) == -1); in main()
|
/external/chromium_org/third_party/boringssl/src/crypto/asn1/ |
D | a_utctm.c | 99 int asn1_utctime_to_tm(struct tm *tm, const ASN1_UTCTIME *d) in asn1_utctime_to_tm() argument 118 if (tm) in asn1_utctime_to_tm() 119 tm->tm_sec = 0; in asn1_utctime_to_tm() 131 if (tm) in asn1_utctime_to_tm() 136 tm->tm_year = n < 50 ? n + 100 : n; in asn1_utctime_to_tm() 139 tm->tm_mon = n - 1; in asn1_utctime_to_tm() 142 tm->tm_mday = n; in asn1_utctime_to_tm() 145 tm->tm_hour = n; in asn1_utctime_to_tm() 148 tm->tm_min = n; in asn1_utctime_to_tm() 151 tm->tm_sec = n; in asn1_utctime_to_tm() [all …]
|
D | a_gentm.c | 64 int asn1_generalizedtime_to_tm(struct tm *tm, const ASN1_GENERALIZEDTIME *d) in asn1_generalizedtime_to_tm() argument 86 if (tm) in asn1_generalizedtime_to_tm() 87 tm->tm_sec = 0; in asn1_generalizedtime_to_tm() 99 if (tm) in asn1_generalizedtime_to_tm() 104 tm->tm_year = n * 100 - 1900; in asn1_generalizedtime_to_tm() 107 tm->tm_year += n; in asn1_generalizedtime_to_tm() 110 tm->tm_mon = n - 1; in asn1_generalizedtime_to_tm() 113 tm->tm_mday = n; in asn1_generalizedtime_to_tm() 116 tm->tm_hour = n; in asn1_generalizedtime_to_tm() 119 tm->tm_min = n; in asn1_generalizedtime_to_tm() [all …]
|
/external/ipsec-tools/src/racoon/ |
D | backupsa.c | 86 static char *str2tmx __P((char *, struct tm *)); 97 struct tm *tm; local 107 tm = localtime(&t); 108 l = strftime(p, len, format, tm); 201 struct tm tm; in backupsa_from_file() local 228 memset(&tm, 0, sizeof(tm)); in backupsa_from_file() 229 p = str2tmx(buf, &tm); in backupsa_from_file() 238 created = mktime(&tm); in backupsa_from_file() 364 str2tmx(char *p, struct tm *tm) in str2tmx() argument 371 tm->tm_mon = i; in str2tmx() [all …]
|
/external/openssl/crypto/des/ |
D | des_opts.c | 410 tm[index]=Time_F(STOP); \ 411 fprintf(stderr,"%ld %s's in %.2f second\n",count,name,tm[index]); \ 412 tm[index]=((double)COUNT(cb))/tm[index]; 416 tm[index]*8,1.0e6/tm[index]); 426 double d,tm[16],max=0; in main() local 436 tm[i]=0.0; in main() 506 max=tm[0]; in main() 510 if (max < tm[1]) { max=tm[1]; max_idx=1; } in main() 513 if (max < tm[2]) { max=tm[2]; max_idx=2; } in main() 518 if (max < tm[3]) { max=tm[3]; max_idx=3; } in main() [all …]
|
/external/qemu/hw/timer/ |
D | mc146818rtc.c | 68 struct tm current_tm; 287 struct tm *tm = &s->current_tm; in rtc_set_time() local 289 tm->tm_sec = rtc_from_bcd(s, s->cmos_data[RTC_SECONDS]); in rtc_set_time() 290 tm->tm_min = rtc_from_bcd(s, s->cmos_data[RTC_MINUTES]); in rtc_set_time() 291 tm->tm_hour = rtc_from_bcd(s, s->cmos_data[RTC_HOURS] & 0x7f); in rtc_set_time() 294 tm->tm_hour += 12; in rtc_set_time() 296 tm->tm_wday = rtc_from_bcd(s, s->cmos_data[RTC_DAY_OF_WEEK]) - 1; in rtc_set_time() 297 tm->tm_mday = rtc_from_bcd(s, s->cmos_data[RTC_DAY_OF_MONTH]); in rtc_set_time() 298 tm->tm_mon = rtc_from_bcd(s, s->cmos_data[RTC_MONTH]) - 1; in rtc_set_time() 299 tm->tm_year = rtc_from_bcd(s, s->cmos_data[RTC_YEAR]) + s->base_year - 1900; in rtc_set_time() [all …]
|
/external/openssl/crypto/asn1/ |
D | a_utctm.c | 196 struct tm *ts; in ASN1_UTCTIME_adj() 197 struct tm data; in ASN1_UTCTIME_adj() 254 struct tm *tm; in ASN1_UTCTIME_cmp_time_t() local 255 struct tm data; in ASN1_UTCTIME_cmp_time_t() 272 tm = OPENSSL_gmtime(&t, &data); in ASN1_UTCTIME_cmp_time_t() 276 if (tm == NULL) in ASN1_UTCTIME_cmp_time_t() 283 return_cmp(year, tm->tm_year); in ASN1_UTCTIME_cmp_time_t() 284 return_cmp(g2(s->data+2) - 1, tm->tm_mon); in ASN1_UTCTIME_cmp_time_t() 285 return_cmp(g2(s->data+4), tm->tm_mday); in ASN1_UTCTIME_cmp_time_t() 286 return_cmp(g2(s->data+6), tm->tm_hour); in ASN1_UTCTIME_cmp_time_t() [all …]
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
D | TrustManagerImplTest.java | 77 TrustManagerImpl tm = new TrustManagerImpl(ks); in testTrustManagerImpl_1() local 78 assertEquals(0, tm.getAcceptedIssuers().length); in testTrustManagerImpl_1() 79 checkTrustManager(tm); in testTrustManagerImpl_1() 85 TrustManagerImpl tm = new TrustManagerImpl(ks); in testTrustManagerImpl_2() local 86 assertEquals(1, tm.getAcceptedIssuers().length); in testTrustManagerImpl_2() 87 checkTrustManager(tm); in testTrustManagerImpl_2() 90 private void checkTrustManager(TrustManagerImpl tm) throws Exception { in checkTrustManager() argument 92 tm.checkClientTrusted(null, "RSA"); in checkTrustManager() 98 tm.checkClientTrusted(new X509Certificate[0], "RSA"); in checkTrustManager() 104 tm.checkClientTrusted(untrustedChain, "RSA"); in checkTrustManager() [all …]
|
/external/wpa_supplicant_8/src/utils/ |
D | os_win32.c | 64 struct tm tm, *tm1; in os_mktime() local 73 memset(&tm, 0, sizeof(tm)); in os_mktime() 74 tm.tm_year = year - 1900; in os_mktime() 75 tm.tm_mon = month - 1; in os_mktime() 76 tm.tm_mday = day; in os_mktime() 77 tm.tm_hour = hour; in os_mktime() 78 tm.tm_min = min; in os_mktime() 79 tm.tm_sec = sec; in os_mktime() 81 t_local = mktime(&tm); in os_mktime() 101 int os_gmtime(os_time_t t, struct os_tm *tm) in os_gmtime() argument [all …]
|
/external/bison/darwin-lib/ |
D | time.h | 444 _GL_FUNCDECL_RPL (mktime, time_t, (struct tm *__tp) _GL_ARG_NONNULL ((1))); 445 _GL_CXXALIAS_RPL (mktime, time_t, (struct tm *__tp)); 447 _GL_CXXALIAS_SYS (mktime, time_t, (struct tm *__tp)); 461 _GL_FUNCDECL_RPL (localtime_r, struct tm *, (time_t const *restrict __timer, 462 struct tm *restrict __result) 464 _GL_CXXALIAS_RPL (localtime_r, struct tm *, (time_t const *restrict __timer, 465 struct tm *restrict __result)); 468 _GL_FUNCDECL_SYS (localtime_r, struct tm *, (time_t const *restrict __timer, 469 struct tm *restrict __result) 472 _GL_CXXALIAS_SYS (localtime_r, struct tm *, (time_t const *restrict __timer, [all …]
|
/external/bison/linux-lib/ |
D | time.h | 444 _GL_FUNCDECL_RPL (mktime, time_t, (struct tm *__tp) _GL_ARG_NONNULL ((1))); 445 _GL_CXXALIAS_RPL (mktime, time_t, (struct tm *__tp)); 447 _GL_CXXALIAS_SYS (mktime, time_t, (struct tm *__tp)); 461 _GL_FUNCDECL_RPL (localtime_r, struct tm *, (time_t const *restrict __timer, 462 struct tm *restrict __result) 464 _GL_CXXALIAS_RPL (localtime_r, struct tm *, (time_t const *restrict __timer, 465 struct tm *restrict __result)); 468 _GL_FUNCDECL_SYS (localtime_r, struct tm *, (time_t const *restrict __timer, 469 struct tm *restrict __result) 472 _GL_CXXALIAS_SYS (localtime_r, struct tm *, (time_t const *restrict __timer, [all …]
|
/external/openssl/crypto/ |
D | o_time.c | 81 struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result) in OPENSSL_gmtime() 83 struct tm *ts = NULL; in OPENSSL_gmtime() 95 memcpy(result, ts, sizeof(struct tm)); in OPENSSL_gmtime() 238 int OPENSSL_gmtime_adj(struct tm *tm, int off_day, long offset_sec) in OPENSSL_gmtime_adj() argument 249 offset_hms += tm->tm_hour * 3600 + tm->tm_min * 60 + tm->tm_sec; in OPENSSL_gmtime_adj() 265 time_year = tm->tm_year + 1900; in OPENSSL_gmtime_adj() 266 time_month = tm->tm_mon + 1; in OPENSSL_gmtime_adj() 267 time_day = tm->tm_mday; in OPENSSL_gmtime_adj() 286 tm->tm_year = time_year - 1900; in OPENSSL_gmtime_adj() 287 tm->tm_mon = time_month - 1; in OPENSSL_gmtime_adj() [all …]
|
/external/fio/ |
D | tickmarks.c | 42 static void shorten(struct tickmark *tm, int nticks, int *power_of_ten, in shorten() argument 51 str = tm[i].string; in shorten() 82 str = tm[i].string; in shorten() 90 int calc_tickmarks(double min, double max, int nticks, struct tickmark **tm, in calc_tickmarks() argument 109 *tm = malloc(sizeof(**tm) * count); in calc_tickmarks() 113 (*tm)[i].value = x; in calc_tickmarks() 114 sprintf((*tm)[i].string, str, x); in calc_tickmarks() 117 shorten(*tm, i, power_of_ten, use_KMG_symbols, base_offset); in calc_tickmarks() 127 struct tickmark *tm = NULL; 129 nticks = calc_tickmarks(x, y, 10, &tm); [all …]
|
/external/chromium_org/content/zygote/ |
D | zygote_main_linux.cc | 108 static void ProxyLocaltimeCallToBrowser(time_t input, struct tm* output, in ProxyLocaltimeCallToBrowser() 121 memset(output, 0, sizeof(struct tm)); in ProxyLocaltimeCallToBrowser() 130 result.size() != sizeof(struct tm)) { in ProxyLocaltimeCallToBrowser() 131 memset(output, 0, sizeof(struct tm)); in ProxyLocaltimeCallToBrowser() 135 memcpy(output, result.data(), sizeof(struct tm)); in ProxyLocaltimeCallToBrowser() 184 typedef struct tm* (*LocaltimeFunction)(const time_t* timep); 185 typedef struct tm* (*LocaltimeRFunction)(const time_t* timep, 186 struct tm* result); 231 struct tm* localtime_override(const time_t* timep) __asm__ ("localtime"); 234 struct tm* localtime_override(const time_t* timep) { in localtime_override() [all …]
|
/external/chromium_org/third_party/icu/source/tools/tzcode/ |
D | zdump.c | 164 static char * abbr(struct tm * tmp); 166 static long delta(struct tm * newp, struct tm * oldp); 167 static void dumptime(const struct tm * tmp); 189 static struct tm * 193 register struct tm * tmp; 197 struct tm tm; local 200 tm = *tmp; 201 t = mktime(&tm); 289 struct tm tm; local 290 struct tm newtm; [all …]
|
/external/icu/icu4c/source/tools/tzcode/ |
D | zdump.c | 164 static char * abbr(struct tm * tmp); 166 static long delta(struct tm * newp, struct tm * oldp); 167 static void dumptime(const struct tm * tmp); 189 static struct tm * 193 register struct tm * tmp; 197 struct tm tm; local 200 tm = *tmp; 201 t = mktime(&tm); 289 struct tm tm; local 290 struct tm newtm; [all …]
|
/external/chromium_org/third_party/skia/gm/ |
D | gradients_2pt_conical.cpp | 41 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalOutside() argument 50 data.fCount, tm, 0, &localMatrix); in Make2ConicalOutside() 54 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalOutsideFlip() argument 63 data.fCount, tm, 0, &localMatrix); in Make2ConicalOutsideFlip() 67 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalInside() argument 75 data.fColors, data.fPos, data.fCount, tm, in Make2ConicalInside() 80 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalInsideFlip() argument 88 data.fColors, data.fPos, data.fCount, tm, in Make2ConicalInsideFlip() 93 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalInsideCenter() argument 101 data.fColors, data.fPos, data.fCount, tm, in Make2ConicalInsideCenter() [all …]
|
/external/skia/gm/ |
D | gradients_2pt_conical.cpp | 41 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalOutside() argument 50 data.fCount, tm, 0, &localMatrix); in Make2ConicalOutside() 54 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalOutsideFlip() argument 63 data.fCount, tm, 0, &localMatrix); in Make2ConicalOutsideFlip() 67 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalInside() argument 75 data.fColors, data.fPos, data.fCount, tm, in Make2ConicalInside() 80 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalInsideFlip() argument 88 data.fColors, data.fPos, data.fCount, tm, in Make2ConicalInsideFlip() 93 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalInsideCenter() argument 101 data.fColors, data.fPos, data.fCount, tm, in Make2ConicalInsideCenter() [all …]
|
/external/llvm/lib/Target/R600/ |
D | AMDGPU.h | 29 FunctionPass *createR600VectorRegMerger(TargetMachine &tm); 31 FunctionPass *createR600ExpandSpecialInstrsPass(TargetMachine &tm); 33 FunctionPass *createR600ClauseMergePass(TargetMachine &tm); 34 FunctionPass *createR600Packetizer(TargetMachine &tm); 35 FunctionPass *createR600ControlFlowFinalizer(TargetMachine &tm); 42 FunctionPass *createSILowerControlFlowPass(TargetMachine &tm); 43 FunctionPass *createSIFixSGPRCopiesPass(TargetMachine &tm); 46 FunctionPass *createSIInsertWaits(TargetMachine &tm); 54 FunctionPass *createAMDGPUISelDag(TargetMachine &tm);
|
/external/libcxx/test/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/ |
D | get_monthname.pass.cpp | 39 std::tm t; in main() 43 t = std::tm(); in main() 52 t = std::tm(); in main() 61 t = std::tm(); in main() 70 t = std::tm(); in main() 79 t = std::tm(); in main() 88 t = std::tm(); in main() 97 t = std::tm(); in main() 106 t = std::tm(); in main() 115 t = std::tm(); in main() [all …]
|
/external/conscrypt/src/test/java/org/conscrypt/ |
D | TrustManagerImplTest.java | 96 X509TrustManager tm = trustManager(root); in testLearnIntermediate() local 98 assertInvalid(chain1, tm); in testLearnIntermediate() 100 assertValid(chain2, tm); in testLearnIntermediate() 102 assertValid(chain1, tm); in testLearnIntermediate() 126 X509TrustManager tm = trustManager(root); in testGetFullChain() local 134 assertTrue(tm instanceof TrustManagerImpl); in testGetFullChain() 135 TrustManagerImpl tmi = (TrustManagerImpl) tm; in testGetFullChain() 227 private void assertValid(X509Certificate[] chain, X509TrustManager tm) throws Exception { in assertValid() argument 228 if (tm instanceof TrustManagerImpl) { in assertValid() 229 TrustManagerImpl tmi = (TrustManagerImpl) tm; in assertValid() [all …]
|
/external/chromium_org/third_party/boringssl/src/include/openssl/ |
D | time_support.h | 71 struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result); 75 int OPENSSL_gmtime_adj(struct tm *tm, int offset_day, long offset_sec); 80 int OPENSSL_gmtime_diff(int *out_days, int *out_secs, const struct tm *from, 81 const struct tm *to);
|