/external/chromium_org/chrome/test/chromedriver/test/ |
H A D | run_py_tests.py | 961 _, tmp_log_path = tempfile.mkstemp(prefix='chromedriver_log_')
|
/external/chromium_org/chrome/test/ispy/client/ |
H A D | boto_bucket.py | 87 def GetAllPaths(self, prefix): 88 return (key.key for key in self.bucket.get_all_keys(prefix=prefix))
|
/external/chromium_org/chrome/test/ispy/common/ |
H A D | cloud_bucket.py | 82 def GetAllPaths(self, prefix): 83 """Gets paths to files in GS that start with a prefix. 86 prefix: the prefix to filter files in GS.
|
H A D | ispy_utils.py | 293 def GetAllPaths(self, prefix, max_keys=None, marker=None, delimiter=None): 294 """Gets urls to all files in GS whose path starts with a given prefix. 297 prefix: the prefix to filter files in GS by. 306 the prefix. 309 prefix, max_keys=max_keys, marker=marker, delimiter=delimiter)
|
H A D | mock_cloud_bucket.py | 63 def GetAllPaths(self, prefix): 65 if item[0].startswith(prefix))
|
/external/chromium_org/chrome/test/ispy/server/ |
H A D | gs_bucket.py | 70 def GetAllPaths(self, prefix, max_keys=None, marker=None, delimiter=None): 72 cloudstorage.listbucket(self.bucket, prefix=prefix,
|
/external/chromium_org/chrome/third_party/chromevox/ |
H A D | chromeVoxChromeBackgroundScript.js | 512 goog.i18n.NumberFormat.prototype.format=function(a){if(isNaN(a))return goog.i18n.NumberFormatSymbols.NAN;var b=[],c=goog.isNull(this.baseFormattingNumber_)?a:this.baseFormattingNumber_,c=this.getUnitAfterRounding_(c,a);a/=Math.pow(10,c.divisorBase);b.push(c.prefix);var d=0>a||0==a&&0>1/a;b.push(d?this.negativePrefix_:this.positivePrefix_);isFinite(a)?(a*=d?-1:1,a*=this.multiplier_,this.useExponentialNotation_?this.subformatExponential_(a,b):this.subformatFixed_(a,this.minimumIntegerDigits_,b)):b.push(goog.i18n.NumberFormatSymbols.INFINITY); 527 (this.minimumIntegerDigits_=1));this.groupingSize_=Math.max(0,g);this.decimalSeparatorAlwaysShown_=0==c||c==f};goog.i18n.NumberFormat.NULL_UNIT_={prefix:"",suffix:"",divisorBase:0}; 528 goog.i18n.NumberFormat.prototype.getUnitFor_=function(a,b){var c=this.compactStyle_==goog.i18n.NumberFormat.CompactStyle.SHORT?goog.i18n.CompactNumberFormatSymbols.COMPACT_DECIMAL_SHORT_PATTERN:goog.i18n.CompactNumberFormatSymbols.COMPACT_DECIMAL_LONG_PATTERN;if(3>a)return goog.i18n.NumberFormat.NULL_UNIT_;a=Math.min(14,a);c=c[Math.pow(10,a)];if(!c)return goog.i18n.NumberFormat.NULL_UNIT_;c=c[b];return c&&"0"!=c?(c=/([^0]*)(0+)(.*)/.exec(c))?{prefix:c[1],suffix:c[3],divisorBase:a-(c[2].length-1)}: 990 SEQUENCE:"sequence",ENDPUNCT:"endpunct",STARTPUNCT:"startpunct",NEGATIVE:"negative",NEGATION:"negation",MULTIOP:"multiop",LIMFUNC:"limit function",INFIXFUNC:"infix function",PREFIXFUNC:"prefix function",POSTFIXFUNC:"postfix function",SUM:"sum",INTEGRAL:"integral",ADDITION:"addition",MULTIPLICATION:"multiplication",DIVISION:"division",SUBTRACTION:"subtraction",IMPLICIT:"implicit",EQUALITY:"equality",INEQUALITY:"inequality",ELEMENT:"element",BINREL:"binrel",ARROW:"arrow",MULTILINE:"multiline",MATRIX:"matrix", 1031 cvox.SemanticTree.classifyFunction_=function(a,b){if(a.type==cvox.SemanticAttr.Type.APPL||a.type==cvox.SemanticAttr.Type.BIGOP||a.type==cvox.SemanticAttr.Type.INTEGRAL)return"";if(b[0]&&b[0].textContent==cvox.SemanticAttr.functionApplication())return b.shift(),cvox.SemanticTree.propagatePrefixFunc_(a),"prefix";switch(a.role){case cvox.SemanticAttr.Role.INTEGRAL:return"integral";case cvox.SemanticAttr.Role.SUM:return"bigop";case cvox.SemanticAttr.Role.PREFIXFUNC:case cvox.SemanticAttr.Role.LIMFUNC:return"prefix"; 1033 cvox.SemanticTree.prototype.getFunctionArgs_=function(a,b,c){switch(c){case "integral":return b=this.getIntegralArgs_(b),c=this.processRow_(b.integrand),a=this.makeIntegralNode_(a,c,b.intvar),b.rest.unshift(a),b.rest;case "prefix":if(b[0]&&b[0].type==cvox.SemanticAttr.Type.FENCED)return a=this.makeFunctionNode_(a,b.shift()),b.unshift(a),b;case "bigop":b=cvox.SemanticTree.sliceNodes_(b,cvox.SemanticTree.prefixFunctionBoundary_);var d=this.processRow_(b.head);a="prefix"==c?this.makeFunctionNode_(a, 1064 cvox.SpeechRuleFunctions.Store_.prototype.checkCustomFunctionSyntax_=function(a){var b=new RegExp("^"+this.prefix_);return a.match(b)?!0:(console.log("FunctionError: Invalid function name. Expected prefix"+this.prefix_),!1)};cvox.BaseRuleStore=function(){this.customQueries=new cvox.SpeechRuleFunctions.CustomQueries;this.customStrings=new cvox.SpeechRuleFunctions.CustomStrings;this.contextFunctions=new cvox.SpeechRuleFunctions.ContextFunctions;this.speechRules_=[];this.dynamicCstrAttribs=[cvox.SpeechRule.DynamicCstrAttrib.STYLE];this.defaultTtsProps=[]}; 1362 "default.default",'[t] "sum with variable number of summands";[p] (pause:400); [m] children/* (separator:./text())','self::infixop[@role="addition"]',"count(children/*)>2",'children/punct[@role="ellipsis"]');(0,cvox.MathmlStoreRules.defineRule_)("multi-addition","default.default",'[t] "sum with,"; [t] count(./children/*); [t] ", summands";[p] (pause:400); [m] ./children/* (separator:./text())','self::infixop[@role="addition"]',"count(./children/*)>2");(0,cvox.MathmlStoreRules.defineRule_)("prefix", [all...] |
H A D | chromeVoxChromeOptionsScript.js | 573 goog.i18n.NumberFormat.prototype.format=function(a){if(isNaN(a))return goog.i18n.NumberFormatSymbols.NAN;var b=[],c=goog.isNull(this.baseFormattingNumber_)?a:this.baseFormattingNumber_,c=this.getUnitAfterRounding_(c,a);a/=Math.pow(10,c.divisorBase);b.push(c.prefix);var d=0>a||0==a&&0>1/a;b.push(d?this.negativePrefix_:this.positivePrefix_);isFinite(a)?(a*=d?-1:1,a*=this.multiplier_,this.useExponentialNotation_?this.subformatExponential_(a,b):this.subformatFixed_(a,this.minimumIntegerDigits_,b)):b.push(goog.i18n.NumberFormatSymbols.INFINITY); 588 (this.minimumIntegerDigits_=1));this.groupingSize_=Math.max(0,g);this.decimalSeparatorAlwaysShown_=0==c||c==f};goog.i18n.NumberFormat.NULL_UNIT_={prefix:"",suffix:"",divisorBase:0}; 589 goog.i18n.NumberFormat.prototype.getUnitFor_=function(a,b){var c=this.compactStyle_==goog.i18n.NumberFormat.CompactStyle.SHORT?goog.i18n.CompactNumberFormatSymbols.COMPACT_DECIMAL_SHORT_PATTERN:goog.i18n.CompactNumberFormatSymbols.COMPACT_DECIMAL_LONG_PATTERN;if(3>a)return goog.i18n.NumberFormat.NULL_UNIT_;a=Math.min(14,a);c=c[Math.pow(10,a)];if(!c)return goog.i18n.NumberFormat.NULL_UNIT_;c=c[b];return c&&"0"!=c?(c=/([^0]*)(0+)(.*)/.exec(c))?{prefix:c[1],suffix:c[3],divisorBase:a-(c[2].length-1)}: 1119 SEQUENCE:"sequence",ENDPUNCT:"endpunct",STARTPUNCT:"startpunct",NEGATIVE:"negative",NEGATION:"negation",MULTIOP:"multiop",LIMFUNC:"limit function",INFIXFUNC:"infix function",PREFIXFUNC:"prefix function",POSTFIXFUNC:"postfix function",SUM:"sum",INTEGRAL:"integral",ADDITION:"addition",MULTIPLICATION:"multiplication",DIVISION:"division",SUBTRACTION:"subtraction",IMPLICIT:"implicit",EQUALITY:"equality",INEQUALITY:"inequality",ELEMENT:"element",BINREL:"binrel",ARROW:"arrow",MULTILINE:"multiline",MATRIX:"matrix", 1160 cvox.SemanticTree.classifyFunction_=function(a,b){if(a.type==cvox.SemanticAttr.Type.APPL||a.type==cvox.SemanticAttr.Type.BIGOP||a.type==cvox.SemanticAttr.Type.INTEGRAL)return"";if(b[0]&&b[0].textContent==cvox.SemanticAttr.functionApplication())return b.shift(),cvox.SemanticTree.propagatePrefixFunc_(a),"prefix";switch(a.role){case cvox.SemanticAttr.Role.INTEGRAL:return"integral";case cvox.SemanticAttr.Role.SUM:return"bigop";case cvox.SemanticAttr.Role.PREFIXFUNC:case cvox.SemanticAttr.Role.LIMFUNC:return"prefix"; 1162 cvox.SemanticTree.prototype.getFunctionArgs_=function(a,b,c){switch(c){case "integral":return b=this.getIntegralArgs_(b),c=this.processRow_(b.integrand),a=this.makeIntegralNode_(a,c,b.intvar),b.rest.unshift(a),b.rest;case "prefix":if(b[0]&&b[0].type==cvox.SemanticAttr.Type.FENCED)return a=this.makeFunctionNode_(a,b.shift()),b.unshift(a),b;case "bigop":b=cvox.SemanticTree.sliceNodes_(b,cvox.SemanticTree.prefixFunctionBoundary_);var d=this.processRow_(b.head);a="prefix"==c?this.makeFunctionNode_(a, 1197 cvox.SpeechRuleFunctions.Store_.prototype.checkCustomFunctionSyntax_=function(a){var b=new RegExp("^"+this.prefix_);return a.match(b)?!0:(console.log("FunctionError: Invalid function name. Expected prefix"+this.prefix_),!1)};cvox.BaseRuleStore=function(){this.customQueries=new cvox.SpeechRuleFunctions.CustomQueries;this.customStrings=new cvox.SpeechRuleFunctions.CustomStrings;this.contextFunctions=new cvox.SpeechRuleFunctions.ContextFunctions;this.speechRules_=[];this.dynamicCstrAttribs=[cvox.SpeechRule.DynamicCstrAttrib.STYLE];this.defaultTtsProps=[]}; 1297 "default.default",'[t] "sum with variable number of summands";[p] (pause:400); [m] children/* (separator:./text())','self::infixop[@role="addition"]',"count(children/*)>2",'children/punct[@role="ellipsis"]');(0,cvox.MathmlStoreRules.defineRule_)("multi-addition","default.default",'[t] "sum with,"; [t] count(./children/*); [t] ", summands";[p] (pause:400); [m] ./children/* (separator:./text())','self::infixop[@role="addition"]',"count(./children/*)>2");(0,cvox.MathmlStoreRules.defineRule_)("prefix", [all...] |
/external/chromium_org/chrome_elf/create_file/ |
H A D | chrome_create_file.cc | 29 IN LPCWSTR prefix,
|
/external/chromium_org/chromeos/dbus/ |
H A D | power_policy_controller.cc | 29 // std::string. |prefix| should be a char* containing either "ac" or 31 #define APPEND_DELAYS(str, delays, prefix) \ 33 APPEND_DELAY(str, delays, screen_dim_ms, prefix "_screen_dim_ms"); \ 34 APPEND_DELAY(str, delays, screen_off_ms, prefix "_screen_off_ms"); \ 35 APPEND_DELAY(str, delays, screen_lock_ms, prefix "_screen_lock_ms"); \ 36 APPEND_DELAY(str, delays, idle_warning_ms, prefix "_idle_warning_ms"); \ 37 APPEND_DELAY(str, delays, idle_ms, prefix "_idle_ms"); \
|
/external/chromium_org/chromeos/disks/ |
H A D | disk_mount_manager.cc | 602 // Finds system path prefix from |system_path|. 609 const std::string& prefix = *it; local 610 if (StartsWithASCII(system_path, prefix, true)) 611 return prefix;
|
/external/chromium_org/chromeos/ime/ |
H A D | extension_ime_util.cc | 119 std::string prefix = kComponentExtensionIMEPrefix; local 120 return StartsWithASCII(input_method_id, prefix + kXkbExtensionId, true);
|
/external/chromium_org/components/autofill/content/renderer/ |
H A D | autofill_agent.cc | 79 base::string16 prefix; 81 prefix = element.editingValue(); 84 base::SplitStringDontTrim(prefix, ',', &parts); 87 &prefix); 93 if (!StartsWith(option.value(), prefix, false) || 94 option.value() == prefix || 554 const base::string16 prefix(base::ASCIIToUTF16("requestAutocomplete: ")); 556 WebConsoleMessage::LevelLog, WebString(prefix + message));
|
H A D | form_autofill_util.cc | 88 // Appends |suffix| to |prefix| so that any intermediary whitespace is collapsed 90 // is guaranteed to have a space between |prefix| and |suffix|. Otherwise, the 91 // result includes a space only if |prefix| has trailing whitespace or |suffix| 103 const base::string16& prefix, 108 base::TrimWhitespace(prefix, base::TRIM_TRAILING, &prefix_trimmed); 102 CombineAndCollapseWhitespace( const base::string16& prefix, const base::string16& suffix, bool force_whitespace) argument
|
/external/chromium_org/components/autofill/core/browser/ |
H A D | autocomplete_history_manager.cc | 83 const base::string16& prefix, 104 name, prefix, kMaxAutocompleteMenuItems, this); 80 OnGetAutocompleteSuggestions( int query_id, const base::string16& name, const base::string16& prefix, const std::string form_control_type, const std::vector<base::string16>& autofill_values, const std::vector<base::string16>& autofill_labels, const std::vector<base::string16>& autofill_icons, const std::vector<int>& autofill_unique_ids) argument
|
H A D | autocomplete_history_manager.h | 41 const base::string16& prefix,
|
H A D | phone_number.cc | 157 // For US numbers, also compare to the three-digit prefix and the four-digit 162 base::string16 prefix = number.substr(kPrefixOffset, kPrefixLength); local 164 if (text == prefix || text == suffix)
|
H A D | phone_number_i18n.cc | 73 std::string prefix; local 77 prefix = "+"; 81 *formatted_number = base::UTF8ToUTF16(prefix + processed_number); 85 *normalized_number = base::UTF8ToUTF16(prefix + processed_number);
|
/external/chromium_org/components/autofill/core/browser/webdata/ |
H A D | autofill_table.cc | 540 const base::string16& prefix, 546 if (prefix.empty()) { 555 base::string16 prefix_lower = base::i18n::ToLower(prefix); 538 GetFormValuesForElementName( const base::string16& name, const base::string16& prefix, std::vector<base::string16>* values, int limit) argument
|
H A D | autofill_table.h | 156 // |prefix|. The comparison of the prefix is case insensitive. 158 const base::string16& prefix,
|
H A D | autofill_webdata.h | 47 const base::string16& prefix,
|
H A D | autofill_webdata_backend_impl.cc | 105 const base::string16& name, const base::string16& prefix, int limit, 110 name, prefix, &values, limit); 104 GetFormValuesForElementName( const base::string16& name, const base::string16& prefix, int limit, WebDatabase* db) argument
|
H A D | autofill_webdata_backend_impl.h | 81 const base::string16& prefix,
|
H A D | autofill_webdata_service.cc | 76 const base::string16& name, const base::string16& prefix, int limit, 80 autofill_backend_, name, prefix, limit), consumer); 75 GetFormValuesForElementName( const base::string16& name, const base::string16& prefix, int limit, WebDataServiceConsumer* consumer) argument
|
H A D | autofill_webdata_service.h | 57 const base::string16& prefix,
|