Home
last modified time | relevance | path

Searched refs:sizeExpr (Results 1 – 11 of 11) sorted by relevance

/external/gfxstream-protocols/registry/vulkan/scripts/cereal/
Dreservedmarshaling.py100 def genPtrIncr(self, sizeExpr): argument
101 self.cgen.stmt("*%s += %s" % (self.ptrVar, sizeExpr))
103 def genMemcpyAndIncr(self, varname, cast, toStreamExpr, sizeExpr, toBe = False, actualSize = 4): argument
105 self.cgen.stmt("memcpy(*%s, %s%s, %s)" % (varname, cast, toStreamExpr, sizeExpr))
107 self.cgen.stmt("memcpy(%s%s, *%s, %s)" % (cast, toStreamExpr, varname, sizeExpr))
132 self.genPtrIncr(sizeExpr)
134 def genStreamCall(self, vulkanType, toStreamExpr, sizeExpr): argument
137 self.genMemcpyAndIncr(varname, cast, toStreamExpr, sizeExpr)
289 sizeExpr = self.cgen.sizeofExpr(vulkanType)
296 sizeExpr = self.cgen.sizeofExpr(vulkanType)
Dmarshaling.py95 def genStreamCall(self, vulkanType, toStreamExpr, sizeExpr): argument
101 "%s->%s(%s%s, %s)" % (varname, func, cast, toStreamExpr, sizeExpr))
207 sizeExpr = self.cgen.sizeofExpr(vulkanType)
214 sizeExpr = self.cgen.sizeofExpr(vulkanType)
Dcounting.py65 def genCount(self, sizeExpr): argument
66 self.cgen.stmt("*%s += %s" % (self.countVar, sizeExpr))
144 sizeExpr = self.cgen.sizeofExpr(vulkanType)
/external/javassist/src/main/javassist/compiler/
DMemberCodeGen.java355 ASTree sizeExpr = size.head(); in atNewArrayExpr() local
356 atNewArrayExpr2(type, sizeExpr, Declarator.astToClassName(classname, '/'), init); in atNewArrayExpr()
359 private void atNewArrayExpr2(int type, ASTree sizeExpr, in atNewArrayExpr2() argument
362 if (sizeExpr == null) in atNewArrayExpr2()
365 sizeExpr.accept(this); in atNewArrayExpr2()
367 if (sizeExpr == null) { in atNewArrayExpr2()
DTypeChecker.java189 ASTree sizeExpr = size.head(); in atNewArrayExpr() local
190 if (sizeExpr != null) in atNewArrayExpr()
191 sizeExpr.accept(this); in atNewArrayExpr()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationUserDefinedIO.cpp276 std::string Variable::declareArray (const std::string& sizeExpr) const in declareArray()
279 return de::toString(glu::declare(m_type, m_name)) + "[" + sizeExpr + "];\n"; in declareArray()
365 std::string IOBlock::declareArray (const std::string& sizeExpr) const in declareArray()
375 buf << "} " << m_interfaceName << "[" << sizeExpr << "];\n"; in declareArray()
/external/clang/lib/Sema/
DSemaType.cpp6312 Expr *sizeExpr = static_cast<Expr *>(Attr.getArgAsExpr(0)); in HandleVectorSizeAttr() local
6314 if (sizeExpr->isTypeDependent() || sizeExpr->isValueDependent() || in HandleVectorSizeAttr()
6315 !sizeExpr->isIntegerConstantExpr(vecSize, S.Context)) { in HandleVectorSizeAttr()
6318 << sizeExpr->getSourceRange(); in HandleVectorSizeAttr()
6337 << sizeExpr->getSourceRange(); in HandleVectorSizeAttr()
6343 << sizeExpr->getSourceRange(); in HandleVectorSizeAttr()
6349 << sizeExpr->getSourceRange(); in HandleVectorSizeAttr()
6372 Expr *sizeExpr; in HandleExtVectorTypeAttr() local
6386 sizeExpr = Size.get(); in HandleExtVectorTypeAttr()
6388 sizeExpr = Attr.getArgAsExpr(0); in HandleExtVectorTypeAttr()
[all …]
/external/skia/src/sksl/
DSkSLParser.cpp531 DSLExpression sizeExpr = this->expression(); in arraySize() local
532 if (!sizeExpr.hasValue()) { in arraySize()
535 if (sizeExpr.isValid()) { in arraySize()
536 std::unique_ptr<SkSL::Expression> sizeLiteral = sizeExpr.release(); in arraySize()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/
DhlslGrammar.cpp4276 TIntermTyped* sizeExpr = nullptr; in acceptArraySpecifier() local
4279 const bool hasArraySize = acceptAssignmentExpression(sizeExpr); in acceptArraySpecifier()
4288 parseContext.arraySizeCheck(loc, sizeExpr, arraySize); in acceptArraySpecifier()
/external/deqp-deps/glslang/glslang/HLSL/
DhlslGrammar.cpp4276 TIntermTyped* sizeExpr = nullptr; in acceptArraySpecifier() local
4279 const bool hasArraySize = acceptAssignmentExpression(sizeExpr); in acceptArraySpecifier()
4288 parseContext.arraySizeCheck(loc, sizeExpr, arraySize); in acceptArraySpecifier()
/external/deqp/modules/gles31/functional/
Des31fTessellationTests.cpp5858 string UserDefinedIOCase::Variable::declareArray (const string& sizeExpr) const in declareArray()
5861 return de::toString(glu::declare(m_type, m_name)) + "[" + sizeExpr + "];\n"; in declareArray()
5878 string UserDefinedIOCase::IOBlock::declareArray (const string& sizeExpr) const in declareArray()
5888 buf << "} " << m_interfaceName << "[" << sizeExpr << "];\n"; in declareArray()