Lines Matching refs:base

201           std::string base = fmt;  variable
205 while ((reg1_index = base.find(REG1_TOKEN)) != std::string::npos) {
206 base.replace(reg1_index, ConstexprStrLen(REG1_TOKEN), reg1_string);
211 while ((reg2_index = base.find(REG2_TOKEN)) != std::string::npos) {
212 base.replace(reg2_index, ConstexprStrLen(REG2_TOKEN), reg2_string);
215 size_t imm_index = base.find(IMM_TOKEN);
220 base.replace(imm_index, ConstexprStrLen(IMM_TOKEN), imm_string);
226 str += base;
257 std::string base = fmt; in RepeatTemplatedRegistersImmBits() local
261 while ((reg1_index = base.find(REG1_TOKEN)) != std::string::npos) { in RepeatTemplatedRegistersImmBits()
262 base.replace(reg1_index, ConstexprStrLen(REG1_TOKEN), reg1_string); in RepeatTemplatedRegistersImmBits()
267 while ((reg2_index = base.find(REG2_TOKEN)) != std::string::npos) { in RepeatTemplatedRegistersImmBits()
268 base.replace(reg2_index, ConstexprStrLen(REG2_TOKEN), reg2_string); in RepeatTemplatedRegistersImmBits()
273 while ((reg3_index = base.find(REG3_TOKEN)) != std::string::npos) { in RepeatTemplatedRegistersImmBits()
274 base.replace(reg3_index, ConstexprStrLen(REG3_TOKEN), reg3_string); in RepeatTemplatedRegistersImmBits()
277 size_t imm_index = base.find(IMM_TOKEN); in RepeatTemplatedRegistersImmBits()
282 base.replace(imm_index, ConstexprStrLen(IMM_TOKEN), imm_string); in RepeatTemplatedRegistersImmBits()
288 str += base; in RepeatTemplatedRegistersImmBits()
318 std::string base = fmt; in RepeatTemplatedImmBitsRegisters() local
322 while ((reg1_index = base.find(REG1_TOKEN)) != std::string::npos) { in RepeatTemplatedImmBitsRegisters()
323 base.replace(reg1_index, ConstexprStrLen(REG1_TOKEN), reg1_string); in RepeatTemplatedImmBitsRegisters()
328 while ((reg2_index = base.find(REG2_TOKEN)) != std::string::npos) { in RepeatTemplatedImmBitsRegisters()
329 base.replace(reg2_index, ConstexprStrLen(REG2_TOKEN), reg2_string); in RepeatTemplatedImmBitsRegisters()
332 size_t imm_index = base.find(IMM_TOKEN); in RepeatTemplatedImmBitsRegisters()
337 base.replace(imm_index, ConstexprStrLen(IMM_TOKEN), imm_string); in RepeatTemplatedImmBitsRegisters()
343 str += base; in RepeatTemplatedImmBitsRegisters()
368 std::string base = fmt; in RepeatTemplatedRegisterImmBits() local
372 while ((reg_index = base.find(REG_TOKEN)) != std::string::npos) { in RepeatTemplatedRegisterImmBits()
373 base.replace(reg_index, ConstexprStrLen(REG_TOKEN), reg_string); in RepeatTemplatedRegisterImmBits()
376 size_t imm_index = base.find(IMM_TOKEN); in RepeatTemplatedRegisterImmBits()
381 base.replace(imm_index, ConstexprStrLen(IMM_TOKEN), imm_string); in RepeatTemplatedRegisterImmBits()
387 str += base; in RepeatTemplatedRegisterImmBits()
572 std::string base = fmt; variable
574 size_t imm_index = base.find(IMM_TOKEN);
579 base.replace(imm_index, ConstexprStrLen(IMM_TOKEN), imm_string);
585 str += base;
1139 std::string base = fmt; in RepeatTemplatedMem() local
1143 if ((addr_index = base.find(ADDRESS_TOKEN)) != std::string::npos) { in RepeatTemplatedMem()
1144 base.replace(addr_index, ConstexprStrLen(ADDRESS_TOKEN), addr_string); in RepeatTemplatedMem()
1150 str += base; in RepeatTemplatedMem()
1172 std::string base = fmt; in RepeatTemplatedMemImm() local
1176 if ((addr_index = base.find(ADDRESS_TOKEN)) != std::string::npos) { in RepeatTemplatedMemImm()
1177 base.replace(addr_index, ConstexprStrLen(ADDRESS_TOKEN), addr_string); in RepeatTemplatedMemImm()
1180 size_t imm_index = base.find(IMM_TOKEN); in RepeatTemplatedMemImm()
1185 base.replace(imm_index, ConstexprStrLen(IMM_TOKEN), imm_string); in RepeatTemplatedMemImm()
1191 str += base; in RepeatTemplatedMemImm()
1213 std::string base = fmt; in RepeatTemplatedRegMem() local
1217 if ((reg_index = base.find(REG_TOKEN)) != std::string::npos) { in RepeatTemplatedRegMem()
1218 base.replace(reg_index, ConstexprStrLen(REG_TOKEN), reg_string); in RepeatTemplatedRegMem()
1223 if ((addr_index = base.find(ADDRESS_TOKEN)) != std::string::npos) { in RepeatTemplatedRegMem()
1224 base.replace(addr_index, ConstexprStrLen(ADDRESS_TOKEN), addr_string); in RepeatTemplatedRegMem()
1230 str += base; in RepeatTemplatedRegMem()
1252 std::string base = fmt; in RepeatTemplatedMemReg() local
1256 if ((addr_index = base.find(ADDRESS_TOKEN)) != std::string::npos) { in RepeatTemplatedMemReg()
1257 base.replace(addr_index, ConstexprStrLen(ADDRESS_TOKEN), addr_string); in RepeatTemplatedMemReg()
1262 if ((reg_index = base.find(REG_TOKEN)) != std::string::npos) { in RepeatTemplatedMemReg()
1263 base.replace(reg_index, ConstexprStrLen(REG_TOKEN), reg_string); in RepeatTemplatedMemReg()
1269 str += base; in RepeatTemplatedMemReg()
1291 std::string base = fmt; in RepeatTemplatedRegister() local
1295 if ((reg_index = base.find(REG_TOKEN)) != std::string::npos) { in RepeatTemplatedRegister()
1296 base.replace(reg_index, ConstexprStrLen(REG_TOKEN), reg_string); in RepeatTemplatedRegister()
1302 str += base; in RepeatTemplatedRegister()
1324 std::string base = fmt; in RepeatTemplatedRegisters() local
1328 while ((reg1_index = base.find(REG1_TOKEN)) != std::string::npos) { in RepeatTemplatedRegisters()
1329 base.replace(reg1_index, ConstexprStrLen(REG1_TOKEN), reg1_string); in RepeatTemplatedRegisters()
1334 while ((reg2_index = base.find(REG2_TOKEN)) != std::string::npos) { in RepeatTemplatedRegisters()
1335 base.replace(reg2_index, ConstexprStrLen(REG2_TOKEN), reg2_string); in RepeatTemplatedRegisters()
1341 str += base; in RepeatTemplatedRegisters()
1365 std::string base = fmt; in RepeatTemplatedRegistersNoDupes() local
1369 while ((reg1_index = base.find(REG1_TOKEN)) != std::string::npos) { in RepeatTemplatedRegistersNoDupes()
1370 base.replace(reg1_index, ConstexprStrLen(REG1_TOKEN), reg1_string); in RepeatTemplatedRegistersNoDupes()
1375 while ((reg2_index = base.find(REG2_TOKEN)) != std::string::npos) { in RepeatTemplatedRegistersNoDupes()
1376 base.replace(reg2_index, ConstexprStrLen(REG2_TOKEN), reg2_string); in RepeatTemplatedRegistersNoDupes()
1382 str += base; in RepeatTemplatedRegistersNoDupes()
1406 std::string base = fmt; in RepeatTemplatedRegisters() local
1410 while ((reg1_index = base.find(REG1_TOKEN)) != std::string::npos) { in RepeatTemplatedRegisters()
1411 base.replace(reg1_index, ConstexprStrLen(REG1_TOKEN), reg1_string); in RepeatTemplatedRegisters()
1416 while ((reg2_index = base.find(REG2_TOKEN)) != std::string::npos) { in RepeatTemplatedRegisters()
1417 base.replace(reg2_index, ConstexprStrLen(REG2_TOKEN), reg2_string); in RepeatTemplatedRegisters()
1422 while ((reg3_index = base.find(REG3_TOKEN)) != std::string::npos) { in RepeatTemplatedRegisters()
1423 base.replace(reg3_index, ConstexprStrLen(REG3_TOKEN), reg3_string); in RepeatTemplatedRegisters()
1429 str += base; in RepeatTemplatedRegisters()
1457 std::string base = fmt; in RepeatTemplatedRegistersImm() local
1461 while ((reg1_index = base.find(REG1_TOKEN)) != std::string::npos) { in RepeatTemplatedRegistersImm()
1462 base.replace(reg1_index, ConstexprStrLen(REG1_TOKEN), reg1_string); in RepeatTemplatedRegistersImm()
1467 while ((reg2_index = base.find(REG2_TOKEN)) != std::string::npos) { in RepeatTemplatedRegistersImm()
1468 base.replace(reg2_index, ConstexprStrLen(REG2_TOKEN), reg2_string); in RepeatTemplatedRegistersImm()
1471 size_t imm_index = base.find(IMM_TOKEN); in RepeatTemplatedRegistersImm()
1476 base.replace(imm_index, ConstexprStrLen(IMM_TOKEN), imm_string); in RepeatTemplatedRegistersImm()
1482 str += base; in RepeatTemplatedRegistersImm()
1567 std::string base = fmt; in RepeatRegisterImm() local
1571 while ((reg_index = base.find(REG_TOKEN)) != std::string::npos) { in RepeatRegisterImm()
1572 base.replace(reg_index, ConstexprStrLen(REG_TOKEN), reg_string); in RepeatRegisterImm()
1575 size_t imm_index = base.find(IMM_TOKEN); in RepeatRegisterImm()
1580 base.replace(imm_index, ConstexprStrLen(IMM_TOKEN), imm_string); in RepeatRegisterImm()
1586 str += base; in RepeatRegisterImm()