Lines Matching refs:arg_str
48 def get_macro_arg(self, arg_str, npos): argument
49 npos2 = npos3 = arg_str.find("(", npos)
55 t, npos3 = self.find_next_token(arg_str, ['(', ')'], npos3+1)
66 return arg_str[npos2+1:npos3].strip(), npos3
68 def parse_arg(self, arg_str, argno): argument
80 if "CV_OUT" in arg_str:
82 arg_str = arg_str.replace("CV_OUT", "")
84 if "CV_IN_OUT" in arg_str:
86 arg_str = arg_str.replace("CV_IN_OUT", "")
89 npos = arg_str.find("CV_CARRAY")
92 macro_arg, npos3 = self.get_macro_arg(arg_str, npos)
95 arg_str = arg_str[:npos] + arg_str[npos3+1:]
97 npos = arg_str.find("CV_CUSTOM_CARRAY")
100 macro_arg, npos3 = self.get_macro_arg(arg_str, npos)
103 arg_str = arg_str[:npos] + arg_str[npos3+1:]
105 arg_str = arg_str.strip()
115 t, npos = self.find_next_token(arg_str, [" ", "&", "*", "<", ">", ","], npos)
116 w = arg_str[word_start:npos].strip()
118 word_list.append("operator " + arg_str[npos:].strip())
176 if ("[" in arg_name) and not ("operator" in arg_str):