Lines Matching refs:str
211 char *str;
217 str = av_malloc(size);
218 if (!str)
220 cle = clGetPlatformInfo(platform_id, key, size, str, &size);
222 av_free(str);
225 av_assert0(strlen(str) + 1 == size);
226 return str;
232 char *str;
238 str = av_malloc(size);
239 if (!str)
241 cle = clGetDeviceInfo(device_id, key, size, str, &size);
243 av_free(str);
246 av_assert0(strlen(str) + 1== size);
247 return str;
253 char *str;
255 str = opencl_get_platform_string(platform_id,
257 if (str && strstr(str, name))
259 av_free(str);
266 char *str;
268 str = opencl_get_device_string(device_id,
270 if (str && strstr(str, name))
272 av_free(str);
335 char *str;
344 str = opencl_get_platform_string(platform_id,
346 if (!str) {
352 if (!av_stristr(str, param->value)) {
354 param->key, str);
357 av_free(str);
410 char *str;
450 str = opencl_get_device_string(device_id,
452 if (!str) {
458 if (!av_stristr(str, param->value)) {
460 param->key, str);
463 av_free(str);