HomeSort by relevance Sort by last modified time
    Searched full:script_name (Results 1 - 25 of 119) sorted by null

1 2 3 4 5

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_cmd_line_script.py 69 def _check_script(self, script_name, expected_file,
72 run_args = cmd_line_switches + (script_name,)
75 print 'Output from test script %r:' % script_name
90 def _check_import_error(self, script_name, expected_msg,
92 run_args = cmd_line_switches + (script_name,)
95 print 'Output from test script %r:' % script_name
102 script_name = _make_test_script(script_dir, 'script')
103 self._check_script(script_name, script_name, script_name, None
    [all...]
script_helper.py 108 script_name = os.path.join(script_dir, script_filename)
109 script_file = open(script_name, 'w')
112 return script_name
114 def compile_script(script_name):
115 py_compile.compile(script_name, doraise=True)
117 compiled_name = script_name + 'c'
119 compiled_name = script_name + 'o'
122 def make_zip_script(zip_dir, zip_basename, script_name, name_in_zip=None):
127 name_in_zip = os.path.basename(script_name)
128 zip_file.write(script_name, name_in_zip
    [all...]
test_runpy.py 314 def _check_script(self, script_name, expected_name, expected_file,
316 result = run_path(script_name)
323 def _check_import_error(self, script_name, msg):
325 self.assertRaisesRegexp(ImportError, msg, run_path, script_name)
330 script_name = self._make_test_script(script_dir, mod_name)
331 self._check_script(script_name, "<run_path>", script_name,
332 script_name, None)
337 script_name = self._make_test_script(script_dir, mod_name)
338 compiled_name = compile_script(script_name)
    [all...]
test_zipimport_support.py 116 script_name = make_script(d, 'test_zipped_doctest',
119 script_name)
129 os.remove(script_name)
205 script_name = make_script(d, 'script', test_src)
206 exit_code, data = run_python(script_name)
207 expected = pattern % (script_name, "__main__.Test")
214 script_name, '__main__.py')
232 script_name = make_script(d, 'script', test_src)
233 p = spawn_python(script_name)
236 self.assertIn(script_name, data
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_cmd_line_script.py 69 def _check_script(self, script_name, expected_file,
72 run_args = cmd_line_switches + (script_name,)
75 print 'Output from test script %r:' % script_name
90 def _check_import_error(self, script_name, expected_msg,
92 run_args = cmd_line_switches + (script_name,)
95 print 'Output from test script %r:' % script_name
102 script_name = _make_test_script(script_dir, 'script')
103 self._check_script(script_name, script_name, script_name, None
    [all...]
script_helper.py 108 script_name = os.path.join(script_dir, script_filename)
109 script_file = open(script_name, 'w')
112 return script_name
114 def compile_script(script_name):
115 py_compile.compile(script_name, doraise=True)
117 compiled_name = script_name + 'c'
119 compiled_name = script_name + 'o'
122 def make_zip_script(zip_dir, zip_basename, script_name, name_in_zip=None):
127 name_in_zip = os.path.basename(script_name)
128 zip_file.write(script_name, name_in_zip
    [all...]
test_runpy.py 314 def _check_script(self, script_name, expected_name, expected_file,
316 result = run_path(script_name)
323 def _check_import_error(self, script_name, msg):
325 self.assertRaisesRegexp(ImportError, msg, run_path, script_name)
330 script_name = self._make_test_script(script_dir, mod_name)
331 self._check_script(script_name, "<run_path>", script_name,
332 script_name, None)
337 script_name = self._make_test_script(script_dir, mod_name)
338 compiled_name = compile_script(script_name)
    [all...]
test_zipimport_support.py 116 script_name = make_script(d, 'test_zipped_doctest',
119 script_name)
129 os.remove(script_name)
205 script_name = make_script(d, 'script', test_src)
206 exit_code, data = run_python(script_name)
207 expected = pattern % (script_name, "__main__.Test")
214 script_name, '__main__.py')
232 script_name = make_script(d, 'script', test_src)
233 p = spawn_python(script_name)
236 self.assertIn(script_name, data
    [all...]
  /external/chromium-trace/trace-viewer/third_party/Paste/tests/
test_urlmap.py 18 text = '%s script_name="%%(SCRIPT_NAME)s" path_info="%%(PATH_INFO)s"'
25 res.mustcontain('script_name=""')
29 res.mustcontain('script_name=""')
32 res.mustcontain('script_name="/foo"')
37 res.mustcontain('script_name="/foo/bar"')
43 res.mustcontain('script_name="/f"')
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/wsgiref/
util.py 60 url += quote(environ.get('SCRIPT_NAME') or '/')
68 if not environ.get('SCRIPT_NAME'):
77 """Shift a name from PATH_INFO to SCRIPT_NAME, returning it
81 the original PATH_INFO or SCRIPT_NAME.
84 '/' to SCRIPT_NAME, even though empty path segments are normally ignored,
85 and SCRIPT_NAME doesn't normally end in a '/'. This is intentional
98 script_name = environ.get('SCRIPT_NAME','')
99 script_name = posixpath.normpath(script_name+'/'+name
    [all...]
validate.py 39 - That SCRIPT_NAME and PATH_INFO are empty or start with /
41 - That at least one of SCRIPT_NAME or PATH_INFO are set.
45 - That SCRIPT_NAME is not '/' (it should be '', and PATH_INFO should
337 assert_(not environ.get('SCRIPT_NAME')
338 or environ['SCRIPT_NAME'].startswith('/'),
339 "SCRIPT_NAME doesn't start with /: %r" % environ['SCRIPT_NAME'])
347 if not environ.get('SCRIPT_NAME'):
349 "One of SCRIPT_NAME or PATH_INFO are required (PATH_INFO "
350 "should at least be '/' if SCRIPT_NAME is empty)"
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/wsgiref/
util.py 60 url += quote(environ.get('SCRIPT_NAME') or '/')
68 if not environ.get('SCRIPT_NAME'):
77 """Shift a name from PATH_INFO to SCRIPT_NAME, returning it
81 the original PATH_INFO or SCRIPT_NAME.
84 '/' to SCRIPT_NAME, even though empty path segments are normally ignored,
85 and SCRIPT_NAME doesn't normally end in a '/'. This is intentional
98 script_name = environ.get('SCRIPT_NAME','')
99 script_name = posixpath.normpath(script_name+'/'+name
    [all...]
  /external/chromium-trace/trace-viewer/third_party/Paste/tests/urlparser_data/hook/
__init__.py 9 environ['SCRIPT_NAME'] += '/' + first
  /external/chromium-trace/trace-viewer/third_party/Paste/tests/urlparser_data/not_found/user/
__init__.py 10 environ['SCRIPT_NAME'] += '/' + first
  /external/linux-tools-perf/src/tools/perf/ui/browsers/
scripts.c 28 const char *script_name; member in struct:perf_script_browser
44 * into the buffer pointed by script_name, and return 0.
47 static int list_scripts(char *script_name)
66 strcpy(script_name, paths[choice]);
91 if (ui_browser__show(&self->b, self->script_name,
109 char cmd[SCRIPT_FULLPATH_LEN*2], script_name[SCRIPT_FULLPATH_LEN]; local
124 .script_name = script_name,
135 memset(script_name, 0, SCRIPT_FULLPATH_LEN);
136 if (list_scripts(script_name))
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/
core.py 36 def gen_usage(script_name):
37 script = os.path.basename(script_name)
46 setup_keywords = ('distclass', 'script_name', 'script_args', 'options',
104 if 'script_name' not in attrs:
105 attrs['script_name'] = os.path.basename(sys.argv[0])
140 raise SystemExit, gen_usage(dist.script_name) + "\nerror: %s" % msg
174 def run_setup(script_name, script_args=None, stop_after="run"):
181 'script_name' is a file that will be run with 'execfile()';
212 g = {'__file__': script_name}
216 sys.argv[0] = script_name
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/
core.py 36 def gen_usage(script_name):
37 script = os.path.basename(script_name)
46 setup_keywords = ('distclass', 'script_name', 'script_args', 'options',
104 if 'script_name' not in attrs:
105 attrs['script_name'] = os.path.basename(sys.argv[0])
140 raise SystemExit, gen_usage(dist.script_name) + "\nerror: %s" % msg
174 def run_setup(script_name, script_args=None, stop_after="run"):
181 'script_name' is a file that will be run with 'execfile()';
212 g = {'__file__': script_name}
216 sys.argv[0] = script_name
    [all...]
  /external/chromium-trace/trace-viewer/tracing/
trace_viewer.gyp 16 'script_name': 'build/generate_about_tracing_contents',
  /external/chromium-trace/trace-viewer/third_party/Paste/paste/
request.py 14 script_name=None, path_info=None, querystring=None)
208 script_name=None, path_info=None, querystring=None):
211 You may override SCRIPT_NAME, PATH_INFO, and QUERYSTRING with
240 if script_name is None:
241 url += quote(environ.get('SCRIPT_NAME',''))
243 url += quote(script_name)
291 SCRIPT_NAME, and returning that segment.
295 >>> def call_it(script_name, path_info):
296 ... env = {'SCRIPT_NAME': script_name, 'PATH_INFO': path_info
    [all...]
modpython.py 33 Some WSGI implementations assume that the SCRIPT_NAME environ variable will
38 PythonOption SCRIPT_NAME /mcontrol
137 if 'SCRIPT_NAME' in options:
138 # Override SCRIPT_NAME and PATH_INFO if requested.
139 env['SCRIPT_NAME'] = options['SCRIPT_NAME']
140 env['PATH_INFO'] = req.uri[len(options['SCRIPT_NAME']):]
142 env['SCRIPT_NAME'] = ''
lint.py 39 - That SCRIPT_NAME and PATH_INFO are empty or start with /
41 - That at least one of SCRIPT_NAME or PATH_INFO are set.
45 - That SCRIPT_NAME is not '/' (it should be '', and PATH_INFO should
333 assert (not environ.get('SCRIPT_NAME')
334 or environ['SCRIPT_NAME'].startswith('/')), (
335 "SCRIPT_NAME doesn't start with /: %r" % environ['SCRIPT_NAME'])
343 if not environ.get('SCRIPT_NAME'):
345 "One of SCRIPT_NAME or PATH_INFO are required (PATH_INFO "
346 "should at least be '/' if SCRIPT_NAME is empty)"
    [all...]
  /external/chromium-trace/trace-viewer/third_party/Paste/paste/cowbell/
__init__.py 14 script_name = environ.get('SCRIPT_NAME', '')
34 body = insert_head(body, self.javascript.replace('__SCRIPT_NAME__', script_name))
35 body = insert_body(body, self.resources.replace('__SCRIPT_NAME__', script_name))
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/
test_build_py.py 37 # script_name need not exist, it just need to be initialized
38 dist.script_name = os.path.join(sources, "setup.py")
88 # script_name need not exist, it just need to be initialized
89 dist.script_name = os.path.join(sources, "setup.py")
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/
test_build_py.py 37 # script_name need not exist, it just need to be initialized
38 dist.script_name = os.path.join(sources, "setup.py")
88 # script_name need not exist, it just need to be initialized
89 dist.script_name = os.path.join(sources, "setup.py")
  /external/v8/test/mjsunit/
debug-script-breakpoints.js 35 assertEquals("1", Debug.scriptBreakPoints()[0].script_name());
50 if ("1" == x.script_name()) {
53 } else if ("2" == x.script_name()) {
56 } else if ("3" == x.script_name()) {
60 assertUnreachable("unecpected script_name " + x.script_name());

Completed in 838 milliseconds

1 2 3 4 5