Lines Matching refs:newp
800 char *newp; /* temporary newval char pointer */ in fdt_parse_prop() local
805 newp = newval[0]; in fdt_parse_prop()
808 if (*newp == '<') { in fdt_parse_prop()
809 newp++; in fdt_parse_prop()
810 while ((*newp != '>') && (stridx < count)) { in fdt_parse_prop()
815 if (*newp == '\0') { in fdt_parse_prop()
816 newp = newval[++stridx]; in fdt_parse_prop()
820 cp = newp; in fdt_parse_prop()
821 tmp = simple_strtoul(cp, &newp, 0); in fdt_parse_prop()
825 newp++; in fdt_parse_prop()
831 if ((newp - cp) <= 0) { in fdt_parse_prop()
837 while (*newp == ' ') in fdt_parse_prop()
838 newp++; in fdt_parse_prop()
841 if (*newp != '>') { in fdt_parse_prop()
842 printf("Unexpected character '%c'\n", *newp); in fdt_parse_prop()
845 } else if (*newp == '[') { in fdt_parse_prop()
849 newp++; in fdt_parse_prop()
850 while ((stridx < count) && (*newp != ']')) { in fdt_parse_prop()
851 while (*newp == ' ') in fdt_parse_prop()
852 newp++; in fdt_parse_prop()
853 if (*newp == '\0') { in fdt_parse_prop()
854 newp = newval[++stridx]; in fdt_parse_prop()
857 if (!isxdigit(*newp)) in fdt_parse_prop()
859 tmp = simple_strtoul(newp, &newp, 16); in fdt_parse_prop()
863 if (*newp != ']') { in fdt_parse_prop()
864 printf("Unexpected character '%c'\n", *newp); in fdt_parse_prop()
874 size_t length = strlen(newp) + 1; in fdt_parse_prop()
875 strcpy(data, newp); in fdt_parse_prop()
878 newp = newval[++stridx]; in fdt_parse_prop()