/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...] |
/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...] |
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...] |
/external/chromium_org/third_party/WebKit/Source/build/scripts/ |
name_macros.py | 84 script_name = name_utilities.script_name(entry) 85 if script_name in entries_by_script_name: 86 self._fatal('Multiple entries with script_name=%(script_name)s: %(name1)s %(name2)s' % { 87 'script_name': script_name, 89 'name2': entries_by_script_name[script_name]['name']}) 90 entries_by_script_name[script_name] = entry 133 include = '#include "%(path)s"\n#include "V8%(script_name)s.h"' % [all...] |
make_event_factory.py | 50 'script_name': name_utilities.script_name,
|
/external/chromium_org/third_party/WebKit/Source/devtools/ |
devtools.gyp | 109 'script_name': 'scripts/generate_devtools_html.py', 124 'script_name': 'scripts/generate_devtools_extension_api.py', 157 'script_name': 'scripts/generate_devtools_grd.py', 198 'script_name': 'scripts/generate_devtools_grd.py', 261 'script_name': 'scripts/concatenate_js_files.py', 282 'script_name': 'scripts/inline_js_imports.py', 298 'script_name': 'scripts/inline_js_imports.py', 314 'script_name': 'scripts/inline_js_imports.py', 330 'script_name': 'scripts/inline_js_imports.py', 346 'script_name': 'scripts/inline_js_imports.py' [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_org/third_party/WebKit/Source/build/scripts/templates/ |
EventFactory.cpp.tmpl | 16 if (type == "{{event|script_name}}"{% if event.RuntimeEnabled %} && RuntimeEnabledFeatures::{{event.RuntimeEnabled|lower_first}}(){% endif %})
|
/external/chromium_org/chrome/test/chromedriver/ |
embed_js_in_cpp.py | 33 script_name = 'k%sScript' % base_name 38 global_string_map[script_name] = script
|
/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/chromium/net/proxy/ |
proxy_resolver_perftest.cc | 103 void RunTest(const std::string& script_name, 108 test_server_.GetURL(std::string("files/") + script_name); 113 LoadPacScriptIntoResolver(script_name); 128 std::string perf_test_name = resolver_name_ + "_" + script_name; 152 void LoadPacScriptIntoResolver(const std::string& script_name) { 158 path = path.AppendASCII(script_name);
|
/external/chromium_org/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());
|
/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());
|
/external/chromium_org/net/proxy/ |
proxy_resolver_perftest.cc | 106 void RunTest(const std::string& script_name, 111 test_server_.GetURL(std::string("files/") + script_name); 117 LoadPacScriptIntoResolver(script_name); 132 std::string perf_test_name = resolver_name_ + "_" + script_name; 156 void LoadPacScriptIntoResolver(const std::string& script_name) { 162 path = path.AppendASCII(script_name);
|