Home
last modified time | relevance | path

Searched refs:stripped_text (Results 1 – 4 of 4) sorted by relevance

/external/chromium-trace/trace-viewer/build/
Dparse_deps_test.py58 stripped_text = parse_deps._strip_js_comments(text)
59 module.validate_uses_strict_mode_(stripped_text)
67 stripped_text = parse_deps._strip_js_comments(text)
68 self.assertRaises(lambda: module.validate_uses_strict_mode_(stripped_text))
79 stripped_text = parse_deps._strip_js_comments(text)
80 module.parse_definition_(stripped_text)
93 stripped_text = parse_deps._strip_js_comments(text)
94 module.parse_definition_(stripped_text)
107 stripped_text = parse_deps._strip_js_comments(text)
108 module.parse_definition_(stripped_text)
[all …]
Dparse_deps.py196 stripped_text = _strip_js_comments(self.contents)
197 self.validate_uses_strict_mode_(stripped_text)
198 self.parse_definition_(stripped_text, decl_required)
266 def validate_uses_strict_mode_(self, stripped_text): argument
267 lines = stripped_text.split('\n')
276 def parse_definition_(self, stripped_text, decl_required = True): argument
280 rest = stripped_text
/external/chromium/chrome/browser/autofill/
Dphone_number.cc55 string16 stripped_text(text); in GetPossibleFieldTypes() local
56 StripPunctuation(&stripped_text); in GetPossibleFieldTypes()
57 if (!Validate(stripped_text)) in GetPossibleFieldTypes()
60 if (IsNumber(stripped_text)) in GetPossibleFieldTypes()
63 if (IsCityCode(stripped_text)) in GetPossibleFieldTypes()
66 if (IsCountryCode(stripped_text)) in GetPossibleFieldTypes()
69 if (IsCityAndNumber(stripped_text)) in GetPossibleFieldTypes()
72 if (IsWholeNumber(stripped_text)) in GetPossibleFieldTypes()
/external/chromium_org/components/autofill/core/browser/
Dphone_number.cc152 base::string16 stripped_text = text; in GetMatchingTypes() local
153 StripPunctuation(&stripped_text); in GetMatchingTypes()
154 FormGroup::GetMatchingTypes(stripped_text, app_locale, matching_types); in GetMatchingTypes()