Lines Matching refs:sp
272 short * sp) in xdr_short() argument
279 l = (long) *sp; in xdr_short()
285 *sp = (short) l; in xdr_short()
646 char *sp = *cpp; /* sp is the actual string pointer */ in xdr_bytes() local
667 if (sp == NULL) in xdr_bytes()
668 *cpp = sp = mem_alloc (nodesize); in xdr_bytes()
669 if (sp == NULL) in xdr_bytes()
678 return xdr_opaque (xdrs, sp, nodesize); in xdr_bytes()
681 if (sp != NULL) in xdr_bytes()
683 mem_free (sp, nodesize); in xdr_bytes()
769 char *sp = *cpp; /* sp is the actual string pointer */ in xdr_string() local
779 if (sp == NULL) in xdr_string()
784 if (sp == NULL) in xdr_string()
787 size = strlen (sp); in xdr_string()
815 if (sp == NULL) in xdr_string()
816 *cpp = sp = mem_alloc (nodesize); in xdr_string()
817 if (sp == NULL) in xdr_string()
823 sp[size] = 0; in xdr_string()
827 return xdr_opaque (xdrs, sp, size); in xdr_string()
830 mem_free (sp, nodesize); in xdr_string()