/packages/apps/Terminal/jni/ |
forkpty.cpp | 32 int ptm = open("/dev/ptmx", O_RDWR); local 33 if (ptm < 0) { 37 fcntl(ptm, F_SETFD, FD_CLOEXEC); 40 if (grantpt(ptm) || unlockpt(ptm) || ((devname = (char *) ptsname(ptm)) == 0)) { 76 *master = ptm;
|
/system/core/liblog/ |
log_time.cpp | 41 struct tm *ptm; local 44 ptm = localtime_r(&now, &tmBuf); 46 ptm = localtime(&now); 57 ret = ::strptime(ret, f, ptm); 70 ret = ::strptime(ret, f, ptm); 82 ptm = localtime_r(&now, &tmBuf); 84 ptm = localtime(&now); 99 ret = ::strptime(ret, f, ptm); 121 tv_sec = mktime(ptm);
|
logprint.c | 693 struct tm* ptm; local 712 ptm = localtime_r(&(entry->tv_sec), &tmBuf); 714 ptm = localtime(&(entry->tv_sec)); 716 //strftime(timeBuf, sizeof(timeBuf), "%Y-%m-%d %H:%M:%S", ptm); 717 strftime(timeBuf, sizeof(timeBuf), "%m-%d %H:%M:%S", ptm);
|
fake_log_device.c | 358 struct tm* ptm; local 381 ptm = localtime_r(&when, &tmBuf); 383 ptm = localtime(&when); 385 //strftime(timeBuf, sizeof(timeBuf), "%Y-%m-%d %H:%M:%S", ptm); 386 strftime(timeBuf, sizeof(timeBuf), "%m-%d %H:%M:%S", ptm);
|
/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;
|
/external/clang/test/SemaCXX/ |
class.cpp | 33 func *ptm; member in class:C
|
/system/core/debuggerd/ |
tombstone.cpp | 519 struct tm* ptm; local 520 ptm = localtime_r(&sec, &tmBuf); 521 strftime(timeBuf, sizeof(timeBuf), "%m-%d %H:%M:%S", ptm);
|
/art/runtime/ |
utils.cc | 135 tm* ptm = localtime_r(&now, &tmbuf); local 137 ptm->tm_year + 1900, ptm->tm_mon+1, ptm->tm_mday, 138 ptm->tm_hour, ptm->tm_min, ptm->tm_sec); [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
fpdf_edit_doc.cpp | 257 OUTLINETEXTMETRIC* ptm = (OUTLINETEXTMETRIC*)tm_buf;
local 258 GetOutlineTextMetrics(hDC, tm_size, ptm);
281 italicangle = ptm->otmItalicAngle / 10;
282 ascend = ptm->otmrcFontBox.top;
283 descend = ptm->otmrcFontBox.bottom;
284 capheight = ptm->otmsCapEmHeight;
285 bbox[0] = ptm->otmrcFontBox.left;
286 bbox[1] = ptm->otmrcFontBox.bottom;
287 bbox[2] = ptm->otmrcFontBox.right;
288 bbox[3] = ptm->otmrcFontBox.top; [all...] |
/external/qemu/ |
block.c | 1936 struct tm *ptm; local [all...] |