Home
last modified time | relevance | path

Searched refs:environment (Results 1 – 25 of 1922) sorted by relevance

12345678910>>...77

/third_party/node/tools/inspector_protocol/jinja2/
Dlexer.py196 def compile_rules(environment): argument
200 (len(environment.comment_start_string), 'comment',
201 e(environment.comment_start_string)),
202 (len(environment.block_start_string), 'block',
203 e(environment.block_start_string)),
204 (len(environment.variable_start_string), 'variable',
205 e(environment.variable_start_string))
208 if environment.line_statement_prefix is not None:
209 rules.append((len(environment.line_statement_prefix), 'linestatement',
210 r'^[ \t\v]*' + e(environment.line_statement_prefix)))
[all …]
Dloaders.py70 def get_source(self, environment, template): argument
100 def load(self, environment, name, globals=None): argument
113 source, filename, uptodate = self.get_source(environment, name)
117 bcc = environment.bytecode_cache
119 bucket = bcc.get_bucket(environment, name, filename, source)
125 code = environment.compile(source, name, filename)
134 return environment.template_class.from_code(environment, code,
167 def get_source(self, environment, template): argument
231 def get_source(self, environment, template): argument
282 def get_source(self, environment, template): argument
[all …]
Dfilters.py62 def make_attrgetter(environment, attribute, postprocess=None): argument
77 item = environment.getitem(item, part)
247 environment, value, reverse=False, case_sensitive=False, attribute=None argument
275 environment, attribute,
282 def do_unique(environment, value, case_sensitive=False, attribute=None): argument
297 environment, attribute,
310 def _min_or_max(environment, value, func, case_sensitive, attribute): argument
316 return environment.undefined('No aggregated item, sequence was empty.')
319 environment, attribute,
326 def do_min(environment, value, case_sensitive=False, attribute=None): argument
[all …]
Dext.py21 from jinja2.environment import Environment
72 def __init__(self, environment): argument
73 self.environment = environment
75 def bind(self, environment): argument
79 rv.environment = environment
169 def __init__(self, environment): argument
170 Extension.__init__(self, environment)
171 environment.globals['_'] = _gettext_alias
172 environment.extend(
199 self.environment.newstyle_gettext = newstyle
[all …]
Doptimizer.py23 def optimize(node, environment): argument
26 optimizer = Optimizer(environment)
32 def __init__(self, environment): argument
33 self.environment = environment
41 environment=self.environment)
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/
Dchannel_test.dart74 environment: anyNamed('environment'),
84 environment: anyNamed('environment'),
105 environment: anyNamed('environment'),
110 environment: anyNamed('environment'),
115 environment: anyNamed('environment'),
125 environment: anyNamed('environment'),
130 environment: anyNamed('environment'),
135 environment: anyNamed('environment'),
144 environment: anyNamed('environment'),
149 environment: anyNamed('environment'),
[all …]
Dfeatures_test.dart26 when(mockPlatform.environment).thenReturn(const <String, String>{});
71 when(mockPlatform.environment).thenReturn(<String, String>{'FLUTTER_WEB': 'hello'});
75 when(mockPlatform.environment).thenReturn(<String, String>{'FLUTTER_WEB': 'true'});
125 test('flutter web enabled with environment variable on master', () => testbed.run(() {
127 when(mockPlatform.environment).thenReturn(<String, String>{'FLUTTER_WEB': 'true'});
145 test('flutter web enabled with environment variable on dev', () => testbed.run(() {
147 when(mockPlatform.environment).thenReturn(<String, String>{'FLUTTER_WEB': 'true'});
165 test('flutter web not enabled with environment variable on beta', () => testbed.run(() {
167 when(mockPlatform.environment).thenReturn(<String, String>{'FLUTTER_WEB': 'true'});
185 test('flutter web not enabled with environment variable on stable', () => testbed.run(() {
[all …]
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/build_system/
Dbuild_system_test.dart25 Environment environment;
43 fooTarget = TestTarget((List<File> inputFiles, Environment environment) async {
44 environment
59 barTarget = TestTarget((List<File> inputFiles, Environment environment) async {
60 environment.buildDir
74 fizzTarget = TestTarget((List<File> inputFiles, Environment environment) async {
85 sharedTarget = TestTarget((List<File> inputFiles, Environment environment) async {
94 environment = Environment(
111 final BuildResult buildResult = await buildSystem.build(fooTarget, environment);
118 final Target badTarget = TestTarget((List<File> inputFiles, Environment environment) async {})
[all …]
/third_party/skia/third_party/externals/jinja2/
Dlexer.py205 def compile_rules(environment): argument
210 len(environment.comment_start_string),
212 e(environment.comment_start_string),
215 len(environment.block_start_string),
217 e(environment.block_start_string),
220 len(environment.variable_start_string),
222 e(environment.variable_start_string),
226 if environment.line_statement_prefix is not None:
229 len(environment.line_statement_prefix),
231 r"^[ \t\v]*" + e(environment.line_statement_prefix),
[all …]
Dfilters.py64 def make_attrgetter(environment, attribute, postprocess=None, default=None): argument
74 item = environment.getitem(item, part)
87 def make_multi_attrgetter(environment, attribute, postprocess=None): argument
110 item_i = environment.getitem(item_i, part)
302 def do_sort(environment, value, reverse=False, case_sensitive=False, attribute=None): argument
346 environment, attribute, postprocess=ignore_case if not case_sensitive else None
352 def do_unique(environment, value, case_sensitive=False, attribute=None): argument
367 environment, attribute, postprocess=ignore_case if not case_sensitive else None
379 def _min_or_max(environment, value, func, case_sensitive, attribute): argument
385 return environment.undefined("No aggregated item, sequence was empty.")
[all …]
Dloaders.py71 def get_source(self, environment, template): argument
102 def load(self, environment, name, globals=None): argument
115 source, filename, uptodate = self.get_source(environment, name)
119 bcc = environment.bytecode_cache
121 bucket = bcc.get_bucket(environment, name, filename, source)
127 code = environment.compile(source, name, filename)
136 return environment.template_class.from_code(
137 environment, code, globals, uptodate
176 def get_source(self, environment, template): argument
244 def get_source(self, environment, template): argument
[all …]
Dext.py25 from .environment import Environment
79 def __init__(self, environment): argument
80 self.environment = environment
82 def bind(self, environment): argument
86 rv.environment = environment
186 def __init__(self, environment): argument
187 Extension.__init__(self, environment)
188 environment.globals["_"] = _gettext_alias
189 environment.extend(
214 self.environment.newstyle_gettext = newstyle
[all …]
Doptimizer.py15 def optimize(node, environment): argument
18 optimizer = Optimizer(environment)
23 def __init__(self, environment): argument
24 self.environment = environment
36 environment=self.environment,
/third_party/python/Doc/library/
Dvenv.rst20 site directories. Each virtual environment has its own Python binary (which
21 matches the version of the binary that was used to create this environment) and
30 …python.org/guides/installing-using-pip-and-virtual-environments/#creating-a-virtual-environment>`__
41 .. note:: A virtual environment is a Python environment such that the Python
47 A virtual environment is a directory tree which contains Python executable
48 files and other files which indicate that it is a virtual environment.
52 environment is active, they install Python packages into the virtual
53 environment without needing to be told to do so explicitly.
55 When a virtual environment is active (i.e., the virtual environment's Python
58 environment, whereas :attr:`sys.base_prefix` and
[all …]
/third_party/jinja2/
Dlexer.py18 from .environment import Environment
211 def compile_rules(environment: "Environment") -> t.List[t.Tuple[str, str]]:
216 len(environment.comment_start_string),
218 e(environment.comment_start_string),
221 len(environment.block_start_string),
223 e(environment.block_start_string),
226 len(environment.variable_start_string),
228 e(environment.variable_start_string),
232 if environment.line_statement_prefix is not None:
235 len(environment.line_statement_prefix),
[all …]
Dfilters.py31 from .environment import Environment
56 environment: "Environment",
70 item = environment.getitem(item, part)
84 environment: "Environment",
112 item_i = environment.getitem(item_i, part)
372 environment: "Environment",
421 environment, attribute, postprocess=ignore_case if not case_sensitive else None
428 environment: "Environment",
447 environment, attribute, postprocess=ignore_case if not case_sensitive else None
460 environment: "Environment",
[all …]
Doptimizer.py16 from .environment import Environment
19 def optimize(node: nodes.Node, environment: "Environment") -> nodes.Node:
22 optimizer = Optimizer(environment)
27 def __init__(self, environment: "t.Optional[Environment]") -> None:
28 self.environment = environment
42 environment=self.environment,
Dloaders.py21 from .environment import Environment
22 from .environment import Template
76 self, environment: "Environment", template: str
110 environment: "Environment",
126 source, filename, uptodate = self.get_source(environment, name)
130 bcc = environment.bytecode_cache
132 bucket = bcc.get_bucket(environment, name, filename, source)
138 code = environment.compile(source, name, filename)
147 return environment.template_class.from_code(
148 environment, code, globals, uptodate
[all …]
/third_party/python/Doc/using/
Dvenv-create.inc4 python3 -m venv /path/to/new/virtual/environment
12 used at environment creation time). It also creates an (initially empty)
45 ENV_DIR A directory to create the environment in.
50 Give the virtual environment access to the system
56 --clear Delete the contents of the environment directory if it
57 already exists, before environment creation.
58 --upgrade Upgrade the environment directory to use this version
61 environment (pip is bootstrapped by default)
63 environment.
67 Once an environment has been created, you may wish to activate it, e.g. by
[all …]
/third_party/flutter/flutter/dev/devicelab/test/
Dadb_test.dart116 Map<String, String> environment,
121 environment: environment,
128 CommandArgs({ this.command, this.arguments, this.environment });
132 final Map<String, String> environment;
135 …g toString() => 'CommandArgs(command: $command, arguments: $arguments, environment: $environment)';
145 const MapEquality<String, String>().equals(otherCmd.environment, environment);
155 int get _hashEnvironment => environment != null
156 ? const MapEquality<String, String>().hash(environment)
185 …ing> shellEval(String command, List<String> arguments, { Map<String, String> environment }) async {
189 environment: environment,
[all …]
/third_party/libabigail/include/
Dabg-reader.h32 environment& env);
36 environment& env);
40 environment& env);
46 create_reader(const string& path, environment& env);
49 create_reader(std::istream* in, environment& env);
53 environment& env);
57 environment& env);
64 environment& env);
68 environment& env);
/third_party/flutter/flutter/packages/flutter_tools/lib/src/base/
Dprocess.dart97 Map<String, String> _environment(bool allowReentrantFlutter, [ Map<String, String> environment ]) {
99 if (environment == null)
100 environment = <String, String>{'FLUTTER_ALREADY_LOCKED': 'true'};
102 environment['FLUTTER_ALREADY_LOCKED'] = 'true';
105 return environment;
114 Map<String, String> environment,
120 environment: _environment(allowReentrantFlutter, environment),
140 Map<String, String> environment,
146 environment: environment,
196 Map<String, String> environment,
[all …]
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/ios/
Dcode_signing_test.dart77 environment: anyNamed('environment'),
103 environment: anyNamed('environment'),
115 environment: anyNamed('environment'),
130 environment: anyNamed('environment'),
164 environment: anyNamed('environment'),
176 environment: anyNamed('environment'),
191 environment: anyNamed('environment'),
230 environment: anyNamed('environment'),
246 environment: anyNamed('environment'),
261 environment: anyNamed('environment'),
[all …]
/third_party/flutter/flutter/packages/flutter_tools/lib/src/build_system/
Dbuild_system.dart38 /// of at least one of the environment values and zero or more local values.
94 /// set up the environment before the test is run. Unit tests should fully
116 Future<void> build(List<File> inputFiles, Environment environment);
123 Environment environment,
126 final File stamp = _findStampFile(environment);
211 void clearStamp(Environment environment) {
212 final File stamp = _findStampFile(environment);
221 Environment environment,
223 final File stamp = _findStampFile(environment);
245 Environment environment,
[all …]
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/build_system/targets/
Dassets_test.dart14 Environment environment;
19 environment = Environment(
42 await buildSystem.build(const CopyAssets(), environment);
44 …expect(fs.file(fs.path.join(environment.buildDir.path, 'flutter_assets', 'AssetManifest.json')).ex…
45 …expect(fs.file(fs.path.join(environment.buildDir.path, 'flutter_assets', 'FontManifest.json')).exi…
46 …expect(fs.file(fs.path.join(environment.buildDir.path, 'flutter_assets', 'LICENSE')).existsSync(),…
48 …expect(fs.file(fs.path.join(environment.buildDir.path, 'flutter_assets', 'assets/foo/bar.png')).ex…
52 await buildSystem.build(const CopyAssets(), environment);
54 …expect(fs.file(fs.path.join(environment.buildDir.path, 'flutter_assets', 'assets/foo/bar.png')).ex…
63 await buildSystem.build(const CopyAssets(), environment);
[all …]

12345678910>>...77