Lines Matching refs:buf

334   std::string buf;  in BuildInsnString()  local
339 buf += fmt[i]; in BuildInsnString()
347 buf += "!"; in BuildInsnString()
356 buf += x86CondName[operand]; in BuildInsnString()
359 buf += StringPrintf("%d", operand); in BuildInsnString()
364 buf +=StringPrintf("%" PRId64, value); in BuildInsnString()
368 buf += StringPrintf("0x%08x", tab_rec->offset); in BuildInsnString()
374 buf += StringPrintf("xmm%d", fp_reg); in BuildInsnString()
378 buf += x86RegName[reg_num]; in BuildInsnString()
382 buf += StringPrintf("0x%08" PRIxPTR " (L%p)", in BuildInsnString()
387 buf += StringPrintf("DecodeError '%c'", fmt[i]); in BuildInsnString()
394 return buf; in BuildInsnString()
398 char buf[256]; in DumpResourceMask() local
399 buf[0] = 0; in DumpResourceMask()
402 strcpy(buf, "all"); in DumpResourceMask()
410 strcat(buf, num); in DumpResourceMask()
415 strcat(buf, "cc "); in DumpResourceMask()
419 snprintf(buf + strlen(buf), arraysize(buf) - strlen(buf), "dr%d%s", in DumpResourceMask()
424 strcat(buf, "lit "); in DumpResourceMask()
428 strcat(buf, "heap "); in DumpResourceMask()
431 strcat(buf, "noalias "); in DumpResourceMask()
434 if (buf[0]) { in DumpResourceMask()
435 LOG(INFO) << prefix << ": " << buf; in DumpResourceMask()
1021 static void PushWord(std::vector<uint8_t>&buf, int32_t data) { in PushWord() argument
1022 buf.push_back(data & 0xff); in PushWord()
1023 buf.push_back((data >> 8) & 0xff); in PushWord()
1024 buf.push_back((data >> 16) & 0xff); in PushWord()
1025 buf.push_back((data >> 24) & 0xff); in PushWord()
1447 static void AdvanceLoc(std::vector<uint8_t>&buf, uint32_t increment) { in AdvanceLoc() argument
1450 buf.push_back(0x1 << 6 | increment); in AdvanceLoc()
1453 buf.push_back(0x02); in AdvanceLoc()
1454 buf.push_back(increment); in AdvanceLoc()
1457 buf.push_back(0x03); in AdvanceLoc()
1458 buf.push_back(increment & 0xff); in AdvanceLoc()
1459 buf.push_back((increment >> 8) & 0xff); in AdvanceLoc()
1462 buf.push_back(0x04); in AdvanceLoc()
1463 PushWord(buf, increment); in AdvanceLoc()
1472 static void EncodeUnsignedLeb128(std::vector<uint8_t>& buf, uint32_t value) { in EncodeUnsignedLeb128() argument
1476 buf.push_back(*p); in EncodeUnsignedLeb128()
1480 static void EncodeSignedLeb128(std::vector<uint8_t>& buf, int32_t value) { in EncodeSignedLeb128() argument
1484 buf.push_back(*p); in EncodeSignedLeb128()