Home
last modified time | relevance | path

Searched defs:template (Results 1 – 25 of 635) sorted by relevance

12345678910>>...26

/external/sdk-platform-java/api-common-java/src/test/java/com/google/api/pathtemplate/
DPathTemplateTest.java57 PathTemplate template = PathTemplate.create("buckets/*/*/objects/*"); in matchAtomicResourceName() local
63 PathTemplate template = PathTemplate.create("buckets/*/objects/**"); in matchTemplateWithUnboundedWildcard() local
69 PathTemplate template = PathTemplate.create("buckets/*/objects/*"); in matchWithForcedHostName() local
79 PathTemplate template = PathTemplate.create("buckets/*/objects/*"); in matchWithHostName() local
89 PathTemplate template = PathTemplate.create("projects/{project}/zones/{zone}"); in matchWithHostNameAndProtocol() local
101 PathTemplate template = PathTemplate.create("{project}/zones/{zone}"); in matchWithHostNameAndProtocolWithTemplateStartWithBinding() local
140 PathTemplate template = PathTemplate.create("{glob=**}"); in pathWildcard_canMatchTheEmptyString() local
149 PathTemplate template = PathTemplate.create("buckets/*/objects/*:custom"); in matchWithCustomMethod() local
158 PathTemplate template = PathTemplate.create("buckets/*/*/objects/*"); in matchFailWhenPathMismatch() local
164 PathTemplate template = PathTemplate.create("buckets/*/*/objects/*"); in matchFailWhenPathTooShort() local
[all …]
/external/tink/java_src/src/test/java/com/google/crypto/tink/signature/
DSignatureKeyTemplatesTest.java52 KeyTemplate template = SignatureKeyTemplates.ECDSA_P256; in ecdsaP256() local
66 KeyTemplate template = SignatureKeyTemplates.ECDSA_P256_IEEE_P1363; in ecdsaP256Ieee() local
80 KeyTemplate template = SignatureKeyTemplates.ECDSA_P256_IEEE_P1363_WITHOUT_PREFIX; in ecdsaP256IeeeWithoutPrefix() local
94 KeyTemplate template = SignatureKeyTemplates.ECDSA_P384; in ecdsaP384() local
108 KeyTemplate template = SignatureKeyTemplates.ECDSA_P384_IEEE_P1363; in ecdsaP384Ieee() local
122 KeyTemplate template = SignatureKeyTemplates.ECDSA_P521_IEEE_P1363; in ecdsaP521Ieee() local
142 KeyTemplate template = in createEcdsaKeyTemplate() local
156 KeyTemplate template = SignatureKeyTemplates.ED25519; in ed25519() local
164 KeyTemplate template = SignatureKeyTemplates.ED25519WithRawOutput; in ed25519WithRawOutput() local
172 KeyTemplate template = SignatureKeyTemplates.RSA_SSA_PKCS1_3072_SHA256_F4; in rsaSsaPkcs1_3072() local
[all …]
/external/tink-java/src/test/java/com/google/crypto/tink/signature/
DSignatureKeyTemplatesTest.java52 KeyTemplate template = SignatureKeyTemplates.ECDSA_P256; in ecdsaP256() local
66 KeyTemplate template = SignatureKeyTemplates.ECDSA_P256_IEEE_P1363; in ecdsaP256Ieee() local
80 KeyTemplate template = SignatureKeyTemplates.ECDSA_P256_IEEE_P1363_WITHOUT_PREFIX; in ecdsaP256IeeeWithoutPrefix() local
94 KeyTemplate template = SignatureKeyTemplates.ECDSA_P384; in ecdsaP384() local
108 KeyTemplate template = SignatureKeyTemplates.ECDSA_P384_IEEE_P1363; in ecdsaP384Ieee() local
122 KeyTemplate template = SignatureKeyTemplates.ECDSA_P521_IEEE_P1363; in ecdsaP521Ieee() local
142 KeyTemplate template = in createEcdsaKeyTemplate() local
156 KeyTemplate template = SignatureKeyTemplates.ED25519; in ed25519() local
164 KeyTemplate template = SignatureKeyTemplates.ED25519WithRawOutput; in ed25519WithRawOutput() local
172 KeyTemplate template = SignatureKeyTemplates.RSA_SSA_PKCS1_3072_SHA256_F4; in rsaSsaPkcs1_3072() local
[all …]
/external/tink/java_src/src/test/java/com/google/crypto/tink/aead/
DAeadKeyTemplatesTest.java51 KeyTemplate template = AeadKeyTemplates.AES128_GCM; in aes128Gcm() local
61 KeyTemplate template = AeadKeyTemplates.AES256_GCM; in aes256Gcm() local
74 KeyTemplate template = AeadKeyTemplates.createAesGcmKeyTemplate(keySize); in testCreateAesGcmKeyTemplate() local
85 KeyTemplate template = AeadKeyTemplates.AES128_EAX; in aes128Eax() local
97 KeyTemplate template = AeadKeyTemplates.AES256_EAX; in aes256Eax() local
113 KeyTemplate template = AeadKeyTemplates.createAesEaxKeyTemplate(keySize, ivSize); in testCreateAesEaxKeyTemplate() local
126 KeyTemplate template = AeadKeyTemplates.AES128_CTR_HMAC_SHA256; in aes128CtrHmacSha256() local
147 KeyTemplate template = AeadKeyTemplates.AES256_CTR_HMAC_SHA256; in aes256CtrHmacSha256() local
175 KeyTemplate template = in testCreateAesCtrHmacAeadKeyTemplate() local
198 KeyTemplate template = AeadKeyTemplates.CHACHA20_POLY1305; in chacha20Poly1305() local
[all …]
/external/apache-velocity-engine/velocity-engine-core/src/test/java/org/apache/velocity/test/
DScopeTestCase.java115 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 …]
DBlockMacroTestCase.java36 …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
DMethodInvocationExceptionTestCase.java90 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
/external/tink-java/src/test/java/com/google/crypto/tink/aead/
DAeadKeyTemplatesTest.java50 KeyTemplate template = AeadKeyTemplates.AES128_GCM; in aes128Gcm() local
60 KeyTemplate template = AeadKeyTemplates.AES256_GCM; in aes256Gcm() local
73 KeyTemplate template = AeadKeyTemplates.createAesGcmKeyTemplate(keySize); in testCreateAesGcmKeyTemplate() local
84 KeyTemplate template = AeadKeyTemplates.AES128_EAX; in aes128Eax() local
96 KeyTemplate template = AeadKeyTemplates.AES256_EAX; in aes256Eax() local
112 KeyTemplate template = AeadKeyTemplates.createAesEaxKeyTemplate(keySize, ivSize); in testCreateAesEaxKeyTemplate() local
125 KeyTemplate template = AeadKeyTemplates.AES128_CTR_HMAC_SHA256; in aes128CtrHmacSha256() local
146 KeyTemplate template = AeadKeyTemplates.AES256_CTR_HMAC_SHA256; in aes256CtrHmacSha256() local
174 KeyTemplate template = in testCreateAesCtrHmacAeadKeyTemplate() local
197 KeyTemplate template = AeadKeyTemplates.CHACHA20_POLY1305; in chacha20Poly1305() local
[all …]
/external/tink-java/src/test/java/com/google/crypto/tink/streamingaead/
DStreamingAeadKeyTemplatesTest.java47 KeyTemplate template = StreamingAeadKeyTemplates.AES128_CTR_HMAC_SHA256_4KB; in testAes128CtrHmacSha256_4KB() local
64 KeyTemplate template = StreamingAeadKeyTemplates.AES128_CTR_HMAC_SHA256_1MB; in testAes128CtrHmacSha256_1MB() local
81 KeyTemplate template = StreamingAeadKeyTemplates.AES256_CTR_HMAC_SHA256_4KB; in testAes256CtrHmacSha256_4KB() local
98 KeyTemplate template = StreamingAeadKeyTemplates.AES256_CTR_HMAC_SHA256_1MB; in testAes256CtrHmacSha256_1MB() local
115 KeyTemplate template = StreamingAeadKeyTemplates.AES128_GCM_HKDF_4KB; in testAes128GcmHkdf_4KB() local
130 KeyTemplate template = StreamingAeadKeyTemplates.AES128_GCM_HKDF_1MB; in testAes128GcmHkdf_1MB() local
145 KeyTemplate template = StreamingAeadKeyTemplates.AES256_GCM_HKDF_4KB; in testAes256GcmHkdf_4KB() local
160 KeyTemplate template = StreamingAeadKeyTemplates.AES256_GCM_HKDF_1MB; in testAes256GcmHkdf_1MB() local
183 KeyTemplate template = StreamingAeadKeyTemplates.createAesCtrHmacStreamingKeyTemplate( in testCreateAesCtrHmacStreamingKeyTemplate() local
208 KeyTemplate template = StreamingAeadKeyTemplates.createAesGcmHkdfStreamingKeyTemplate( in testCreateAesGcmHkdfStreamingKeyTemplate() local
[all …]
/external/tink/java_src/src/test/java/com/google/crypto/tink/streamingaead/
DStreamingAeadKeyTemplatesTest.java47 KeyTemplate template = StreamingAeadKeyTemplates.AES128_CTR_HMAC_SHA256_4KB; in testAes128CtrHmacSha256_4KB() local
64 KeyTemplate template = StreamingAeadKeyTemplates.AES128_CTR_HMAC_SHA256_1MB; in testAes128CtrHmacSha256_1MB() local
81 KeyTemplate template = StreamingAeadKeyTemplates.AES256_CTR_HMAC_SHA256_4KB; in testAes256CtrHmacSha256_4KB() local
98 KeyTemplate template = StreamingAeadKeyTemplates.AES256_CTR_HMAC_SHA256_1MB; in testAes256CtrHmacSha256_1MB() local
115 KeyTemplate template = StreamingAeadKeyTemplates.AES128_GCM_HKDF_4KB; in testAes128GcmHkdf_4KB() local
130 KeyTemplate template = StreamingAeadKeyTemplates.AES128_GCM_HKDF_1MB; in testAes128GcmHkdf_1MB() local
145 KeyTemplate template = StreamingAeadKeyTemplates.AES256_GCM_HKDF_4KB; in testAes256GcmHkdf_4KB() local
160 KeyTemplate template = StreamingAeadKeyTemplates.AES256_GCM_HKDF_1MB; in testAes256GcmHkdf_1MB() local
183 KeyTemplate template = StreamingAeadKeyTemplates.createAesCtrHmacStreamingKeyTemplate( in testCreateAesCtrHmacStreamingKeyTemplate() local
208 KeyTemplate template = StreamingAeadKeyTemplates.createAesGcmHkdfStreamingKeyTemplate( in testCreateAesGcmHkdfStreamingKeyTemplate() local
[all …]
/external/apache-velocity-engine/velocity-engine-core/src/test/java/org/apache/velocity/test/issues/
DVelocity615TestCase.java47 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
DVelocity587TestCase.java37 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
DVelocity616TestCase.java44 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
/external/escapevelocity/src/test/java/com/google/escapevelocity/
DTemplateTest.java84 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/tink/java_src/src/test/java/com/google/crypto/tink/mac/
DMacKeyTemplatesTest.java46 KeyTemplate template = MacKeyTemplates.HMAC_SHA256_128BITTAG; in hmacSha256_128BitTag() local
59 KeyTemplate template = MacKeyTemplates.HMAC_SHA256_256BITTAG; in hmacSha256_256BitTag() local
72 KeyTemplate template = MacKeyTemplates.HMAC_SHA512_256BITTAG; in hmacSha512_256BitTag() local
85 KeyTemplate template = MacKeyTemplates.HMAC_SHA512_512BITTAG; in hmacSha512_512BitTag() local
103 KeyTemplate template = MacKeyTemplates.createHmacKeyTemplate(keySize, tagSize, hashType); in testCreateHmacKeyTemplate() local
115 public Pair(KeyTemplate template, MacParameters parameters) { in Pair()
120 KeyTemplate template; field in MacKeyTemplatesTest.Pair
/external/tink-java/src/test/java/com/google/crypto/tink/mac/
DMacKeyTemplatesTest.java46 KeyTemplate template = MacKeyTemplates.HMAC_SHA256_128BITTAG; in hmacSha256_128BitTag() local
59 KeyTemplate template = MacKeyTemplates.HMAC_SHA256_256BITTAG; in hmacSha256_256BitTag() local
72 KeyTemplate template = MacKeyTemplates.HMAC_SHA512_256BITTAG; in hmacSha512_256BitTag() local
85 KeyTemplate template = MacKeyTemplates.HMAC_SHA512_512BITTAG; in hmacSha512_512BitTag() local
103 KeyTemplate template = MacKeyTemplates.createHmacKeyTemplate(keySize, tagSize, hashType); in testCreateHmacKeyTemplate() local
115 public Pair(KeyTemplate template, MacParameters parameters) { in Pair()
120 KeyTemplate template; field in MacKeyTemplatesTest.Pair
/external/tink/java_src/src/test/java/com/google/crypto/tink/
DTinkProtoParametersFormatTest.java54 KeyTemplate template = in testParseAesCmacFormat() local
76 KeyTemplate template = in testParseInvalidAesCmacFormat_throws() local
98 KeyTemplate template = in testSerializeAesCmacFormat() local
115 KeyTemplate template = in testParseToLegacyFormat() local
132 KeyTemplate template = in testSerializeFromLegacyFormat() local
149 KeyTemplate template = in testParseWithSpaceTypeUrl_throws() local
/external/tink-java/src/test/java/com/google/crypto/tink/
DTinkProtoParametersFormatTest.java54 KeyTemplate template = in testParseAesCmacFormat() local
76 KeyTemplate template = in testParseInvalidAesCmacFormat_throws() local
98 KeyTemplate template = in testSerializeAesCmacFormat() local
115 KeyTemplate template = in testParseToLegacyFormat() local
132 KeyTemplate template = in testSerializeFromLegacyFormat() local
149 KeyTemplate template = in testParseWithSpaceTypeUrl_throws() local
/external/rust/android-crates-io/crates/tinytemplate/src/
Dtemplate.rs413 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/tink-java/src/test/java/com/google/crypto/tink/hybrid/
DHybridKeyTemplatesTest.java54 KeyTemplate template = HybridKeyTemplates.ECIES_P256_HKDF_HMAC_SHA256_AES128_GCM; in eciesP256HkdfHmaSha256Aes128Gcm() local
76 KeyTemplate template = in eciesP256HkdfHmacSha256Aes128GcmCompressedWithoutPrefix() local
99 KeyTemplate template = HybridKeyTemplates.ECIES_P256_HKDF_HMAC_SHA256_AES128_CTR_HMAC_SHA256; in eciesP256HkdfHmacSha256Aes128CtrHmacSha256() local
128 KeyTemplate template = HybridKeyTemplates.createEciesAeadHkdfKeyTemplate( in testCreateEciesAeadHkdfKeyTemplate() local
151 public Pair(KeyTemplate template, HybridParameters parameters) { in Pair()
156 KeyTemplate template; field in HybridKeyTemplatesTest.Pair
/external/tink/java_src/src/test/java/com/google/crypto/tink/internal/
DProtoParametersSerializationTest.java37 KeyTemplate template = KeyTemplate.newBuilder().setTypeUrl("myTypeUrl").build(); in testCreationAndValues_basic() local
60 KeyTemplate template = KeyTemplate.newBuilder().setTypeUrl("some invalid typeurl").build(); in testCreationFromTemplate_invalidTypeUrl_throws() local
66 KeyTemplate template = KeyTemplate.newBuilder().setTypeUrl("myTypeUrl").build(); in testCheckedCreationAndValues_basic() local
76 KeyTemplate template = KeyTemplate.newBuilder().setTypeUrl("some invalid typeurl").build(); in testCheckedCreationFromTemplate_invalidTypeUrl_throws() local
/external/tink-java/src/test/java/com/google/crypto/tink/internal/
DProtoParametersSerializationTest.java37 KeyTemplate template = KeyTemplate.newBuilder().setTypeUrl("myTypeUrl").build(); in testCreationAndValues_basic() local
60 KeyTemplate template = KeyTemplate.newBuilder().setTypeUrl("some invalid typeurl").build(); in testCreationFromTemplate_invalidTypeUrl_throws() local
66 KeyTemplate template = KeyTemplate.newBuilder().setTypeUrl("myTypeUrl").build(); in testCheckedCreationAndValues_basic() local
76 KeyTemplate template = KeyTemplate.newBuilder().setTypeUrl("some invalid typeurl").build(); in testCheckedCreationFromTemplate_invalidTypeUrl_throws() local
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/manifest/
DUrlTemplateTest.java31 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_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/manifest/
DUrlTemplateTest.java31 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/tink-java/src/test/java/com/google/crypto/tink/jwt/
DJwtHmacKeyManagerTest.java120 KeyTemplate template = KeyTemplates.get("JWT_HS256"); in testHs256Template() local
143 KeyTemplate template = KeyTemplates.get("JWT_HS384"); in testHs384Template() local
166 KeyTemplate template = KeyTemplates.get("JWT_HS512"); in testHs512Template() local
189 KeyTemplate template = KeyTemplates.get("JWT_HS256_RAW"); in testHs256RawTemplate() local
201 KeyTemplate template = KeyTemplates.get("JWT_HS384_RAW"); in testHs384RawTemplate() local
213 KeyTemplate template = KeyTemplates.get("JWT_HS512_RAW"); in testHs512RawTemplate() local
268 KeyTemplate template = KeyTemplates.get(templateNames); in createSignVerifyDifferentKey_throw() local
353 KeyTemplate template = KeyTemplates.get("JWT_HS256"); in computeVerify_canGetData() local
389 KeyTemplate template = KeyTemplates.get("JWT_HS256"); in verify_expired_shouldThrow() local
410 KeyTemplate template = KeyTemplates.get("JWT_HS256"); in verify_notExpired_success() local
[all …]

12345678910>>...26