Lines Matching refs:strip

66         return arg_str[npos2+1:npos3].strip(), npos3
105 arg_str = arg_str.strip()
116 w = arg_str[word_start:npos].strip()
118 word_list.append("operator " + arg_str[npos:].strip())
183 counter_str = arg_name[p1+1:p2].strip()
187 modlist.append("/A " + counter_str.strip())
211 if ll[-1].strip() == "":
226 prev_val = val = pv[1].strip()
227 decl.append(["const " + self.get_dotted_name(pv[0].strip()), val, [], []])
250 …ORTS_W", ""), ("CV_EXPORTS", ""), ("public virtual ", " "), ("public ", " "), ("::", ".")]).strip()
258 decl_str = (decl_str or "").strip()
272 fdecl = fdecl.strip().replace("\t", " ")
275 fname = fdecl[:fdecl.find("(")].strip()
279 fname = fname[fnpos:].strip()
280 rettype = fdecl[:fnpos].strip()
283 fname = ("operator " + fname).strip()
284 rettype = rettype[:rettype.rfind("operator")].strip()
288 fname = rettype[rpos+1:].strip() + fname
289 rettype = rettype[:rpos].strip()
307 args0str = fdecl[apos+1:fdecl.rfind(")")].strip()
316 narg += arg.strip()
320 args.append(narg.strip())
327 defval = arg[dfpos+1:].strip()
338 arg = arg[:dfpos].strip()
343 aname = arg[pos+1:].strip()
344 atype = arg[:pos+1].strip()
346 atype = (atype + " " + aname).strip()
410 …PORTS_W", ""), ("CV_EXPORTS", ""), ("CV_CDECL", ""), ("CV_WRAP ", " "), ("CV_INLINE", "")]).strip()
430 decl_start = decl_str[:args_begin].strip()
437 decl_start = decl_str[:args_begin].strip()
452 original_type = decl_start[:i].replace("&", "").replace("const", "").strip()
517 a = decl_str[arg_start:npos].strip()
525 defval = a[eqpos+1:].strip()
537 a = a[:eqpos].strip()
562 ("noArray", arg_type)]).strip()
631 w = stmt[:colon_pos].strip()
637 stmt = stmt[colon_pos+1:].strip()
661 if stmt.strip() != stmt_type:
711 stmt = self.batch_replace(stmt, [("CV_PROP_RW", ""), ("CV_PROP", "")]).strip()
714 var_list = [var_name1] + [i.strip() for i in var_list[1:]]
766 l = l0.strip()
823 stmt = (block_head + " " + l[:pos]).strip()