• Home
  • Raw
  • Download

Lines Matching refs:i

155 static char get_oct_char(const char *s, int *i)  in get_oct_char()  argument
162 strncpy(x, s + *i, 3); in get_oct_char()
168 (*i) += endx - x; in get_oct_char()
178 static char get_hex_char(const char *s, int *i) in get_hex_char() argument
185 strncpy(x, s + *i, 2); in get_hex_char()
191 (*i) += endx - x; in get_hex_char()
195 char get_escape_char(const char *s, int *i) in get_escape_char() argument
197 char c = s[*i]; in get_escape_char()
198 int j = *i + 1; in get_escape_char()
242 (*i) = j; in get_escape_char()
385 int i; in utilfdt_print_data() local
407 for (i = 0, len /= 4; i < len; i++) in utilfdt_print_data()
408 printf("0x%08" PRIx32 "%s", fdt32_to_cpu(cell[i]), in utilfdt_print_data()
409 i < (len - 1) ? " " : ""); in utilfdt_print_data()
414 for (i = 0; i < len; i++) in utilfdt_print_data()
415 printf("%02x%s", *p++, i < len - 1 ? " " : ""); in utilfdt_print_data()
434 size_t i; in util_usage() local
444 for (i = 0; long_opts[i].name; ++i) { in util_usage()
446 int l = strlen(long_opts[i].name) + 1; in util_usage()
447 if (long_opts[i].has_arg == a_argument) in util_usage()
453 for (i = 0; long_opts[i].name; ++i) { in util_usage()
455 assert(opts_help[i] != NULL); in util_usage()
458 if (long_opts[i].val > '~') in util_usage()
461 fprintf(fp, " -%c, ", long_opts[i].val); in util_usage()
464 if (long_opts[i].has_arg == no_argument) in util_usage()
465 fprintf(fp, "--%-*s", optlen, long_opts[i].name); in util_usage()
467 fprintf(fp, "--%s %s%*s", long_opts[i].name, a_arg, in util_usage()
468 (int)(optlen - strlen(long_opts[i].name) - a_arg_len), ""); in util_usage()
471 fprintf(fp, "%s\n", opts_help[i]); in util_usage()