Home
last modified time | relevance | path

Searched refs:toStreamExpr (Results 1 – 2 of 2) sorted by relevance

/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/cereal/
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))
133 … self.cgen.stmt("%s::Stream::%s((uint8_t*)%s)" % (streamNamespace, streamMethod, toStreamExpr))
137 def genStreamCall(self, vulkanType, toStreamExpr, sizeExpr): argument
140 self.genMemcpyAndIncr(varname, cast, toStreamExpr, sizeExpr)
Dmarshaling.py95 def genStreamCall(self, vulkanType, toStreamExpr, sizeExpr): argument
101 "%s->%s(%s%s, %s)" % (varname, func, cast, toStreamExpr, sizeExpr))