HomeSort by relevance Sort by last modified time
    Searched refs:ptm (Results 1 - 15 of 15) sorted by null

  /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 268 int ptm;
270 ptm = unix_open("/dev/ptmx", O_RDWR); // | O_NOCTTY);
271 if(ptm < 0){
275 fcntl(ptm, F_SETFD, FD_CLOEXEC);
277 if(grantpt(ptm) || unlockpt(ptm) ||
278 ((devname = (char*) ptsname(ptm)) == 0)){
280 adb_close(ptm);
287 adb_close(ptm);
307 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;
  /development/tools/jdwpspy/
Net.cpp 457 struct tm* ptm; local
460 ptm = localtime(&now);
461 *pMin = ptm->tm_min;
462 *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;
  /system/core/debuggerd/
tombstone.c 534 struct tm* ptm; local
535 ptm = localtime_r(&sec, &tmBuf);
536 strftime(timeBuf, sizeof(timeBuf), "%m-%d %H:%M:%S", ptm);
  /external/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/qemu/
block.c 1934 struct tm *ptm; local
    [all...]

Completed in 764 milliseconds