Home
last modified time | relevance | path

Searched refs:lenAccess (Results 1 – 8 of 8) sorted by relevance

/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/cereal/
Dsubdecode.py41 lenAccess = cgen.generalLengthAccess(param)
42 if not lenAccess:
43 lenAccess = "1"
44 arrSize = "1" if "1" == lenAccess else "MAX_STACK_ITEMS"
64 lenAccess = cgen.generalLengthAccess(param)
66 if None == lenAccess or "1" == lenAccess:
74 cgen.beginFor("uint32_t i = 0", "i < %s" % lenAccess, "++i")
86 lenAccess = cgen.generalLengthAccess(param)
87 if not lenAccess:
88 lenAccess = "1"
[all …]
Dhandlemap.py76 lenAccess = self.lenAccessor(vulkanType)
87 if lenAccess is not None:
92 forCond = "%s < (uint32_t)%s" % (loopVar, lenAccess)
101 if lenAccess is not None:
121 lenAccess = self.lenAccessor(vulkanType)
126 accessLhs, lenAccess))
145 lenAccess = self.lenAccessor(vulkanType)
146 lenAccess = "1" if lenAccess is None else lenAccess
156 lenAccess))
Dreservedmarshaling.py155 def genHandleMappingCall(self, vulkanType, access, lenAccess, lenAccessGuard): argument
157 if lenAccess is None:
158 lenAccess = "1"
161 handle64Bytes = "%s * 8" % lenAccess
164 if lenAccess != "1":
165 self.cgen.beginIf(lenAccess)
188 if "1" == lenAccess:
190 self.genStreamCall(vulkanType, access, "8 * %s" % lenAccess)
194 self.cgen.beginFor("uint32_t k = 0", "k < %s" % lenAccess, "++k")
199 self.genPtrIncr("8 * %s" % lenAccess)
[all …]
Dmarshaling.py113 def genHandleMappingCall(self, vulkanType, access, lenAccess): argument
115 if lenAccess is None:
116 lenAccess = "1"
119 handle64Bytes = "%s * 8" % lenAccess
122 if lenAccess != "1":
123 self.cgen.beginIf(lenAccess)
127 (self.streamVarName, handle64Var, lenAccess))
145 access, lenAccess))
146 self.genStreamCall(vulkanType, access, "8 * %s" % lenAccess)
152 handle64VarAccess, lenAccess))
[all …]
Dcounting.py73 def genHandleMappingCall(self, vulkanType, access, lenAccess): argument
75 if lenAccess is None:
76 lenAccess = "1"
79 handle64Bytes = "%s * 8" % lenAccess
82 if lenAccess != "1":
83 self.cgen.beginIf(lenAccess)
105 self.genCount("8 * %s" % lenAccess)
114 if lenAccess != "1":
337 lenAccess = self.lenAccessor(vulkanType)
345 if lenAccess is not None:
[all …]
Dtransform.py61 lenAccess = getLen(vulkanType)
66 if lenAccess is not None:
67 lenAccesses[k] = lenAccess
86 lenAccess = getLen(vulkanType)
88 if lenAccess:
89 finalLenAccess = lenAccess
151 lenAccess = self.lenAccessor(vulkanType)
162 if lenAccess is not None:
167 forCond = "%s < (uint32_t)%s" % (loopVar, lenAccess)
180 if lenAccess is not None:
Ddecoder.py160 lenAccess = cgen.generalLengthAccess(param)
162 if None == lenAccess or "1" == lenAccess:
168 cgen.beginFor("uint32_t i = 0", "i < %s" % lenAccess, "++i")
286 lenAccess = cgen.generalLengthAccess(p)
300 if None == lenAccess or "1" == lenAccess:
303 …ve, %s * sizeof(%s))" % (p.typeName, p.paramName, READ_STREAM, p.paramName, lenAccess, p.typeName))
430 lenAccess = cgen.generalLengthAccess(p)
434 if None == lenAccess or "1" == lenAccess:
444 cgen.beginFor("uint32_t i = 0", "i < %s" % lenAccess, "++i")
Ddeepcopy.py71 def makeAllocBytesExpr(self, lenAccess, vulkanType): argument
74 if lenAccess:
75 bytesExpr = "%s * %s" % (lenAccess, sizeof)