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;
1093 std::string base = fmt; in RepeatTemplatedMem() local
1097 if ((addr_index = base.find(ADDRESS_TOKEN)) != std::string::npos) { in RepeatTemplatedMem()
1098 base.replace(addr_index, ConstexprStrLen(ADDRESS_TOKEN), addr_string); in RepeatTemplatedMem()
1104 str += base; in RepeatTemplatedMem()
1126 std::string base = fmt; in RepeatTemplatedMemImm() local
1130 if ((addr_index = base.find(ADDRESS_TOKEN)) != std::string::npos) { in RepeatTemplatedMemImm()
1131 base.replace(addr_index, ConstexprStrLen(ADDRESS_TOKEN), addr_string); in RepeatTemplatedMemImm()
1134 size_t imm_index = base.find(IMM_TOKEN); in RepeatTemplatedMemImm()
1139 base.replace(imm_index, ConstexprStrLen(IMM_TOKEN), imm_string); in RepeatTemplatedMemImm()
1145 str += base; in RepeatTemplatedMemImm()
1167 std::string base = fmt; in RepeatTemplatedRegMem() local
1171 if ((reg_index = base.find(REG_TOKEN)) != std::string::npos) { in RepeatTemplatedRegMem()
1172 base.replace(reg_index, ConstexprStrLen(REG_TOKEN), reg_string); in RepeatTemplatedRegMem()
1177 if ((addr_index = base.find(ADDRESS_TOKEN)) != std::string::npos) { in RepeatTemplatedRegMem()
1178 base.replace(addr_index, ConstexprStrLen(ADDRESS_TOKEN), addr_string); in RepeatTemplatedRegMem()
1184 str += base; in RepeatTemplatedRegMem()
1206 std::string base = fmt; in RepeatTemplatedMemReg() local
1210 if ((addr_index = base.find(ADDRESS_TOKEN)) != std::string::npos) { in RepeatTemplatedMemReg()
1211 base.replace(addr_index, ConstexprStrLen(ADDRESS_TOKEN), addr_string); in RepeatTemplatedMemReg()
1216 if ((reg_index = base.find(REG_TOKEN)) != std::string::npos) { in RepeatTemplatedMemReg()
1217 base.replace(reg_index, ConstexprStrLen(REG_TOKEN), reg_string); in RepeatTemplatedMemReg()
1223 str += base; in RepeatTemplatedMemReg()
1245 std::string base = fmt; in RepeatTemplatedRegister() local
1249 if ((reg_index = base.find(REG_TOKEN)) != std::string::npos) { in RepeatTemplatedRegister()
1250 base.replace(reg_index, ConstexprStrLen(REG_TOKEN), reg_string); in RepeatTemplatedRegister()
1256 str += base; in RepeatTemplatedRegister()
1278 std::string base = fmt; in RepeatTemplatedRegisters() local
1282 while ((reg1_index = base.find(REG1_TOKEN)) != std::string::npos) { in RepeatTemplatedRegisters()
1283 base.replace(reg1_index, ConstexprStrLen(REG1_TOKEN), reg1_string); in RepeatTemplatedRegisters()
1288 while ((reg2_index = base.find(REG2_TOKEN)) != std::string::npos) { in RepeatTemplatedRegisters()
1289 base.replace(reg2_index, ConstexprStrLen(REG2_TOKEN), reg2_string); in RepeatTemplatedRegisters()
1295 str += base; in RepeatTemplatedRegisters()
1319 std::string base = fmt; in RepeatTemplatedRegistersNoDupes() local
1323 while ((reg1_index = base.find(REG1_TOKEN)) != std::string::npos) { in RepeatTemplatedRegistersNoDupes()
1324 base.replace(reg1_index, ConstexprStrLen(REG1_TOKEN), reg1_string); in RepeatTemplatedRegistersNoDupes()
1329 while ((reg2_index = base.find(REG2_TOKEN)) != std::string::npos) { in RepeatTemplatedRegistersNoDupes()
1330 base.replace(reg2_index, ConstexprStrLen(REG2_TOKEN), reg2_string); in RepeatTemplatedRegistersNoDupes()
1336 str += base; in RepeatTemplatedRegistersNoDupes()
1360 std::string base = fmt; in RepeatTemplatedRegisters() local
1364 while ((reg1_index = base.find(REG1_TOKEN)) != std::string::npos) { in RepeatTemplatedRegisters()
1365 base.replace(reg1_index, ConstexprStrLen(REG1_TOKEN), reg1_string); in RepeatTemplatedRegisters()
1370 while ((reg2_index = base.find(REG2_TOKEN)) != std::string::npos) { in RepeatTemplatedRegisters()
1371 base.replace(reg2_index, ConstexprStrLen(REG2_TOKEN), reg2_string); in RepeatTemplatedRegisters()
1376 while ((reg3_index = base.find(REG3_TOKEN)) != std::string::npos) { in RepeatTemplatedRegisters()
1377 base.replace(reg3_index, ConstexprStrLen(REG3_TOKEN), reg3_string); in RepeatTemplatedRegisters()
1383 str += base; in RepeatTemplatedRegisters()
1411 std::string base = fmt; in RepeatTemplatedRegistersImm() local
1415 while ((reg1_index = base.find(REG1_TOKEN)) != std::string::npos) { in RepeatTemplatedRegistersImm()
1416 base.replace(reg1_index, ConstexprStrLen(REG1_TOKEN), reg1_string); in RepeatTemplatedRegistersImm()
1421 while ((reg2_index = base.find(REG2_TOKEN)) != std::string::npos) { in RepeatTemplatedRegistersImm()
1422 base.replace(reg2_index, ConstexprStrLen(REG2_TOKEN), reg2_string); in RepeatTemplatedRegistersImm()
1425 size_t imm_index = base.find(IMM_TOKEN); in RepeatTemplatedRegistersImm()
1430 base.replace(imm_index, ConstexprStrLen(IMM_TOKEN), imm_string); in RepeatTemplatedRegistersImm()
1436 str += base; in RepeatTemplatedRegistersImm()
1516 std::string base = fmt; in RepeatRegisterImm() local
1520 while ((reg_index = base.find(REG_TOKEN)) != std::string::npos) { in RepeatRegisterImm()
1521 base.replace(reg_index, ConstexprStrLen(REG_TOKEN), reg_string); in RepeatRegisterImm()
1524 size_t imm_index = base.find(IMM_TOKEN); in RepeatRegisterImm()
1529 base.replace(imm_index, ConstexprStrLen(IMM_TOKEN), imm_string); in RepeatRegisterImm()
1535 str += base; in RepeatRegisterImm()