HomeSort by relevance Sort by last modified time
    Searched full:script_name (Results 1 - 25 of 106) 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...]
  /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/templates/
EventFactory.cpp.tmpl 20 {% if event|script_name|case_insensitive_matching %}
21 if (equalIgnoringCase(type, "{{event|script_name}}"){% if event.RuntimeEnabled %} && RuntimeEnabledFeatures::{{event.RuntimeEnabled|lower_first}}(){% endif %})
23 if (type == "{{event|script_name}}"{% if event.RuntimeEnabled %} && RuntimeEnabledFeatures::{{event.RuntimeEnabled|lower_first}}(){% endif %})
  /external/chromium_org/third_party/WebKit/Source/build/scripts/
make_event_factory.py 74 'script_name': name_utilities.script_name,
92 script_name = name_utilities.script_name(entry)
93 if script_name in entries_by_script_name:
94 self._fatal('Multiple entries with script_name=%(script_name)s: %(name1)s %(name2)s' % {
95 'script_name': script_name,
97 'name2': entries_by_script_name[script_name]['name']}
    [all...]
in_generator.py 90 script_name = os.path.basename(argv[0])
93 print "USAGE: %s INPUT_FILES" % script_name
  /external/linux-tools-perf/perf-3.12.0/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_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_org/third_party/WebKit/Source/devtools/
devtools.gyp 70 'script_name': 'scripts/generate_devtools_html.py',
86 'script_name': 'scripts/generate_devtools_html.py',
101 'script_name': 'scripts/generate_devtools_extension_api.py',
123 'script_name': 'scripts/generate_devtools_grd.py',
179 'script_name': 'scripts/generate_devtools_grd.py',
295 'script_name': 'scripts/build_applications.py',
429 'script_name': 'scripts/concatenate_module_scripts.py',
460 'script_name': 'scripts/concatenate_module_scripts.py',
491 'script_name': 'scripts/concatenate_module_scripts.py',
522 'script_name': 'scripts/concatenate_module_scripts.py'
    [all...]
  /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/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);
  /external/chromium_org/chrome/test/base/
v8_unit_test.h 37 // |script_name| is used when reporting errors.
39 const base::StringPiece& script_name);

Completed in 2061 milliseconds

1 2 3 4 5