/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
string.py | 124 class Template:
131 def __init__(self, template):
132 self.template = template
138 lines = self.template[:i].splitlines(True)
150 raise TypeError("descriptor 'substitute' of 'Template' object "
176 return self.pattern.sub(convert, self.template)
180 raise TypeError("descriptor 'safe_substitute' of 'Template' object "
207 return self.pattern.sub(convert, self.template)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
string.py | 124 class Template:
131 def __init__(self, template):
132 self.template = template
138 lines = self.template[:i].splitlines(True)
172 return self.pattern.sub(convert, self.template)
205 return self.pattern.sub(convert, self.template)
|
/external/libmojo/third_party/jinja2/ |
environment.py | 36 # for direct template usage we have up to ten living environments 107 they are not shared and if no template was loaded so far. 108 Modifications on environments after the first template was loaded 160 if present, to be stripped from the end of the template. 174 undefined values in the template. 185 be a callable that is passed the template name and has to 193 The template loader for this environment. 198 out the least recently used template. If the cache size is set to 203 Some loaders load templates from locations where the template 205 `auto_reload` is set to `True` (default) every time a template i [all...] |
nodes.py | 114 - :class:`Template`: the outermost wrapper node 256 class Template(Node): 257 """Node that represents a template. This must be the outermost node that 265 This is used both for the `print` statement and the regular template data. 272 fields = ('template',) 318 fields = ('template', 'with_context', 'ignore_missing') 323 fields = ('template', 'target', 'with_context') 337 fields = ('template', 'names', 'with_context') 454 """A constant template string.""" 830 template and is not threated specially by the compiler [all...] |
/external/python/cpython2/Lib/ |
string.py | 124 class Template: 131 def __init__(self, template): 132 self.template = template 138 lines = self.template[:i].splitlines(True) 150 raise TypeError("descriptor 'substitute' of 'Template' object " 176 return self.pattern.sub(convert, self.template) 180 raise TypeError("descriptor 'safe_substitute' of 'Template' object " 207 return self.pattern.sub(convert, self.template)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
string.py | 124 class Template: 131 def __init__(self, template): 132 self.template = template 138 lines = self.template[:i].splitlines(True) 172 return self.pattern.sub(convert, self.template) 205 return self.pattern.sub(convert, self.template)
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
string.py | 124 class Template: 131 def __init__(self, template): 132 self.template = template 138 lines = self.template[:i].splitlines(True) 172 return self.pattern.sub(convert, self.template) 205 return self.pattern.sub(convert, self.template)
|
/prebuilts/go/darwin-x86/src/cmd/vendor/github.com/ianlancetaylor/demangle/ |
ast.go | 52 tparams bool // whether to print template parameters 262 // Template is a template with arguments. 263 type Template struct { 268 func (t *Template) print(ps *printState) { 269 // Inner types apply to the template as a whole, they don't 270 // cross over into the template. 278 // Do not print template parameters. 305 func (t *Template) Traverse(fn func(AST) bool) { 314 func (t *Template) Copy(fn func(AST) AST, skip func(AST) bool) AST [all...] |
/prebuilts/go/linux-x86/src/cmd/vendor/github.com/ianlancetaylor/demangle/ |
ast.go | 52 tparams bool // whether to print template parameters 262 // Template is a template with arguments. 263 type Template struct { 268 func (t *Template) print(ps *printState) { 269 // Inner types apply to the template as a whole, they don't 270 // cross over into the template. 278 // Do not print template parameters. 305 func (t *Template) Traverse(fn func(AST) bool) { 314 func (t *Template) Copy(fn func(AST) AST, skip func(AST) bool) AST [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
string.py | 124 class Template: 131 def __init__(self, template): 132 self.template = template 138 lines = self.template[:i].splitlines(True) 172 return self.pattern.sub(convert, self.template) 205 return self.pattern.sub(convert, self.template)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
string.py | 124 class Template: 131 def __init__(self, template): 132 self.template = template 138 lines = self.template[:i].splitlines(True) 172 return self.pattern.sub(convert, self.template) 205 return self.pattern.sub(convert, self.template)
|
/external/clang/include/clang/AST/ |
TemplateBase.h | 11 // template representation. 39 /// \brief Represents a template argument. 42 /// \brief The kind of template argument we're storing. 44 /// \brief Represents an empty template argument, e.g., one that has not 47 /// The template argument is a type. 49 /// The template argument is a declaration that was provided for a pointer, 50 /// reference, or pointer to member non-type template parameter. 52 /// The template argument is a null pointer or null pointer to member that 53 /// was provided for a non-type template parameter. 55 /// The template argument is an integral value stored in an llvm::APSIn [all...] |
/external/clang/lib/Format/ |
Format.cpp | 51 template <> struct ScalarEnumerationTraits<FormatStyle::LanguageKind> { 61 template <> struct ScalarEnumerationTraits<FormatStyle::LanguageStandard> { 71 template <> struct ScalarEnumerationTraits<FormatStyle::UseTabStyle> { 83 template <> struct ScalarEnumerationTraits<FormatStyle::JavaScriptQuoteStyle> { 91 template <> struct ScalarEnumerationTraits<FormatStyle::ShortFunctionStyle> { 102 template <> struct ScalarEnumerationTraits<FormatStyle::BinaryOperatorStyle> { 112 template <> struct ScalarEnumerationTraits<FormatStyle::BraceBreakingStyle> { 125 template <> 137 template <> 151 template <> [all...] |
/external/clang/lib/Parse/ |
ParseTemplate.cpp | 1 //===--- ParseTemplate.cpp - Template Parsing -----------------------------===// 25 /// \brief Parse a template declaration, explicit instantiation, or 45 /// \brief Parse a template declaration or an explicit specialization. 47 /// Template declarations include one or more template parameter lists 48 /// and either the function or class template declaration. Explicit 49 /// specializations contain one or more 'template < >' prefixes 52 /// of the template headers together and let semantic analysis sort 55 /// template-declaration: [C++ temp] 56 /// 'export'[opt] 'template' '<' template-parameter-list '>' declaratio [all...] |
/external/selinux/python/sepolgen/src/sepolgen/ |
refpolicy.py | 96 return filter(lambda x: isinstance(x, Template), walktree(self)) 759 class Template(Node): 765 return "[Template name: %s]" % self.name
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/AST/ |
TemplateBase.h | 11 // template representation. 39 /// \brief Represents a template argument. 42 /// \brief The kind of template argument we're storing. 44 /// \brief Represents an empty template argument, e.g., one that has not 47 /// The template argument is a type. 49 /// The template argument is a declaration that was provided for a pointer, 50 /// reference, or pointer to member non-type template parameter. 52 /// The template argument is a null pointer or null pointer to member that 53 /// was provided for a non-type template parameter. 55 /// The template argument is an integral value stored in an llvm::APSIn [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/clang/AST/ |
TemplateBase.h | 11 // template representation. 39 /// \brief Represents a template argument. 42 /// \brief The kind of template argument we're storing. 44 /// \brief Represents an empty template argument, e.g., one that has not 47 /// The template argument is a type. 49 /// The template argument is a declaration that was provided for a pointer, 50 /// reference, or pointer to member non-type template parameter. 52 /// The template argument is a null pointer or null pointer to member that 53 /// was provided for a non-type template parameter. 55 /// The template argument is an integral value stored in an llvm::APSIn [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/clang/AST/ |
TemplateBase.h | 11 // template representation. 39 /// \brief Represents a template argument. 42 /// \brief The kind of template argument we're storing. 44 /// \brief Represents an empty template argument, e.g., one that has not 47 /// The template argument is a type. 49 /// The template argument is a declaration that was provided for a pointer, 50 /// reference, or pointer to member non-type template parameter. 52 /// The template argument is a null pointer or null pointer to member that 53 /// was provided for a non-type template parameter. 55 /// The template argument is an integral value stored in an llvm::APSIn [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/clang/AST/ |
TemplateBase.h | 11 // template representation. 39 /// \brief Represents a template argument. 42 /// \brief The kind of template argument we're storing. 44 /// \brief Represents an empty template argument, e.g., one that has not 47 /// The template argument is a type. 49 /// The template argument is a declaration that was provided for a pointer, 50 /// reference, or pointer to member non-type template parameter. 52 /// The template argument is a null pointer or null pointer to member that 53 /// was provided for a non-type template parameter. 55 /// The template argument is an integral value stored in an llvm::APSIn [all...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/include/clang/AST/ |
TemplateBase.h | 11 // template representation. 39 /// \brief Represents a template argument. 42 /// \brief The kind of template argument we're storing. 44 /// \brief Represents an empty template argument, e.g., one that has not 47 /// The template argument is a type. 49 /// The template argument is a declaration that was provided for a pointer, 50 /// reference, or pointer to member non-type template parameter. 52 /// The template argument is a null pointer or null pointer to member that 53 /// was provided for a non-type template parameter. 55 /// The template argument is an integral value stored in an llvm::APSIn [all...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/include/clang/AST/ |
TemplateBase.h | 11 // template representation. 39 /// \brief Represents a template argument. 42 /// \brief The kind of template argument we're storing. 44 /// \brief Represents an empty template argument, e.g., one that has not 47 /// The template argument is a type. 49 /// The template argument is a declaration that was provided for a pointer, 50 /// reference, or pointer to member non-type template parameter. 52 /// The template argument is a null pointer or null pointer to member that 53 /// was provided for a non-type template parameter. 55 /// The template argument is an integral value stored in an llvm::APSIn [all...] |
/prebuilts/clang/host/darwin-x86/clang-4691093/include/clang/AST/ |
TemplateBase.h | 11 // template representation. 39 /// \brief Represents a template argument. 42 /// \brief The kind of template argument we're storing. 44 /// \brief Represents an empty template argument, e.g., one that has not 47 /// The template argument is a type. 49 /// The template argument is a declaration that was provided for a pointer, 50 /// reference, or pointer to member non-type template parameter. 52 /// The template argument is a null pointer or null pointer to member that 53 /// was provided for a non-type template parameter. 55 /// The template argument is an integral value stored in an llvm::APSIn [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/AST/ |
TemplateBase.h | 11 // template representation. 39 /// \brief Represents a template argument. 42 /// \brief The kind of template argument we're storing. 44 /// \brief Represents an empty template argument, e.g., one that has not 47 /// The template argument is a type. 49 /// The template argument is a declaration that was provided for a pointer, 50 /// reference, or pointer to member non-type template parameter. 52 /// The template argument is a null pointer or null pointer to member that 53 /// was provided for a non-type template parameter. 55 /// The template argument is an integral value stored in an llvm::APSIn [all...] |
/prebuilts/clang/host/linux-x86/clang-4393122/include/clang/AST/ |
TemplateBase.h | 11 // template representation. 39 /// \brief Represents a template argument. 42 /// \brief The kind of template argument we're storing. 44 /// \brief Represents an empty template argument, e.g., one that has not 47 /// The template argument is a type. 49 /// The template argument is a declaration that was provided for a pointer, 50 /// reference, or pointer to member non-type template parameter. 52 /// The template argument is a null pointer or null pointer to member that 53 /// was provided for a non-type template parameter. 55 /// The template argument is an integral value stored in an llvm::APSIn [all...] |
/prebuilts/clang/host/linux-x86/clang-4479392/include/clang/AST/ |
TemplateBase.h | 11 // template representation. 39 /// \brief Represents a template argument. 42 /// \brief The kind of template argument we're storing. 44 /// \brief Represents an empty template argument, e.g., one that has not 47 /// The template argument is a type. 49 /// The template argument is a declaration that was provided for a pointer, 50 /// reference, or pointer to member non-type template parameter. 52 /// The template argument is a null pointer or null pointer to member that 53 /// was provided for a non-type template parameter. 55 /// The template argument is an integral value stored in an llvm::APSIn [all...] |