Searched refs:ptm (Results 1 – 6 of 6) sorted by relevance
/system/core/liblog/ |
D | log_time.cpp | 41 struct tm *ptm; in strptime() local 44 ptm = localtime_r(&now, &tmBuf); in strptime() 46 ptm = localtime(&now); in strptime() 57 ret = ::strptime(ret, f, ptm); in strptime() 70 ret = ::strptime(ret, f, ptm); in strptime() 82 ptm = localtime_r(&now, &tmBuf); in strptime() 84 ptm = localtime(&now); in strptime() 99 ret = ::strptime(ret, f, ptm); in strptime() 121 tv_sec = mktime(ptm); in strptime()
|
D | fake_log_device.c | 358 struct tm* ptm; in showLog() local 381 ptm = localtime_r(&when, &tmBuf); in showLog() 383 ptm = localtime(&when); in showLog() 386 strftime(timeBuf, sizeof(timeBuf), "%m-%d %H:%M:%S", ptm); in showLog()
|
D | logprint.c | 889 struct tm* ptm; in android_log_formatLogLine() local 910 ptm = localtime_r(&(entry->tv_sec), &tmBuf); in android_log_formatLogLine() 912 ptm = localtime(&(entry->tv_sec)); in android_log_formatLogLine() 915 strftime(timeBuf, sizeof(timeBuf), "%m-%d %H:%M:%S", ptm); in android_log_formatLogLine()
|
/system/core/adb/ |
D | services.cpp | 249 int ptm; in create_subproc_pty() local 251 ptm = unix_open("/dev/ptmx", O_RDWR | O_CLOEXEC); // | O_NOCTTY); in create_subproc_pty() 252 if(ptm < 0){ in create_subproc_pty() 258 if(grantpt(ptm) || unlockpt(ptm) || ptsname_r(ptm, devname, sizeof(devname)) != 0) { in create_subproc_pty() 260 adb_close(ptm); in create_subproc_pty() 267 adb_close(ptm); in create_subproc_pty() 285 adb_close(ptm); in create_subproc_pty() 292 return ptm; in create_subproc_pty()
|
/system/bt/btif/src/ |
D | btif_debug_conn.c | 43 struct tm *ptm = localtime(&secs); in format_ts() local 45 strftime(buffer, len, "%m-%d %H:%M:%S.%%03u", ptm); in format_ts()
|
/system/core/debuggerd/ |
D | tombstone.cpp | 557 struct tm* ptm; in dump_log_file() local 558 ptm = localtime_r(&sec, &tmBuf); in dump_log_file() 559 strftime(timeBuf, sizeof(timeBuf), "%m-%d %H:%M:%S", ptm); in dump_log_file()
|