Home
last modified time | relevance | path

Searched refs:newstr (Results 1 – 3 of 3) sorted by relevance

/system/core/logd/
DLogAudit.cpp323 char newstr[message_len]; in logPrint() local
325 *newstr = info ? ANDROID_LOG_INFO : ANDROID_LOG_WARN; in logPrint()
326 strlcpy(newstr + 1, comm, str_len); in logPrint()
327 strncpy(newstr + 1 + str_len, str, prefix_len); in logPrint()
328 strncpy(newstr + 1 + str_len + prefix_len, ecomm, suffix_len); in logPrint()
329 strncpy(newstr + 1 + str_len + prefix_len + suffix_len, in logPrint()
332 rc = logbuf->Log(LOG_ID_MAIN, now, uid, pid, tid, newstr, in logPrint()
DLogKlog.cpp726 char newstr[n]; in log() local
727 char* np = newstr; in log()
769 int rc = logbuf->Log(LOG_ID_KERNEL, now, uid, pid, tid, newstr, (uint16_t)n); in log()
/system/media/camera/docs/
Dmetadata_helpers.py289 newstr = name
290 newstr = "".join([i.isupper() and ("_" + i) or i for i in newstr]).upper()
291 newstr = newstr.replace(".", "_")
292 return newstr
328 newstr = what.ljust(size)
329 if len(newstr) > size:
332 return newstr