ttm 607 core/gps.c static struct tm *ttm; ttm 618 core/gps.c ttm = localtime(&t); ttm 649 core/gps.c sprintf(g_d_tim, "%02d:%02d:%02d", ttm->tm_hour, ttm->tm_min, ttm->tm_sec); ttm 650 core/gps.c sprintf(g_d_dat, "%04d-%02d-%02d", ttm->tm_year+1900, ttm->tm_mon+1, ttm->tm_mday); ttm 1014 core/gps.c static struct tm *ttm; ttm 1016 core/gps.c ttm = localtime(&t); ttm 1018 core/gps.c sprintf(wp_name, "A/GPS/Tagging/%04d_%02d_%02d.wp", ttm->tm_year+1900, ttm->tm_mon+1, ttm->tm_mday); ttm 1019 core/gps.c sprintf(gpx_name, "A/GPS/Tagging/%04d_%02d_%02d.gpx", ttm->tm_year+1900, ttm->tm_mon+1, ttm->tm_mday); ttm 1162 core/gps.c static struct tm *ttm; ttm 1164 core/gps.c ttm = localtime(&t); ttm 1168 core/gps.c sprintf(gpx_name, "A/GPS/Logging/%02d_%02d-%02d_%02d.gpx", ttm->tm_mon+1, ttm->tm_mday, ttm->tm_hour, ttm->tm_min); ttm 1438 core/gps.c static struct tm *ttm; ttm 1440 core/gps.c ttm = localtime(&t); ttm 1444 core/gps.c sprintf(wp_name, "A/GPS/Tagging/%04d_%02d_%02d.wp", ttm->tm_year+1900, ttm->tm_mon+1, ttm->tm_mday); ttm 1445 core/gps.c sprintf(gpx_name, "A/GPS/Tagging/%04d_%02d_%02d.gpx", ttm->tm_year+1900, ttm->tm_mon+1, ttm->tm_mday); ttm 23 core/gps_simulate.c struct tm *ttm = get_localtime(); ttm 25 core/gps_simulate.c gps_dummy_data.timeStamp[0] = ttm->tm_hour; ttm 27 core/gps_simulate.c gps_dummy_data.timeStamp[2] = ttm->tm_min ; ttm 29 core/gps_simulate.c gps_dummy_data.timeStamp[4] = ttm->tm_sec*1000 ; ttm 448 core/gui_osd.c struct tm *ttm = get_localtime(); ttm 456 core/gui_osd.c unsigned int hour = (ttm->tm_hour); ttm 471 core/gui_osd.c sprintf(osd_buf, "%2u:%02u:%02u%s", hour, ttm->tm_min, ttm->tm_sec, ampm_ind); ttm 476 core/gui_osd.c sprintf(osd_buf, "%2u:%02u%s", hour, ttm->tm_min, ampm_ind); ttm 486 core/gui_osd.c sprintf(osd_buf, "%02u", ttm->tm_sec); ttm 300 lib/ubasic/ubasic.c struct tm *ttm; ttm 301 lib/ubasic/ubasic.c ttm = get_localtime(); ttm 302 lib/ubasic/ubasic.c r = ttm->tm_hour * 3600 + ttm->tm_min * 60 + ttm->tm_sec; ttm 582 lib/ubasic/ubasic.c static struct tm *ttm; ttm 583 lib/ubasic/ubasic.c ttm = get_localtime(); ttm 584 lib/ubasic/ubasic.c if (tmode==0) r = ttm->tm_sec; ttm 585 lib/ubasic/ubasic.c else if (tmode==1) r = ttm->tm_min; ttm 586 lib/ubasic/ubasic.c else if (tmode==2) r = ttm->tm_hour; ttm 587 lib/ubasic/ubasic.c else if (tmode==3) r = ttm->tm_mday; ttm 588 lib/ubasic/ubasic.c else if (tmode==4) r = ttm->tm_mon+1; ttm 589 lib/ubasic/ubasic.c else if (tmode==5) r = 1900+ttm->tm_year; ttm 726 modules/dng.c struct tm *ttm; ttm 751 modules/dng.c ttm = localtime(&datetime); ttm 752 modules/dng.c sprintf(cam_datetime, "%04d:%02d:%02d %02d:%02d:%02d", ttm->tm_year+1900, ttm->tm_mon+1, ttm->tm_mday, ttm->tm_hour, ttm->tm_min, ttm->tm_sec); ttm 267 modules/games/gui_mastermind.c static struct tm *ttm; ttm 271 modules/games/gui_mastermind.c ttm = get_localtime(); ttm 272 modules/games/gui_mastermind.c sprintf(buf, "Time: %2u:%02u Batt:%3d%%", ttm->tm_hour, ttm->tm_min, get_batt_perc()); ttm 245 modules/games/gui_tetris.c static struct tm *ttm; ttm 259 modules/games/gui_tetris.c ttm = get_localtime(); ttm 260 modules/games/gui_tetris.c sprintf(str_buf, "Time: %2u:%02u", ttm->tm_hour, ttm->tm_min); ttm 36 modules/gui_calendar.c struct tm *ttm; ttm 38 modules/gui_calendar.c ttm = get_localtime(); ttm 39 modules/gui_calendar.c cal_year = 1900+ttm->tm_year; ttm 40 modules/gui_calendar.c cal_month = ttm->tm_mon; ttm 134 modules/gui_calendar.c static struct tm *ttm; ttm 139 modules/gui_calendar.c ttm = get_localtime(); ttm 140 modules/gui_calendar.c sprintf(str, " %2u %s %04u %2u:%02u:%02u ", ttm->tm_mday, lang_str(months[ttm->tm_mon]), 1900+ttm->tm_year, ttm->tm_hour, ttm->tm_min, ttm->tm_sec); ttm 53 modules/gui_read.c static struct tm *ttm; ttm 55 modules/gui_read.c ttm = get_localtime(); ttm 56 modules/gui_read.c sprintf(buffer, "%2u:%02u", ttm->tm_hour, ttm->tm_min); ttm 566 modules/luascript.c struct tm *ttm; ttm 567 modules/luascript.c ttm = get_localtime(); ttm 568 modules/luascript.c lua_pushnumber( L, ttm->tm_hour * 3600 + ttm->tm_min * 60 + ttm->tm_sec ); ttm 1676 modules/luascript.c static struct tm *ttm; ttm 1677 modules/luascript.c ttm = get_localtime(); ttm 1679 modules/luascript.c if (strncmp("s", t, 1)==0) r = ttm->tm_sec; ttm 1680 modules/luascript.c else if (strncmp("m", t, 1)==0) r = ttm->tm_min; ttm 1681 modules/luascript.c else if (strncmp("h", t, 1)==0) r = ttm->tm_hour; ttm 1682 modules/luascript.c else if (strncmp("D", t, 1)==0) r = ttm->tm_mday; ttm 1683 modules/luascript.c else if (strncmp("M", t, 1)==0) r = ttm->tm_mon+1; ttm 1684 modules/luascript.c else if (strncmp("Y", t, 1)==0) r = 1900+ttm->tm_year; ttm 329 modules/module_load.c struct tm *ttm; ttm 333 modules/module_load.c ttm = localtime(&datetime); ttm 335 modules/module_load.c sprintf(buf, "Tick ,Op,Address ,Name (%04d:%02d:%02d %02d:%02d:%02d)\n", ttm->tm_year+1900, ttm->tm_mon+1, ttm->tm_mday, ttm->tm_hour, ttm->tm_min, ttm->tm_sec); ttm 351 modules/motion_detector.c static struct tm *ttm; ttm 364 modules/motion_detector.c ttm = get_localtime(); ttm 371 modules/motion_detector.c 1900+ttm->tm_year, ttm->tm_mon+1, ttm->tm_mday, ttm->tm_hour, ttm->tm_min, ttm->tm_sec, ttm 181 platform/sx210is/shooting.c struct tm *ttm; ttm 184 platform/sx210is/shooting.c ttm = localtime(&t); ttm 185 platform/sx210is/shooting.c month = ttm->tm_mon + 1;