Lines Matching refs:applyPattern
95 fmt.applyPattern("{12d", status); in TestSyntaxErrors()
102 fmt.applyPattern("{0} meter", status); in TestOneArgument()
153 fmt.applyPattern( in TestManyArguments()
223 r.applyPattern("{0} meter", status); in TestManyArguments()
230 r.applyPattern("{0}, {1}", status); in TestManyArguments()
237 r.applyPattern("{0}, {1} and {2}", status); in TestManyArguments()
341 fmt.applyPattern("{2}, {0}, {1} and {3}", status); in TestFormatReplaceNoOptimization()
371 fmt.applyPattern("boo {2}, {0}, {1} and {3}", status); in TestFormatReplaceNoOptimizationLeadingText()
401 fmt.applyPattern("{2}, {0}, {1} and {3}", status); in TestFormatReplaceOptimization()
431 fmt.applyPattern("{2}, {0}, {1} and {3} {2}", status); in TestFormatReplaceNoOptimizationLeadingArgumentUsedTwice()
461 fmt.applyPattern("{2}, {0}, {1} and {3}", status); in TestFormatReplaceOptimizationNoOffsets()