Lines Matching defs:tip
116 elem_parse_td(ses2_td_hdr_impl_t *tip, const char *tp, nvlist_t *nvl)
122 tp, tip->sthi_text_len);
137 ses2_td_hdr_impl_t *tip, *ftip;
222 tip = ftip + i;
224 if (!SES_WITHIN_PAGE_STRUCT(tip, pp->ssp_page, pp->ssp_len))
228 tip->sthi_subenclosure_id);
230 idx += tip->sthi_max_elements + 1;
231 eidx += tip->sthi_max_elements;
232 toff += tip->sthi_text_len;
236 if (tip->sthi_element_type == SES_ET_ENCLOSURE) {
237 if (tip->sthi_max_elements == 0) {
249 if (tip->sthi_text_len > 0 &&
250 SES_WITHIN_PAGE(tp + toff, tip->sthi_text_len,
253 toff += tip->sthi_text_len;
260 if (enc_parse_td(tip, text, pnp->sn_props) != 0)
263 idx += tip->sthi_max_elements + 1;
264 eidx += tip->sthi_max_elements;
272 np->sn_enc_num = tip->sthi_subenclosure_id;
279 SES_PROP_ELEMENT_TYPE, tip->sthi_element_type);
281 if (tip->sthi_text_len > 0 &&
282 SES_WITHIN_PAGE(tp + toff, tip->sthi_text_len,
285 toff += tip->sthi_text_len;
290 if (elem_parse_td(tip, text, np->sn_props) != 0)
293 idx += tip->sthi_max_elements + 1;
295 if (tip->sthi_max_elements == 0)
298 for (j = 0; j < tip->sthi_max_elements; j++) {
311 SES_PROP_ELEMENT_TYPE, tip->sthi_element_type);
314 eidx += tip->sthi_max_elements;