Lines Matching +full:0 +full:x1234
25 /* leave double '\0' in the end */ in boot_rb_add()
28 /* store strings separated by '\0' */ in boot_rb_add()
30 boot_rb_off = 0; in boot_rb_add()
59 for (*p-- = '\0'; p >= dst; val >>= 4) in as_hex()
60 *p-- = hex_asc[val & 0x0f]; in as_hex()
70 if (is_signed && (long)val < 0) { in as_dec()
75 *--p = '\0'; in as_dec()
77 *--p = '0' + (val % 10); in as_dec()
102 memset(p, zero_pad ? '0' : ' ', pad - len); in strpad()
107 if (pad < 0 && -pad > len) { in strpad()
111 *p = '\0'; in strpad()
124 /* symbol entries are in a form "10000 c4 startup\0" */ in findsym()
161 /* reserve 15 bytes for offset/len in symbol+0x1234/0x1234 */ in strsym()
163 strcpy(p, "+0x"); in strsym()
164 as_hex(p + 3, off, 0); in strsym()
165 strcat(p, "/0x"); in strsym()
166 as_hex(p + strlen(p), len, 0); in strsym()
175 if (buf[0] == KERN_SOH_ASCII && buf[1]) { in printk_loglevel()
177 case '0' ... '7': in printk_loglevel()
178 return buf[1] - '0'; in printk_loglevel()
207 buf += strpad(buf, MAX_NUMLEN, as_dec(ts, ns / NSEC_PER_SEC, 0), 5, 0, 0); in add_timestamp()
209 buf += strpad(buf, MAX_NUMLEN, as_dec(ts, (ns % NSEC_PER_SEC) / NSEC_PER_USEC, 0), 6, 1, 0); in add_timestamp()
225 char buf[1024] = { 0 }; in boot_printk()
226 char *end = buf + sizeof(buf) - 1; /* make sure buf is 0 terminated */ in boot_printk()
236 *p++ = printk_get_level(fmt) ?: '0' + MESSAGE_LOGLEVEL_DEFAULT; in boot_printk()
250 zero_pad = (*fmt == '0'); in boot_printk()
252 lenmod = (*fmt == 'h' || *fmt == 'l' || *fmt == 'z') ? *fmt++ : 0; in boot_printk()
277 strval = as_dec(valbuf, va_arg_len_type(args, lenmod, unsigned), 0); in boot_printk()
280 strval = as_hex(valbuf, va_arg_len_type(args, lenmod, unsigned), 0); in boot_printk()