Lines Matching refs:setup
170 setup = []
173 return setup
184 setup.append("VkSwapchainImageInfoKHR *info = %s;" % pdata)
185 setup.append("size_t count = *%s / sizeof(*info), i;" % psize)
186 setup.append("for (i = 0; i < count; i++) {")
187 setup.append(" %s(info[i].image, disp);" % method)
188 setup.append(" %s(info[i].memory, disp);" % method)
189 setup.append("}")
193 setup.append("%s(*%s, disp);" % (method, param.name))
195 if setup:
196 joined = "\n ".join(setup)
197 setup = []
198 setup.append(" if (%s) {" % cond)
199 setup.append(" " + joined)
200 setup.append(" }")
202 return "\n".join(setup)