Lines Matching full:split
227 def union_decl(type, split): argument
228 middle = "struct { uintptr_t lo, hi; } split" if split else "uintptr_t x"
255 split = need_split(argtype)
256 wrap += "\t\t%s parm%d" % (union_decl(argtype, split), argnum)
263 if split:
264 mrsh_args.append("parm%d.split.lo" % argnum)
265 mrsh_args.append("parm%d.split.hi" % argnum)
348 split = need_split(argtype)
349 vrfy_parms.append((argtype, split))
350 nmrsh += 2 if split else 1
375 for i, (argtype, split) in enumerate(vrfy_parms):
376 mrsh += "\t%s parm%d;\n" % (union_decl(argtype, split), i)
377 if split:
378 mrsh += "\t" + "parm%d.split.lo = %s;\n" % (i, mrsh_rval(argnum, nmrsh))
380 mrsh += "\t" + "parm%d.split.hi = %s;\n" % (i, mrsh_rval(argnum, nmrsh))
417 args = [typename_split(a) for a in args.split(",")]
449 parser.add_argument("-s", "--split-type", action="append",
450 help="A long type that must be split/marshalled on 32-bit systems")