Lines Matching defs:ref
202 ndo_malloc(ndr_stream_t *nds, unsigned len, ndr_ref_t *ref)
214 ndo_free(ndr_stream_t *nds, char *p, ndr_ref_t *ref)
231 ndo_grow_pdu(ndr_stream_t *nds, unsigned long want_end_offset, ndr_ref_t *ref)
236 ndo_printf(nds, ref, "grow %d", want_end_offset);
261 unsigned long n_bytes, ndr_ref_t *ref)
268 ndo_printf(nds, ref, "pad %d@%-3d", n_bytes, pdu_offset);
284 unsigned long n_bytes, char *buf, int swap_bytes, ndr_ref_t *ref)
294 ndo_printf(nds, ref, "get %d@%-3d = %s",
314 unsigned long n_bytes, char *buf, int swap_bytes, ndr_ref_t *ref)
324 ndo_printf(nds, ref, "put %d@%-3d = %s",
332 ndo_tattle(ndr_stream_t *nds, char *what, ndr_ref_t *ref)
334 ndo_printf(nds, ref, what);
338 ndo_tattle_error(ndr_stream_t *nds, ndr_ref_t *ref)
345 if (ref)
346 data += ref->pdu_offset;
355 ndo_printf(nds, ref, "ERROR=%d REF=%d OFFSET=%d SIZE=%d/%d",
358 ndo_printf(nds, ref, " %s", hexbuf);
411 ndo_printf(ndr_stream_t *nds, ndr_ref_t *ref, const char *fmt, ...)
421 ndo_fmt(nds, ref, buf);
440 ndo_fmt(ndr_stream_t *nds, ndr_ref_t *ref, char *note)
462 for (indent = 0, p = ref; p; p = p->enclosing)
465 if (ref && ref->name) {
466 if (*ref->name == '[' && ref->enclosing) {
469 ref->enclosing->name, ref->name);
471 (void) strlcpy(ref_name, ref->name, NDOBUFSZ);