/third_party/libwebsockets/lib/roles/http/server/ |
H A D | access-log.c | 51 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/libwebsockets/lib/core/ |
H A D | logs.c | 210 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 in lwsl_timestamp() [all...] |
/third_party/lzma/CPP/Common/ |
H A D | MyWindows.cpp | 158 struct tm *ptm = localtime(&utc);
in TIME_GetBias() local 159 int localdaylight = ptm->tm_isdst; /* daylight for local timezone */
in TIME_GetBias() 160 ptm = gmtime(&utc);
in TIME_GetBias() 161 ptm->tm_isdst = localdaylight; /* use local daylight, not that of Greenwich */
in TIME_GetBias() 162 LONG bias = (int)(mktime(ptm)-utc);
in TIME_GetBias()
|
/third_party/node/deps/openssl/openssl/crypto/x509/ |
H A D | x509_set.c | 64 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/openssl/crypto/x509/ |
H A D | x509_set.c | 64 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/ |
H A D | dict.c | 261 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/lzma/C/Util/7z/ |
H A D | 7zMain.c | 332 struct tm *ptm = localtime(&utc);
in TIME_GetBias() local 333 const int localdaylight = ptm->tm_isdst; /* daylight for local timezone */
in TIME_GetBias() 334 ptm = gmtime(&utc);
in TIME_GetBias() 335 ptm->tm_isdst = localdaylight; /* use local daylight, not that of Greenwich */
in TIME_GetBias() 336 const LONG bias = (int)(mktime(ptm) - utc);
in TIME_GetBias()
|
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfsundelete.c | 132 const struct tm *ptm) in win32_strftime() 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_strftim in win32_strftime() 131 win32_strftime(char *buffer, int size, const char *format, const struct tm *ptm) win32_strftime() argument [all...] |
H A D | ntfsrecover.c | 415 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/ |
H A D | asn1_time_test.c | 398 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/node/deps/v8/third_party/zlib/contrib/minizip/ |
H A D | zip.c | 332 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()
|
H A D | unzip.c | 848 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()
|
/third_party/skia/third_party/externals/zlib/contrib/minizip/ |
H A D | unzip.c | 848 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()
|
H A D | zip.c | 332 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/ |
H A D | unzip.c | 959 local void unz64local_DosDateToTmuDate(ZPOS64_T ulDosDate, tm_unz* ptm) in unz64local_DosDateToTmuDate() argument 963 ptm->tm_mday = (int)(uDate&0x1f) ; in unz64local_DosDateToTmuDate() 964 ptm->tm_mon = (int)((((uDate)&0x1E0)/0x20)-1) ; in unz64local_DosDateToTmuDate() 965 ptm->tm_year = (int)(((uDate&0x0FE00)/0x0200)+1980) ; in unz64local_DosDateToTmuDate() 967 ptm->tm_hour = (int) ((ulDosDate &0xF800)/0x800); in unz64local_DosDateToTmuDate() 968 ptm->tm_min = (int) ((ulDosDate&0x7E0)/0x20) ; in unz64local_DosDateToTmuDate() 969 ptm->tm_sec = (int) (2*(ulDosDate&0x1f)) ; in unz64local_DosDateToTmuDate()
|
H A D | zip.c | 336 local uLong zip64local_TmzDateToDosDate(const tm_zip* ptm) in zip64local_TmzDateToDosDate() argument 338 uLong year = (uLong)ptm->tm_year; in zip64local_TmzDateToDosDate() 348 (uLong) (((uLong)(ptm->tm_mday) + (32 * (uLong)(ptm->tm_mon + 1)) + (512 * year)) << 16) | in zip64local_TmzDateToDosDate() 349 (((uLong)ptm->tm_sec / 2) + (32 * (uLong)ptm->tm_min) + (2048 * (uLong)ptm->tm_hour)); in zip64local_TmzDateToDosDate()
|
/third_party/openssl/ohos_lite/include/crypto/ |
H A D | x509.h | 286 int x509_set1_time(ASN1_TIME **ptm, const ASN1_TIME *tm);
|
/third_party/node/deps/openssl/openssl/include/crypto/ |
H A D | x509.h | 312 int ossl_x509_set1_time(ASN1_TIME **ptm, const ASN1_TIME *tm);
|
/third_party/openssl/include/crypto/ |
H A D | x509.h | 312 int ossl_x509_set1_time(ASN1_TIME **ptm, const ASN1_TIME *tm);
|