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()
400 unsigned int cnt; in parse_tlist() local
406 cnt = 0; in parse_tlist()
407 while ((cnt < len) && in parse_tlist()
408 ((ptr[cnt] <= 32) || in parse_tlist()
409 (ptr[cnt] >= 127))) cnt++; in parse_tlist()
410 ptr += cnt; in parse_tlist()
411 len -= cnt; in parse_tlist()
418 cnt = 0; in parse_tlist()
419 while (cnt < len) { in parse_tlist()
420 if (ptr[cnt] <= 32) break; in parse_tlist()
421 if (ptr[cnt] >= 127) break; in parse_tlist()
422 cnt++; in parse_tlist()
424 if (!cnt) break; in parse_tlist()
425 if (parse_mtoken(ptr,cnt,&kv,names,valid_bits)) { in parse_tlist()
429 ptr += cnt; in parse_tlist()
430 len -= cnt; in parse_tlist()
460 unsigned int cnt; in pvr2_ctrl_sym_to_value() local
465 cnt = 0; in pvr2_ctrl_sym_to_value()
466 while ((cnt < len) && ((ptr[cnt] <= 32) || (ptr[cnt] >= 127))) cnt++; in pvr2_ctrl_sym_to_value()
467 len -= cnt; ptr += cnt; in pvr2_ctrl_sym_to_value()
468 cnt = 0; in pvr2_ctrl_sym_to_value()
469 while ((cnt < len) && ((ptr[len-(cnt+1)] <= 32) || in pvr2_ctrl_sym_to_value()
470 (ptr[len-(cnt+1)] >= 127))) cnt++; in pvr2_ctrl_sym_to_value()
471 len -= cnt; in pvr2_ctrl_sym_to_value()