Lines Matching refs:retval

130 	errcode_t		retval;  in profile_get_values()  local
135 if ((retval = profile_node_iterator_create(profile, names, in profile_get_values()
138 return retval; in profile_get_values()
140 if ((retval = init_list(&values))) in profile_get_values()
141 return retval; in profile_get_values()
144 if ((retval = profile_node_iterator(&state, 0, 0, &value))) in profile_get_values()
151 retval = PROF_NO_RELATION; in profile_get_values()
160 return retval; in profile_get_values()
170 errcode_t retval; in profile_get_value() local
174 if ((retval = profile_node_iterator_create(profile, names, in profile_get_value()
177 return retval; in profile_get_value()
179 if ((retval = profile_node_iterator(&state, 0, 0, &value))) in profile_get_value()
185 retval = PROF_NO_RELATION; in profile_get_value()
189 return retval; in profile_get_value()
198 errcode_t retval; in profile_get_string() local
206 retval = profile_get_value(profile, names, &value); in profile_get_string()
207 if (retval == PROF_NO_SECTION || retval == PROF_NO_RELATION) in profile_get_string()
209 else if (retval) in profile_get_string()
210 return retval; in profile_get_string()
229 errcode_t retval; in profile_get_integer() local
242 retval = profile_get_value(profile, names, &value); in profile_get_integer()
243 if (retval == PROF_NO_SECTION || retval == PROF_NO_RELATION) { in profile_get_integer()
246 } else if (retval) in profile_get_integer()
247 return retval; in profile_get_integer()
310 errcode_t retval; in profile_get_boolean() local
322 retval = profile_get_value(profile, names, &value); in profile_get_boolean()
323 if (retval == PROF_NO_SECTION || retval == PROF_NO_RELATION) { in profile_get_boolean()
326 } else if (retval) in profile_get_boolean()
327 return retval; in profile_get_boolean()
340 errcode_t retval; in profile_get_subsection_names() local
345 if ((retval = profile_node_iterator_create(profile, names, in profile_get_subsection_names()
348 return retval; in profile_get_subsection_names()
350 if ((retval = init_list(&values))) in profile_get_subsection_names()
351 return retval; in profile_get_subsection_names()
354 if ((retval = profile_node_iterator(&state, 0, &name, 0))) in profile_get_subsection_names()
365 return retval; in profile_get_subsection_names()
376 errcode_t retval; in profile_get_relation_names() local
381 if ((retval = profile_node_iterator_create(profile, names, in profile_get_relation_names()
384 return retval; in profile_get_relation_names()
386 if ((retval = init_list(&values))) in profile_get_relation_names()
387 return retval; in profile_get_relation_names()
390 if ((retval = profile_node_iterator(&state, 0, &name, 0))) in profile_get_relation_names()
401 return retval; in profile_get_relation_names()
421 errcode_t retval; in profile_iterator() local
423 retval = profile_node_iterator(iter_p, 0, &name, &value); in profile_iterator()
424 if (retval) in profile_iterator()
425 return retval; in profile_iterator()