Searched defs:scripts (Results 26 - 50 of 54) sorted by relevance

123

/external/chromium_org/extensions/renderer/
H A Dscript_injection_manager.cc31 // scripts.
128 // Ensure that we don't block any UI progress by running scripts.
219 const std::vector<UserScript*>& scripts) {
262 // We don't want to run because extensions may have requirements that scripts
283 // Inject any scripts that were waiting for the right run location.
298 // Try to inject any user scripts that should run for this location. If they
217 OnUserScriptsUpdated( const std::set<std::string>& changed_extensions, const std::vector<UserScript*>& scripts) argument
H A Duser_script_injector.cc31 // Greasemonkey API source that is injected with the scripts.
74 const std::vector<UserScript*>& scripts) {
80 for (std::vector<UserScript*>::const_iterator iter = scripts.begin();
81 iter != scripts.end();
137 // Declarative user scripts use "page access" (from "permissions" section in
138 // manifest) whereas non-declarative user scripts use custom
175 // TODO(aa): I think that maybe "is_standalone" scripts don't exist
185 // Emulate Greasemonkey API for scripts that were converted to extensions
186 // and "standalone" user scripts.
72 OnUserScriptsUpdated( const std::set<std::string>& changed_extensions, const std::vector<UserScript*>& scripts) argument
H A Ddispatcher.cc293 // Initialize origin permissions for content scripts, which can't be
431 // frames, for example content scripts. Don't let them execute API functions.
999 const std::vector<UserScript*>& scripts) {
997 OnUserScriptsUpdated( const std::set<std::string>& changed_extensions, const std::vector<UserScript*>& scripts) argument
/external/chromium_org/third_party/cython/src/
H A Dsetup.py79 scripts = [] variable
82 scripts = ["bin/cython"]
84 scripts = ["cython.py"]
92 scripts.append('bin/cygdb')
94 scripts.append('cygdb.py')
331 scripts = scripts, variable
/external/icu/icu4c/source/i18n/
H A Dcollationfastlatin.cpp53 const uint16_t *scripts = data->scripts; local
58 uint32_t lastByte = reorderTable[scripts[i] & 0xff];
63 if(scripts[i + 2] == USCRIPT_LATIN) { break; }
64 i = i + 2 + scripts[i + 1];
H A Duspoof.cpp573 // Compute the set of scripts that every input character has a confusable in.
577 // If the number of such scripts is two or more, and the input consisted of
579 // (The two scripts will be the original script and the one that is confusable)
581 // If the number of such scripts >= one, and the original input contained characters from
596 ScriptSet scripts; local
597 This->wholeScriptCheck(nfdText, &scripts, *status);
598 int32_t confusableScriptCount = scripts.countMembers();
H A Duspoof_impl.cpp232 // Return the set of scripts, each of which can represent something that is
355 // Given a locale (a language), add all the characters from all of the scripts used with that language
359 UScriptCode scripts[30]; local
361 int32_t numScripts = uscript_getCode(locale, scripts, sizeof(scripts)/sizeof(UScriptCode), &status);
372 tmpSet.applyIntPropertyValue(UCHAR_SCRIPT, scripts[i], status);
/external/chromium_org/chrome/browser/extensions/
H A Duser_script_loader.cc156 // Pickle user scripts and return pointer to the shared memory.
157 scoped_ptr<base::SharedMemory> Serialize(const UserScriptList& scripts) { argument
159 pickle.WriteUInt64(scripts.size());
160 for (UserScriptList::const_iterator script = scripts.begin();
161 script != scripts.end();
167 // Write scripts as 'data' so that we can read it out in the slave without
374 void UserScriptLoader::AddScripts(const std::set<UserScript>& scripts) { argument
375 for (std::set<UserScript>::const_iterator it = scripts.begin();
376 it != scripts.end();
384 void UserScriptLoader::RemoveScripts(const std::set<UserScript>& scripts) { argument
577 ExpandChangedExtensions( const std::set<UserScript>& scripts) argument
[all...]
H A Dextension_prefs_unittest.cc570 scoped_ptr<base::ListValue> scripts(new base::ListValue);
571 scripts->AppendString("test.js");
572 manifest.Set(manifest_keys::kBackgroundScripts, scripts.release());
604 const base::ListValue* scripts; variable
605 ASSERT_TRUE(manifest->GetList(manifest_keys::kBackgroundScripts, &scripts));
606 EXPECT_EQ(1u, scripts->GetSize());
/external/chromium_org/third_party/WebKit/Source/core/fetch/
H A DMemoryCache.h47 // This cache holds subresources used by Web pages: images, scripts, stylesheets, etc.
164 TypeStatistic scripts; member in struct:blink::FINAL::Statistics
180 // since the decoded cost of resources like scripts and stylesheets is not known.
H A DResourceFetcher.cpp128 // Async scripts do not block the parser so they get the lowest priority and can be
1423 unsigned scripts = 0; local
1440 scripts++;
1460 if (scripts)
1461 printf("SCRIPTS: %d (%d hits, hit rate %d%%)\n", scripts, scripts - scriptMisses, (scripts - scriptMisses) * 100 / scripts);
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-ot-layout.cc596 const hb_tag_t *scripts,
601 if (!scripts)
603 /* All scripts */
617 for (; *scripts; scripts++)
622 *scripts,
594 hb_ot_layout_collect_lookups(hb_face_t *face, hb_tag_t table_tag, const hb_tag_t *scripts, const hb_tag_t *languages, const hb_tag_t *features, hb_set_t *lookup_indexes ) argument
/external/chromium_org/third_party/icu/source/common/
H A Duchar.c15 * 8/19/1999 srl Upgraded scripts to Unicode3.0
598 UScriptCode *scripts, int32_t capacity,
607 if(capacity<0 || (capacity>0 && scripts==NULL)) {
616 scripts[0]=(UScriptCode)scriptX;
629 scripts[length]=(UScriptCode)(sx&0x7fff);
597 uscript_getScriptExtensions(UChar32 c, UScriptCode *scripts, int32_t capacity, UErrorCode *pErrorCode) argument
/external/chromium_org/third_party/icu/source/i18n/
H A Duspoof.cpp540 // Compute the set of scripts that every input character has a confusable in.
544 // If the number of such scripts is two or more, and the input consisted of
546 // (The two scripts will be the original script and the one that is confusable)
548 // If the number of such scripts >= one, and the original input contained characters from
563 ScriptSet scripts; local
564 This->wholeScriptCheck(nfdText, &scripts, *status);
565 int32_t confusableScriptCount = scripts.countMembers();
H A Duspoof_impl.cpp232 // Return the set of scripts, each of which can represent something that is
355 // Given a locale (a language), add all the characters from all of the scripts used with that language
359 UScriptCode scripts[30]; local
361 int32_t numScripts = uscript_getCode(locale, scripts, sizeof(scripts)/sizeof(UScriptCode), &status);
372 tmpSet.applyIntPropertyValue(UCHAR_SCRIPT, scripts[i], status);
/external/chromium_org/third_party/icu/source/test/intltest/
H A Ditspoof.cpp145 UnicodeString s("xyz"); // Many latin ranges are whole-script confusable with other scripts.
535 ScriptSet scripts; local
536 scripts.parseScripts(UnicodeString(test.fScripts), status);
537 TEST_ASSERT_MSG(scripts == *idInfo.getScripts(), testNumStr);
/external/harfbuzz_ng/src/
H A Dhb-ot-layout.cc596 const hb_tag_t *scripts,
601 if (!scripts)
603 /* All scripts */
617 for (; *scripts; scripts++)
622 *scripts,
594 hb_ot_layout_collect_lookups(hb_face_t *face, hb_tag_t table_tag, const hb_tag_t *scripts, const hb_tag_t *languages, const hb_tag_t *features, hb_set_t *lookup_indexes ) argument
/external/icu/icu4c/source/common/
H A Duchar.c15 * 8/19/1999 srl Upgraded scripts to Unicode3.0
598 UScriptCode *scripts, int32_t capacity,
607 if(capacity<0 || (capacity>0 && scripts==NULL)) {
616 scripts[0]=(UScriptCode)scriptX;
629 scripts[length]=(UScriptCode)(sx&0x7fff);
597 uscript_getScriptExtensions(UChar32 c, UScriptCode *scripts, int32_t capacity, UErrorCode *pErrorCode) argument
/external/icu/icu4c/source/test/intltest/
H A Ditspoof.cpp145 UnicodeString s("xyz"); // Many latin ranges are whole-script confusable with other scripts.
535 ScriptSet scripts; local
536 scripts.parseScripts(UnicodeString(test.fScripts), status);
537 TEST_ASSERT_MSG(scripts == *idInfo.getScripts(), testNumStr);
/external/srec/srec/Semproc/src/
H A DSemanticProcessorImpl.c59 * A holder for accumulated scripts
69 * A list of accumulated scripts
99 * Recursively accumulate the scripts
101 static ESR_ReturnCode accumulate_scripts(SR_SemanticGraphImpl* semgraph, script_list* scripts, sem_partial_path* path_root);
103 static ESR_ReturnCode interpretScripts(SR_SemanticProcessorImpl* semproc, LCHAR* scripts, SR_SemanticResult** result);
544 * Go through the partial paths which were successful and accumulate the scripts
550 /*pfprintf(PSTDOUT,"Accumulated scripts\n");*/
553 * Prepare the scripts for processing, in other words, make them "nice".
781 LCHAR acc_scripts[MAX_SCRIPT_LEN]; /* the accumulated scripts */
863 * Go through the partial paths which were successful and accumulate the scripts
1063 interpretScripts(SR_SemanticProcessorImpl* semproc, LCHAR* scripts, SR_SemanticResult** result) argument
1235 accumulate_scripts(SR_SemanticGraphImpl* semgraph, script_list* scripts, sem_partial_path* path) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/opentype/
H A DOpenTypeVerticalData.cpp315 } scripts[1]; member in struct:blink::OpenType::ScriptList
320 if (!isValidEnd(buffer, &scripts[count]))
323 if (scripts[i].scriptTag == tag)
324 return validateOffset<ScriptTable>(buffer, scripts[i].scriptOffset);
332 if (!count || !isValidEnd(buffer, &scripts[count]))
337 return validateOffset<ScriptTable>(buffer, scripts[0].scriptOffset);
361 const ScriptList* scripts = scriptList(buffer); local
362 if (!scripts)
364 return scripts->defaultLangSys(buffer);
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcldrtest.c792 USet *scripts[10]= {0}; local
805 scripts[i] = uset_openPattern(uPattern, patternLen, &status);
814 uset_add(scripts[0], 0x2bc);
819 * UChars in exemplarSet belong to the scripts returned
836 if(uset_containsRange(scripts[j], start, end) == TRUE){
844 int32_t len = uset_toPattern(scripts[j], toPattern, 500, TRUE, &status);
846 log_err("uset_indexOf(\\u%04X)=%i uset_indexOf(\\u%04X)=%i\n", start, uset_indexOf(scripts[0], start), end, uset_indexOf(scripts[0], end));
858 /* iterate over the scripts and figure out if the string contained is actually
862 if(uset_containsString(scripts[
887 UScriptCode scripts[USCRIPT_CODE_LIMIT]; local
[all...]
/external/chromium_org/ui/gfx/
H A Drender_text_harfbuzz.cc34 // The maximum number of scripts a Unicode character can belong to. This value
36 // character to belong to more scripts.
338 // If the given scripts match, returns the one that isn't USCRIPT_COMMON or
352 // Unicode |codepoint|. Returns the number of written scripts.
353 int GetScriptExtensions(UChar32 codepoint, UScriptCode* scripts) { argument
358 scripts[0] = uscript_getScript(codepoint, &icu_error);
361 // Fill the rest of |scripts| with the extensions.
362 int count = uscript_getScriptExtensions(codepoint, scripts + 1,
374 UScriptCode scripts[kMaxScripts] = { USCRIPT_INVALID_CODE }; local
375 int count = GetScriptExtensions(codepoint, scripts);
407 UScriptCode scripts[kMaxScripts] = { USCRIPT_INVALID_CODE }; local
[all...]
/external/icu/icu4c/source/test/cintltst/
H A Dcldrtest.c795 USet *scripts[10]= {0}; local
808 scripts[i] = uset_openPattern(uPattern, patternLen, &status);
817 uset_add(scripts[0], 0x2bc);
822 * UChars in exemplarSet belong to the scripts returned
839 if(uset_containsRange(scripts[j], start, end) == TRUE){
847 int32_t len = uset_toPattern(scripts[j], toPattern, 500, TRUE, &status);
849 log_err("uset_indexOf(\\u%04X)=%i uset_indexOf(\\u%04X)=%i\n", start, uset_indexOf(scripts[0], start), end, uset_indexOf(scripts[0], end));
861 /* iterate over the scripts and figure out if the string contained is actually
865 if(uset_containsString(scripts[
890 UScriptCode scripts[USCRIPT_CODE_LIMIT]; local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DInspectorPageAgent.cpp550 RefPtr<JSONObject> scripts = m_state->getObject(PageAgentState::pageAgentScriptsToEvaluateOnLoad); local
551 if (!scripts) {
552 scripts = JSONObject::create();
553 m_state->setObject(PageAgentState::pageAgentScriptsToEvaluateOnLoad, scripts);
556 // scripts once we restored the scripts from the cookie during navigation.
559 } while (scripts->find(*identifier) != scripts->end());
560 scripts->setString(*identifier, source);
563 m_state->setObject(PageAgentState::pageAgentScriptsToEvaluateOnLoad, scripts);
568 RefPtr<JSONObject> scripts = m_state->getObject(PageAgentState::pageAgentScriptsToEvaluateOnLoad); local
[all...]

Completed in 1102 milliseconds

123