Lines Matching +defs:val +defs:state
118 char *val, *p;
140 if (val = strchr(p, '=')) {
141 *val++ = 0;
142 skip_space(&val);
144 val[strlen(val) - 1] = 0;
148 SLPSetProperty(p, val ? val : "");
167 * On the first invocation, *state should == the value of the property
172 int slp_get_next_onlist(char **state) {
177 if (!*state)
180 if (**state == ',') {
181 (*state)++; /* skip the ',' */
183 p = *state;
184 *state = slp_utf_strchr(*state, ',');
185 if (!*state)
188 l = *state - p;