| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ | 
| test_tools.py | 29     script = os.path.join(scriptsdir, 'reindent.py')  variable in class:ReindentTests 32         assert_python_ok(self.script)
 35         rc, out, err = assert_python_ok(self.script, '-h')
 41     script = os.path.join(scriptsdir, 'pindent.py')  variable in class:PindentTests
 49                 (sys.executable, self.script) + args,
 63             with open(self.script) as f:
 68             rc, out, err = assert_python_ok(self.script, '-d', data_path)
 81             rc, out, err = assert_python_ok(self.script, '-c', data_path)
 92             rc, out, err = assert_python_ok(self.script, '-r', data_path)
 
 | 
| /external/chromium_org/chrome/browser/extensions/api/extension_action/ | 
| browser_action_apitest.cc | 721   const std::string script =  local 725   EXPECT_TRUE(content::ExecuteScriptAndExtractString(tab, script, &result));
 
 | 
| /external/chromium_org/chrome/browser/extensions/api/font_settings/ | 
| font_settings_api.cc | 47 const char kScriptKey[] = "script"; 55 // Gets the font name preference path for |generic_family| and |script|. If
 56 // |script| is NULL, uses prefs::kWebKitCommonScript.
 59   std::string script = fonts::ToString(script_enum);  local
 60   if (script.empty())
 61     script = prefs::kWebKitCommonScript;
 65                             script.c_str());
 82 // Registers |obs| to observe per-script font prefs under the path |map_name|.
 88     const char* script = prefs::kWebKitScriptsForFontFamilyMaps[i];  local
 89     std::string pref_name = base::StringPrintf("%s.%s", map_name, script);
 144  std::string script;  local
 [all...]
 | 
| /external/chromium_org/chrome/browser/extensions/ | 
| isolated_app_browsertest.cc | 171   // We also need to test script-initialized navigation (document.location.href) 188   std::string script = base::StringPrintf(  local
 191   EXPECT_TRUE(ExecuteScript(tab0, script));
 
 | 
| user_script_master.cc | 61       const base::StringPiece& script_text, UserScript* script) { 104         script->add_glob(value);
 108         script->add_exclude_glob(value);
 110         script->set_name_space(value);
 112         script->set_name(value);
 116           script->set_version(version.GetString());
 118         script->set_description(value);
 123         script->add_url_pattern(pattern);
 128         script->add_exclude_url_pattern(exclude);
 131           script->set_run_location(UserScript::DOCUMENT_START)
 256  UserScript& script = user_scripts->at(i);  local
 293  const UserScript& script = scripts[i];  local
 [all...]
 | 
| /external/chromium_org/chrome/browser/guest_view/ | 
| guest_view_base.cc | 208     const char script[] = "window.addEventListener('dragstart', function() { "  local 212         base::ASCIIToUTF16(script));
 
 | 
| /external/chromium_org/chrome/browser/notifications/ | 
| notification_browsertest.cc | 219   std::string script = base::StringPrintf(  local 227       script,
 264   std::string script = base::StringPrintf(  local
 272       script,
 371   // Request permission by calling request() while eval'ing an inline script;
 
 | 
| /external/chromium_org/chrome/browser/password_manager/ | 
| password_manager_browsertest.cc | 215   const std::string script =  local 241       RenderViewHost(), script, &return_value));
 [all...]
 | 
