/external/apache-velocity-engine/velocity-engine-core/src/test/java/org/apache/velocity/test/ |
D | ScopeTestCase.java | 115 String template = "#foreach( $i in [0..2] )"+ in testForeachScope() local 125 String template = "#foreach( $i in [1..5] )"+ in testNestedForeachScope() local 137 String template = "#macro( foo $i )"+ in testMacroScope() local 147 String template = "#macro( foo )$macro.info.depth"+ in testRecursiveMacroScope() local 156 String template = "#macro( a )$macro.info.depth#set($macro.c = 'a')$macro.c#end"+ in testNestedMacroScope() local 165 String template = "#macro( foo $bar )$bodyContent$macro.bar#end"+ in testBodyMacroScope() local 176 String template = "#macro( foo )$bodyContent$macro.i#end"+ in testRecursiveBodyMacroScope() local 186 …String template = "#define( $foo )#set( $define.bar = 'bar'+$define.info.depth )$define.bar#end$fo… in testDefineScope() local 193 String template = "#define($a)$b c#end"+ in testNestedDefineScope() local 203 String template = "#define($a)$define.info.depth"+ in testRecursiveDefineScope() local [all …]
|
D | BlockMacroTestCase.java | 36 …String template = "#macro(foo $txt) Yeah, $txt! $bodyContent $bodyContent#end #@foo(\"woohoo\")jee… in testMultipleBodyContentIncludes() local 44 …String template = "#macro(foo $txt) Yeah, $txt! $bodyContent#end #@foo(\"woohoo\")#foreach($i in [… in testNestedVelocityLogic() local 52 String template = "#macro(foo $txt) Yeah, $txt! $bodyContent#end #@foo(\"woohoo\")#end"; in testEmptyBody() local 60 String template = "#macro(foo) Yeah! $bodyContent#end #@foo()#end"; in testNoArgumentsEmptyBodyCall() local 69 String template = "#macro(foo) Yeah! $myBody#end #@foo()#end"; in testCustomBodyReference() local 78 String template = "#macro(echo)$bodyContent#end #@echo()Yeah!#end"; in testVelocity671() local 111 String template = "#macro(foo)#set( $x = $bodyContent )#end"+ in testVelocity686() local 118 String template = "#macro(foo)foo:$bodyContent#end"+ in testNestedBlockMacro() local 127 String template = "#macro(foo)start:$bodyContent#end"+ in testRecursiveBlockMacro() local
|
D | MethodInvocationExceptionTestCase.java | 90 String template = "$woogie.doException() boing!"; in testNormalMethodInvocationException() local 133 String template = "$woogie.foo boing!"; in testGetterMethodInvocationException() local 165 String template = "$woogie.Foo boing!"; in testCapitalizedGetterMethodInvocationException() local 196 String template = "#set($woogie.foo = 'lala') boing!"; in testSetterMethodInvocationException() local 234 String template = "#macro (macro1 $param) $param #end #macro1($woogie.getFoo())"; in testMacroInvocationException() local
|
D | EncodingTestCase.java | 92 Template template = Velocity.getTemplate( in testChineseEncoding() local 123 Template template = Velocity.getTemplate( in testHighByteChinese() local 155 Template template = Velocity.getTemplate( in testHighByteChinese2() local 186 Template template = Velocity.getTemplate( in testRussian() local
|
D | ParserTestCase.java | 69 String template = "#if($a == $b) foo #end"; in testEquals() local 105 String template = "#macro(foo) foo #end"; in testMacro() local 142 String template = "#macro(foo) foo #end"; in testArgs() local 182 String template = "$counter"; in testASTReferenceToStringOnlyCalledOnce() local
|
D | VMLibraryTestCase.java | 141 Template template = ve1.getTemplate("vm_library_local.vm"); in testVelociMacroLibWithLocalNamespace() local 209 Template template = ve1.getTemplate("vm_library_global.vm"); in testVelociMacroLibWithGlobalNamespace() local 272 Template template = ve1.getTemplate("vm_library.vm"); in testVelociMacroLibWithDuplicateDefinitions() local 305 Template template = ve1.getTemplate("vm_library.vm"); in testMacrosWithNoDefinition() local
|
D | RenderVelocityTemplateTest.java | 33 private final String template; field in RenderVelocityTemplateTest.RenderVelocityTemplate 35 public RenderVelocityTemplate(String template) in RenderVelocityTemplate() 68 RenderVelocityTemplate template = new RenderVelocityTemplate(templateString); in testMultipleEvals() local
|
/external/apache-velocity-engine/velocity-engine-core/src/test/java/org/apache/velocity/test/issues/ |
D | Velocity615TestCase.java | 47 String template = "#set( $foo = 'old' )"+ in testIt() local 60 String template = "#macro( test $a )"+ in testForIrrationallyFearedRelatedPossibleProblem() local 71 String template = "#macro( test $a )"+ in testForIrrationallyFearedRelatedPossibleProblem2() local 83 String template = "#macro( test $a )"+ in testForIrrationallyFearedRelatedPossibleProblem3() local 94 String template = "#macro( test $a )"+ in testForIrrationallyFearedRelatedPossibleProblem4() local 105 String template = "#macro( test $a )"+ in testForIrrationallyFearedRelatedPossibleProblem5() local 116 String template = "#macro(myMacro $result)"+ in testVelocity681() local
|
D | Velocity587TestCase.java | 37 String template = "#set( $bs2 = \'\\\\\' )$bs2"; in testLiteralTwoBackslashes() local 44 String template = "#set( $bs = \'\\\' )$bs"; in testLiteralOneBackslash() local 52 String template = "#set( $bs2 = \"\\\\\" )$bs2"; in testInterpolatedTwoBackslashes() local 59 String template = "#set( $bs = \"\\\" )$bs"; in testInterpolatedOneBackslash() local
|
D | Velocity616TestCase.java | 44 String template = "\\#if ($foo) \\$bar \\#end"; in testIfNoBrackets() local 51 String template = "\\#{foreach}( $i in [1..3] )$i\\#{end}"; in testForeachBrackets() local 58 String template = "\\#{if} ($foo) \\$bar \\#{end}"; in testIfBrackets() local 65 String template = "\\#if( $foo ) \\$bar \\#{end}"; in testIfBracketsOnEndOnly() local
|
D | Velocity709TestCase.java | 38 String template = "#set($var = \"" + backslash + "\" )#set($var2 = \"${var}\")$var2"; in testEscapedBackslashInSetDirective() local 45 String template = "#set($foo = \"jeah \"\"baby\"\" jeah! \"\"\"\"\")$foo"; in testEscapedDoubleQuote() local 51 String template = "#set($foo = 'jeah ''baby'' jeah!')$foo"; in testEscapedSingleQuote() local
|
D | Velocity614TestCase.java | 38 String template = "#something(Stuff)"; in testSchmoo() local 44 String template = "\\#something(Stuff)"; in testEscapeSchmooButNotReallySinceSchmooHasNoEscaping() local 50 String template = "#macro( evil $arg )$arg#end \\#evil(bar)"; in testEscapeMacroWithBadArg() local
|
/external/escapevelocity/src/test/java/com/google/escapevelocity/ |
D | TemplateTest.java | 84 private void compare(String template) { in compare() 88 private void compare(String template, Map<String, ?> vars) { in compare() argument 99 private void compare(String template, Supplier<? extends Map<String, ?>> varsSupplier) { in compare() argument 117 private String velocityRender(String template, Map<String, ?> vars) { in velocityRender() argument 134 String template, in expectParseException() 364 String template = in substituteInString() local 575 String template = in nestedForEach() local 589 String template = in forEachScope() local 602 String template = in forEachIndex() local 636 String template = in simpleMacro() local [all …]
|
/external/rust/crates/tinytemplate/src/ |
D | template.rs | 413 let template = compile("Hello!"); in test_literal() localVariable 430 let template = compile("{ number }"); in test_value() localVariable 447 let template = compile("The number of the day is { nested.value }."); in test_path() localVariable 464 let template = compile("{{ if boolean }}Hello!{{ endif }}"); in test_if_taken() localVariable 481 let template = compile("{{ if null }}Hello!{{ endif }}"); in test_if_untaken() localVariable 498 let template = compile("{{ if boolean }}Hello!{{ else }}Goodbye!{{ endif }}"); in test_if_else_taken() localVariable 515 let template = compile("{{ if null }}Hello!{{ else }}Goodbye!{{ endif }}"); in test_if_else_untaken() localVariable 532 let template = compile("{{ if not boolean }}Hello!{{ endif }}"); in test_ifnot_taken() localVariable 549 let template = compile("{{ if not null }}Hello!{{ endif }}"); in test_ifnot_untaken() localVariable 566 let template = compile("{{ if not boolean }}Hello!{{ else }}Goodbye!{{ endif }}"); in test_ifnot_else_taken() localVariable [all …]
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/manifest/ |
D | UrlTemplateTest.java | 31 String template = "QualityLevels($Bandwidth$)/Fragments(video=$Time$,format=mpd-time-csf)"; in realExamples() local 49 String template = "$Bandwidth$_a_$RepresentationID$_b_$Time$_c_$Number$"; in full() local 57 String template = "$$$Bandwidth$$$_a$$_$RepresentationID$_b_$Time$_c_$Number$$$"; in fullWithDollarEscaping() local 65 String template = "$IllegalId$"; in invalidSubstitution() local
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/manifest/ |
D | UrlTemplateTest.java | 31 String template = "QualityLevels($Bandwidth$)/Fragments(video=$Time$,format=mpd-time-csf)"; in realExamples() local 49 String template = "$Bandwidth$_a_$RepresentationID$_b_$Time$_c_$Number$"; in full() local 57 String template = "$$$Bandwidth$$$_a$$_$RepresentationID$_b_$Time$_c_$Number$$$"; in fullWithDollarEscaping() local 65 String template = "$IllegalId$"; in invalidSubstitution() local
|
/external/chromium-trace/catapult/third_party/polymer/components/shadycss/src/ |
D | apply-shim-utils.js | 55 export function invalidateTemplate(template) { argument 80 export function templateIsValid(template) { argument 102 export function templateIsValidating(template) { argument 124 export function startValidatingTemplate(template) { argument
|
/external/python/jinja/src/jinja2/ |
D | loaders.py | 19 def split_template_path(template): argument 69 def get_source(self, environment, template): argument 174 def get_source(self, environment, template): argument 287 def get_source(self, environment, template): argument 365 def get_source(self, environment, template): argument 396 def get_source(self, environment, template): argument 424 def get_loader(self, template): argument 432 def get_source(self, environment, template): argument 476 def get_source(self, environment, template): argument
|
/external/libchrome/third_party/jinja2/ |
D | loaders.py | 22 def split_template_path(template): argument 70 def get_source(self, environment, template): argument 167 def get_source(self, environment, template): argument 231 def get_source(self, environment, template): argument 282 def get_source(self, environment, template): argument 313 def get_source(self, environment, template): argument 341 def get_loader(self, template): argument 349 def get_source(self, environment, template): argument 393 def get_source(self, environment, template): argument
|
/external/pigweed/pw_protobuf_compiler/ |
D | docs.rst | 172 Proto file structure 205 Adding Python proto modules to an existing package 243 Working with externally defined protos
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | DataUsageController.java | 94 NetworkTemplate template = new NetworkTemplate.Builder(MATCH_MOBILE) in getMobileDataUsageInfoForSubscriber() local 109 NetworkTemplate template = new NetworkTemplate.Builder(MATCH_MOBILE) in getMobileDataUsageInfoForUid() local 121 NetworkTemplate template = new NetworkTemplate.Builder(MATCH_WIFI).build(); in getWifiDataUsageInfo() local 130 public DataUsageInfo getDataUsageInfo(NetworkTemplate template) { in getDataUsageInfo() 156 public DataUsageInfo getDataUsageInfo(NetworkTemplate template, int uid) { in getDataUsageInfo() 204 private NetworkPolicy findNetworkPolicy(NetworkTemplate template) { in findNetworkPolicy()
|
/external/chromium-trace/catapult/third_party/polymer/components/shadycss/entrypoints/ |
D | apply-shim.js | 54 prepareTemplate(template, elementName) { argument 154 prepareTemplate(template, elementName, elementExtends) { // eslint-disable-line no-unused-vars argument 164 prepareTemplateStyles(template, elementName, elementExtends) { argument 172 prepareTemplateDom(template, elementName) {}, // eslint-disable-line no-unused-vars argument
|
D | custom-style-interface.js | 26 prepareTemplate(template, elementName, elementExtends) {}, // eslint-disable-line no-unused-vars argument 32 prepareTemplateDom(template, elementName) {}, // eslint-disable-line no-unused-vars argument 39 …prepareTemplateStyles(template, elementName, elementExtends) {}, // eslint-disable-line no-unused-… argument
|
/external/python/cpython2/Lib/plat-mac/ |
D | buildtools.py | 51 def findtemplate(template=None): argument 69 def process(template, filename, destname, copy_codefragment=0, argument 125 def update(template, filename, output): argument 147 def process_common(template, progress, code, rsrcname, destname, is_update, argument 282 def process_common_macho(template, progress, code, rsrcname, destname, is_update, argument
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
D | TemplateList.java | 64 public void setTemplate(ElemTemplate template) in setTemplate() 79 m_namedTemplates.put(template.getName(), template); in setTemplate() local 89 m_namedTemplates.put(template.getName(), template); in setTemplate() local 105 insertPatternInTable((StepPattern) matchExpr, template); in setTemplate() local 343 private void insertPatternInTable(StepPattern pattern, ElemTemplate template) in insertPatternInTable() 556 ElemTemplate template = head.getTemplate(); in getTemplateFast() local 614 ElemTemplate template = head.getTemplate(); in getTemplate() local
|