Home
last modified time | relevance | path

Searched refs:match (Results 1 – 25 of 173) sorted by relevance

1234567

/AliOS-Things-master/components/py_engine/tests/extmod/
A Dure1.py11 m = r.match("abc")
23 m = r.match("xyz781")
32 m = r.match("a")
34 m = r.match("z")
36 m = r.match("d")
38 m = r.match("A")
43 m = r.match("a")
45 m = r.match("z")
47 m = r.match("d")
49 m = r.match("A")
[all …]
A Dure_span.py13 m = re.match(".", "a")
20 def print_spans(match): argument
25 print(match.span(i), match.start(i), match.end(i))
31 m = re.match(r"(([0-9]*)([a-z]*)[0-9]*)", "1234hello567")
34 m = re.match(r"([0-9]*)(([a-z]*)([0-9]*))", "1234hello567")
38 print_spans(re.match(r"(a)?b(c)", "abc"))
41 print_spans(re.match(r"(a)?b(c)", "bc"))
A Dure_group.py13 def print_groups(match): argument
18 print(match.group(i))
24 m = re.match(r"(([0-9]*)([a-z]*)[0-9]*)", "1234hello567")
27 m = re.match(r"([0-9]*)(([a-z]*)([0-9]*))", "1234hello567")
31 print_groups(re.match(r"(a)?b(c)", "abc"))
34 print_groups(re.match(r"(a)?b(c)", "bc"))
A Dure_groups.py13 m = re.match(".", "a")
20 m = re.match(r"(([0-9]*)([a-z]*)[0-9]*)", "1234hello567")
23 m = re.match(r"([0-9]*)(([a-z]*)([0-9]*))", "1234hello567")
27 print(re.match(r"(a)?b(c)", "abc").groups())
30 print(re.match(r"(a)?b(c)", "bc").groups())
33 print(re.match(r"abc", "abc").groups())
A Dure_namedclass.py13 def print_groups(match): argument
24 m = re.match(r"\w+", "1234hello567 abc")
27 m = re.match(r"(\w+)\s+(\w+)", "ABC \t1234hello567 abc")
30 m = re.match(r"(\S+)\s+(\D+)", "ABC \thello abc567 abc")
33 m = re.match(r"(([0-9]*)([a-z]*)\d*)", "1234hello567")
/AliOS-Things-master/hardware/chip/haas1000/release/aos_burn_tool/
A Dflash_program_ll.py23 if match:
28 return match
52 if match:
66 if not match:
76 if not match:
111 if match:
116 if match:
124 if match:
129 if match:
171 if match:
[all …]
A Dflash_program.py18 match = pattern.match(arg)
19 if match:
20 key = match.group(1)
21 value = match.group(2)
/AliOS-Things-master/hardware/chip/rtl872xd/release/aos_burn_tool/
A Dflash_program_ll.py23 if match:
28 return match
52 if match:
66 if not match:
76 if not match:
111 if match:
116 if match:
124 if match:
129 if match:
171 if match:
[all …]
A Dflash_program.py19 match = pattern.match(arg)
20 if match:
21 key = match.group(1)
22 value = match.group(2)
/AliOS-Things-master/components/py_engine/engine/tools/
A Dcc1110 if re_preproc_line.match(line):
125 match = None
134 match = re_map_entry.match(entries_str[:i + 2])
137 if not match:
142 line = match.group(0)
143 qstr = match.group(1)
196 match = re_mp_obj_dict_t.match(line)
197 if match is None:
198 match = re_mp_map_t.match(line)
199 if match is None:
[all …]
A Dinsert-usb-ids.py19 match = re.match("^#define\s+(\w+)\s+\(0x([0-9A-Fa-f]+)\)$", line)
20 if match and match.group(1).startswith(config_prefix):
21 key = match.group(1).replace(config_prefix, "USB_")
22 val = match.group(2)
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmodure.c195 memset((char *)match->caps, 0, caps_num * sizeof(char *)); in ure_exec()
198 m_del_var(mp_obj_match_t, char *, caps_num, match); in ure_exec()
202 match->base.type = &match_type; in ure_exec()
204 match->str = args[1]; in ure_exec()
205 return MP_OBJ_FROM_PTR(match); in ure_exec()
290 match->base.type = &match_type; in re_sub_helper()
292 match->str = where; in re_sub_helper()
300 if (!res || match->caps[0] == match->caps[1]) { in re_sub_helper()
306 vstr_init(&vstr_return, match->caps[0] - subj.begin); in re_sub_helper()
357 subj.begin = match->caps[1]; in re_sub_helper()
[all …]
/AliOS-Things-master/components/SDL2/src/joystick/
A Dsort_controllers.py28 match = split_pattern.match(line)
29 entry = [ match.group(1), match.group(2), match.group(3) ]
30 bindings = sorted(match.group(4).split(","))
43 entry.append(match.group(5))
/AliOS-Things-master/components/py_engine/engine/py/
A Dmakeqstrdata.py269 match = re.match(r"^QCFG\((.+), (.+)\)", line)
270 if match:
271 value = match.group(2)
275 qcfgs[match.group(1)] = value
279 match = re.match(r"^Q\((.*)\)$", line)
280 if not match:
284 qstr = match.group(1)
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/
A Dinftrees.c57 unsigned match; /* use base and extra for symbol >= match */ local
184 match = 20;
189 match = 257;
194 match = 0;
217 if (work[sym] + 1U < match) {
221 else if (work[sym] >= match) {
222 here.op = (unsigned char)(extra[work[sym] - match]);
223 here.val = base[work[sym] - match];
A Ddeflate.c1312 scan++, match++;
1348 } while (*++scan == *++match && *++scan == *++match &&
1349 *++scan == *++match && *++scan == *++match &&
1350 *++scan == *++match && *++scan == *++match &&
1351 *++scan == *++match && *++scan == *++match &&
1407 if (match[0] != scan[0] || match[1] != scan[1]) return MIN_MATCH-1;
1422 } while (*++scan == *++match && *++scan == *++match &&
1423 *++scan == *++match && *++scan == *++match &&
1424 *++scan == *++match && *++scan == *++match &&
1425 *++scan == *++match && *++scan == *++match &&
[all …]
/AliOS-Things-master/components/oss/src/model/
A DGetObjectRequest.cc88 void GetObjectRequest::setMatchingETagConstraints(const std::vector<std::string> &match) in setMatchingETagConstraints() argument
90 matchingETags_ = match; in setMatchingETagConstraints()
93 void GetObjectRequest::addMatchingETagConstraint(const std::string &match) in addMatchingETagConstraint() argument
95 matchingETags_.push_back(match); in addMatchingETagConstraint()
98 void GetObjectRequest::setNonmatchingETagConstraints(const std::vector<std::string> &match) in setNonmatchingETagConstraints() argument
100 nonmatchingETags_ = match; in setNonmatchingETagConstraints()
103 void GetObjectRequest::addNonmatchingETagConstraint(const std::string &match) in addNonmatchingETagConstraint() argument
105 nonmatchingETags_.push_back(match); in addNonmatchingETagConstraint()
/AliOS-Things-master/hardware/chip/haas1000/
A D_haas1000_alios_lds.py19 match = pattern.match(arg) variable
20 if match:
21 key = match.group(1)
22 value = match.group(2)
/AliOS-Things-master/components/py_engine/external/unzip/src/
A Ddeflate.c1139 scan++, match++;
1175 } while (*++scan == *++match && *++scan == *++match &&
1176 *++scan == *++match && *++scan == *++match &&
1177 *++scan == *++match && *++scan == *++match &&
1178 *++scan == *++match && *++scan == *++match &&
1234 if (match[0] != scan[0] || match[1] != scan[1]) return MIN_MATCH-1;
1249 } while (*++scan == *++match && *++scan == *++match &&
1250 *++scan == *++match && *++scan == *++match &&
1251 *++scan == *++match && *++scan == *++match &&
1252 *++scan == *++match && *++scan == *++match &&
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/ruy/profiler/
A Dtreeview.cc158 const std::function<bool(const Label&)>& match) { in WeightBelowNodeMatchingFunction() argument
160 if (match(node.label)) { in WeightBelowNodeMatchingFunction()
164 weight += WeightBelowNodeMatchingFunction(*child, match); in WeightBelowNodeMatchingFunction()
199 const std::function<bool(const Label&)>& match, TreeView::Node* node_out) { in CollapseSubnodesMatchingFunction() argument
200 if (match(node_in.label)) { in CollapseSubnodesMatchingFunction()
210 CollapseSubnodesMatchingFunction(*child_in, depth, match, child_out); in CollapseSubnodesMatchingFunction()
217 const std::function<bool(const Label&)>& match, TreeView* treeview_out) { in CollapseNodesMatchingFunction() argument
225 CollapseSubnodesMatchingFunction(root_in, depth, match, root_out); in CollapseNodesMatchingFunction()
A Dtreeview.h68 const TreeView::Node& node, const std::function<bool(const Label&)>& match);
101 const std::function<bool(const Label&)>& match, TreeView::Node* node_out);
110 const std::function<bool(const Label&)>& match, TreeView* treeview_out);
/AliOS-Things-master/components/oss/include/alibabacloud/oss/model/
A DGetObjectRequest.h42 void setMatchingETagConstraints(const std::vector<std::string>& match);
43 void addMatchingETagConstraint(const std::string& match);
44 void setNonmatchingETagConstraints(const std::vector<std::string>& match);
45 void addNonmatchingETagConstraint(const std::string& match);
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/asm686/
A DREADME.6866 match.S
18 translate match.S to use your assembler's syntax. (Have fun.)
30 To compile zlib with this asm file, copy match.S to the zlib directory
34 make OBJA=match.o
47 license to match that of the rest of zlib. Share and Enjoy!
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/doc/
A Dalgorithm.txt13 Literals or match lengths are compressed with one Huffman tree, and
14 match distances are compressed with another tree. The trees are stored
25 the longest match is selected.
35 possible match but generally finds a match which is long enough.
39 a longer match at the next input byte. If a longer match is found, the
42 the original match is kept, and the next match search is attempted only N
45 The lazy match evaluation is also subject to a runtime parameter. If
49 the first match is already long enough.
51 The lazy match evaluation is not performed for the fastest compression
53 are inserted in the hash table only when no match was found, or
[all …]
/AliOS-Things-master/components/freetype/src/tools/docmaker/
A Dsources.py256 m = self.format.column.match( line0 )
265 if tag.match( l ):
339 if self.format.end.match( line ):
344 elif self.format.column.match( line ):
361 if f.start.match( line ):

Completed in 27 milliseconds

1234567