Home
last modified time | relevance | path

Searched refs:varname (Results 1 – 18 of 18) 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/common/libs/utils/
Denvironment.cpp23 std::string StringFromEnv(const std::string& varname, in StringFromEnv() argument
25 const char* const valstr = getenv(varname.c_str()); in StringFromEnv()
Denvironment.h22 std::string StringFromEnv(const std::string& varname,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/
Dgencodec.py136 def python_mapdef_code(varname, map, comments=1, precisions=(2, 4)): argument
142 (varname, map["IDENTITY"]))
143 append("%s.update({" % varname)
148 append("%s = {" % varname)
183 append('%s.update({' % varname)
193 def python_tabledef_code(varname, map, comments=1, key_precision=2): argument
197 append('%s = (' % varname)
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/
DGuidList.c52 #define GUID_XREF(varname, guid) { \ argument
53 #varname, #guid, guid \
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dlparser.c165 static int registerlocalvar (LexState *ls, TString *varname) { in registerlocalvar() argument
171 while (oldsize < f->sizelocvars) f->locvars[oldsize++].varname = NULL; in registerlocalvar()
172 f->locvars[fs->nlocvars].varname = varname; in registerlocalvar()
173 luaC_objbarrier(ls->L, f, varname); in registerlocalvar()
249 if (luaS_eqstr(n, getlocvar(fs, i)->varname)) in searchvar()
298 TString *varname = str_checkname(ls); in singlevar() local
300 if (singlevaraux(fs, varname, var, 1) == VVOID) { /* global name? */ in singlevar()
304 codestring(ls, &key, varname); /* key is variable name */ in singlevar()
347 TString *vname = getlocvar(fs, gt->nactvar)->varname; in closegoto()
1309 static void fornum (LexState *ls, TString *varname, int line) { in fornum() argument
[all …]
Dlundump.c160 for (i=0; i<n; i++) f->locvars[i].varname=NULL; in LoadDebug()
163 f->locvars[i].varname=LoadString(S); in LoadDebug()
Dldump.c130 DumpString(f->locvars[i].varname,D); in DumpDebug()
Dlfunc.c156 return getstr(f->locvars[i].varname); in luaF_getlocalname()
Dluac.c414 i,getstr(f->locvars[i].varname),f->locvars[i].startpc+1,f->locvars[i].endpc+1); in PrintDebug()
Dlobject.h458 TString *varname; member
Dlgc.c469 markobject(g, f->locvars[i].varname); in traverseproto()
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/SysCall/
DCrtWrapper.c267 char *getenv (const char *varname) in getenv() argument
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DMisc.py95 for varname in varnames:
96 m = re.match(".data.(%s)$" % varname, line)
101 … varoffset.append((varname, int(m.groups(0)[0], 16) , int(sections[-1][1], 16), sections[-1][0]))
147 for varname in varnames:
154 m2 = re.match('^[_]*(%s)' % varname, sym_name)
159 varoffset.append([varname, sec[3], sym_offset, vir_addr, sec_no])