Lines Matching defs:arg_ref
397 ndr_enter_outer_queue(ndr_ref_t *arg_ref)
399 ndr_stream_t *nds = arg_ref->stream;
403 outer_ref = (ndr_ref_t *)NDS_MALLOC(nds, sizeof (*outer_ref), arg_ref);
405 NDR_SET_ERROR(arg_ref, NDR_ERR_MALLOC_FAILED);
409 *outer_ref = *arg_ref;
412 outer_ref->outer_flags = arg_ref->inner_flags & NDR_F_PARAMS_MASK;
1531 * The local datum (arg_ref->datum) already exists, there is no need to
1543 ndr_inner(ndr_ref_t *arg_ref)
1545 ndr_typeinfo_t *ti = arg_ref->ti;
1551 params = arg_ref->inner_flags & NDR_F_PARAMS_MASK;
1559 return (*ti->ndr_func)(arg_ref);
1576 return (ndr_inner_pointer(arg_ref));
1578 return (ndr_inner_reference(arg_ref));
1580 return (ndr_inner_array(arg_ref));
1589 return (ndr_inner_pointer(arg_ref));
1598 return (ndr_inner_reference(arg_ref));
1607 return (*ti->ndr_func)(arg_ref);
1620 NDR_SET_ERROR(arg_ref, error);
1625 ndr_inner_pointer(ndr_ref_t *arg_ref)
1627 ndr_stream_t *nds = arg_ref->stream;
1629 char **valpp = (char **)arg_ref->datum;
1632 if (!ndr__ulong(arg_ref))
1637 outer_ref = ndr_enter_outer_queue(arg_ref);
1645 outer_ref->outer_flags = arg_ref->inner_flags & NDR_F_PARAMS_MASK;
1677 ndr_inner_reference(ndr_ref_t *arg_ref)
1679 ndr_stream_t *nds = arg_ref->stream;
1681 char **valpp = (char **)arg_ref->datum;
1684 outer_ref = ndr_enter_outer_queue(arg_ref);
1692 outer_ref->outer_flags = arg_ref->inner_flags & NDR_F_PARAMS_MASK;