/dalvik/vm/ |
SignalCatcher.cpp | 110 struct tm* ptm; local 113 ptm = localtime_r(&now, &tmbuf); 115 ptm = localtime(&now); 119 pid, ptm->tm_year + 1900, ptm->tm_mon+1, ptm->tm_mday, 120 ptm->tm_hour, ptm->tm_min, ptm->tm_sec);
|
/external/openssh/openbsd-compat/ |
bsd-openpty.c | 98 int ptm; 102 if ((ptm = open("/dev/ptmx", O_RDWR | O_NOCTTY)) == -1) 105 /* XXX: need to close ptm on error? */ 107 if (grantpt(ptm) < 0) 111 if (unlockpt(ptm) < 0) 114 if ((pts = ptsname(ptm)) == NULL) 116 *amaster = ptm;
|
/external/dropbear/ |
sshpty.c | 101 int ptm; 104 ptm = open("/dev/ptmx", O_RDWR | O_NOCTTY); 105 if (ptm < 0) { 110 if (grantpt(ptm) < 0) { 115 if (unlockpt(ptm) < 0) { 120 pts = ptsname(ptm); 126 *ptyfd = ptm;
|
/system/core/adb/ |
services.c | 193 int ptm; 195 ptm = unix_open("/dev/ptmx", O_RDWR); // | O_NOCTTY); 196 if(ptm < 0){ 200 fcntl(ptm, F_SETFD, FD_CLOEXEC); 202 if(grantpt(ptm) || unlockpt(ptm) || 203 ((devname = (char*) ptsname(ptm)) == 0)){ 205 adb_close(ptm); 212 adb_close(ptm); 232 adb_close(ptm); [all...] |
/build/tools/zipalign/ |
ZipEntry.cpp | 365 struct tm* ptm; local 372 ptm = localtime_r(&even, &tmResult); 374 ptm = localtime(&even); 378 year = ptm->tm_year; 382 zdate = (year - 80) << 9 | (ptm->tm_mon+1) << 5 | ptm->tm_mday; 383 ztime = ptm->tm_hour << 11 | ptm->tm_min << 5 | ptm->tm_sec >> 1;
|
/frameworks/base/tools/aapt/ |
ZipEntry.cpp | 365 struct tm* ptm; local 372 ptm = localtime_r(&even, &tmResult); 374 ptm = localtime(&even); 378 year = ptm->tm_year; 382 zdate = (year - 80) << 9 | (ptm->tm_mon+1) << 5 | ptm->tm_mday; 383 ztime = ptm->tm_hour << 11 | ptm->tm_min << 5 | ptm->tm_sec >> 1;
|
/art/jdwpspy/ |
Net.cpp | 458 tm* ptm; local 461 ptm = localtime(&now); 462 *pMin = ptm->tm_min; 463 *pSec = ptm->tm_sec;
|
/external/clang/test/SemaCXX/ |
class.cpp | 33 func *ptm; member in class:C
|
/system/core/liblog/ |
fake_log_device.c | 352 struct tm* ptm; local 375 ptm = localtime_r(&when, &tmBuf); 377 ptm = localtime(&when); 379 //strftime(timeBuf, sizeof(timeBuf), "%Y-%m-%d %H:%M:%S", ptm); 380 strftime(timeBuf, sizeof(timeBuf), "%m-%d %H:%M:%S", ptm);
|
logprint.c | 710 struct tm* ptm; local 730 ptm = localtime_r(&(entry->tv_sec), &tmBuf); 732 ptm = localtime(&(entry->tv_sec)); 734 //strftime(timeBuf, sizeof(timeBuf), "%Y-%m-%d %H:%M:%S", ptm); 735 strftime(timeBuf, sizeof(timeBuf), "%m-%d %H:%M:%S", ptm);
|
/frameworks/base/core/java/android/text/method/ |
PasswordTransformationMethod.java | 240 public Visible(Spannable sp, PasswordTransformationMethod ptm) { 242 mTransformer = ptm;
|
/art/runtime/ |
utils.cc | 125 tm* ptm = localtime_r(&now, &tmbuf); local 127 ptm->tm_year + 1900, ptm->tm_mon+1, ptm->tm_mday, 128 ptm->tm_hour, ptm->tm_min, ptm->tm_sec); [all...] |
/system/core/debuggerd/ |
tombstone.c | 577 struct tm* ptm; local 578 ptm = localtime_r(&sec, &tmBuf); 579 strftime(timeBuf, sizeof(timeBuf), "%m-%d %H:%M:%S", ptm);
|
/external/chromium_org/third_party/zlib/contrib/minizip/ |
unzip.c | 852 local void unz64local_DosDateToTmuDate (ZPOS64_T ulDosDate, tm_unz* ptm) 856 ptm->tm_mday = (uInt)(uDate&0x1f) ; 857 ptm->tm_mon = (uInt)((((uDate)&0x1E0)/0x20)-1) ; 858 ptm->tm_year = (uInt)(((uDate&0x0FE00)/0x0200)+1980) ; 860 ptm->tm_hour = (uInt) ((ulDosDate &0xF800)/0x800); 861 ptm->tm_min = (uInt) ((ulDosDate&0x7E0)/0x20) ; 862 ptm->tm_sec = (uInt) (2*(ulDosDate&0x1f)) ; [all...] |
zip.c | 332 local uLong zip64local_TmzDateToDosDate(const tm_zip* ptm) 334 uLong year = (uLong)ptm->tm_year; 340 (uLong) (((ptm->tm_mday) + (32 * (ptm->tm_mon+1)) + (512 * year)) << 16) | 341 ((ptm->tm_sec/2) + (32* ptm->tm_min) + (2048 * (uLong)ptm->tm_hour)); [all...] |
/external/zlib/src/contrib/minizip/ |
unzip.c | 852 local void unz64local_DosDateToTmuDate (ZPOS64_T ulDosDate, tm_unz* ptm) 856 ptm->tm_mday = (uInt)(uDate&0x1f) ; 857 ptm->tm_mon = (uInt)((((uDate)&0x1E0)/0x20)-1) ; 858 ptm->tm_year = (uInt)(((uDate&0x0FE00)/0x0200)+1980) ; 860 ptm->tm_hour = (uInt) ((ulDosDate &0xF800)/0x800); 861 ptm->tm_min = (uInt) ((ulDosDate&0x7E0)/0x20) ; 862 ptm->tm_sec = (uInt) (2*(ulDosDate&0x1f)) ; [all...] |
zip.c | 332 local uLong zip64local_TmzDateToDosDate(const tm_zip* ptm) 334 uLong year = (uLong)ptm->tm_year; 340 (uLong) (((ptm->tm_mday) + (32 * (ptm->tm_mon+1)) + (512 * year)) << 16) | 341 ((ptm->tm_sec/2) + (32* ptm->tm_min) + (2048 * (uLong)ptm->tm_hour)); [all...] |
/external/chromium_org/third_party/mongoose/ |
mongoose.c | 949 static struct tm *localtime(const time_t *ptime, struct tm *ptm) { 955 if (ptm == NULL) { 962 ptm->tm_year = st.wYear - 1900; 963 ptm->tm_mon = st.wMonth - 1; 964 ptm->tm_wday = st.wDayOfWeek; 965 ptm->tm_mday = st.wDay; 966 ptm->tm_hour = st.wHour; 967 ptm->tm_min = st.wMinute; 968 ptm->tm_sec = st.wSecond; 969 ptm->tm_yday = 0; // hope nobody uses thi [all...] |
/external/qemu/ |
block.c | 1934 struct tm *ptm; local [all...] |