Lines Matching refs:ti

243 ndo_process(ndr_stream_t *nds, ndr_typeinfo_t *ti, char *datum)  in ndo_process()  argument
251 myref.ti = ti; in ndo_process()
257 ndo_operation(ndr_stream_t *nds, ndr_typeinfo_t *ti, int opnum, char *datum) in ndo_operation() argument
265 myref.ti = ti; in ndo_operation()
269 if (ti->type_flags != NDR_F_INTERFACE) { in ndo_operation()
274 return ((*ti->ndr_func)(&myref)); in ndo_operation()
280 ndr_typeinfo_t *ti = params_ref->ti; in ndr_params() local
282 if (ti->type_flags == NDR_F_OPERATION) in ndr_params()
283 return (*ti->ndr_func) (params_ref); in ndr_params()
292 ndr_typeinfo_t *ti; in ndr_topmost() local
303 assert(top_ref->ti); in ndr_topmost()
306 ti = top_ref->ti; in ndr_topmost()
308 is_varlen = ti->pdu_size_variable_part; in ndr_topmost()
309 is_string = NDR_IS_STRING(ti); in ndr_topmost()
324 n_fixed = ti->pdu_size_fixed_part; in ndr_topmost()
338 n_fixed = ti->pdu_size_fixed_part * top_ref->dimension_is; in ndr_topmost()
591 ndr_typeinfo_t *ti = outer_ref->ti; in ndr_outer() local
592 int is_varlen = ti->pdu_size_variable_part; in ndr_outer()
593 int is_union = NDR_IS_UNION(ti); in ndr_outer()
594 int is_string = NDR_IS_STRING(ti); in ndr_outer()
655 ndr_typeinfo_t *ti = outer_ref->ti; in ndr_outer_fixed() local
658 int is_varlen = ti->pdu_size_variable_part; in ndr_outer_fixed()
659 int is_union = NDR_IS_UNION(ti); in ndr_outer_fixed()
660 int is_string = NDR_IS_STRING(ti); in ndr_outer_fixed()
678 n_fixed = ti->pdu_size_fixed_part; in ndr_outer_fixed()
724 myref.ti = outer_ref->ti; in ndr_outer_fixed()
745 ndr_typeinfo_t *ti = outer_ref->ti; in ndr_outer_fixed_array() local
748 int is_varlen = ti->pdu_size_variable_part; in ndr_outer_fixed_array()
749 int is_union = NDR_IS_UNION(ti); in ndr_outer_fixed_array()
750 int is_string = NDR_IS_STRING(ti); in ndr_outer_fixed_array()
768 n_fixed = ti->pdu_size_fixed_part * outer_ref->dimension_is; in ndr_outer_fixed_array()
814 myref.ti = outer_ref->ti; in ndr_outer_fixed_array()
836 ndr_typeinfo_t *ti = outer_ref->ti; in ndr_outer_conformant_array() local
839 int is_varlen = ti->pdu_size_variable_part; in ndr_outer_conformant_array()
840 int is_union = NDR_IS_UNION(ti); in ndr_outer_conformant_array()
841 int is_string = NDR_IS_STRING(ti); in ndr_outer_conformant_array()
865 n_variable = ti->pdu_size_fixed_part * outer_ref->size_is; in ndr_outer_conformant_array()
939 myref.ti = outer_ref->ti; in ndr_outer_conformant_array()
964 ndr_typeinfo_t *ti = outer_ref->ti; in ndr_outer_conformant_construct() local
967 int is_varlen = ti->pdu_size_variable_part; in ndr_outer_conformant_construct()
968 int is_union = NDR_IS_UNION(ti); in ndr_outer_conformant_construct()
969 int is_string = NDR_IS_STRING(ti); in ndr_outer_conformant_construct()
988 n_fixed = ti->pdu_size_fixed_part; in ndr_outer_conformant_construct()
1037 n_variable = size_is * ti->pdu_size_variable_part; in ndr_outer_conformant_construct()
1069 myref.ti = outer_ref->ti; in ndr_outer_conformant_construct()
1097 ndr_typeinfo_t *ti = outer_ref->ti; in ndr_size_is() local
1120 n_fixed = ti->pdu_size_fixed_part; in ndr_size_is()
1121 n_variable = size_is * ti->pdu_size_variable_part; in ndr_size_is()
1165 ndr_typeinfo_t *ti = outer_ref->ti; in ndr_outer_string() local
1168 unsigned is_varlen = ti->pdu_size_variable_part; in ndr_outer_string()
1169 int is_union = NDR_IS_UNION(ti); in ndr_outer_string()
1170 int is_string = NDR_IS_STRING(ti); in ndr_outer_string()
1209 if (ti == &ndt_s_wchar) { in ndr_outer_string()
1299 if (ti == &ndt_s_wchar) { in ndr_outer_string()
1354 myref.ti = outer_ref->ti; in ndr_outer_string()
1470 if (outer_ref->packed_alignment && outer_ref->ti != &ndt_s_wchar) { in ndr_outer_align()
1471 align = outer_ref->ti->alignment; in ndr_outer_align()
1477 if ((outer_ref->ti->type_flags & NDR_F_FAKE) != 0 || n_pad == 0) in ndr_outer_align()
1563 n_pad = ((arg_ref->ti->alignment + 1) - arg_ref->pdu_offset) & in ndr_inner_align()
1564 arg_ref->ti->alignment; in ndr_inner_align()
1614 ndr_typeinfo_t *ti = arg_ref->ti; in ndr_inner() local
1615 int is_varlen = ti->pdu_size_variable_part; in ndr_inner()
1616 int is_union = NDR_IS_UNION(ti); in ndr_inner()
1634 (arg_ref->enclosing->ti->type_flags & NDR_F_FAKE) != 0 && in ndr_inner()
1644 return (*ti->ndr_func)(arg_ref); in ndr_inner()
1684 return (*ti->ndr_func)(arg_ref); in ndr_inner()
1801 ndr_typeinfo_t *ti = encl_ref->ti; in ndr_inner_array() local
1822 myref.ti = ti; in ndr_inner_array()
1828 myref.pdu_offset = pdu_offset + i * ti->pdu_size_fixed_part; in ndr_inner_array()
1829 myref.datum = encl_ref->datum + i * ti->c_size_fixed_part; in ndr_inner_array()
1936 myref.ti = type_under; in ndr_string_basic_integer()
2044 myref.ti = &ndt__wchar; in ndr_s_wchar()