Lines Matching refs:sb
37 sb = ninja.EvalStringBuilder()
38 sb.append_raw('a')
39 sb.append_raw('b')
40 s = sb.getvalue()
61 sb = ninja.EvalStringBuilder()
62 sb.append_var('key1')
63 sb.append_var('key2')
64 s = sb.getvalue()
73 sb = ninja.EvalStringBuilder()
74 sb.append_var('key1')
75 sb.append_var('key1')
76 sb.append_var('key2')
77 sb.append_var('key1')
78 sb.append_var('key2')
79 s = sb.getvalue()
88 sb = ninja.EvalStringBuilder()
89 sb.append_var('c')
90 sb.append_var('c')
91 env['b'] = sb.getvalue()
93 sb = ninja.EvalStringBuilder()
94 sb.append_var('a')
95 sb.append_var('a')
96 s = sb.getvalue()
117 sb = ninja.EvalStringBuilder()
118 sb.append_raw('a')
119 sb.append_var('b')
120 sb.append_raw('c')
121 s = sb.getvalue()
500 sb = ninja.EvalStringBuilder()
501 sb.append_raw('gcc -c -o ')
502 sb.append_var('outs')
503 sb.append_raw(' ')
504 sb.append_var('ins')
506 self.assertEqual(sb.getvalue(), rule_cc.bindings['command'])
512 sb = ninja.EvalStringBuilder()
513 sb.append_raw('gcc -o ')
514 sb.append_var('outs')
515 sb.append_raw(' ')
516 sb.append_var('ins')
518 self.assertEqual(sb.getvalue(), rule_ld.bindings['command'])