Lines Matching refs:psize
280 if (param == NULL || param->psize == 0 || param->vsize == 0) { in setParameter()
285 uint32_t psize = ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + param->vsize; in setParameter() local
288 (param->psize == 8) ? *((int *)param->data + 1): -1); in setParameter()
290 return mIEffect->command(EFFECT_CMD_SET_PARAM, sizeof (effect_param_t) + psize, param, &size, in setParameter()
300 if (param == NULL || param->psize == 0 || param->vsize == 0) { in setParameterDeferred()
306 int psize = ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + param->vsize; in setParameterDeferred() local
307 int size = ((sizeof(effect_param_t) + psize - 1) / sizeof(int) + 1) * sizeof(int); in setParameterDeferred()
314 memcpy(p, param, sizeof(effect_param_t) + psize); in setParameterDeferred()
340 if (param == NULL || param->psize == 0 || param->vsize == 0) { in getParameter()
345 (param->psize == 8) ? *((int *)param->data + 1): -1); in getParameter()
347 uint32_t psize = sizeof(effect_param_t) + ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + in getParameter() local
350 return mIEffect->command(EFFECT_CMD_GET_PARAM, sizeof(effect_param_t) + param->psize, param, in getParameter()
351 &psize, param); in getParameter()