Lines Matching refs:qd_len
224 int qd_len = 0; in l3dss1_parse_facility() local
235 qd_len = *p++; in l3dss1_parse_facility()
236 if (qd_len == 0) { in l3dss1_parse_facility()
244 while (qd_len > 0 && !(*p & 0x80)) { /* extension ? */ in l3dss1_parse_facility()
246 qd_len--; in l3dss1_parse_facility()
248 if (qd_len < 2) { in l3dss1_parse_facility()
253 qd_len--; in l3dss1_parse_facility()
262 qd_len--; in l3dss1_parse_facility()
263 if (qd_len < 1) in l3dss1_parse_facility()
270 if ((qd_len-- < ((!nlen) ? 3 : (1 + nlen))) || in l3dss1_parse_facility()
277 qd_len--; in l3dss1_parse_facility()
280 { qd_len -= 2; /* trailing null bytes */ in l3dss1_parse_facility()
281 if ((*(p + qd_len)) || (*(p + qd_len + 1))) in l3dss1_parse_facility()
285 nlen = qd_len; in l3dss1_parse_facility()
290 qd_len--; in l3dss1_parse_facility()
292 if (qd_len < nlen) in l3dss1_parse_facility()
296 qd_len -= nlen; in l3dss1_parse_facility()