Lines Matching defs:varname
41 bool parseTypeField(const std::string & f, std::string *vartype, std::string *varname)
48 if (varname != NULL) *varname = "";
75 } else if (varname == NULL) {
83 *varname = str;
132 std::string vartype, varname;
133 if (!parseTypeField(field, &vartype, &varname)) {
142 if (varname == "" &&
146 varname = oss.str();
149 m_vars.push_back(Var(varname, v, std::string(""), Var::POINTER_IN, "", ""));
213 std::string varname = getNextToken(line, pos, &last, WHITESPACE);
215 if (varname.size() == 0) {
219 Var * v = var(varname);
222 (unsigned int)lc, varname.c_str(), name().c_str());
230 std::string varname = getNextToken(line, pos, &last, WHITESPACE);
232 if (varname.size() == 0) {
236 Var * v = var(varname);
239 (unsigned int)lc, varname.c_str(), name().c_str());
248 std::string varname = getNextToken(line, pos, &last, WHITESPACE);
249 if (varname.size() == 0) {
253 Var * v = var(varname);
256 (unsigned int)lc, varname.c_str(), name().c_str());
278 std::string varname = getNextToken(line, pos, &last, WHITESPACE);
279 if (varname.size() == 0) {
283 Var * v = var(varname);
286 (unsigned int)lc, varname.c_str(), name().c_str());
322 std::string varname = getNextToken(line, pos, &last, WHITESPACE);
324 if (varname.size() == 0) {
328 Var * v = var(varname);
331 (unsigned int)lc, varname.c_str(), name().c_str());
339 std::string varname = getNextToken(line, pos, &last, WHITESPACE);
341 if (varname.size() == 0) {
345 Var * v = var(varname);
348 (unsigned int)lc, varname.c_str(), name().c_str());