Searched refs:nowstruct (Results 1 – 9 of 9) sorted by relevance
/dports/math/scilab/scilab-6.1.1/scilab/modules/output_stream/src/cpp/ |
H A D | getDiaryDate.cpp | 52 struct tm *nowstruct = localtime(&tDate); in getDiaryDate() local 54 unsigned int YEAR = 1900 + nowstruct->tm_year; in getDiaryDate() 55 unsigned int MONTH = 1 + nowstruct->tm_mon; in getDiaryDate() 56 unsigned int DAY_OF_MONTH = nowstruct->tm_mday; in getDiaryDate() 57 unsigned int HOUR_OF_DAY = nowstruct->tm_hour; in getDiaryDate() 58 unsigned int MINUTES = nowstruct->tm_min; in getDiaryDate() 59 unsigned int SECONDS = nowstruct->tm_sec; in getDiaryDate()
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/time/src/c/ |
H A D | getdate.c | 59 struct tm *nowstruct = NULL; in getCurrentDateAsDoubleVector() local 68 nowstruct = _localtime64(&long_time); in getCurrentDateAsDoubleVector() 72 nowstruct = localtime(&timebuffer.tv_sec); in getCurrentDateAsDoubleVector() 85 if (nowstruct) in getCurrentDateAsDoubleVector() 87 dVector[YEAR_INDEX] = (double)(1900 + nowstruct->tm_year); in getCurrentDateAsDoubleVector() 88 dVector[MONTH_INDEX] = (double)(1 + nowstruct->tm_mon); in getCurrentDateAsDoubleVector() 89 dVector[WEEK_NUMBER_INDEX] = (double)(week_number(nowstruct)); in getCurrentDateAsDoubleVector() 92 dVector[DAY_OF_MONTH_INDEX] = (double)(nowstruct->tm_mday); in getCurrentDateAsDoubleVector() 93 dVector[HOUR_OF_DAY_INDEX] = (double)(nowstruct->tm_hour); in getCurrentDateAsDoubleVector() 94 dVector[MINUTE_INDEX] = (double)(nowstruct->tm_min); in getCurrentDateAsDoubleVector() [all …]
|
/dports/biology/lamarc/lamarc-2.1.8/src/tools/ |
H A D | timex.cpp | 40 struct tm *nowstruct; in PrintTime() local 44 nowstruct = localtime (&mytime); in PrintTime() 45 strftime (temparray, arraylength, format.c_str(), nowstruct); in PrintTime()
|
/dports/cad/opencascade/opencascade-7.6.0/src/XmlLDrivers/ |
H A D | XmlLDrivers.cxx | 75 struct tm *nowstruct; in CreationDate() local 84 nowstruct = localtime(&nowbin); in CreationDate() 86 if (strftime(nowstr, SLENGTH, "%Y-%m-%d", nowstruct) == (size_t) 0) in CreationDate()
|
/dports/cad/opencascade/opencascade-7.6.0/src/StdStorage/ |
H A D | StdStorage.cxx | 197 struct tm *nowstruct; in currentDate() local 200 nowstruct = localtime(&nowbin); in currentDate() 201 strftime(nowstr, SLENGTH, "%m/%d/%Y", nowstruct); in currentDate()
|
/dports/cad/opencascade/opencascade-7.6.0/src/Storage/ |
H A D | Storage_Schema.cxx | 849 struct tm *nowstruct; in ICreationDate() local 857 nowstruct = localtime(&nowbin); in ICreationDate() 859 if (strftime(nowstr, SLENGTH, "%m/%d/%Y", nowstruct) == (size_t) 0) in ICreationDate()
|
/dports/biology/migrate/migrate-3.6.11/src/ |
H A D | profile.c | 993 struct tm *nowstruct; in prognose_profile_end() local 1009 nowstruct = localtime (&nowbin); in prognose_profile_end() 1011 strftime (nowstr, STRSIZE, "%H:%M %B %d %Y", nowstruct); in prognose_profile_end()
|
H A D | tools.c | 1077 struct tm *nowstruct; in get_time() 1080 nowstruct = localtime (&nowbin); in get_time() 1081 strftime (nowstr, LINESIZE, ts, nowstruct); in get_time()
|
H A D | world.c | 1866 struct tm *nowstruct; in prognose_time() local 1892 nowstruct = localtime (&nowbin); in prognose_time() 1893 strftime (nowstr, STRSIZE, "%H:%M %B %d %Y", nowstruct); in prognose_time()
|