Home | History | Annotate | Download | only in Modules

Lines Matching defs:pack

1 /* struct module -- pack values into and (out of) strings */
33 int (*pack)(char *, PyObject *,
335 [pu] distiguishes between pack (to struct) and unpack (from struct).
1542 * Guts of the pack function.
1593 } else if (e->pack(res, v, e) < 0) {
1610 "S.pack(v1, v2, ...) -> string\n\
1628 "pack expected %zd items for packing (got %zd)", soself->s_len, PyTuple_GET_SIZE(args));
1649 Pack the values v1, v2, ... according to this Struct's format, write \n\
1745 {"pack", s_pack, METH_VARARGS, s_pack__doc__},
1870 pack(PyObject *self, PyObject *args)
1896 "Pack the values v1, v2, ... according to fmt.\n\
1978 {"pack", pack, METH_VARARGS, pack_doc},
2068 ptr->pack = native->pack;