• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/MITKerberosShim-66/profile/

Lines Matching refs:retval

26 	errcode_t	retval = 0;
36 retval = profile_lock_global();
37 if (retval)
38 return retval;
50 retval = ENOMEM;
52 retval = pthread_mutex_init(&new_data->lock, NULL);
53 if (retval == 0) {
61 if (retval != 0) {
64 return retval;
71 retval = profile_update_file_data(file->data);
73 return retval;
86 errcode_t retval;
91 retval = rw_setup(profile);
92 if (retval)
93 return retval;
101 retval = pthread_mutex_lock(&profile->first_file->data->lock);
102 if (retval)
103 return retval;
107 retval = profile_find_node(section, *cpp, 0, 1,
109 if (retval) {
111 return retval;
116 retval = profile_find_node(section, *cpp, old_value, 0, &state, &node);
117 if (retval == 0) {
119 retval = profile_set_relation_value(node, new_value);
121 retval = profile_remove_node(node);
123 if (retval == 0)
127 return retval;
138 errcode_t retval;
143 retval = rw_setup(profile);
144 if (retval)
145 return retval;
153 retval = profile_find_node(section, *cpp, 0, 1,
155 if (retval)
156 return retval;
161 retval = profile_find_node(section, *cpp, 0, 0, &state, &node);
162 if (retval)
163 return retval;
164 retval = profile_remove_node(node);
165 if (retval)
166 return retval;
184 errcode_t retval;
189 retval = rw_setup(profile);
190 if (retval)
191 return retval;
196 retval = pthread_mutex_lock(&profile->first_file->data->lock);
197 if (retval)
198 return retval;
202 retval = profile_find_node(section, *cpp, 0, 1,
204 if (retval) {
206 return retval;
211 retval = profile_find_node(section, *cpp, 0, 1, &state, &node);
212 if (retval == 0) {
214 retval = profile_rename_node(node, new_name);
216 retval = profile_remove_node(node);
218 if (retval == 0)
221 return retval;
237 errcode_t retval;
242 retval = rw_setup(profile);
243 if (retval)
244 return retval;
249 retval = pthread_mutex_lock(&profile->first_file->data->lock);
250 if (retval)
251 return retval;
255 retval = profile_find_node(section, *cpp, 0, 1,
257 if (retval == PROF_NO_SECTION)
258 retval = profile_add_node(section, *cpp, 0, &section);
259 if (retval) {
261 return retval;
266 retval = profile_find_node(section, *cpp, 0, 1, &state, 0);
267 if (retval == 0) {
270 } else if (retval != PROF_NO_SECTION) {
272 return retval;
276 retval = profile_add_node(section, *cpp, new_value, 0);
277 if (retval) {
279 return retval;