Searched refs:match (Results 226 - 250 of 2417) sorted by relevance

1234567891011>>

/external/tensorflow/tensorflow/tools/graph_transforms/
H A Dfold_old_batch_norms.cc42 Status GetScaleAndOffsetValues(const NodeMatch& match, argument
46 const NodeDef& batch_norm_node = match.node;
61 const NodeDef& mean_node = match.inputs[mean_idx].node;
63 const NodeDef& variance_node = match.inputs[var_idx].node;
65 const NodeDef& beta_node = match.inputs[beta_idx].node;
67 const NodeDef& gamma_node = match.inputs[gamma_idx].node;
169 Status FuseBatchNormWithConv(const NodeMatch& match, argument
175 GetScaleAndOffsetValues(match, &scale_values, &offset_values));
178 const NodeDef& batch_norm_node = match.node;
180 FuseScaleOffsetToConvWeights(scale_values, offset_values, match
185 FuseBatchNormWithConvConcat(const NodeMatch& match, std::vector<NodeDef>* new_nodes) argument
[all...]
H A Dbackports.cc36 [](const NodeMatch& match, const std::set<string>& input_nodes,
39 const NodeDef& concat_v2_node = match.node;
72 [&inputs_to_rename](const NodeMatch& match,
76 const NodeDef& tensor_array_v3_node = match.node;
119 [](const NodeMatch& match, const std::set<string>& input_nodes,
122 const NodeDef& v3_node = match.node;
H A Dflatten_atrous.cc51 [](const NodeMatch& match, const std::set<string>& input_nodes,
55 const NodeDef& batch_to_space_node = match.node;
56 const NodeDef& conv_node = match.inputs[0].node;
57 const NodeDef& filter_node = match.inputs[0].inputs[1].node;
58 const NodeDef& input_node = match.inputs[0].inputs[0].inputs[0].node;
60 match.inputs[0].inputs[0].inputs[1].node;
H A Dfold_batch_norms.cc50 [](const NodeMatch& match, const std::set<string>& input_nodes,
54 const NodeDef& mul_node = match.node;
55 const NodeDef& conv_node = match.inputs[0].node;
56 const NodeDef& input_node = match.inputs[0].inputs[0].node;
57 const NodeDef& weights_node = match.inputs[0].inputs[1].node;
58 const NodeDef& mul_values_node = match.inputs[1].node;
/external/autotest/server/site_tests/power_DarkResumeDisplay/
H A Dpower_DarkResumeDisplay.py66 match = regex.match(line)
67 if match == None:
70 counts[int(match.group(1))] = {
71 'pipe': match.group(2),
72 'errors': int(match.group(3), 16),
/external/autotest/utils/
H A Dlabellib.py151 match = re.search(_CROS_VERSION_REGEX, version_string)
152 if match is None:
154 parts = match.groupdict()
155 match = re.search(_CROS_BOARD_FROM_VERSION_REGEX, version_string)
156 if match is None:
159 parts['board'] = match.group('board')
/external/chromium-trace/catapult/devil/devil/utils/
H A Dlsusb.py82 if _COULDNT_OPEN_ERROR_RE.match(line):
85 m = _LSUSB_BUS_DEVICE_RE.match(line)
98 indent_match = _INDENTATION_RE.match(line)
116 m = _LSUSB_GROUP_RE.match(line)
123 m = _LSUSB_ENTRY_RE.match(line)
143 m = _LSUSB_BUS_DEVICE_RE.match(line)
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
H A DIntDiffer.java24 * @param matchCount The number of items that have to be the same to count as a match
60 * Checks for initial & final match.
87 int match = find(a, aCount-EQUALSIZE, aCount, b, maxSame, bCount);
88 if (match != -1) {
90 bTop = match;
93 match = find(b, bCount-EQUALSIZE, bCount, a, maxSame, aCount);
94 if (match != -1) {
96 aTop = match;
118 return i; // we have a match!
/external/iptables/extensions/
H A Dlibebt_802_3.c39 static void br802_3_init(struct xt_entry_match *match) argument
41 struct ebt_802_3_info *info = (struct ebt_802_3_info *)match->data;
49 const void *entry, struct xt_entry_match **match)
51 struct ebt_802_3_info *info = (struct ebt_802_3_info *) (*match)->data;
95 static void br802_3_print(const void *ip, const struct xt_entry_match *match, argument
98 struct ebt_802_3_info *info = (struct ebt_802_3_info *)match->data;
48 br802_3_parse(int c, char **argv, int invert, unsigned int *flags, const void *entry, struct xt_entry_match **match) argument
H A Dlibxt_owner.c15 /* match and invert flags */
35 uint8_t match, invert; /* flags */ member in struct:ipt_owner_info
44 uint8_t match, invert; /* flags */ member in struct:ip6t_owner_info
64 "owner match options:\n"
76 "owner match options:\n"
87 "owner match options:\n"
153 info->match |= IPT_OWNER_UID;
163 info->match |= IPT_OWNER_GID;
169 info->match |= IPT_OWNER_PID;
174 info->match |
429 owner_mt_print_v0(const void *ip, const struct xt_entry_match *match, int numeric) argument
442 owner_mt6_print_v0(const void *ip, const struct xt_entry_match *match, int numeric) argument
453 owner_mt_print(const void *ip, const struct xt_entry_match *match, int numeric) argument
464 owner_mt_save_v0(const void *ip, const struct xt_entry_match *match) argument
476 owner_mt6_save_v0(const void *ip, const struct xt_entry_match *match) argument
486 owner_mt_save(const void *ip, const struct xt_entry_match *match) argument
[all...]
H A Dlibip6t_icmp6.c85 "icmpv6 match options:\n"
86 "[!] --icmpv6-type typename match icmpv6 type\n"
101 unsigned int match = limit; local
107 if (match != limit)
112 icmpv6_codes[match].name,
114 match = i;
118 if (match != limit) {
119 *type = icmpv6_codes[match].type;
120 code[0] = icmpv6_codes[match].code_min;
121 code[1] = icmpv6_codes[match]
199 icmp6_print(const void *ip, const struct xt_entry_match *match, int numeric) argument
214 icmp6_save(const void *ip, const struct xt_entry_match *match) argument
[all...]
H A Dlibipt_icmp.c105 "icmp match options:\n"
106 "[!] --icmp-type typename match icmp type\n"
121 unsigned int match = limit; local
127 if (match != limit)
132 icmp_codes[match].name,
134 match = i;
138 if (match != limit) {
139 *type = icmp_codes[match].type;
140 code[0] = icmp_codes[match].code_min;
141 code[1] = icmp_codes[match]
220 icmp_print(const void *ip, const struct xt_entry_match *match, int numeric) argument
235 icmp_save(const void *ip, const struct xt_entry_match *match) argument
[all...]
H A Dlibxt_connlimit.c23 "connlimit match options:\n"
24 " --connlimit-upto n match if the number of existing connections is 0..n\n"
25 " --connlimit-above n match if the number of existing connections is >n\n"
49 static void connlimit_init(struct xt_entry_match *match) argument
51 struct xt_connlimit_info *info = (void *)match->data;
60 const unsigned int revision = (*cb->match)->u.user.revision;
129 const struct xt_entry_match *match, int numeric)
131 const struct xt_connlimit_info *info = (const void *)match->data;
140 const struct xt_entry_match *match, int numeric)
142 const struct xt_connlimit_info *info = (const void *)match
128 connlimit_print4(const void *ip, const struct xt_entry_match *match, int numeric) argument
139 connlimit_print6(const void *ip, const struct xt_entry_match *match, int numeric) argument
150 connlimit_save4(const void *ip, const struct xt_entry_match *match) argument
168 connlimit_save6(const void *ip, const struct xt_entry_match *match) argument
[all...]
/external/libcxx/utils/libcxx/android/
H A Dcompiler.py29 match = re.search(r'-target\s+(\S+)', self.cxx_template)
30 if match:
31 return match.group(1)
40 match = re.search(r'^Target: (.+)$', line)
41 if match:
42 return match.group(1)
/external/libmojo/third_party/catapult/devil/devil/utils/
H A Dlsusb.py31 if _COULDNT_OPEN_ERROR_RE.match(line):
34 m = _LSUSB_BUS_DEVICE_RE.match(line)
45 indent_match = _INDENTATION_RE.match(line)
60 m = _LSUSB_GROUP_RE.match(line)
67 m = _LSUSB_ENTRY_RE.match(line)
87 m = _LSUSB_BUS_DEVICE_RE.match(line)
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/tester/org/apache/http/
H A DFakeHttpLayerTest.java65 HttpGet match = new HttpGet("example.com");
67 match.setHeader(new BasicHeader("header1", "header one"));
68 noMatch.setHeader(new BasicHeader("header1", "header not a match"));
72 assertTrue(requestMatcherBuilder.matches(match));
86 HttpPut match = new HttpPut("example.com");
87 match.setEntity(new StringEntity(expectedText));
90 noMatch.setEntity(new StringEntity("some text that does not match"));
94 assertTrue(requestMatcherBuilder.matches(match));
/external/robolectric-shadows/shadows/httpclient/src/test/java/org/robolectric/shadows/httpclient/
H A DFakeHttpLayerTest.java57 HttpGet match = new HttpGet("example.com");
59 match.setHeader(new BasicHeader("header1", "header one"));
60 noMatch.setHeader(new BasicHeader("header1", "header not a match"));
64 assertThat(requestMatcherBuilder.matches(match)).isTrue();
78 HttpPut match = new HttpPut("example.com");
79 match.setEntity(new StringEntity(expectedText));
82 noMatch.setEntity(new StringEntity("some text that does not match"));
86 assertThat(requestMatcherBuilder.matches(match)).isTrue();
/external/swiftshader/third_party/LLVM/test/lib/
H A Dllvm.exp160 if {[regexp {END.[[:space:]]*$} $line match endofscript]} {
164 } elseif {[regexp {RUN: *(.+)(\\)$} $line match oneline suffix]} {
169 } elseif {[regexp {RUN: *(.+)$} $line match oneline suffix]} {
177 } elseif {[regexp {PR([0-9]+)} $line match prnum]} {
184 } elseif {[regexp {XFAIL:[ *](.+)} $line match targets]} {
193 } elseif { [regexp $target $target_triplet match] } {
199 } elseif {[regexp {XTARGET:[ *](.+)} $line match targets]} {
204 if { [regexp {\*} $target match] } {
207 } elseif { [regexp $target $target_triplet match] } {
258 if { [regexp $tgtName $target match] } {
[all...]
/external/tensorflow/tensorflow/python/debug/lib/
H A Ddebug_utils.py154 if node_name_pattern and not node_name_pattern.match(node_name):
156 if op_type_pattern and not op_type_pattern.match(op_type):
161 not tensor_dtype_pattern.match(op.outputs[slot].dtype.name)):
243 if node_name_pattern and node_name_pattern.match(node_name):
245 if op_type_pattern and op_type_pattern.match(op_type):
250 tensor_dtype_pattern.match(op.outputs[slot].dtype.name)):
/external/trappy/tests/trappy/plotter/
H A DAbstractDataPlotter.py77 match = re.match(r"(?P<event>[^:]+):(?P<column>[^:]+)(?P<color>:.+)?",
79 if not match:
84 event = match.group("event")
85 column = match.group("column")
86 color_match = match.group("color")
/external/trappy/trappy/plotter/
H A DAbstractDataPlotter.py77 match = re.match(r"(?P<event>[^:]+):(?P<column>[^:]+)(?P<color>:.+)?",
79 if not match:
84 event = match.group("event")
85 column = match.group("column")
86 color_match = match.group("color")
/external/icu/icu4c/source/common/
H A Ducnv_ext.cpp112 * or if the match length fits with the current converter state
114 #define UCNV_EXT_TO_U_VERIFY_SISO_MATCH(sisoState, match) \
115 ((sisoState)<0 || ((sisoState)==0) == (match==1))
136 return 0; /* no extension data, no match */
149 return 0; /* no match of a DBCS sequence in SBCS mode */
162 /* match input units until there is a full match or the input is consumed */
176 /* remember longest match so far */
181 /* match pre[] then src[] */
187 /* all input consumed, partial match */
287 int32_t match; local
337 int32_t match; local
375 int32_t match, length; local
758 int32_t match; local
817 int32_t match; local
871 int32_t match; local
[all...]
/external/autotest/client/cros/
H A Dpkcs11.py29 match = re.search(r'Slot \d+: (/.*)$', line)
30 if match:
31 if exclude_system_token and match.group(1) == SYSTEM_TOKEN_DIR:
33 token_paths.append(match.group(1))
45 match = re.search(r'^Slot (\d+): ' + token_path, line)
46 if not match:
48 return match.group(1)
55 match = re.search(r'/home/root/(.*)/chaps', token_path)
56 if not match:
58 obfuscated_user = match
[all...]
/external/skia/src/core/
H A DSkRecordOpts.cpp22 // It looks for spans which match Pass::Match, and when found calls onMatch() with that pattern,
26 typename Pass::Match match; local
30 while (match.search(record, &begin, &end)) {
31 changed |= pass->onMatch(record, &match, begin, end);
149 // Nested SaveLayers need to be excluded, or we'll match their Restore!
189 bool onMatch(SkRecord* record, Match* match, int begin, int end) { argument
190 if (match->first<SaveLayer>()->backdrop || match->first<SaveLayer>()->clipMask) {
195 if (match->first<SaveLayer>()->saveLayerFlags & (1U << 31)) {
201 SkPaint* layerPaint = match
247 onMatch(SkRecord* record, Match* match, int begin, int end) argument
[all...]
/external/skia/tests/
H A DRecordPatternTest.cpp25 REPORTER_ASSERT(r, !pattern.match(&record, 0));
29 // Build up a save-clip-restore block. The pattern will match only it's complete.
31 REPORTER_ASSERT(r, !pattern.match(&record, 0));
34 REPORTER_ASSERT(r, !pattern.match(&record, 0));
37 REPORTER_ASSERT(r, pattern.match(&record, 0));
56 // We should match only at 0 and 3. Going over the length should fail gracefully.
59 REPORTER_ASSERT(r, pattern.match(&record, i) == i + 3);
61 REPORTER_ASSERT(r, !pattern.match(&record, i));
77 REPORTER_ASSERT(r, !pattern.match(&record, 0));
90 REPORTER_ASSERT(r, pattern.match(
[all...]

Completed in 608 milliseconds

1234567891011>>