Searched refs:ampm (Results 1 – 6 of 6) sorted by relevance
216 int ampm; in msm6242b_settime_ymdhms() local224 ampm = 0; in msm6242b_settime_ymdhms()228 ampm = MSM6242B_CONTROL_F_24H; in msm6242b_settime_ymdhms()236 msm6242b_write(sc, MSM6242B_10HOUR_PMAM, (dt->dt_hour / 10) | ampm); in msm6242b_settime_ymdhms()
96 static const char *ampm[] = { variable342 ret = match_string (&buf, ampm); in strptime()
91 static const char *ampm[] = { variable117 return ampm[hour / 12]; in hour_to_ampm()
410 # define ampm \ in my_strftime() macro416 # define ap_len STRLEN (ampm) in my_strftime()423 # define ampm (L_("AMPM") + 2 * (tp->tm_hour > 11)) in my_strftime() macro1047 cpy (ap_len, ampm); in my_strftime()
169 char pada; unsigned char ampm; member
17635 # time["ampm"] -- AM or PM designation17668 time["ampm"] = strftime("%p", now)