Lines Matching refs:qd_len
234 int qd_len = 0; in l3dss1_parse_facility() local
245 qd_len = *p++; in l3dss1_parse_facility()
246 if (qd_len == 0) { in l3dss1_parse_facility()
254 while (qd_len > 0 && !(*p & 0x80)) { /* extension ? */ in l3dss1_parse_facility()
256 qd_len--; in l3dss1_parse_facility()
258 if (qd_len < 2) { in l3dss1_parse_facility()
263 qd_len--; in l3dss1_parse_facility()
272 qd_len--; in l3dss1_parse_facility()
273 if (qd_len < 1) in l3dss1_parse_facility()
280 if ((qd_len-- < ((!nlen) ? 3 : (1 + nlen))) || in l3dss1_parse_facility()
287 qd_len--; in l3dss1_parse_facility()
290 { qd_len -= 2; /* trailing null bytes */ in l3dss1_parse_facility()
291 if ((*(p+qd_len)) || (*(p+qd_len+1))) in l3dss1_parse_facility()
295 nlen = qd_len; in l3dss1_parse_facility()
300 qd_len--; in l3dss1_parse_facility()
302 if (qd_len < nlen) in l3dss1_parse_facility()
306 qd_len -= nlen; in l3dss1_parse_facility()