Lines Matching refs:v
110 const VarType *v = TypeFactory::instance()->getVarTypeByName(vartype); in parse() local
111 if (v->id() == 0) { in parse()
115 !(v->name() == "void" && !v->isPointer())) { in parse()
121 m_vars.push_back(Var(varname, v, std::string(""), Var::POINTER_IN, "", "", "")); in parse()
152 Var *v = NULL; in var() local
155 v = &m_vars[i]; in var()
159 return v; in var()
164 const Var *v = NULL; in var() local
167 v = &m_vars[i]; in var()
171 return v; in var()
194 const Var * v = var(varname); in validateVarAttr() local
195 if (v == NULL) { in validateVarAttr()
209 Var* v = nullptr; in setAttribute() local
218 v = var(varname); in setAttribute()
220 v->setLenExpression(line.substr(pos)); in setAttribute()
227 v = var(varname); in setAttribute()
229 v->setParamCheckExpression(line.substr(pos)); in setAttribute()
237 v = var(varname); in setAttribute()
247 v->setPointerDir(Var::POINTER_OUT); in setAttribute()
249 v->setPointerDir(Var::POINTER_INOUT); in setAttribute()
251 v->setPointerDir(Var::POINTER_IN); in setAttribute()
262 v = var(varname); in setAttribute()
277 if (v->isPointer()) { in setAttribute()
278 v->setNullAllowed(true); in setAttribute()
281 (unsigned int) lc, v->name().c_str()); in setAttribute()
284 if (v->isPointer()) { in setAttribute()
285 v->setIsLarge(true); in setAttribute()
288 (unsigned int) lc, v->name().c_str()); in setAttribute()
291 v->setDMA(true); in setAttribute()
302 v = var(varname); in setAttribute()
304 v->setPackExpression(line.substr(pos)); in setAttribute()
312 v = var(varname); in setAttribute()
314 v->setUnpackExpression(line.substr(pos)); in setAttribute()
321 v = var(varname); in setAttribute()
322 if (v->pointerDir() == Var::POINTER_IN) { in setAttribute()
329 v->setHostPackTmpAllocExpression(line.substr(pos)); in setAttribute()
336 v = var(varname); in setAttribute()
337 if (v->pointerDir() == Var::POINTER_IN) { in setAttribute()
344 v->setHostPackExpression(line.substr(pos)); in setAttribute()
351 v = var(varname); in setAttribute()
352 if (v->pointerDir() == Var::POINTER_IN) { in setAttribute()
359 v->setGuestUnpackExpression(line.substr(pos)); in setAttribute()
367 v = var(varname); in setAttribute()
369 v->setWriteExpression(line.substr(pos)); in setAttribute()