• Home
  • Raw
  • Download

Lines Matching refs:buf

298 static char* DecodeRegList(int opcode, int vector, char* buf, size_t buf_size) {  in DecodeRegList()  argument
301 buf[0] = 0; in DecodeRegList()
311 snprintf(buf + strlen(buf), buf_size - strlen(buf), ", r%d", reg_id); in DecodeRegList()
314 snprintf(buf, buf_size, "r%d", reg_id); in DecodeRegList()
318 return buf; in DecodeRegList()
321 static char* DecodeFPCSRegList(int count, int base, char* buf, size_t buf_size) { in DecodeFPCSRegList() argument
322 snprintf(buf, buf_size, "s%d", base); in DecodeFPCSRegList()
324 snprintf(buf + strlen(buf), buf_size - strlen(buf), ", s%d", base + i); in DecodeFPCSRegList()
326 return buf; in DecodeFPCSRegList()
355 std::string buf; in BuildInsnString() local
488 buf += tbuf; in BuildInsnString()
491 buf += *fmt++; in BuildInsnString()
497 std::string::npos != buf.find(", [")) { in BuildInsnString()
509 buf += " ; "; in BuildInsnString()
510 buf += tmp_stream.str(); in BuildInsnString()
512 return buf; in BuildInsnString()
516 char buf[256]; in DumpResourceMask() local
517 buf[0] = 0; in DumpResourceMask()
520 strcpy(buf, "all"); in DumpResourceMask()
528 strcat(buf, num); in DumpResourceMask()
533 strcat(buf, "cc "); in DumpResourceMask()
536 strcat(buf, "fpcc "); in DumpResourceMask()
541 snprintf(buf + strlen(buf), arraysize(buf) - strlen(buf), "dr%d%s", in DumpResourceMask()
546 strcat(buf, "lit "); in DumpResourceMask()
550 strcat(buf, "heap "); in DumpResourceMask()
553 strcat(buf, "noalias "); in DumpResourceMask()
556 if (buf[0]) { in DumpResourceMask()
557 LOG(INFO) << prefix << ": " << buf; in DumpResourceMask()