Home | History | Annotate | Download | only in libcutils

Lines Matching refs:chp

32         char* chp, *end;
41 while ((chp = fgets(serial_number, sizeof(serial_number), file)) != NULL)
45 if (strncmp(chp, "Serial", 6) != 0)
48 chp = strchr(chp, ':');
49 if (!chp)
53 while ( *(++chp) == ' ') {}
56 end = chp;
61 whitespace = strchr(chp, ' ');
64 whitespace = strchr(chp, '\t');
67 whitespace = strchr(chp, '\r');
70 whitespace = strchr(chp, '\n');
75 memmove(serial_number, chp, strlen(chp) + 1);