Home
last modified time | relevance | path

Searched refs:ptm (Results 1 – 25 of 39) sorted by relevance

12

/third_party/libwebsockets/lib/core/
Dlogs.c210 struct tm *ptm = NULL; in lwsl_timestamp() local
222 ptm = localtime_r(&o_now, &tm); in lwsl_timestamp()
224 ptm = localtime(&o_now); in lwsl_timestamp()
231 if (ptm) in lwsl_timestamp()
234 ptm->tm_year + 1900, in lwsl_timestamp()
235 ptm->tm_mon + 1, in lwsl_timestamp()
236 ptm->tm_mday, in lwsl_timestamp()
237 ptm->tm_hour, in lwsl_timestamp()
238 ptm->tm_min, in lwsl_timestamp()
239 ptm->tm_sec, in lwsl_timestamp()
/third_party/libwebsockets/lib/roles/http/server/
Daccess-log.c51 struct tm *ptm = NULL; in lws_prepare_access_log_info() local
71 ptm = localtime_r(&t, &tm); in lws_prepare_access_log_info()
73 ptm = localtime(&t); in lws_prepare_access_log_info()
75 if (ptm) in lws_prepare_access_log_info()
76 strftime(da, sizeof(da), "%d/%b/%Y:%H:%M:%S %z", ptm); in lws_prepare_access_log_info()
/third_party/openssl/crypto/x509/
Dx509_set.c64 int ossl_x509_set1_time(ASN1_TIME **ptm, const ASN1_TIME *tm) in ossl_x509_set1_time() argument
67 in = *ptm; in ossl_x509_set1_time()
71 ASN1_TIME_free(*ptm); in ossl_x509_set1_time()
72 *ptm = in; in ossl_x509_set1_time()
/third_party/ffmpeg/libavutil/
Ddict.c261 struct tm *ptm, tmbuf; in avpriv_dict_set_timestamp() local
262 ptm = gmtime_r(&seconds, &tmbuf); in avpriv_dict_set_timestamp()
263 if (ptm) { in avpriv_dict_set_timestamp()
265 if (!strftime(buf, sizeof(buf), "%Y-%m-%dT%H:%M:%S", ptm)) in avpriv_dict_set_timestamp()
/third_party/icu/icu4c/source/data/unit/
Des_US.txt311 dnam{"ptm"}
312 one{"{0} ptm"}
313 other{"{0} ptm"}
Dia.txt739 one{"{0} ptm"}
1610 dnam{"ptm"}
1611 one{"{0} ptm"}
1612 other{"{0} ptm"}
/third_party/skia/third_party/externals/icu/source/data/unit/
Des_US.txt311 dnam{"ptm"}
312 one{"{0} ptm"}
313 other{"{0} ptm"}
Dia.txt739 one{"{0} ptm"}
1610 dnam{"ptm"}
1611 one{"{0} ptm"}
1612 other{"{0} ptm"}
/third_party/flutter/skia/third_party/externals/icu/source/data/locales/
Deo.txt39 "ptm",
43 "ptm",
/third_party/skia/third_party/externals/icu/source/data/locales/
Deo.txt39 "ptm",
43 "ptm",
/third_party/icu/icu4c/source/data/locales/
Deo.txt39 "ptm",
43 "ptm",
/third_party/ntfs-3g/ntfsprogs/
Dntfsundelete.c132 const struct tm *ptm) in win32_strftime() argument
138 ptm->tm_year + 1900, ptm->tm_mon + 1, ptm->tm_mday, in win32_strftime()
139 ptm->tm_hour, ptm->tm_min); in win32_strftime()
142 ptm->tm_year + 1900, ptm->tm_mon + 1, ptm->tm_mday); in win32_strftime()
145 #define strftime(buf, sz, fmt, ptm) win32_strftime(buf, sz, fmt, ptm) argument
Dntfsrecover.c415 struct tm *ptm; in showdate() local
426 ptm = gmtime(&utime); in showdate()
429 ptm->tm_mday,months[ptm->tm_mon],ptm->tm_year+1900, in showdate()
430 ptm->tm_hour,ptm->tm_min,ptm->tm_sec); in showdate()
/third_party/openssl/test/
Dasn1_time_test.c398 struct tm *ptm = localtime(&t); in setup_tests() local
401 if (!(t > 0) && ptm != NULL) { in setup_tests()
409 if (!(t > 0) && ptm != NULL) { in setup_tests()
/third_party/flutter/skia/third_party/externals/zlib/contrib/minizip/
Dunzip.c848 local void unz64local_DosDateToTmuDate (ZPOS64_T ulDosDate, tm_unz* ptm) in unz64local_DosDateToTmuDate() argument
852 ptm->tm_mday = (uInt)(uDate&0x1f) ; in unz64local_DosDateToTmuDate()
853 ptm->tm_mon = (uInt)((((uDate)&0x1E0)/0x20)-1) ; in unz64local_DosDateToTmuDate()
854 ptm->tm_year = (uInt)(((uDate&0x0FE00)/0x0200)+1980) ; in unz64local_DosDateToTmuDate()
856 ptm->tm_hour = (uInt) ((ulDosDate &0xF800)/0x800); in unz64local_DosDateToTmuDate()
857 ptm->tm_min = (uInt) ((ulDosDate&0x7E0)/0x20) ; in unz64local_DosDateToTmuDate()
858 ptm->tm_sec = (uInt) (2*(ulDosDate&0x1f)) ; in unz64local_DosDateToTmuDate()
Dzip.c332 local uLong zip64local_TmzDateToDosDate(const tm_zip* ptm) in zip64local_TmzDateToDosDate() argument
334 uLong year = (uLong)ptm->tm_year; in zip64local_TmzDateToDosDate()
340 (uLong) (((ptm->tm_mday) + (32 * (ptm->tm_mon+1)) + (512 * year)) << 16) | in zip64local_TmzDateToDosDate()
341 ((ptm->tm_sec/2) + (32* ptm->tm_min) + (2048 * (uLong)ptm->tm_hour)); in zip64local_TmzDateToDosDate()
/third_party/skia/third_party/externals/zlib/contrib/minizip/
Dunzip.c848 local void unz64local_DosDateToTmuDate (ZPOS64_T ulDosDate, tm_unz* ptm) in unz64local_DosDateToTmuDate() argument
852 ptm->tm_mday = (uInt)(uDate&0x1f) ; in unz64local_DosDateToTmuDate()
853 ptm->tm_mon = (uInt)((((uDate)&0x1E0)/0x20)-1) ; in unz64local_DosDateToTmuDate()
854 ptm->tm_year = (uInt)(((uDate&0x0FE00)/0x0200)+1980) ; in unz64local_DosDateToTmuDate()
856 ptm->tm_hour = (uInt) ((ulDosDate &0xF800)/0x800); in unz64local_DosDateToTmuDate()
857 ptm->tm_min = (uInt) ((ulDosDate&0x7E0)/0x20) ; in unz64local_DosDateToTmuDate()
858 ptm->tm_sec = (uInt) (2*(ulDosDate&0x1f)) ; in unz64local_DosDateToTmuDate()
Dzip.c332 local uLong zip64local_TmzDateToDosDate(const tm_zip* ptm) in zip64local_TmzDateToDosDate() argument
334 uLong year = (uLong)ptm->tm_year; in zip64local_TmzDateToDosDate()
340 (uLong) (((ptm->tm_mday) + (32 * (ptm->tm_mon+1)) + (512 * year)) << 16) | in zip64local_TmzDateToDosDate()
341 ((ptm->tm_sec/2) + (32* ptm->tm_min) + (2048 * (uLong)ptm->tm_hour)); in zip64local_TmzDateToDosDate()
/third_party/zlib/contrib/minizip/
Dzip.c332 local uLong zip64local_TmzDateToDosDate(const tm_zip* ptm) in zip64local_TmzDateToDosDate() argument
334 uLong year = (uLong)ptm->tm_year; in zip64local_TmzDateToDosDate()
340 (uLong) (((uLong)(ptm->tm_mday) + (32 * (uLong)(ptm->tm_mon+1)) + (512 * year)) << 16) | in zip64local_TmzDateToDosDate()
341 (((uLong)ptm->tm_sec/2) + (32 * (uLong)ptm->tm_min) + (2048 * (uLong)ptm->tm_hour)); in zip64local_TmzDateToDosDate()
Dunzip.c1052 local void unz64local_DosDateToTmuDate (ZPOS64_T ulDosDate, tm_unz* ptm) in unz64local_DosDateToTmuDate() argument
1056 ptm->tm_mday = (int)(uDate&0x1f) ; in unz64local_DosDateToTmuDate()
1057 ptm->tm_mon = (int)((((uDate)&0x1E0)/0x20)-1) ; in unz64local_DosDateToTmuDate()
1058 ptm->tm_year = (int)(((uDate&0x0FE00)/0x0200)+1980) ; in unz64local_DosDateToTmuDate()
1060 ptm->tm_hour = (int) ((ulDosDate &0xF800)/0x800); in unz64local_DosDateToTmuDate()
1061 ptm->tm_min = (int) ((ulDosDate&0x7E0)/0x20) ; in unz64local_DosDateToTmuDate()
1062 ptm->tm_sec = (int) (2*(ulDosDate&0x1f)) ; in unz64local_DosDateToTmuDate()
/third_party/openssl/ohos_lite/include/crypto/
Dx509.h286 int x509_set1_time(ASN1_TIME **ptm, const ASN1_TIME *tm);
/third_party/openssl/include/crypto/
Dx509.h312 int ossl_x509_set1_time(ASN1_TIME **ptm, const ASN1_TIME *tm);
/third_party/flutter/skia/third_party/externals/icu/source/data/unit/
Dgl.txt1620 dnam{"ptm"}
1621 one{"{0} ptm"}
1622 other{"{0} ptm"}
Dca.txt1895 dnam{"ptm"}
1896 one{"{0} ptm"}
1897 other{"{0} ptm"}
Dpt.txt1927 dnam{"ptm"}
1928 one{"{0} ptm"}
1929 other{"{0} ptm"}

12