/prebuilts/gdb/darwin-x86/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...] |
/prebuilts/gdb/linux-x86/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...] |
/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...] |
/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...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_cmd_line_script.py | 66 def _check_script(self, script_name, expected_file,
69 run_args = cmd_line_switches + (script_name,)
72 print 'Output from test script %r:' % script_name
87 def _check_import_error(self, script_name, expected_msg,
89 run_args = cmd_line_switches + (script_name,)
92 print 'Output from test script %r:' % script_name
99 script_name = _make_test_script(script_dir, 'script')
100 self._check_script(script_name, script_name, script_name, None) [all...] |
script_helper.py | 102 script_name = os.path.join(script_dir, script_filename)
103 script_file = open(script_name, 'w')
106 return script_name
108 def compile_script(script_name):
109 py_compile.compile(script_name, doraise=True)
111 compiled_name = script_name + 'c'
113 compiled_name = script_name + 'o'
116 def make_zip_script(zip_dir, zip_basename, script_name, name_in_zip=None):
121 name_in_zip = os.path.basename(script_name)
122 zip_file.write(script_name, name_in_zip) [all...] |
/external/python/cpython2/Lib/test/ |
test_cmd_line_script.py | 70 def _check_script(self, script_name, expected_file, 73 run_args = cmd_line_switches + (script_name,) 76 print 'Output from test script %r:' % script_name 91 def _check_import_error(self, script_name, expected_msg, 93 run_args = cmd_line_switches + (script_name,) 96 print 'Output from test script %r:' % script_name 103 script_name = _make_test_script(script_dir, 'script') 104 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...] |
/frameworks/rs/rsov/compiler/tests/ |
rs2spirv_lit_driver.sh | 26 script_name=$(basename $script_path) 27 script=${script_name%.*} # Remove extension.
|
/external/python/cpython2/Lib/distutils/ |
core.py | 35 def gen_usage(script_name): 36 script = os.path.basename(script_name) 45 setup_keywords = ('distclass', 'script_name', 'script_args', 'options', 103 if 'script_name' not in attrs: 104 attrs['script_name'] = os.path.basename(sys.argv[0]) 139 raise SystemExit, gen_usage(dist.script_name) + "\nerror: %s" % msg 171 def run_setup(script_name, script_args=None, stop_after="run"): 178 'script_name' is a file that will be run with 'execfile()'; 209 g = {'__file__': script_name} 213 sys.argv[0] = script_name [all...] |
/external/python/cpython3/Lib/distutils/ |
core.py | 32 def gen_usage (script_name): 33 script = os.path.basename(script_name) 42 setup_keywords = ('distclass', 'script_name', 'script_args', 'options', 100 if 'script_name' not in attrs: 101 attrs['script_name'] = os.path.basename(sys.argv[0]) 136 raise SystemExit(gen_usage(dist.script_name) + "\nerror: %s" % msg) 170 def run_setup (script_name, script_args=None, stop_after="run"): 177 'script_name' is a file that will be read and run with 'exec()'; 208 g = {'__file__': script_name} 211 sys.argv[0] = script_name [all...] |
/external/python/cpython3/Lib/test/support/ |
script_helper.py | 197 script_name = os.path.join(script_dir, script_filename) 199 script_file = open(script_name, 'w', encoding='utf-8') 203 return script_name 205 def make_zip_script(zip_dir, zip_basename, script_name, name_in_zip=None): 210 parts = script_name.split(os.sep) 212 legacy_pyc = make_legacy_pyc(source_from_cache(script_name)) 214 script_name = legacy_pyc 216 name_in_zip = os.path.basename(script_name) 217 zip_file.write(script_name, name_in_zip) 236 script_name = make_script(zip_dir, script_basename, source [all...] |
/external/python/cpython3/Lib/test/ |
test_cmd_line_script.py | 111 def _check_output(self, script_name, exit_code, data, 116 print("Output from test script %r:" % script_name) 138 def _check_script(self, script_name, expected_file, 143 *cmd_line_switches, script_name, *example_args] 145 self._check_output(script_name, rc, out + err, expected_file, 149 def _check_import_error(self, script_name, expected_msg, 151 run_args = cmd_line_switches + (script_name,) 154 print('Output from test script %r:' % script_name) 226 script_name = _make_test_script(script_dir, 'script') 227 self._check_script(script_name, script_name, script_name [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/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/python/cpython2/Lib/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/python/cpython3/Lib/wsgiref/ |
util.py | 60 url += quote(environ.get('SCRIPT_NAME') or '/', encoding='latin1') 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...] |
/prebuilts/gdb/darwin-x86/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...] |
/prebuilts/gdb/linux-x86/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...] |
/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...] |
/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/toolchain-utils/ |
remote_test.py | 50 version_dir_path, script_name = misc.GetRoot(sys.argv[0]) 68 '/tmp/' + script_name, 75 '/tmp/' + script_name + '1', 83 '/tmp/' + script_name, 90 '/tmp/' + script_name, 91 '/tmp/' + script_name,
|