Lines Matching refs:PRINTK
84 PRINTK("date: invalid option or parameter.\n"); in OsCmdUsageDate()
85 PRINTK("Try 'date --help' for more information.\n"); in OsCmdUsageDate()
88 PRINTK("\nUsage: date [+FORMAT]\n"); in OsCmdUsageDate()
89 PRINTK(" or: date [-s] [YY/MM/DD] [hh:mm:ss]\n"); in OsCmdUsageDate()
90 PRINTK("Display the current time in the given FORMAT, or set the system date.\n"); in OsCmdUsageDate()
91 PRINTK("FORMAT controls the output. Interpreted sequences are:\n"); in OsCmdUsageDate()
92 PRINTK(" %%b The abbreviated month name according to the current locale.\n"); in OsCmdUsageDate()
93 PRINTK(" %%B The full month name according to the current locale.\n"); in OsCmdUsageDate()
94 PRINTK(" %%C The century number (year/100) as a 2-digit integer. (SU)\n"); in OsCmdUsageDate()
95 PRINTK(" %%d The day of the month as a decimal number (range 01 to 31).\n"); in OsCmdUsageDate()
96 PRINTK(" %%e Like %%d, the day of the month as a decimal number, \n"); in OsCmdUsageDate()
97 PRINTK(" but a leading zero is replaced by a space.\n"); in OsCmdUsageDate()
98 PRINTK(" %%h Equivalent to %%b. (SU)\n"); in OsCmdUsageDate()
99 PRINTK(" %%H The hour as a decimal number using a 24-hour clock (range 00 to 23).\n"); in OsCmdUsageDate()
100 PRINTK(" %%I The hour as a decimal number using a 12-hour clock (range 01 to 12).\n"); in OsCmdUsageDate()
101 PRINTK(" %%j The day of the year as a decimal number (range 001 to 366).\n"); in OsCmdUsageDate()
102 PRINTK(" %%k The hour (24-hour clock) as a decimal number (range 0 to 23); \n"); in OsCmdUsageDate()
103 PRINTK(" single digits are preceded by a blank. (See also %H.) (TZ)\n"); in OsCmdUsageDate()
104 PRINTK(" %%l The hour (12-hour clock) as a decimal number (range 1 to 12); \n"); in OsCmdUsageDate()
105 PRINTK(" single digits are preceded by a blank. (See also %I.) (TZ)\n"); in OsCmdUsageDate()
106 PRINTK(" %%m The month as a decimal number (range 01 to 12).\n"); in OsCmdUsageDate()
107 PRINTK(" %%M The minute as a decimal number (range 00 to 59).\n"); in OsCmdUsageDate()
108 PRINTK(" %%n A newline character. (SU)\n"); in OsCmdUsageDate()
109 PRINTK(" %%p Either \"AM\" or \"PM\" according to the given time value, \n"); in OsCmdUsageDate()
110 PRINTK(" or the corresponding strings for the current locale.\n"); in OsCmdUsageDate()
111 PRINTK(" Noon is treated as \"PM\" and midnight as \"AM\".\n"); in OsCmdUsageDate()
112 PRINTK(" %%P Like %%p but in lowercase: \"am\" or \"pm\" \n"); in OsCmdUsageDate()
113 PRINTK(" or a corresponding string for the current locale. (GNU)\n"); in OsCmdUsageDate()
114 PRINTK(" %%s The number of seconds since the Epoch, that is,\n"); in OsCmdUsageDate()
115 PRINTK(" since 1970-01-01 00:00:00 UTC. (TZ)\n"); in OsCmdUsageDate()
116 PRINTK(" %%S The second as a decimal number (range 00 to 60).\n"); in OsCmdUsageDate()
117 PRINTK(" (The range is up to 60 to allow for occasional leap seconds.)\n"); in OsCmdUsageDate()
118 PRINTK(" %%t A tab character. (SU)\n"); in OsCmdUsageDate()
119 PRINTK(" %%y The year as a decimal number without a century (range 00 to 99).\n"); in OsCmdUsageDate()
120 PRINTK(" %%Y The year as a decimal number including the century.\n"); in OsCmdUsageDate()
121 PRINTK(" %%%% A literal '%%' character.\n"); in OsCmdUsageDate()
122 PRINTK("\nExamples:\n"); in OsCmdUsageDate()
123 PRINTK("Set system date (2017-01-01)\n"); in OsCmdUsageDate()
124 PRINTK("$ date -s 20170101\n"); in OsCmdUsageDate()
125 PRINTK("Set system time (12:00:00)\n"); in OsCmdUsageDate()
126 PRINTK("$ date -s 12:00:00\n"); in OsCmdUsageDate()
127 PRINTK("Show the time with format Year-Month-Day\n"); in OsCmdUsageDate()
128 PRINTK("$ date +%%Y-%%m-%%d\n"); in OsCmdUsageDate()
156 PRINTK("\nUsage: date -s set system time starting from 1970.\n"); in OsStrToTm()
190 PRINTK("%s\n", timebuf); in OsFormatPrintTime()
205 PRINTK("Setting time failed...\n"); in OsDateSetTime()
220 PRINTK("setting time failed...\n"); in OsDateSetTime()
249 PRINTK("%s\n", ctime_r(&(statBuf.st_mtim.tv_sec), buf)); in OsViewFileTime()
263 PRINTK("%s\n", ctime64(&nowTime.tv_sec)); in OsShellCmdDate()