Lines Matching defs:tmp
38 long tmp;
41 tmp = perc * (max - min);
42 tmp = tmp / 100 + ((tmp % 100) < 50 ? 0 : 1);
44 tmp = rint((double)perc * (double)(max - min) * 0.01);
46 if (tmp == 0 && perc > 0)
47 tmp++;
48 return tmp + min;
355 long tmp;
371 tmp = 0;
374 tmp = 1;
377 tmp = 1;
380 tmp = snd_ctl_elem_value_get_boolean(dst, idx);
381 tmp = tmp > 0 ? 0 : 1;
384 tmp = atoi(ptr) > 0 ? 1 : 0;
391 snd_ctl_elem_value_set_boolean(dst, idx, tmp);
394 tmp = get_integer(&ptr,
397 snd_ctl_elem_value_set_integer(dst, idx, tmp);
406 tmp = get_ctl_enum_item_index(handle, info, &ptr);
407 if (tmp < 0)
408 tmp = get_integer(&ptr, 0,
410 snd_ctl_elem_value_set_enumerated(dst, idx, tmp);
413 tmp = get_integer(&ptr, 0, 255);
414 snd_ctl_elem_value_set_byte(dst, idx, tmp);