/AliOS-Things-master/components/py_engine/tests/extmod/ |
A D | ure1.py | 11 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 D | ure_span.py | 13 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 D | ure_group.py | 13 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 D | ure_groups.py | 13 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 D | ure_namedclass.py | 13 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 D | flash_program_ll.py | 23 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 D | flash_program.py | 18 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 D | flash_program_ll.py | 23 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 D | flash_program.py | 19 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 D | cc1 | 110 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 D | insert-usb-ids.py | 19 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 D | modure.c | 195 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 D | sort_controllers.py | 28 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 D | makeqstrdata.py | 269 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 D | inftrees.c | 57 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 D | deflate.c | 1312 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 D | GetObjectRequest.cc | 88 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.py | 19 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 D | deflate.c | 1139 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 D | treeview.cc | 158 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 D | treeview.h | 68 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 D | GetObjectRequest.h | 42 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 D | README.686 | 6 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 D | algorithm.txt | 13 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 D | sources.py | 256 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 ):
|