Lines Matching refs:x
225 char *x = strchr(mtdname + 1, '"'); in find_mtd_partitions() local
226 if (x) { in find_mtd_partitions()
227 *x = 0; in find_mtd_partitions()
413 char *x, *hw, *rev; in get_hardware_name() local
423 x = realloc(data, limit); in get_hardware_name()
424 if (!x) { in get_hardware_name()
428 data = x; in get_hardware_name()
449 x = strstr(hw, ": "); in get_hardware_name()
450 if (x) { in get_hardware_name()
451 x += 2; in get_hardware_name()
453 while (*x && *x != '\n') { in get_hardware_name()
454 if (!isspace(*x)) in get_hardware_name()
455 hardware[n++] = tolower(*x); in get_hardware_name()
456 x++; in get_hardware_name()
464 x = strstr(rev, ": "); in get_hardware_name()
465 if (x) { in get_hardware_name()
466 *revision = strtoul(x + 2, 0, 16); in get_hardware_name()
498 char *x = strchr(ptr, ' '); in import_kernel_cmdline() local
499 if (x != 0) *x++ = 0; in import_kernel_cmdline()
501 ptr = x; in import_kernel_cmdline()