Searched defs:pattern (Results 1 - 25 of 594) sorted by relevance

1234567891011>>

/external/chromium_org/v8/test/mjsunit/
H A Dregexp-standalones.js35 var pattern = /^\d/gm; variable
36 var result = string.match(pattern);
41 pattern = /\d$/gm;
42 result = string.match(pattern);
48 pattern = /^\d/gm;
49 result = string.match(pattern);
53 pattern = /\d$/gm;
54 result = string.match(pattern);
59 pattern = /[\S]+/;
61 result = string.match(pattern);
[all...]
/external/clang/test/CodeGen/
H A D2002-02-13-ReloadProblem.c12 const char *rangematch(const char *pattern, int test, int c) { argument
17 return pattern;
/external/elfutils/libasm/
H A Dasm_fill.c1 /* Determine fill pattern for a section.
44 struct FillPattern *pattern; local
52 /* Use the default pattern. */
53 pattern = (struct FillPattern *) __libasm_default_pattern;
57 pattern = (struct FillPattern *) malloc (sizeof (struct FillPattern)
59 if (pattern == NULL)
62 pattern->len = len;
63 memcpy (pattern->bytes, bytes, len);
66 old_pattern = asmscn->pattern;
67 asmscn->pattern
[all...]
/external/v8/test/mjsunit/
H A Dregexp-standalones.js35 var pattern = /^\d/gm; variable
36 var result = string.match(pattern);
41 pattern = /\d$/gm;
42 result = string.match(pattern);
48 pattern = /^\d/gm;
49 result = string.match(pattern);
53 pattern = /\d$/gm;
54 result = string.match(pattern);
59 pattern = /[\S]+/;
61 result = string.match(pattern);
[all...]
/external/chromium_org/chrome/browser/content_settings/
H A Dcontent_settings_provider_unittest.cc15 ContentSettingsPattern pattern = local
21 pattern,
22 pattern,
64 pattern,
65 pattern,
79 pattern,
80 pattern,
94 pattern,
95 pattern,
H A Dcontent_settings_origin_identifier_value_map_unittest.cc185 ContentSettingsPattern pattern = local
189 map.SetValue(pattern,
209 EXPECT_EQ(pattern, rule.primary_pattern);
/external/chromium_org/third_party/icu/source/i18n/
H A Duregexc.cpp25 uregex_openC( const char *pattern, argument
32 if (pattern == NULL) {
37 UnicodeString patString(pattern);
H A Dstrmatch.h30 * such as UnicodeSets, the emitted text is not the match pattern, but
37 * itself to a pattern but does not otherwise affect its function.
47 * Construct a matcher that matches the given pattern string.
48 * @param string the pattern to be matched, possibly containing
124 * @param result Output param to receive the pattern.
180 * @param result the string to receive the pattern. Previous
223 UnicodeString pattern; member in class:StringMatcher
/external/icu4c/i18n/
H A Duregexc.cpp25 uregex_openC( const char *pattern, argument
32 if (pattern == NULL) {
37 UnicodeString patString(pattern);
H A Dstrmatch.h30 * such as UnicodeSets, the emitted text is not the match pattern, but
37 * itself to a pattern but does not otherwise affect its function.
47 * Construct a matcher that matches the given pattern string.
48 * @param string the pattern to be matched, possibly containing
124 * @param result Output param to receive the pattern.
180 * @param result the string to receive the pattern. Previous
219 UnicodeString pattern; member in class:StringMatcher
/external/compiler-rt/lib/asan/lit_tests/TestCases/Linux/
H A Dglob.cc14 std::string pattern = path + "/glob_test_root/*a"; local
15 printf("pattern: %s\n", pattern.c_str());
18 int res = glob(pattern.c_str(), 0, 0, &globbuf);
/external/chromium/chrome/common/extensions/
H A Dfile_browser_handler.cc16 void FileBrowserHandler::AddPattern(const URLPattern& pattern) { argument
17 patterns_.push_back(pattern);
25 for (PatternList::const_iterator pattern = patterns_.begin();
26 pattern != patterns_.end(); ++pattern) {
27 if (pattern->MatchesUrl(url))
/external/chromium_org/chrome/browser/extensions/api/content_settings/
H A Dcontent_settings_unittest.cc44 ContentSettingsPattern pattern = helpers::ParseExtensionPattern( local
46 EXPECT_FALSE(pattern.IsValid());
/external/chromium_org/chrome/browser/ui/webui/options/
H A Dpepper_flash_content_settings_utils.h25 ContentSettingsPattern pattern; member in struct:options::MediaException
41 // Sorts |media_exceptions| in ascending order by comparing the |pattern|
49 // When an element of |exceptions_1| has a pattern that doesn't match any
/external/chromium_org/chrome/common/
H A Dcontent_settings_pattern_unittest.cc48 // NOTICE: When content settings pattern are created from a GURL the following
55 ContentSettingsPattern pattern = ContentSettingsPattern::FromURL( local
57 EXPECT_TRUE(pattern.IsValid());
58 EXPECT_STREQ("[*.]www.youtube.com", pattern.ToString().c_str());
61 pattern = ContentSettingsPattern::FromURL(GURL("http://www.google.com"));
62 EXPECT_TRUE(pattern.Matches(GURL("http://www.google.com")));
63 EXPECT_TRUE(pattern.Matches(GURL("http://foo.www.google.com")));
64 EXPECT_TRUE(pattern.Matches(GURL("http://www.google.com:80")));
65 EXPECT_TRUE(pattern.Matches(GURL("http://www.google.com:81")));
66 EXPECT_FALSE(pattern
94 ContentSettingsPattern pattern = local
145 ContentSettingsPattern pattern = ContentSettingsPattern::FromURLNoWildcard( local
[all...]
H A Drender_messages.cc10 Message* m, const ContentSettingsPattern& pattern) {
11 pattern.WriteToMessage(m);
15 const Message* m, PickleIterator* iter, ContentSettingsPattern* pattern) {
16 return pattern->ReadFromMessage(m, iter);
9 Write( Message* m, const ContentSettingsPattern& pattern) argument
14 Read( const Message* m, PickleIterator* iter, ContentSettingsPattern* pattern) argument
/external/chromium_org/components/autofill/core/browser/
H A Dautofill_regexes_unittest.cc17 const char* const pattern; member in struct:autofill::TestCase
21 // Empty pattern
38 SCOPED_TRACE(test_case.pattern);
40 ASCIIToUTF16(test_case.pattern)));
45 {"", "Look, ma' -- a non-empty pattern!"},
58 SCOPED_TRACE(test_case.pattern);
60 ASCIIToUTF16(test_case.pattern)));
/external/chromium_org/components/url_matcher/
H A Dstring_pattern.cc9 StringPattern::StringPattern(const std::string& pattern, argument
11 : pattern_(pattern), id_(id) {}
H A Dstring_pattern.h16 // An individual pattern of a substring or regex matcher. A pattern consists of
27 StringPattern(const std::string& pattern, ID id);
29 const std::string& pattern() const { return pattern_; } function in class:url_matcher::StringPattern
/external/chromium_org/content/browser/service_worker/
H A Dservice_worker_registration.cc11 ServiceWorkerRegistration::ServiceWorkerRegistration(const GURL& pattern, argument
14 : pattern_(pattern),
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DCanvasRenderingContext.cpp43 bool CanvasRenderingContext::wouldTaintOrigin(const CanvasPattern* pattern) argument
45 if (canvas()->originClean() && pattern && !pattern->originClean())
/external/chromium_org/third_party/WebKit/Source/platform/
H A DURLPatternMatcher.h42 URLPatternMatcher(const String& pattern) argument
45 m_invalid = !parse(pattern);
48 bool parse(const String& pattern);
/external/chromium_org/third_party/WebKit/public/platform/
H A DWebServiceWorkerProvider.h47 virtual void registerServiceWorker(const WebURL& pattern, const WebURL& scriptUrl, WebServiceWorkerCallbacks*) { } argument
49 virtual void unregisterServiceWorker(const WebURL& pattern, WebServiceWorkerCallbacks*) { } argument
/external/chromium_org/third_party/icu/source/i18n/unicode/
H A Dbmsearch.h36 * the pattern, the "bad character" and "good suffix" tables, the Collator-based data needed to compute them,
40 * Then you construct a <code>BoyerMooreSearch</code> object from the <code>CollData</code> object, the pattern
44 * void boyerMooreExample(UCollator *collator, UnicodeString *pattern, UnicodeString *target)
97 * 3) In some cases, searching for a pattern that needs to be normalized and ends
99 * the Tibetan script. For example searching for the pattern
135 * Test the pattern to see if it generates any CEs.
137 * @return <code>TRUE</code> if the pattern string did not generate any CEs
144 * Search for the pattern string in the target string.
177 * Return the CEs generated by the pattern string.
179 * @return a <code>CEList</code> object holding the CEs generated by the pattern strin
219 UnicodeString pattern; member in class:BoyerMooreSearch
[all...]
/external/chromium_org/tools/gn/
H A Dpattern_unittest.cc6 #include "tools/gn/pattern.h"
11 const char* pattern; member in struct:__anon14966::Case
20 // Empty pattern matches only empty string.
56 Pattern pattern(c.pattern);
57 bool result = pattern.MatchesString(c.candidate);
58 EXPECT_EQ(c.expected_match, result) << i << ": \"" << c.pattern

Completed in 598 milliseconds

1234567891011>>