Home
last modified time | relevance | path

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

/hardware/google/gfxstream/codegen/generic-apigen/
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.cpp416 const char* varname = var.name().c_str(); in getVarEncodingSizeExpression() local
419 e->name().c_str(), varname); in getVarEncodingSizeExpression()
422 snprintf(buff, bufflen, "((%s != NULL) ? %s : 0)", varname, lenExpr); in getVarEncodingSizeExpression()
453 const char* varname = var.name().c_str(); in writeVarEncodingExpression() local
458 …f(fp, "\t*(uint64_t *)(ptr) = ctx->lockAndWriteDma(%s, __size_%s); ptr += 8;\n", varname, varname); in writeVarEncodingExpression()
460 fprintf(fp, "\tmemcpy(ptr, &__size_%s, 4); ptr += 4;\n", varname); in writeVarEncodingExpression()
465 fprintf(fp, "\tif (%s != NULL) ", varname); in writeVarEncodingExpression()
474 varname, varname); in writeVarEncodingExpression()
477 fprintf(fp, "ptr += __size_%s;\n", varname); in writeVarEncodingExpression()
484 varname, in writeVarEncodingExpression()
[all …]
DEntryPoint.h59 int validateVarAttr(const std::string& varname, size_t lc) const;
DREADME312 format: dir <varname> <[in | out | inout]>
316 format: var_flag <varname> < nullAllowed | isLarge | ... >
/hardware/interfaces/compatibility_matrices/
Dcompatibility_matrix.mk111 $(foreach varname,$(PRIVATE_ENV_VARS),\
112 $(if $(findstring $(varname),$(PRIVATE_ADDITIONAL_ENV_VARS)),\
113 $(error $(varname) should not be overridden by LOCAL_ASSEMBLE_VINTF_ENV_VARS_OVERRIDE.)))
114 $(foreach varname,$(PRIVATE_ENV_VARS),$(varname)="$($(varname))") \
/hardware/google/gfxstream/guest/mesa/src/util/
Dglsl2spirv.py103 def convert_to_static_variable(lines: T.List[str], varname: str) -> T.List[str]:
105 if varname in l:
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/cereal/
Dhandlemap.py222 lambda varname: \ argument
223 makeVulkanTypeSimple(varname == "from", name, 1, varname)
Dreservedmarshaling.py105 def genMemcpyAndIncr(self, varname, cast, toStreamExpr, sizeExpr, toBe = False, actualSize = 4): argument
107 self.cgen.stmt("memcpy(*%s, %s%s, %s)" % (varname, cast, toStreamExpr, sizeExpr))
109 self.cgen.stmt("memcpy(%s%s, *%s, %s)" % (cast, toStreamExpr, varname, sizeExpr))
131 … self.cgen.stmt("%s::Stream::%s((uint8_t*)*%s)" % (streamNamespace, streamMethod, varname))
138 varname = self.ptrVar
140 self.genMemcpyAndIncr(varname, cast, toStreamExpr, sizeExpr)
143 varname = self.ptrVar
146 "(*" + varname + ")",
Ddeepcopy.py324 lambda varname: \ argument
325 makeVulkanTypeSimple(varname == "from", name, 1, varname)
Dtesting.py357 lambda varname: makeVulkanTypeSimple(True, name, 1, varname) argument
Dmarshaling.py96 varname = self.streamVarName
101 "%s->%s(%s%s, %s)" % (varname, func, cast, toStreamExpr, sizeExpr))
104 varname = self.streamVarName
108 varname,
Dcounting.py566 lambda varname: \ argument
567 makeVulkanTypeSimple(True, name, 1, varname)
/hardware/google/gfxstream/scripts/
Dgen-entries.py369 vartype, varname = key
371 …s = ctx->shareGroup()->getGlobalName(%s, %s);" % (globalNames[key], globalNameTypes[key], varname))
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Ddhdu.c2775 char *varname; in dhd_var_setint() local
2789 varname = *argv++; in dhd_var_setint()
2792 printf("set: missing value argument for set of \"%s\"\n", varname); in dhd_var_setint()
2800 *argv, varname); in dhd_var_setint()
2804 strcpy(buf, varname); in dhd_var_setint()
2823 char *varname; in dhd_var_get() local
2833 varname = *argv++; in dhd_var_get()
2840 strcpy(buf, varname); in dhd_var_get()