Lines Matching refs:vsize
213 if (p->vsize < sizeof(int16_t)) in equalizer_get_parameter()
215 p->vsize = sizeof(int16_t); in equalizer_get_parameter()
219 if (p->vsize < 2 * sizeof(int16_t)) in equalizer_get_parameter()
221 p->vsize = 2 * sizeof(int16_t); in equalizer_get_parameter()
224 if (p->vsize < 2 * sizeof(int32_t)) in equalizer_get_parameter()
226 p->vsize = 2 * sizeof(int32_t); in equalizer_get_parameter()
230 if (p->vsize < sizeof(int32_t)) in equalizer_get_parameter()
232 p->vsize = sizeof(int32_t); in equalizer_get_parameter()
239 if (p->vsize < (2 + NUM_EQ_BANDS) * sizeof(uint16_t)) in equalizer_get_parameter()
241 p->vsize = (2 + NUM_EQ_BANDS) * sizeof(uint16_t); in equalizer_get_parameter()
248 *size = sizeof(effect_param_t) + voffset + p->vsize; in equalizer_get_parameter()
338 if (p->vsize < 1) { in equalizer_get_parameter()
345 strlcpy(name, equalizer_get_preset_name(eq_ctxt, param2), p->vsize - 1); in equalizer_get_parameter()
346 name[p->vsize - 1] = 0; in equalizer_get_parameter()
347 p->vsize = strlen(name) + 1; in equalizer_get_parameter()
374 uint32_t vsize = p->vsize; in equalizer_set_parameter() local
389 if (vsize < sizeof(int16_t)) { in equalizer_set_parameter()
403 if (vsize < sizeof(int16_t)) { in equalizer_set_parameter()
421 if (vsize < sizeof(int16_t)) { in equalizer_set_parameter()
433 if (vsize < (2 + NUM_EQ_BANDS) * sizeof(int16_t)) { in equalizer_set_parameter()
436 vsize, (unsigned int)((2 + NUM_EQ_BANDS) * sizeof(int16_t))); in equalizer_set_parameter()