| /external/chromium_org/chrome/browser/ui/prefs/ | 
| prefs_tab_helper.cc | 73 // Registers a preference under the path |pref_name| for each script used for 74 // per-script font prefs.
 85   // Expand the font concatenated with script name so this stays at RO memory
 115 // Registers |obs| to observe per-script font prefs under the path |map_name|.
 125     const char* script = prefs::kWebKitScriptsForFontFamilyMaps[i];  local
 126     std::string pref_name = base::StringPrintf("%s.%s", map_name, script);
 135 bool ShouldUseAlternateDefaultFixedFont(const std::string& script) {
 136   if (!StartsWithASCII(script, "courier", false))
 218 // Returns the script of the font pref |pref_name|.  For example, suppose
 219 // |pref_name| is "webkit.webprefs.fonts.serif.Hant".  Since the script code fo
 592  std::string script;  local
 [all...]
 | 
| /external/chromium_org/chrome/common/extensions/manifest_handlers/ | 
| content_scripts_handler.cc | 35 // The globally-unique id for a user script. 259   // The manifest needs to have at least one js or css user script definition.
 308 // Returns false and sets the error if script file can't be loaded,
 422       return false;  // Failed to parse script context definition.
 445   // Validate that claimed script resources actually exist,
 458     const UserScript& script = content_scripts[i];  local
 460     for (size_t j = 0; j < script.js_scripts().size(); j++) {
 461       const UserScript::File& js_script = script.js_scripts()[j];
 470     for (size_t j = 0; j < script.css_scripts().size(); j++) {
 471       const UserScript::File& css_script = script.css_scripts()[j]
 [all...]
 | 
| /external/chromium_org/chrome/renderer/translate/ | 
| translate_helper.cc | 76 const char kContentSecurityPolicy[] = "script-src 'self' 'unsafe-eval'"; 248   std::string script = "cr.googleTranslate.translate('" +  local
 253   return ExecuteScriptAndGetBoolResult(script, false);
 266 void TranslateHelper::ExecuteScript(const std::string& script) {
 271   WebScriptSource source = WebScriptSource(ASCIIToUTF16(script));
 279 bool TranslateHelper::ExecuteScriptAndGetBoolResult(const std::string& script,
 287   WebScriptSource source = WebScriptSource(ASCIIToUTF16(script));
 303     const std::string& script) {
 310   WebScriptSource source = WebScriptSource(ASCIIToUTF16(script));
 330     const std::string& script) {
 [all...]
 | 
| /external/chromium_org/chrome/test/base/ | 
| v8_unit_test.cc | 221   v8::Handle<v8::Script> script = v8::Script::Compile(source, name);  local 222   // Ensure the script compiled without errors.
 223   if (script.IsEmpty())
 226   v8::Handle<v8::Value> result = script->Run();
 227   // Ensure the script ran without errors.
 
 | 
| /external/chromium_org/chrome/third_party/chromevox/chromevox/injected/ | 
| mathjax_external_util.js | 206  * Injects a MathJax config script into the page. 207  * This script is picked up by MathJax at load time. It only runs in the page,
 214   var script = document.createElement('script');
 215   script.setAttribute('type', 'text/x-mathjax-config');
 216   script.textContent =
 241   document.activeElement.appendChild(script);
 246  * Injects a MathJax load script into the page. This should only be injected
 247  * after the config script. While the config script can adapted for differen
 [all...]
 | 
| /external/chromium_org/content/browser/ | 
| cross_site_transfer_browsertest.cc | 199     std::string script;  local 201       script = base::StringPrintf("location.replace('%s')", url.spec().c_str());
 203       script = base::StringPrintf("location.href = '%s'", url.spec().c_str());
 205     bool result = ExecuteScript(window->web_contents(), script);
 
 | 
| site_per_process_browsertest.cc | 184     std::string script = base::StringPrintf(  local 193     bool result = ExecuteScript(window->web_contents(), script);
 
 | 
| /external/chromium_org/content/public/test/ | 
| render_view_test.cc | 103     const base::string16& script, 107       GetMainFrame()->executeScriptAndReturnValue(WebScriptSource(script));
 284   std::string script =  local
 290       WebScriptSource(WebString::fromUTF8(script)));
 
 | 
| /external/chromium_org/content/shell/tools/plugin/ | 
| main.cpp | 147 static void executeScript(const PluginObject* obj, const char* script); 277             char* script = argv[i];  local
 278             if (script == strstr(script, "mouse::")) {
 280                 obj->evaluateScriptOnMouseDownOrKeyDown = base::strdup(script + sizeof("mouse::") - 1);
 281             } else if (script == strstr(script, "key::")) {
 282                 obj->evaluateScriptOnMouseDownOrKeyDown = base::strdup(script + sizeof("key::") - 1);
 284             // When testing evaluate script on mouse-down or key-down, allow event logging to handle events.
 397 static void executeScript(const PluginObject* obj, const char* script)
 [all...]
 | 
| /external/chromium_org/content/test/plugin/ | 
| plugin_geturl_test.cc | 171     std::string script = "javascript:document.title=\"OK\"";  local 173     script_string.UTF8Characters = script.c_str();
 174     script_string.UTF8Length = static_cast<unsigned int>(script.length());
 
 | 
| /external/chromium_org/extensions/common/manifest_handlers/ | 
| background_info.cc | 172     std::string script;  local 173     if (!background_scripts->GetString(i, &script)) {
 178     background_scripts_.push_back(script);
 
 | 
| /external/chromium_org/third_party/WebKit/Source/bindings/v8/ | 
| NPV8Object.cpp | 260     v8::Local<v8::Value> resultObject = frame->script().callFunction(function, v8Object, argumentCount, argv.get()); 309         resultObject = frame->script().callFunction(function, functionObject, argumentCount, argv.get());
 353     String script = String::fromUTF8(npScript->UTF8Characters, npScript->UTF8Length);  local
 356     v8::Local<v8::Value> v8result = frame->script().executeScriptAndReturnValue(scriptState->context(), ScriptSourceCode(script, KURL(ParsedURLString, filename)));
 414         obj->Set(npIdentifierToV8Identifier(propertyName, isolate), convertNPVariantToV8Object(value, object->rootObject->frame()->script().windowScriptNPObject(), isolate));
 
 | 
| PageScriptDebugServer.cpp | 112     ScriptController& scriptController = page->deprecatedLocalMainFrame()->script(); 252     // <script> tag source and attribute value source are preprocessed before we enter V8.
 261     String script = toCoreStringWithUndefinedOrNullCheck(callDebuggerMethod("getScriptSource", WTF_ARRAY_LENGTH(argvEventData), argvEventData));  local
 263     String preprocessedSource  = m_scriptPreprocessor->preprocessSourceCode(script, scriptName);
 
 | 
| /external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/ | 
| HarfBuzzShaper.h | 75         static PassOwnPtr<HarfBuzzRun> create(const SimpleFontData* fontData, unsigned startIndex, unsigned numCharacters, TextDirection direction, hb_script_t script) 77             return adoptPtr(new HarfBuzzRun(fontData, startIndex, numCharacters, direction, script));
 105         hb_script_t script() { return m_script; }  function in class:WebCore::FINAL::HarfBuzzRun
 
 | 
| /external/chromium_org/third_party/WebKit/Source/web/ | 
| WebEmbeddedWorkerImpl.cpp | 67 // A thin wrapper for one-off script loading. 101     String script() const { return m_scriptLoader->script(); }  function in class:blink::WebEmbeddedWorkerImpl::Loader
 347             m_mainScriptLoader->script(),
 
 | 
| /external/chromium_org/third_party/cld/encodings/compact_lang_det/ | 
| getonescriptspan.h | 23     ULScript script;        // Script of all the letters in this span  member in struct:getone::__anon15523 26                             // different script or EOF was found
 35   //   0 (common script) for non-letters
 54   // Copy next run of same-script non-tag letters to buffer [NUL terminated]
 60   // Copy next run of same-script non-tag letters to buffer [NUL terminated]
 65   int SkipToFrontOfSpan(const char* src, int len, int* script);
 85   int script() {return script_;}  function in class:LangScanner
 88   // Keep smoothing state if same script, otherwise reinit smoothing
 
 | 
| /external/chromium_org/third_party/harfbuzz-ng/src/ | 
| hb-buffer.cc | 44 	 a->script    == b->script    && 55 	 (unsigned int) p->script ^
 562   /* If script is set to INVALID, guess from buffer contents */
 563   if (props.script == HB_SCRIPT_INVALID) {
 565       hb_script_t script = unicode->script (info[i].codepoint);  local
 566       if (likely (script != HB_SCRIPT_COMMON &&
 567 		  script != HB_SCRIPT_INHERITED &&
 568 		  script != HB_SCRIPT_UNKNOWN))
 [all...]
 |