Lines Matching refs:rstr
17 rstr = lstr
19 classname = rstr[0] # single-character SPICE element type
26 if string.find(rstr, '%i'):
27 rstr = string.replace(rstr, '%i', str(index))
32 rstr = string.replace(rstr, ptstr, portdict[pt])
34 rstr = string.replace(rstr, ptstr, portdict[pt])
43 rstr = string.replace(rstr, vtstr, vtvalue)
45 rstr = string.replace(rstr, vtstr, vtvalue)
49 if string.find(rstr, '%%'):
50 rstr = string.replace(rstr, '%%', '%')
51 if string.find(rstr, '%n'):
52 rstr = string.replace(rstr, '%n', devdict['name'])
53 if string.find(rstr, '%r'):
54 rstr = string.replace(rstr, '%r', '\n')
55 if string.find(rstr, '%t'):
56 rstr = string.replace(rstr, '%t', '\t')
58 return rstr