Lines Matching refs:cnt
298 unsigned int uc,cnt; in gen_bitmask_string() local
309 cnt = scnprintf(ptr,len,"%s%s%s", in gen_bitmask_string()
314 ptr += cnt; len -= cnt; uc += cnt; in gen_bitmask_string()
323 cnt = scnprintf(ptr,len,"%s0x%lx", in gen_bitmask_string()
326 ptr += cnt; len -= cnt; uc += cnt; in gen_bitmask_string()
329 cnt = scnprintf(ptr,len,"%s+0x%lx", in gen_bitmask_string()
332 ptr += cnt; len -= cnt; uc += cnt; in gen_bitmask_string()
335 cnt = scnprintf(ptr,len,"%s+0x%lx", in gen_bitmask_string()
338 ptr += cnt; len -= cnt; uc += cnt; in gen_bitmask_string()
421 unsigned int cnt; in parse_tlist() local
427 cnt = 0; in parse_tlist()
428 while ((cnt < len) && in parse_tlist()
429 ((ptr[cnt] <= 32) || in parse_tlist()
430 (ptr[cnt] >= 127))) cnt++; in parse_tlist()
431 ptr += cnt; in parse_tlist()
432 len -= cnt; in parse_tlist()
439 cnt = 0; in parse_tlist()
440 while (cnt < len) { in parse_tlist()
441 if (ptr[cnt] <= 32) break; in parse_tlist()
442 if (ptr[cnt] >= 127) break; in parse_tlist()
443 cnt++; in parse_tlist()
445 if (!cnt) break; in parse_tlist()
446 if (parse_mtoken(ptr,cnt,&kv,names,valid_bits)) { in parse_tlist()
450 ptr += cnt; in parse_tlist()
451 len -= cnt; in parse_tlist()
481 unsigned int cnt; in pvr2_ctrl_sym_to_value() local
486 cnt = 0; in pvr2_ctrl_sym_to_value()
487 while ((cnt < len) && ((ptr[cnt] <= 32) || (ptr[cnt] >= 127))) cnt++; in pvr2_ctrl_sym_to_value()
488 len -= cnt; ptr += cnt; in pvr2_ctrl_sym_to_value()
489 cnt = 0; in pvr2_ctrl_sym_to_value()
490 while ((cnt < len) && ((ptr[len-(cnt+1)] <= 32) || in pvr2_ctrl_sym_to_value()
491 (ptr[len-(cnt+1)] >= 127))) cnt++; in pvr2_ctrl_sym_to_value()
492 len -= cnt; in pvr2_ctrl_sym_to_value()