Lines Matching refs:buf
804 char buf[128];
805 sprintf(buf, "Restoring bad calling ident: 0x%" PRIx64, token);
806 jniThrowException(env, "java/lang/IllegalStateException", buf);
1015 static int getprocname(pid_t pid, char *buf, size_t len) {
1022 *buf = '\0';
1025 if (!fgets(buf, len, f)) {
1026 *buf = '\0';
1092 char buf[LOGGER_ENTRY_MAX_PAYLOAD];
1093 buf[0] = EVENT_TYPE_LIST;
1094 buf[1] = 5;
1095 char* pos = &buf[2];
1096 char* end = &buf[LOGGER_ENTRY_MAX_PAYLOAD - 1]; // leave room for final \n
1103 android_bWriteLog(LOGTAG_BINDER_OPERATION, buf, pos - buf);