Lines Matching refs:cp
306 char *cp = getenv(tz); in android_log_formatFromString() local
307 if (cp) { in android_log_formatFromString()
308 cp = strdup(cp); in android_log_formatFromString()
322 if (cp) { in android_log_formatFromString()
323 setenv(tz, cp, 1); in android_log_formatFromString()
332 free(cp); in android_log_formatFromString()
1057 char *cp, *e = line; in convertMonotonic() local
1103 cp = strstr(e, " UTC"); in convertMonotonic()
1104 if (!cp || ((cp - e) < 29) || (cp[-10] != '.')) { in convertMonotonic()
1107 e = cp - 29; in convertMonotonic()
1108 cp = readSeconds(cp - 10, &time); in convertMonotonic()
1109 if (!cp) { in convertMonotonic()
1112 cp = strptime(e, "%Y-%m-%d %H:%M:%S.", &tm); in convertMonotonic()
1113 if (!cp) { in convertMonotonic()
1116 cp = getenv(tz); in convertMonotonic()
1117 if (cp) { in convertMonotonic()
1118 cp = strdup(cp); in convertMonotonic()
1122 if (cp) { in convertMonotonic()
1123 setenv(tz, cp, 1); in convertMonotonic()
1124 free(cp); in convertMonotonic()