Lines Matching defs:state
77 static int parse_properties(pa_config_parser_state *state) {
81 pa_assert(state);
83 r = state->userdata;
85 if (!(n = pa_proplist_from_string(state->rvalue)))
97 static int parse_categories(pa_config_parser_state *state) {
102 pa_assert(state);
104 r = state->userdata;
106 while ((c = pa_split(state->rvalue, ";", &split_state))) {
122 static int check_type(pa_config_parser_state *state) {
123 pa_assert(state);
125 return pa_streq(state->rvalue, "Application") ? 0 : -1;
128 static int catch_all(pa_config_parser_state *state) {
185 const char *state = NULL;
193 while ((data_dir = pa_split(xdg_data_dirs, ":", &state))) {