Searched refs:match (Results 26 - 50 of 2417) sorted by relevance

1234567891011>>

/external/elfutils/libdw/
H A Ddwarf_getsrc_file.c54 Dwarf_Line **match = *nsrcs == 0 ? NULL : *srcsp; local
82 no match is performed. */
108 /* See whether line and possibly column match. */
112 /* Cannot match. */
115 /* Determine whether this is the best match so far. */
118 if (match[inner]->files == line->files
119 && match[inner]->file == line->file)
122 && (match[inner]->line != line->line
123 || match[inner]->line != lineno
125 && (match[inne
[all...]
/external/autotest/client/common_lib/brillo/
H A Dlogcat_utils.py21 @param process_id: optional integer process id to match on.
48 match = re.match(r'^.\( *(\d+)\) (.*) \(([^(]+)\)$', line)
49 if match:
50 return LogcatLine(pid=match.group(1),
51 message=match.group(2),
52 tag=match.group(3))
53 raise error.TestError('Failed to match logcat line "%s"' % line)
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
H A Dlexer.py52 def match(self, regexp, flags=None): member in class:Lexer
67 """match the given regular expression object to the current text
70 if a match occurs, update the current text and line position.
76 match = reg.match(self.text, self.match_position)
77 if match:
78 (start, end) = match.span()
90 #print "MATCHED:", match.group(0), "LINE START:",
93 # (match and "TRUE" or "FALSE")
94 return match
[all...]
/external/autotest/client/site_tests/hardware_SsdDetection/
H A Dhardware_SsdDetection.py60 match = re.search(r'Nominal Media Rotation Rate: (.+)$',
62 if match and match.group(1):
63 if match.group(1) != 'Solid State Device':
67 'Rotation Rate: %s' % match.group(1))
74 match = re.search("device size with M = 1000\*1000: (.+) MBytes",
76 if match and match.group(1):
77 size = int(match.group(1))
/external/autotest/client/site_tests/kernel_HdParm/
H A Dkernel_HdParm.py24 match = re.search('(\d+\.\d+) MB\/sec', result)
25 self.write_perf_keyval({'cache_throughput': match.groups()[0]})
27 match = re.search('(\d+\.\d+) MB\/sec', result)
28 self.write_perf_keyval({'disk_throughput': match.groups()[0]})
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
H A DSelector.java15 * @return true if the object is a match for this selector, false otherwise.
17 boolean match(T obj); method in interface:Selector
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DCharsetRecognizer.java22 * state pertaining to a specific match or detect operation.
43 * Test the match of this charset with the input text data
48 * @return A CharsetMatch object containing details of match
49 * with this charset, or null if there was no match.
51 abstract CharsetMatch match(CharsetDetector det); method in class:CharsetRecognizer
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DCharsetRecognizer.java21 * state pertaining to a specific match or detect operation.
42 * Test the match of this charset with the input text data
47 * @return A CharsetMatch object containing details of match
48 * with this charset, or null if there was no match.
50 abstract CharsetMatch match(CharsetDetector det); method in class:CharsetRecognizer
/external/python/cpython2/Lib/test/crashers/
H A Dinfinite_loop_re.py16 starttag.match(foo)
/external/python/cpython3/Lib/test/crashers/
H A Dinfinite_loop_re.py16 starttag.match(foo)
/external/tensorflow/tensorflow/core/lib/strings/
H A Dscanner_test.cc39 StringPiece remaining, match; local
44 .GetResult(&remaining, &match));
45 EXPECT_EQ(" horse", match.ToString());
52 .GetResult(&remaining, &match));
54 EXPECT_EQ("", match.ToString());
60 .GetResult(&remaining, &match));
62 EXPECT_EQ("", match.ToString());
66 StringPiece remaining, match; local
71 .GetResult(&remaining, &match));
72 EXPECT_EQ(" a ", match
77 StringPiece remaining, match; local
86 StringPiece remaining, match; local
102 StringPiece remaining, match; local
118 StringPiece remaining, match; local
140 StringPiece remaining, match; local
167 StringPiece remaining, match; local
187 StringPiece remaining, match; local
208 StringPiece remaining, match; local
241 StringPiece remaining, match; local
259 StringPiece match = "match"; local
269 StringPiece match = "match"; local
[all...]
/external/valgrind/none/tests/s390x/
H A Dstfle.c9 unsigned long long hoststfle[S390_NUM_FACILITY_DW], match; local
20 match = (hoststfle[0] & (1ULL << (63 - bit_to_test)));
22 match = (hoststfle[1] & (1ULL << (63 - bit_to_test)));
26 return match;
/external/clang/unittests/AST/
H A DSourceLocationTest.cpp34 EXPECT_FALSE(Verifier.match("int i", varDecl()));
40 EXPECT_FALSE(Verifier.match("int i;", recordDecl()));
46 EXPECT_FALSE(Verifier.match("int i;", varDecl()));
52 EXPECT_FALSE(Verifier.match("int i;", varDecl()));
58 EXPECT_FALSE(Verifier.match("int i;", varDecl()));
71 EXPECT_TRUE(Verifier.match("void f() { l: return; }", labelStmt()));
77 EXPECT_TRUE(Verifier.match("void f() { l: return; }", labelStmt()));
83 EXPECT_TRUE(Verifier.match("void f(i) {}", varDecl(), Lang_C));
89 EXPECT_TRUE(Verifier.match("void f(i) {}", varDecl(), Lang_C));
95 EXPECT_TRUE(Verifier.match("voi
[all...]
H A DASTContextParentMapTest.cpp27 Verifier.match("class C { void f(); };",
33 EXPECT_TRUE(Verifier.match("class C { void f() { if (true) {} } };",
40 Verifier.match("namespace a { class b {}; } void f(a::b) {}",
46 EXPECT_TRUE(Verifier.match("namespace a { class b {}; } void f(a::b) {}",
52 EXPECT_TRUE(DeclVerifier.match(
57 EXPECT_TRUE(DeclVerifier.match(
62 EXPECT_FALSE(DeclVerifier.match(
73 EXPECT_TRUE(TemplateVerifier.match(
/external/skia/infra/bots/recipes/
H A Dperf.py135 match = []
138 match.append('~blurroundrect')
139 match.append('~patch_grid') # skia:2847
140 match.append('~desk_carsvg')
142 match.append('~keymobi_shop_mobileweb_ebay_com.skp') # skia:5178
144 match.append('~blurroundrect')
145 match.append('~patch_grid') # skia:2847
146 match.append('~desk_carsvg')
147 match.append('~keymobi')
148 match
[all...]
/external/skqp/infra/bots/recipes/
H A Dperf.py136 match = []
139 match.append('~blurroundrect')
140 match.append('~patch_grid') # skia:2847
141 match.append('~desk_carsvg')
143 match.append('~keymobi_shop_mobileweb_ebay_com.skp') # skia:5178
145 match.append('~blurroundrect')
146 match.append('~patch_grid') # skia:2847
147 match.append('~desk_carsvg')
148 match.append('~keymobi')
149 match
[all...]
/external/autotest/site_utils/stats/
H A Dapache_access_log_metrics_unittest.py39 match = apache_access_log_metrics.ACCESS_MATCHER.match(
41 self.assertTrue(match)
43 self.assertEqual(match.group('bytes_sent'), '354')
44 self.assertEqual(match.group('response_seconds'), '5')
52 match = apache_access_log_metrics.ACCESS_MATCHER.match(
55 # referencing regex match groups that don't exist.
57 apache_access_log_metrics.EmitRequestMetrics(match)
H A Dapache_error_log_metrics_unittest.py23 """Test for log lines which don't match the expected format.."""
33 None, apache_error_log_metrics.ERROR_LOG_MATCHER.match(line))
36 """Test for lines that are expected to match the format."""
37 match = apache_error_log_metrics.ERROR_LOG_MATCHER.match(
39 self.assertEqual('bar', match.group('log_level'))
40 self.assertEqual(None, match.group('mod_wsgi'))
42 match = apache_error_log_metrics.ERROR_LOG_MATCHER.match(
44 self.assertEqual('bar', match
[all...]
/external/scapy/scapy/
H A D__init__.py51 match = re.match('^v?(.+?)-(\\d+)-g[a-f0-9]+$', tag)
52 if match:
54 return '%s.dev%s' % (match.group(1), match.group(2))
81 match = re.search('tag:(\\S+)', git_archive_id)
82 if match:
83 return "git-archive.dev" + match.group(1)
/external/trappy/tests/trappy/
H A Dsystrace.py90 match = SYSTRACE_EVENT.match(data_str)
91 if match:
93 'event': match.group('event'),
94 'pid' : int(match.group('pid')) if match.group('pid') else None,
95 'func' : match.group('func' ),
96 'data' : match.group('data' )
/external/trappy/trappy/
H A Dsystrace.py90 match = SYSTRACE_EVENT.match(data_str)
91 if match:
93 'event': match.group('event'),
94 'pid' : int(match.group('pid')) if match.group('pid') else None,
95 'func' : match.group('func' ),
96 'data' : match.group('data' )
/external/v8/src/inspector/
H A Dsearch-util.cc51 String16 match = multiline local
55 size_t newLine = match.find("\n");
56 if (newLine != String16::kNotFound) match = match.substring(0, newLine);
57 match = match.stripWhiteSpace();
59 for (size_t i = 0; i < match.length(); ++i) {
60 UChar c = match[i];
64 return match;
115 if (regex.match(lin
[all...]
/external/llvm/unittests/Support/
H A DRegexTest.cpp23 EXPECT_TRUE(r1.match("916"));
24 EXPECT_TRUE(r1.match("9"));
25 EXPECT_FALSE(r1.match("9a"));
29 EXPECT_TRUE(r2.match("aa216b", &Matches));
34 EXPECT_TRUE(r3.match("9a:513b", &Matches));
40 EXPECT_TRUE(r3.match("9:513b", &Matches));
49 EXPECT_FALSE(r4.match("abb"));
50 EXPECT_TRUE(r4.match(String, &Matches));
58 EXPECT_FALSE(r5.match(String));
59 EXPECT_FALSE(r5.match("X
[all...]
/external/nist-sip/java/gov/nist/javax/sip/parser/
H A DDateParser.java62 lexer.match(',');
63 lexer.match(' ');
65 lexer.match(' ');
67 lexer.match(' ');
71 this.lexer.match('\n');
/external/robolectric/v1/
H A Dupdate-downloads.rb19 match = /robolectric-?([0-9]\.[0-9](\.[0-9])?)?(-all)?(-src)?\.jar/.match(f)
20 version = match[1] if match
22 prerelease = /\.rc/.match(f)

Completed in 1095 milliseconds

1234567891011>>