Lines Matching defs:err

146 	int err;
154 err = snd_tplg_load(*tplg, config, config_size);
155 if (err < 0) {
157 snd_strerror(-err));
224 int err;
226 err = load(source_file, (void **)&config, &size);
227 if (err)
228 return err;
229 err = load_topology(&tplg, config, size, cflags);
231 if (err)
232 return err;
233 err = snd_tplg_save(tplg, &text, sflags);
235 if (err < 0) {
237 snd_strerror(-err));
240 err = save(output_file, text, strlen(text));
242 return err;
265 int err;
267 err = load(source_file, (void **)&config, &config_size);
268 if (err)
269 return err;
273 err = init_pre_processor(tplg_pp, output_type, output_file);
274 if (err < 0) {
277 return err;
285 err = pre_process(*tplg_pp, config, config_size, pre_processor_defs, inc_path);
288 if (err < 0)
291 return err;
299 int err;
301 err = pre_process_run(&tplg_pp, source_file, output_file,
303 if (err < 0)
304 return err;
308 return err;
319 int err;
321 err = load(source_file, (void **)&config, &config_size);
322 if (err)
323 return err;
330 err = pre_process_run(&tplg_pp, source_file, NULL,
332 if (err < 0)
333 return err;
337 err = load_topology(&tplg, pconfig, size, cflags);
342 err = load_topology(&tplg, config, config_size, cflags);
345 if (err)
346 return err;
347 err = snd_tplg_build_bin(tplg, &bin, &size);
349 if (err < 0 || size == 0) {
351 source_file, snd_strerror(-err));
354 err = save(output_file, bin, size);
356 return err;
366 int err;
375 err = snd_tplg_decode(tplg, bin, size, dflags);
377 if (err < 0) {
380 source_file, snd_strerror(-err));
383 err = snd_tplg_save(tplg, &text, sflags);
385 if (err < 0) {
387 snd_strerror(-err));
390 err = save(output_file, text, strlen(text));
392 return err;
442 int c, err, op = 'c', cflags = 0, dflags = 0, sflags = 0, option_index;
449 err = snd_output_stdio_attach(&log, stderr, 0);
450 assert(err >= 0);
537 err = compile(source_file, output_file, cflags, pre_processor_defs, inc_path);
540 err = decode(source_file, output_file, cflags, dflags, sflags);
543 err = pre_process_conf(source_file, output_file, pre_processor_defs, inc_path);
546 err = dump(source_file, output_file, cflags, sflags);
552 return err ? 1 : 0;