/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/openssh/openbsd-compat/ |
D | strptime.c | 57 static char *_strptime(const char *, const char *, struct tm *, int); 61 strptime(const char *buf, const char *fmt, struct tm *tm) in strptime() argument 63 return(_strptime(buf, fmt, tm, 1)); in strptime() 67 _strptime(const char *buf, const char *fmt, struct tm *tm, int initialize) in _strptime() argument 126 if (!(bp = _strptime(bp, _ctloc(d_t_fmt), tm, 0))) in _strptime() 132 if (!(bp = _strptime(bp, "%m/%d/%y", tm, 0))) in _strptime() 138 if (!(bp = _strptime(bp, "%H:%M", tm, 0))) in _strptime() 144 if (!(bp = _strptime(bp, "%I:%M:%S %p", tm, 0))) in _strptime() 150 if (!(bp = _strptime(bp, "%H:%M:%S", tm, 0))) in _strptime() 156 if (!(bp = _strptime(bp, _ctloc(t_fmt), tm, 0))) in _strptime() [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/ganymed-ssh2/src/main/java/ch/ethz/ssh2/ |
D | Connection.java | 101 private TransportManager tm; field in Connection 177 if (tm == null) in authenticateWithDSA() 184 am = new AuthenticationManager(tm); in authenticateWithDSA() 187 cm = new ChannelManager(tm); in authenticateWithDSA() 258 if (tm == null) in authenticateWithKeyboardInteractive() 265 am = new AuthenticationManager(tm); in authenticateWithKeyboardInteractive() 268 cm = new ChannelManager(tm); in authenticateWithKeyboardInteractive() 304 if (tm == null) in authenticateWithPassword() 311 am = new AuthenticationManager(tm); in authenticateWithPassword() 314 cm = new ChannelManager(tm); in authenticateWithPassword() [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/wpa_supplicant_8/src/utils/ |
D | os_win32.c | 53 struct tm tm, *tm1; in os_mktime() local 62 memset(&tm, 0, sizeof(tm)); in os_mktime() 63 tm.tm_year = year - 1900; in os_mktime() 64 tm.tm_mon = month - 1; in os_mktime() 65 tm.tm_mday = day; in os_mktime() 66 tm.tm_hour = hour; in os_mktime() 67 tm.tm_min = min; in os_mktime() 68 tm.tm_sec = sec; in os_mktime() 70 t_local = mktime(&tm); in os_mktime() 90 int os_gmtime(os_time_t t, struct os_tm *tm) in os_gmtime() argument [all …]
|
D | os_internal.c | 47 struct tm tm; in os_mktime() local 54 os_memset(&tm, 0, sizeof(tm)); in os_mktime() 55 tm.tm_year = year - 1900; in os_mktime() 56 tm.tm_mon = month - 1; in os_mktime() 57 tm.tm_mday = day; in os_mktime() 58 tm.tm_hour = hour; in os_mktime() 59 tm.tm_min = min; in os_mktime() 60 tm.tm_sec = sec; in os_mktime() 62 *t = (os_time_t) mktime(&tm); in os_mktime() 67 int os_gmtime(os_time_t t, struct os_tm *tm) in os_gmtime() argument [all …]
|
D | os_unix.c | 66 struct tm tm, *tm1; in os_mktime() local 75 memset(&tm, 0, sizeof(tm)); in os_mktime() 76 tm.tm_year = year - 1900; in os_mktime() 77 tm.tm_mon = month - 1; in os_mktime() 78 tm.tm_mday = day; in os_mktime() 79 tm.tm_hour = hour; in os_mktime() 80 tm.tm_min = min; in os_mktime() 81 tm.tm_sec = sec; in os_mktime() 83 t_local = mktime(&tm); in os_mktime() 103 int os_gmtime(os_time_t t, struct os_tm *tm) in os_gmtime() argument [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/ganymed-ssh2/src/main/java/ch/ethz/ssh2/auth/ |
D | AuthenticationManager.java | 43 private TransportManager tm; field in AuthenticationManager 56 public AuthenticationManager(TransportManager tm) in AuthenticationManager() argument 58 this.tm = tm; in AuthenticationManager() 85 throw (IOException) new IOException("The connection is closed.").initCause(tm in deQueue() 144 tm.registerMessageHandler(this, 0, 255); in initialize() 147 tm.sendMessage(sr.getPayload()); in initialize() 153 tm.sendMessage(urn.getPayload()); in initialize() 162 tm.removeMessageHandler(this, 0, 255); in initialize() 200 byte[] H = tm.getSessionIdentifier(); in authenticatePublicKey() 219 tm.sendMessage(ua.getPayload()); in authenticatePublicKey() [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 …]
|
/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/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 | 68 SkShader::TileMode tm, SkUnitMapper* mapper) { in MakeLinear() argument 70 data.fCount, tm, mapper); in MakeLinear() 74 SkShader::TileMode tm, SkUnitMapper* mapper) { in MakeRadial() argument 79 data.fPos, data.fCount, tm, mapper); in MakeRadial() 83 SkShader::TileMode tm, SkUnitMapper* mapper) { in MakeSweep() argument 92 SkShader::TileMode tm, SkUnitMapper* mapper) { in Make2Radial() argument 101 data.fColors, data.fPos, data.fCount, tm, mapper); in Make2Radial() 105 SkShader::TileMode tm, SkUnitMapper* mapper) { in Make2RadialConcentric() argument 112 data.fColors, data.fPos, data.fCount, tm, mapper); in Make2RadialConcentric() 116 SkShader::TileMode tm, SkUnitMapper* mapper); [all …]
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXFrameLowering.cpp | 41 if (tm.getSubtargetImpl()->hasGenericLdSt()) { in emitPrologue() 46 tm.getInstrInfo()->get(NVPTX::cvta_local_yes_64), in emitPrologue() 49 tm.getInstrInfo()->get(NVPTX::IMOV64rr), NVPTX::VRFrameLocal) in emitPrologue() 53 tm.getInstrInfo()->get(NVPTX::cvta_local_yes), in emitPrologue() 56 tm.getInstrInfo()->get(NVPTX::IMOV32rr), NVPTX::VRFrameLocal) in emitPrologue() 64 tm.getInstrInfo()->get(NVPTX::IMOV64rr), NVPTX::VRFrame) in emitPrologue() 68 tm.getInstrInfo()->get(NVPTX::IMOV32rr), NVPTX::VRFrame) in emitPrologue()
|
/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/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 …]
|