• Home
  • Raw
  • Download

Lines Matching refs:fail

64     int (*proc) (pa_core *c, pa_tokenizer*t, pa_strbuf *buf, bool *fail);
83 static int pa_cli_command_exit(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
84 static int pa_cli_command_help(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
85 static int pa_cli_command_modules(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
86 static int pa_cli_command_clients(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
87 static int pa_cli_command_cards(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
88 static int pa_cli_command_sinks(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
89 static int pa_cli_command_sources(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
90 static int pa_cli_command_sink_inputs(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
91 static int pa_cli_command_source_outputs(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
92 static int pa_cli_command_stat(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
93 static int pa_cli_command_info(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
94 static int pa_cli_command_load(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
95 static int pa_cli_command_unload(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
96 static int pa_cli_command_describe(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
97 static int pa_cli_command_sink_volume(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
98 static int pa_cli_command_sink_input_volume(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail
99 …c int pa_cli_command_source_output_volume(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
100 static int pa_cli_command_source_volume(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
101 static int pa_cli_command_sink_mute(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
102 static int pa_cli_command_source_mute(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
103 static int pa_cli_command_sink_input_mute(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
104 …tic int pa_cli_command_source_output_mute(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
105 static int pa_cli_command_sink_default(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
106 static int pa_cli_command_source_default(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
107 static int pa_cli_command_kill_client(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
108 static int pa_cli_command_kill_sink_input(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
109 …tic int pa_cli_command_kill_source_output(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
110 static int pa_cli_command_scache_play(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
111 static int pa_cli_command_scache_remove(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
112 static int pa_cli_command_scache_list(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
113 static int pa_cli_command_scache_load(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
114 static int pa_cli_command_scache_load_dir(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
115 static int pa_cli_command_play_file(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
116 static int pa_cli_command_dump(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
117 static int pa_cli_command_list_shared_props(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail
118 static int pa_cli_command_move_sink_input(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
119 …tic int pa_cli_command_move_source_output(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
120 static int pa_cli_command_vacuum(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
121 static int pa_cli_command_suspend_sink(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
122 static int pa_cli_command_suspend_source(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
123 static int pa_cli_command_suspend(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
124 static int pa_cli_command_log_target(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
125 static int pa_cli_command_log_level(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
126 static int pa_cli_command_log_meta(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
127 static int pa_cli_command_log_time(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
128 static int pa_cli_command_log_backtrace(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
129 …c int pa_cli_command_update_sink_proplist(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
130 …int pa_cli_command_update_source_proplist(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
131 …pa_cli_command_update_sink_input_proplist(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
132 …cli_command_update_source_output_proplist(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
133 static int pa_cli_command_card_profile(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
134 static int pa_cli_command_sink_port(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
135 static int pa_cli_command_source_port(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
136 static int pa_cli_command_port_offset(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
137 static int pa_cli_command_dump_volumes(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail);
215 static int pa_cli_command_exit(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_exit() argument
219 pa_assert(fail); in pa_cli_command_exit()
227 static int pa_cli_command_help(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_help() argument
233 pa_assert(fail); in pa_cli_command_help()
243 static int pa_cli_command_modules(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_modules() argument
249 pa_assert(fail); in pa_cli_command_modules()
257 static int pa_cli_command_clients(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_clients() argument
263 pa_assert(fail); in pa_cli_command_clients()
271 static int pa_cli_command_cards(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_cards() argument
277 pa_assert(fail); in pa_cli_command_cards()
285 static int pa_cli_command_sinks(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_sinks() argument
291 pa_assert(fail); in pa_cli_command_sinks()
299 static int pa_cli_command_sources(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_sources() argument
305 pa_assert(fail); in pa_cli_command_sources()
313 static int pa_cli_command_sink_inputs(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_sink_inputs() argument
319 pa_assert(fail); in pa_cli_command_sink_inputs()
327 static int pa_cli_command_source_outputs(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_source_outputs() argument
333 pa_assert(fail); in pa_cli_command_source_outputs()
341 static int pa_cli_command_stat(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_stat() argument
360 pa_assert(fail); in pa_cli_command_stat()
404 static int pa_cli_command_info(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_info() argument
408 pa_assert(fail); in pa_cli_command_info()
410 pa_cli_command_stat(c, t, buf, fail); in pa_cli_command_info()
411 pa_cli_command_modules(c, t, buf, fail); in pa_cli_command_info()
412 pa_cli_command_sinks(c, t, buf, fail); in pa_cli_command_info()
413 pa_cli_command_sources(c, t, buf, fail); in pa_cli_command_info()
414 pa_cli_command_clients(c, t, buf, fail); in pa_cli_command_info()
415 pa_cli_command_cards(c, t, buf, fail); in pa_cli_command_info()
416 pa_cli_command_sink_inputs(c, t, buf, fail); in pa_cli_command_info()
417 pa_cli_command_source_outputs(c, t, buf, fail); in pa_cli_command_info()
418 pa_cli_command_scache_list(c, t, buf, fail); in pa_cli_command_info()
422 static int pa_cli_command_load(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_load() argument
430 pa_assert(fail); in pa_cli_command_load()
449 static int pa_cli_command_unload(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_unload() argument
458 pa_assert(fail); in pa_cli_command_unload()
489 static int pa_cli_command_describe(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_describe() argument
496 pa_assert(fail); in pa_cli_command_describe()
530 static int pa_cli_command_sink_volume(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_sink_volume() argument
539 pa_assert(fail); in pa_cli_command_sink_volume()
571 static int pa_cli_command_sink_input_volume(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail in pa_cli_command_sink_input_volume() argument
581 pa_assert(fail); in pa_cli_command_sink_input_volume()
623 static int pa_cli_command_source_volume(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_source_volume() argument
632 pa_assert(fail); in pa_cli_command_source_volume()
664 … int pa_cli_command_source_output_volume(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_source_output_volume() argument
674 pa_assert(fail); in pa_cli_command_source_output_volume()
716 static int pa_cli_command_sink_mute(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_sink_mute() argument
724 pa_assert(fail); in pa_cli_command_sink_mute()
750 static int pa_cli_command_source_mute(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_source_mute() argument
758 pa_assert(fail); in pa_cli_command_source_mute()
784 … int pa_cli_command_update_sink_proplist(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_update_sink_proplist() argument
792 pa_assert(fail); in pa_cli_command_update_sink_proplist()
821 …nt pa_cli_command_update_source_proplist(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_update_source_proplist() argument
829 pa_assert(fail); in pa_cli_command_update_source_proplist()
858 …a_cli_command_update_sink_input_proplist(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_update_sink_input_proplist() argument
867 pa_assert(fail); in pa_cli_command_update_sink_input_proplist()
901 …li_command_update_source_output_proplist(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_update_source_output_proplist() argument
910 pa_assert(fail); in pa_cli_command_update_source_output_proplist()
944 static int pa_cli_command_sink_input_mute(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_sink_input_mute() argument
953 pa_assert(fail); in pa_cli_command_sink_input_mute()
984 …ic int pa_cli_command_source_output_mute(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_source_output_mute() argument
993 pa_assert(fail); in pa_cli_command_source_output_mute()
1024 static int pa_cli_command_sink_default(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_sink_default() argument
1031 pa_assert(fail); in pa_cli_command_sink_default()
1046 static int pa_cli_command_source_default(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_source_default() argument
1053 pa_assert(fail); in pa_cli_command_source_default()
1067 static int pa_cli_command_kill_client(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_kill_client() argument
1075 pa_assert(fail); in pa_cli_command_kill_client()
1096 static int pa_cli_command_kill_sink_input(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_kill_sink_input() argument
1104 pa_assert(fail); in pa_cli_command_kill_sink_input()
1125 …ic int pa_cli_command_kill_source_output(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_kill_source_output() argument
1133 pa_assert(fail); in pa_cli_command_kill_source_output()
1154 static int pa_cli_command_scache_list(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_scache_list() argument
1160 pa_assert(fail); in pa_cli_command_scache_list()
1169 static int pa_cli_command_scache_play(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_scache_play() argument
1177 pa_assert(fail); in pa_cli_command_scache_play()
1199 static int pa_cli_command_scache_remove(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_scache_remove() argument
1205 pa_assert(fail); in pa_cli_command_scache_remove()
1220 static int pa_cli_command_scache_load(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_scache_load() argument
1227 pa_assert(fail); in pa_cli_command_scache_load()
1245 static int pa_cli_command_scache_load_dir(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_scache_load_dir() argument
1251 pa_assert(fail); in pa_cli_command_scache_load_dir()
1266 static int pa_cli_command_play_file(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_play_file() argument
1273 pa_assert(fail); in pa_cli_command_play_file()
1293 static int pa_cli_command_list_shared_props(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail in pa_cli_command_list_shared_props() argument
1297 pa_assert(fail); in pa_cli_command_list_shared_props()
1303 static int pa_cli_command_vacuum(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_vacuum() argument
1307 pa_assert(fail); in pa_cli_command_vacuum()
1314 static int pa_cli_command_move_sink_input(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_move_sink_input() argument
1323 pa_assert(fail); in pa_cli_command_move_sink_input()
1357 …ic int pa_cli_command_move_source_output(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_move_source_output() argument
1366 pa_assert(fail); in pa_cli_command_move_source_output()
1400 static int pa_cli_command_suspend_sink(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_suspend_sink() argument
1408 pa_assert(fail); in pa_cli_command_suspend_sink()
1438 static int pa_cli_command_suspend_source(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_suspend_source() argument
1446 pa_assert(fail); in pa_cli_command_suspend_source()
1476 static int pa_cli_command_suspend(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_suspend() argument
1483 pa_assert(fail); in pa_cli_command_suspend()
1506 static int pa_cli_command_log_target(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_log_target() argument
1513 pa_assert(fail); in pa_cli_command_log_target()
1543 static int pa_cli_command_log_level(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_log_level() argument
1550 pa_assert(fail); in pa_cli_command_log_level()
1567 static int pa_cli_command_log_meta(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_log_meta() argument
1574 pa_assert(fail); in pa_cli_command_log_meta()
1591 static int pa_cli_command_log_time(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_log_time() argument
1598 pa_assert(fail); in pa_cli_command_log_time()
1615 static int pa_cli_command_log_backtrace(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_log_backtrace() argument
1622 pa_assert(fail); in pa_cli_command_log_backtrace()
1639 static int pa_cli_command_card_profile(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_card_profile() argument
1647 pa_assert(fail); in pa_cli_command_card_profile()
1677 static int pa_cli_command_sink_port(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_sink_port() argument
1684 pa_assert(fail); in pa_cli_command_sink_port()
1709 static int pa_cli_command_source_port(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_source_port() argument
1716 pa_assert(fail); in pa_cli_command_source_port()
1741 static int pa_cli_command_port_offset(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_port_offset() argument
1750 pa_assert(fail); in pa_cli_command_port_offset()
1787 static int pa_cli_command_dump(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_dump() argument
1802 pa_assert(fail); in pa_cli_command_dump()
1881 static int pa_cli_command_dump_volumes(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) { in pa_cli_command_dump_volumes() argument
1893 pa_assert(fail); in pa_cli_command_dump_volumes()
2002 int pa_cli_command_execute_line_stateful(pa_core *c, const char *s, pa_strbuf *buf, bool *fail, int… in pa_cli_command_execute_line_stateful() argument
2034 *fail = true; in pa_cli_command_execute_line_stateful()
2036 *fail = false; in pa_cli_command_execute_line_stateful()
2047 if (*fail) in pa_cli_command_execute_line_stateful()
2055 if (*fail) in pa_cli_command_execute_line_stateful()
2095 … if (pa_cli_command_execute_file(c, sorted_files[i], buf, fail) < 0 && *fail) in pa_cli_command_execute_line_stateful()
2106 } else if (pa_cli_command_execute_file(c, filename, buf, fail) < 0 && *fail) { in pa_cli_command_execute_line_stateful()
2123 if (*fail) return -1; in pa_cli_command_execute_line_stateful()
2141 ret = command->proc(c, t, buf, fail); in pa_cli_command_execute_line_stateful()
2145 if (ret < 0 && *fail) in pa_cli_command_execute_line_stateful()
2153 if (*fail) in pa_cli_command_execute_line_stateful()
2161 int pa_cli_command_execute_line(pa_core *c, const char *s, pa_strbuf *buf, bool *fail) { in pa_cli_command_execute_line() argument
2162 return pa_cli_command_execute_line_stateful(c, s, buf, fail, NULL); in pa_cli_command_execute_line()
2165 int pa_cli_command_execute_file_stream(pa_core *c, FILE *f, pa_strbuf *buf, bool *fail) { in pa_cli_command_execute_file_stream() argument
2175 if (!fail) in pa_cli_command_execute_file_stream()
2176 fail = &_fail; in pa_cli_command_execute_file_stream()
2181 if (pa_cli_command_execute_line_stateful(c, line, buf, fail, &ifstate) < 0 && *fail) in pa_cli_command_execute_file_stream()
2182 goto fail; in pa_cli_command_execute_file_stream()
2187 fail: in pa_cli_command_execute_file_stream()
2192 int pa_cli_command_execute_file(pa_core *c, const char *fn, pa_strbuf *buf, bool *fail) { in pa_cli_command_execute_file() argument
2201 if (!fail) in pa_cli_command_execute_file()
2202 fail = &_fail; in pa_cli_command_execute_file()
2206 if (!*fail) in pa_cli_command_execute_file()
2208 goto fail; in pa_cli_command_execute_file()
2212 ret = pa_cli_command_execute_file_stream(c, f, buf, fail); in pa_cli_command_execute_file()
2214 fail: in pa_cli_command_execute_file()
2221 int pa_cli_command_execute(pa_core *c, const char *s, pa_strbuf *buf, bool *fail) { in pa_cli_command_execute() argument
2230 if (!fail) in pa_cli_command_execute()
2231 fail = &_fail; in pa_cli_command_execute()
2238 if (pa_cli_command_execute_line_stateful(c, line, buf, fail, &ifstate) < 0 && *fail) { in pa_cli_command_execute()