Lines Matching refs:buf
88 char buf[11] = "00.00.0000"; in date2str() local
89 buf[0] = static_cast<char>(day/10 + '0'); in date2str()
90 buf[1] = static_cast<char>(day%10 + '0'); in date2str()
91 buf[3] = static_cast<char>(month/10 + '0'); in date2str()
92 buf[4] = static_cast<char>(month%10 + '0'); in date2str()
96 buf[6] = static_cast<char>(year/10 + '0'); in date2str()
97 buf[7] = static_cast<char>(year%10 + '0'); in date2str()
98 buf[8] = 0; in date2str()
102 buf[6] = static_cast<char>(year/1000 + '0'); in date2str()
103 buf[7] = static_cast<char>(year%1000/100 + '0'); in date2str()
104 buf[8] = static_cast<char>(year%100/10 + '0'); in date2str()
105 buf[9] = static_cast<char>(year%10 + '0'); in date2str()
107 out_Str = buf; in date2str()
136 char buf[9] = "00:00:00"; in time2str() local
137 buf[0] = static_cast<char>(hour/10 + '0'); in time2str()
138 buf[1] = static_cast<char>(hour%10 + '0'); in time2str()
139 buf[3] = static_cast<char>(min/10 + '0'); in time2str()
140 buf[4] = static_cast<char>(min%10 + '0'); in time2str()
141 buf[6] = static_cast<char>(sec/10 + '0'); in time2str()
142 buf[7] = static_cast<char>(sec%10 + '0'); in time2str()
143 out_Str = buf; in time2str()