/external/webkit/Source/WebKit/efl/ewk/ |
D | ewk_tiled_matrix.c | 64 Ewk_Tile_Matrix *tm = user_data; in _ewk_tile_matrix_cell_free() local 70 ewk_tile_unused_cache_freeze(tm->tuc); in _ewk_tile_matrix_cell_free() 77 tm->updates = eina_list_remove(tm->updates, t); in _ewk_tile_matrix_cell_free() 82 if (!ewk_tile_unused_cache_tile_get(tm->tuc, t)) in _ewk_tile_matrix_cell_free() 83 ERR("tile %p was not in cache %p? leaking...", t, tm->tuc); in _ewk_tile_matrix_cell_free() 88 tm->stats.bytes.freed += t->bytes; in _ewk_tile_matrix_cell_free() 89 tm->stats.tiles.freed++; in _ewk_tile_matrix_cell_free() 97 ewk_tile_unused_cache_thaw(tm->tuc); in _ewk_tile_matrix_cell_free() 103 Ewk_Tile_Matrix *tm = data; in _ewk_tile_matrix_tile_free() local 107 if (!eina_matrixsparse_cell_idx_get(tm->matrix, t->row, t->col, &cell)) { in _ewk_tile_matrix_tile_free() [all …]
|
D | ewk_tiled_matrix.h | 31 EAPI void ewk_tile_matrix_free(Ewk_Tile_Matrix *tm); 33 EAPI void ewk_tile_matrix_resize(Ewk_Tile_Matrix *tm, unsigned long cols, unsigned long row… 35 EAPI Ewk_Tile_Unused_Cache *ewk_tile_matrix_unused_cache_get(const Ewk_Tile_Matrix *tm); 37 EAPI Ewk_Tile *ewk_tile_matrix_tile_exact_get(Ewk_Tile_Matrix *tm, unsigned long col, unsigned … 38 EAPI Eina_Bool ewk_tile_matrix_tile_exact_exists(Ewk_Tile_Matrix *tm, unsigned long col, unsign… 39 EAPI Ewk_Tile *ewk_tile_matrix_tile_nearest_get(Ewk_Tile_Matrix *tm, unsigned long col, unsigne… 40 EAPI Ewk_Tile *ewk_tile_matrix_tile_new(Ewk_Tile_Matrix *tm, Evas *evas, unsigned long col, uns… 41 EAPI Eina_Bool ewk_tile_matrix_tile_put(Ewk_Tile_Matrix *tm, Ewk_Tile *t, double last_used); 43 EAPI Eina_Bool ewk_tile_matrix_tile_update(Ewk_Tile_Matrix *tm, unsigned long col, unsigned int row… 44 EAPI Eina_Bool ewk_tile_matrix_tile_update_full(Ewk_Tile_Matrix *tm, unsigned long col, unsigned in… [all …]
|
/external/bluetooth/glib/glib/ |
D | gtimer.c | 258 mktime_utc (struct tm *tm) in mktime_utc() argument 270 if (tm->tm_mon < 0 || tm->tm_mon > 11) in mktime_utc() 273 retval = (tm->tm_year - 70) * 365; in mktime_utc() 274 retval += (tm->tm_year - 68) / 4; in mktime_utc() 275 retval += days_before[tm->tm_mon] + tm->tm_mday - 1; in mktime_utc() 277 if (tm->tm_year % 4 == 0 && tm->tm_mon < 2) in mktime_utc() 280 retval = ((((retval * 24) + tm->tm_hour) * 60) + tm->tm_min) * 60 + tm->tm_sec; in mktime_utc() 282 retval = timegm (tm); in mktime_utc() 304 struct tm tm; in g_time_val_from_iso8601() local 326 tm.tm_year = val - 1900; in g_time_val_from_iso8601() [all …]
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
D | TreeMapTest.java | 99 TreeMap tm; field in TreeMapTest 136 TreeMap myTreeMap = new TreeMap(new HashMap(tm)); in test_ConstructorLjava_util_Map() 168 tm.clear(); in test_clear() 169 assertEquals("Cleared map returned non-zero size", 0, tm.size()); in test_clear() 177 TreeMap clonedMap = (TreeMap) tm.clone(); in test_clone() 179 .equals(tm)); in test_clone() 181 clonedMap != tm); in test_clone() 184 .get(element.toString()) == tm.get(element.toString())); in test_clone() 232 assertTrue("Returned false for valid key", tm.containsKey("95")); in test_containsKeyLjava_lang_Object() 233 assertTrue("Returned true for invalid key", !tm.containsKey("XXXXX")); in test_containsKeyLjava_lang_Object() [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/ |
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/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
D | TrustManagerImplTest.java | 78 TrustManagerImpl tm = new TrustManagerImpl(ks); in testTrustManagerImpl_1() local 79 assertEquals(0, tm.getAcceptedIssuers().length); in testTrustManagerImpl_1() 80 checkTrustManager(tm); in testTrustManagerImpl_1() 86 TrustManagerImpl tm = new TrustManagerImpl(ks); in testTrustManagerImpl_2() local 87 assertEquals(1, tm.getAcceptedIssuers().length); in testTrustManagerImpl_2() 88 checkTrustManager(tm); in testTrustManagerImpl_2() 91 private void checkTrustManager(TrustManagerImpl tm) throws Exception { in checkTrustManager() argument 93 tm.checkClientTrusted(null, "RSA"); in checkTrustManager() 99 tm.checkClientTrusted(new X509Certificate[0], "RSA"); in checkTrustManager() 105 tm.checkClientTrusted(untrustedChain, "RSA"); in checkTrustManager() [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() 245 struct tm *tm; in ASN1_UTCTIME_cmp_time_t() local 246 struct tm data; in ASN1_UTCTIME_cmp_time_t() 263 tm = OPENSSL_gmtime(&t, &data); in ASN1_UTCTIME_cmp_time_t() 269 return_cmp(year, tm->tm_year); in ASN1_UTCTIME_cmp_time_t() 270 return_cmp(g2(s->data+2) - 1, tm->tm_mon); in ASN1_UTCTIME_cmp_time_t() 271 return_cmp(g2(s->data+4), tm->tm_mday); in ASN1_UTCTIME_cmp_time_t() 272 return_cmp(g2(s->data+6), tm->tm_hour); in ASN1_UTCTIME_cmp_time_t() 273 return_cmp(g2(s->data+8), tm->tm_min); in ASN1_UTCTIME_cmp_time_t() [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/icu4c/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 …]
|
D | localtime.c | 150 static struct tm * gmtsub(const time_t * timep, long offset, 151 struct tm * tmp); 152 static struct tm * localsub(const time_t * timep, long offset, 153 struct tm * tmp); 162 static time_t time1(struct tm * tmp, 163 struct tm * (*funcp)(const time_t *, 164 long, struct tm *), 166 static time_t time2(struct tm *tmp, 167 struct tm * (*funcp)(const time_t *, 168 long, struct tm*), [all …]
|
/external/wpa_supplicant/ |
D | os_win32.c | 58 struct tm tm, *tm1; in os_mktime() local 67 memset(&tm, 0, sizeof(tm)); in os_mktime() 68 tm.tm_year = year - 1900; in os_mktime() 69 tm.tm_mon = month - 1; in os_mktime() 70 tm.tm_mday = day; in os_mktime() 71 tm.tm_hour = hour; in os_mktime() 72 tm.tm_min = min; in os_mktime() 73 tm.tm_sec = sec; in os_mktime() 75 t_local = mktime(&tm); in os_mktime()
|
D | os_unix.c | 48 struct tm tm, *tm1; in os_mktime() local 57 memset(&tm, 0, sizeof(tm)); in os_mktime() 58 tm.tm_year = year - 1900; in os_mktime() 59 tm.tm_mon = month - 1; in os_mktime() 60 tm.tm_mday = day; in os_mktime() 61 tm.tm_hour = hour; in os_mktime() 62 tm.tm_min = min; in os_mktime() 63 tm.tm_sec = sec; in os_mktime() 65 t_local = mktime(&tm); in os_mktime()
|
/external/wpa_supplicant_6/wpa_supplicant/src/utils/ |
D | os_win32.c | 58 struct tm tm, *tm1; in os_mktime() local 67 memset(&tm, 0, sizeof(tm)); in os_mktime() 68 tm.tm_year = year - 1900; in os_mktime() 69 tm.tm_mon = month - 1; in os_mktime() 70 tm.tm_mday = day; in os_mktime() 71 tm.tm_hour = hour; in os_mktime() 72 tm.tm_min = min; in os_mktime() 73 tm.tm_sec = sec; in os_mktime() 75 t_local = mktime(&tm); in os_mktime()
|
D | os_unix.c | 48 struct tm tm, *tm1; in os_mktime() local 57 memset(&tm, 0, sizeof(tm)); in os_mktime() 58 tm.tm_year = year - 1900; in os_mktime() 59 tm.tm_mon = month - 1; in os_mktime() 60 tm.tm_mday = day; in os_mktime() 61 tm.tm_hour = hour; in os_mktime() 62 tm.tm_min = min; in os_mktime() 63 tm.tm_sec = sec; in os_mktime() 65 t_local = mktime(&tm); in os_mktime()
|
/external/wpa_supplicant_8/src/utils/ |
D | os_win32.c | 58 struct tm tm, *tm1; in os_mktime() local 67 memset(&tm, 0, sizeof(tm)); in os_mktime() 68 tm.tm_year = year - 1900; in os_mktime() 69 tm.tm_mon = month - 1; in os_mktime() 70 tm.tm_mday = day; in os_mktime() 71 tm.tm_hour = hour; in os_mktime() 72 tm.tm_min = min; in os_mktime() 73 tm.tm_sec = sec; in os_mktime() 75 t_local = mktime(&tm); in os_mktime()
|
/external/openssl/crypto/x509/ |
D | x509cset.c | 84 int X509_CRL_set_lastUpdate(X509_CRL *x, const ASN1_TIME *tm) in X509_CRL_set_lastUpdate() argument 90 if (in != tm) in X509_CRL_set_lastUpdate() 92 in=M_ASN1_TIME_dup(tm); in X509_CRL_set_lastUpdate() 102 int X509_CRL_set_nextUpdate(X509_CRL *x, const ASN1_TIME *tm) in X509_CRL_set_nextUpdate() argument 108 if (in != tm) in X509_CRL_set_nextUpdate() 110 in=M_ASN1_TIME_dup(tm); in X509_CRL_set_nextUpdate() 136 int X509_REVOKED_set_revocationDate(X509_REVOKED *x, ASN1_TIME *tm) in X509_REVOKED_set_revocationDate() argument 142 if (in != tm) in X509_REVOKED_set_revocationDate() 144 in=M_ASN1_TIME_dup(tm); in X509_REVOKED_set_revocationDate()
|
/external/jhead/ |
D | jhead.c | 133 struct tm ts; in FileTimeAsString() 543 struct tm tm; 570 if (!Exif2tm(&tm, ImageInfo.DateTime)){ 573 tm = *localtime(&ImageInfo.FileDateTime); 588 UnixTime = mktime(&tm); 630 strftime(NewName, PATH_MAX, pattern, &tm); 634 tm.tm_mon+1, tm.tm_mday, tm.tm_hour, tm.tm_min, tm.tm_sec); 1054 struct tm tm; 1076 if (!Exif2tm(&tm, ImageInfo.DateTime)) goto badtime; 1079 UnixTime = mktime(&tm); [all …]
|
/external/skia/samplecode/ |
D | SampleGradients.cpp | 61 SkShader::TileMode tm, SkUnitMapper* mapper) { in MakeLinear() argument 63 data.fCount, tm, mapper); in MakeLinear() 67 SkShader::TileMode tm, SkUnitMapper* mapper) { in MakeRadial() argument 72 data.fPos, data.fCount, tm, mapper); in MakeRadial() 76 SkShader::TileMode tm, SkUnitMapper* mapper) { in MakeSweep() argument 85 SkShader::TileMode tm, SkUnitMapper* mapper) { in Make2Radial() argument 94 data.fColors, data.fPos, data.fCount, tm, mapper); in Make2Radial() 98 SkShader::TileMode tm, SkUnitMapper* mapper) { in Make2RadialConcentric() argument 105 data.fColors, data.fPos, data.fCount, tm, mapper); in Make2RadialConcentric() 109 SkShader::TileMode tm, SkUnitMapper* mapper); [all …]
|
/external/webkit/Source/WebCore/platform/wx/wxcode/win/ |
D | fontprops.cpp | 57 TEXTMETRIC tm; in wxFontProperties() local 58 GetTextMetrics(dc, &tm); in wxFontProperties() 59 m_ascent = lroundf(tm.tmAscent); in wxFontProperties() 60 m_descent = lroundf(tm.tmDescent); in wxFontProperties() 62 m_lineGap = lroundf(tm.tmExternalLeading); in wxFontProperties() 163 TEXTMETRIC tm; in GetTextExtent() local 164 ::GetTextMetrics(dc, &tm); in GetTextExtent() 171 *descent = tm.tmDescent; in GetTextExtent() 173 *externalLeading = tm.tmExternalLeading; in GetTextExtent()
|
/external/skia/gm/ |
D | gradients.cpp | 30 SkShader::TileMode tm, SkUnitMapper* mapper) { in MakeLinear() argument 32 data.fCount, tm, mapper); in MakeLinear() 36 SkShader::TileMode tm, SkUnitMapper* mapper) { in MakeRadial() argument 41 data.fPos, data.fCount, tm, mapper); in MakeRadial() 45 SkShader::TileMode tm, SkUnitMapper* mapper) { in MakeSweep() argument 54 SkShader::TileMode tm, SkUnitMapper* mapper) { in Make2Radial() argument 63 data.fColors, data.fPos, data.fCount, tm, mapper); in Make2Radial() 67 SkShader::TileMode tm, SkUnitMapper* mapper); 96 SkShader::TileMode tm = SkShader::kClamp_TileMode; in onDraw() local 105 SkShader* shader = gGradMakers[j](pts, gGradData[i], tm, NULL); in onDraw()
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
D | SimpleFontDataWinCE.cpp | 49 const TEXTMETRIC& tm = m_platformData.metrics(); in platformInit() local 52 float ascent = (tm.tmAscent * m_platformData.size() + 36) / 72.0f; in platformInit() 53 float descent = (tm.tmDescent * m_platformData.size() + 36) / 72.0f; in platformInit() 54 float lineGap = (tm.tmExternalLeading * m_platformData.size() + 36) / 72.0f; in platformInit() 142 const TEXTMETRIC& tm = m_platformData.metrics(); in determinePitch() local 146 m_treatAsFixedPitch = !(tm.tmPitchAndFamily & TMPF_FIXED_PITCH); in determinePitch() 176 const TEXTMETRIC& tm = m_platformData.metrics(); in platformCharWidthInit() local 177 m_avgCharWidth = (tm.tmAveCharWidth * m_platformData.size() + 36) / 72; in platformCharWidthInit() 178 m_maxCharWidth = (tm.tmMaxCharWidth * m_platformData.size() + 36) / 72; in platformCharWidthInit()
|
/external/stlport/stlport/stl/ |
D | _time_facets.h | 141 ios_base::iostate& __err, tm* __t) const in get_time() 144 ios_base::iostate& __err, tm* __t) const in get_date() 147 ios_base::iostate& __err, tm* __t) const in get_weekday() 150 ios_base::iostate& __err, tm* __t) const in get_monthname() 153 ios_base::iostate& __err, tm* __t) const in get_year() 172 tm* __t) const; 176 tm* __t) const; 181 tm* __t) const; 185 tm* __t) const; 189 tm* __t) const; [all …]
|
/external/ppp/pppd/plugins/radius/ |
D | util.c | 33 void rc_str2tm (char *valstr, struct tm *tm) in rc_str2tm() argument 42 tm->tm_mon = i; in rc_str2tm() 48 tm->tm_mday = atoi (&valstr[4]); in rc_str2tm() 51 tm->tm_year = atoi (&valstr[7]) - 1900; in rc_str2tm()
|