Home | History | Annotate | Download | only in libcutils

Lines Matching refs:chp

32         char* chp, *end;
40 while ((chp = fgets(serial_number, sizeof(serial_number), file)) != NULL)
44 if (strncmp(chp, "Serial", 6) != 0)
47 chp = strchr(chp, ':');
48 if (!chp)
52 while ( *(++chp) == ' ') {}
55 end = chp;
60 whitespace = strchr(chp, ' ');
63 whitespace = strchr(chp, '\t');
66 whitespace = strchr(chp, '\r');
69 whitespace = strchr(chp, '\n');
74 memmove(serial_number, chp, strlen(chp) + 1);