Lines Matching refs:ti

241 ndo_process(ndr_stream_t *nds, ndr_typeinfo_t *ti, char *datum)
249 myref.ti = ti;
255 ndo_operation(ndr_stream_t *nds, ndr_typeinfo_t *ti, int opnum, char *datum)
263 myref.ti = ti;
267 if (ti->type_flags != NDR_F_INTERFACE) {
272 return ((*ti->ndr_func)(&myref));
278 ndr_typeinfo_t *ti = params_ref->ti;
280 if (ti->type_flags == NDR_F_OPERATION)
281 return (*ti->ndr_func) (params_ref);
290 ndr_typeinfo_t *ti;
300 assert(top_ref->ti);
303 ti = top_ref->ti;
305 is_varlen = ti->pdu_size_variable_part;
306 is_string = NDR_IS_STRING(ti);
320 n_fixed = ti->pdu_size_fixed_part;
332 n_fixed = ti->pdu_size_fixed_part * top_ref->dimension_is;
584 ndr_typeinfo_t *ti = outer_ref->ti;
585 int is_varlen = ti->pdu_size_variable_part;
586 int is_union = NDR_IS_UNION(ti);
587 int is_string = NDR_IS_STRING(ti);
652 ndr_typeinfo_t *ti = outer_ref->ti;
655 int is_varlen = ti->pdu_size_variable_part;
656 int is_union = NDR_IS_UNION(ti);
657 int is_string = NDR_IS_STRING(ti);
675 n_fixed = ti->pdu_size_fixed_part;
721 myref.ti = outer_ref->ti;
742 ndr_typeinfo_t *ti = outer_ref->ti;
745 int is_varlen = ti->pdu_size_variable_part;
746 int is_union = NDR_IS_UNION(ti);
747 int is_string = NDR_IS_STRING(ti);
765 n_fixed = ti->pdu_size_fixed_part * outer_ref->dimension_is;
811 myref.ti = outer_ref->ti;
833 ndr_typeinfo_t *ti = outer_ref->ti;
836 int is_varlen = ti->pdu_size_variable_part;
837 int is_union = NDR_IS_UNION(ti);
838 int is_string = NDR_IS_STRING(ti);
861 /* notice that it is the **fixed** size of the ti */
862 n_variable = ti->pdu_size_fixed_part * outer_ref->size_is;
936 myref.ti = outer_ref->ti;
961 ndr_typeinfo_t *ti = outer_ref->ti;
964 int is_varlen = ti->pdu_size_variable_part;
965 int is_union = NDR_IS_UNION(ti);
966 int is_string = NDR_IS_STRING(ti);
985 n_fixed = ti->pdu_size_fixed_part;
1034 n_variable = size_is * ti->pdu_size_variable_part;
1066 myref.ti = outer_ref->ti;
1094 ndr_typeinfo_t *ti = outer_ref->ti;
1117 n_fixed = ti->pdu_size_fixed_part;
1118 n_variable = size_is * ti->pdu_size_variable_part;
1162 ndr_typeinfo_t *ti = outer_ref->ti;
1165 unsigned is_varlen = ti->pdu_size_variable_part;
1166 int is_union = NDR_IS_UNION(ti);
1167 int is_string = NDR_IS_STRING(ti);
1206 if (ti == &ndt_s_wchar) {
1281 if (ti == &ndt_s_wchar) {
1336 myref.ti = outer_ref->ti;
1452 if (outer_ref->packed_alignment && outer_ref->ti != &ndt_s_wchar) {
1453 align = outer_ref->ti->alignment;
1535 * check. The underlying ti->ndr_func() could be called immediately
1545 ndr_typeinfo_t *ti = arg_ref->ti;
1546 int is_varlen = ti->pdu_size_variable_part;
1547 int is_union = NDR_IS_UNION(ti);
1559 return (*ti->ndr_func)(arg_ref);
1607 return (*ti->ndr_func)(arg_ref);
1726 ndr_typeinfo_t *ti = encl_ref->ti;
1747 myref.ti = ti;
1753 myref.pdu_offset = pdu_offset + i * ti->pdu_size_fixed_part;
1754 myref.datum = encl_ref->datum + i * ti->c_size_fixed_part;
1859 myref.ti = type_under;
1944 myref.ti = &ndt__wchar;