Home
last modified time | relevance | path

Searched refs:varname (Results 1 – 3 of 3) sorted by relevance

/sdk/emulator/opengl/host/tools/emugen/
DEntryPoint.cpp41 bool parseTypeField(const std::string & f, std::string *vartype, std::string *varname) in parseTypeField() argument
48 if (varname != NULL) *varname = ""; in parseTypeField()
75 } else if (varname == NULL) { in parseTypeField()
83 *varname = str; in parseTypeField()
132 std::string vartype, varname; in parse() local
133 if (!parseTypeField(field, &vartype, &varname)) { in parse()
142 if (varname == "" && in parse()
146 varname = oss.str(); in parse()
149 m_vars.push_back(Var(varname, v, std::string(""), Var::POINTER_IN, "", "")); in parse()
213 std::string varname = getNextToken(line, pos, &last, WHITESPACE); in setAttribute() local
[all …]
DApiGen.cpp365 const char* varname = var.name().c_str(); in getVarEncodingSizeExpression() local
368 e->name().c_str(), varname); in getVarEncodingSizeExpression()
371 snprintf(buff, bufflen, "((%s != NULL) ? %s : 0)", varname, lenExpr); in getVarEncodingSizeExpression()
395 const char* varname = var.name().c_str(); in writeVarEncodingExpression() local
399 fprintf(fp, "\t*(unsigned int *)(ptr) = __size_%s; ptr += 4;\n", varname); in writeVarEncodingExpression()
404 fprintf(fp, "\tif (%s != NULL) ", varname); in writeVarEncodingExpression()
413 varname, varname); in writeVarEncodingExpression()
416 fprintf(fp, "ptr += __size_%s;\n", varname); in writeVarEncodingExpression()
422 varname, in writeVarEncodingExpression()
432 const char* varname = var.name().c_str(); in writeVarLargeEncodingExpression() local
[all …]
DREADME312 format: dir <varname> <[in | out | inout]>
316 format: var_flag <varname> < nullAllowed | isLarge | ... >