Home
last modified time | relevance | path

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

/device/generic/opengl-transport/host/commands/emugen/
DEntryPoint.cpp100 std::string vartype, varname; in parse() local
101 if (!parseParameterDeclaration(field, &vartype, &varname, &error)) { in parse()
114 if (varname == "" && in parse()
118 varname = oss.str(); in parse()
121 m_vars.push_back(Var(varname, v, std::string(""), Var::POINTER_IN, "", "", "")); in parse()
189 int EntryPoint::validateVarAttr(const std::string& varname, size_t lc) const { in validateVarAttr() argument
190 if (varname.size() == 0) { in validateVarAttr()
194 const Var * v = var(varname); in validateVarAttr()
197 (unsigned int)lc, varname.c_str(), name().c_str()); in validateVarAttr()
213 std::string varname = getNextToken(line, pos, &last, WHITESPACE); in setAttribute() local
[all …]
DParser_unittest.cpp64 std::string varname, vartype, error; in TEST() local
103 std::string varname, vartype, error; in TEST() local
111 &varname, in TEST()
115 EXPECT_STREQ(kData[n].expectedVariable, varname.c_str()) << text; in TEST()
DApiGen.cpp408 const char* varname = var.name().c_str(); in getVarEncodingSizeExpression() local
411 e->name().c_str(), varname); in getVarEncodingSizeExpression()
414 snprintf(buff, bufflen, "((%s != NULL) ? %s : 0)", varname, lenExpr); in getVarEncodingSizeExpression()
445 const char* varname = var.name().c_str(); in writeVarEncodingExpression() local
450 …f(fp, "\t*(uint64_t *)(ptr) = ctx->lockAndWriteDma(%s, __size_%s); ptr += 8;\n", varname, varname); in writeVarEncodingExpression()
452 fprintf(fp, "\t*(unsigned int *)(ptr) = __size_%s; ptr += 4;\n", varname); in writeVarEncodingExpression()
457 fprintf(fp, "\tif (%s != NULL) ", varname); in writeVarEncodingExpression()
466 varname, varname); in writeVarEncodingExpression()
469 fprintf(fp, "ptr += __size_%s;\n", varname); in writeVarEncodingExpression()
476 varname, in writeVarEncodingExpression()
[all …]
DEntryPoint.h53 int validateVarAttr(const std::string& varname, size_t lc) const;
DREADME312 format: dir <varname> <[in | out | inout]>
316 format: var_flag <varname> < nullAllowed | isLarge | ... >
/device/google/cuttlefish/common/libs/utils/
Denvironment.cpp25 std::string StringFromEnv(const std::string& varname, in StringFromEnv() argument
27 const char* const valstr = getenv(varname.c_str()); in StringFromEnv()
Denvironment.h22 std::string StringFromEnv(const std::string& varname,