/system/core/liblog/ |
log_time.cpp | 42 struct tm *ptm; local 45 ptm = localtime_r(&now, &tmBuf); 47 ptm = localtime(&now); 58 ret = ::strptime(ret, f, ptm); 71 ret = ::strptime(ret, f, ptm); 83 ptm = localtime_r(&now, &tmBuf); 85 ptm = localtime(&now); 100 ret = ::strptime(ret, f, ptm); 122 tv_sec = mktime(ptm);
|
fake_log_device.c | 359 struct tm* ptm; local 386 ptm = localtime_r(&when, &tmBuf); 388 ptm = localtime(&when); 390 //strftime(timeBuf, sizeof(timeBuf), "%Y-%m-%d %H:%M:%S", ptm); 391 strftime(timeBuf, sizeof(timeBuf), "%m-%d %H:%M:%S", ptm);
|
logprint.c | 1274 struct tm* ptm; local [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 | 347 struct tm* ptm; local 354 ptm = localtime_r(&even, &tmResult); 356 ptm = localtime(&even); 360 year = ptm->tm_year; 364 zdate = (year - 80) << 9 | (ptm->tm_mon+1) << 5 | ptm->tm_mday; 365 ztime = ptm->tm_hour << 11 | ptm->tm_min << 5 | ptm->tm_sec >> 1;
|
/system/bt/btif/src/ |
btif_debug_conn.c | 43 struct tm *ptm = localtime(&secs); local 46 strftime(tempbuff, sizeof(tempbuff), "%m-%d %H:%M:%S", ptm);
|
/art/runtime/base/ |
time_utils.cc | 117 tm* ptm = localtime_r(&now, &tmbuf); local 119 ptm->tm_year + 1900, ptm->tm_mon+1, ptm->tm_mday, 120 ptm->tm_hour, ptm->tm_min, ptm->tm_sec);
|
/external/sl4a/ScriptingLayerForAndroid/jni/ |
com_googlecode_android_scripting_Exec.cpp | 37 int ptm = open("/dev/ptmx", O_RDWR); local 38 if(ptm < 0){ 42 fcntl(ptm, F_SETFD, FD_CLOEXEC); 44 if (grantpt(ptm) || unlockpt(ptm) || 45 ((devname = (char*) ptsname(ptm)) == 0)) { 66 close(ptm); 71 return ptm; 153 int ptm = CreateSubprocess(cmd_native, args, vars, wkdir_native, &pid); local 174 env->SetIntField(result, descriptor, ptm); [all...] |
/external/clang/test/SemaCXX/ |
class.cpp | 33 func *ptm; member in class:C
|
/system/core/libziparchive/ |
zip_writer.cc | 143 struct tm* ptm; local 146 ptm = localtime_r(&when, &tm_result); 148 ptm = localtime(&when); 151 int year = ptm->tm_year; 156 *out_date = (year - 80) << 9 | (ptm->tm_mon + 1) << 5 | ptm->tm_mday; 157 *out_time = ptm->tm_hour << 11 | ptm->tm_min << 5 | ptm->tm_sec >> 1;
|
/toolchain/binutils/binutils-2.25/opcodes/ |
tic30-dis.c | 68 partemplate *ptm; member in struct:instruction 117 insn->ptm = current_optab; 137 insn->ptm = current_optab; 490 if (insn->ptm == NULL) 494 name1 = (char *) strdup (insn->ptm->name + 2); 507 switch (insn->ptm->oporder)
|
/system/core/debuggerd/ |
tombstone.cpp | 553 struct tm* ptm; local 554 ptm = localtime_r(&sec, &tmBuf); 555 strftime(timeBuf, sizeof(timeBuf), "%m-%d %H:%M:%S", ptm);
|
/system/core/logcat/tests/ |
logcat_test.cpp | 92 struct tm *ptm; local 95 ptm = localtime_r(&now, &tmBuf); 97 ptm = localtime(&&now); 99 strftime(needle, sizeof(needle), "[ %Y-", ptm);
|
/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
fpdf_edit_doc.cpp | 251 OUTLINETEXTMETRIC* ptm = (OUTLINETEXTMETRIC*)tm_buf; local 252 GetOutlineTextMetrics(hDC, tm_size, ptm); 277 italicangle = ptm->otmItalicAngle / 10; 278 ascend = ptm->otmrcFontBox.top; 279 descend = ptm->otmrcFontBox.bottom; 280 capheight = ptm->otmsCapEmHeight; 281 bbox[0] = ptm->otmrcFontBox.left; 282 bbox[1] = ptm->otmrcFontBox.bottom; 283 bbox[2] = ptm->otmrcFontBox.right; 284 bbox[3] = ptm->otmrcFontBox.top [all...] |
/toolchain/binutils/binutils-2.25/binutils/ |
nlmconv.c | 876 struct tm *ptm; 879 ptm = localtime (&now); 880 nlm_version_header (outbfd)->month = ptm->tm_mon + 1; 881 nlm_version_header (outbfd)->day = ptm->tm_mday; 882 nlm_version_header (outbfd)->year = ptm->tm_year + 1900; 874 struct tm *ptm; local [all...] |
/external/opencv3/modules/imgproc/test/ |
test_convhull.cpp | 297 CvMat* ptm = (CvMat*)pointsSet; local 298 assert( CV_IS_MAT(ptm) && CV_IS_MAT_CONT(ptm->type) ); 299 total = ptm->rows + ptm->cols - 1; 300 point_type = CV_MAT_TYPE(ptm->type); 301 data = ptm->data.ptr; 1189 CvMat* ptm = (CvMat*)pointsSet; local 1480 CvMat* ptm = (CvMat*)pointsSet; local 1656 CvMat* ptm = (CvMat*)points; local [all...] |