Lines Matching refs:rv

83 	int rv;  in prop_array_externalize_to_pref()  local
85 rv = _prop_object_externalize_to_pref(array, prefp, &buf); in prop_array_externalize_to_pref()
86 if (rv != 0) in prop_array_externalize_to_pref()
87 errno = rv; /* pass up error value in errno */ in prop_array_externalize_to_pref()
88 return (rv == 0); in prop_array_externalize_to_pref()
109 int rv; in prop_dictionary_externalize_to_pref() local
111 rv = _prop_object_externalize_to_pref(dict, prefp, &buf); in prop_dictionary_externalize_to_pref()
112 if (rv != 0) in prop_dictionary_externalize_to_pref()
113 errno = rv; /* pass up error value in errno */ in prop_dictionary_externalize_to_pref()
114 return (rv == 0); in prop_dictionary_externalize_to_pref()
159 int rv; in prop_array_send_ioctl() local
161 rv = _prop_object_send_ioctl(array, fd, cmd); in prop_array_send_ioctl()
162 if (rv != 0) { in prop_array_send_ioctl()
163 errno = rv; /* pass up error value in errno */ in prop_array_send_ioctl()
164 return rv; in prop_array_send_ioctl()
176 int rv; in prop_dictionary_send_ioctl() local
178 rv = _prop_object_send_ioctl(dict, fd, cmd); in prop_dictionary_send_ioctl()
179 if (rv != 0) { in prop_dictionary_send_ioctl()
180 errno = rv; /* pass up error value in errno */ in prop_dictionary_send_ioctl()
181 return rv; in prop_dictionary_send_ioctl()
233 int rv; in prop_array_internalize_from_pref() local
235 rv = _prop_object_internalize_from_pref(prefp, PROP_TYPE_ARRAY, in prop_array_internalize_from_pref()
237 if (rv != 0) in prop_array_internalize_from_pref()
238 errno = rv; /* pass up error value in errno */ in prop_array_internalize_from_pref()
239 return (rv == 0); in prop_array_internalize_from_pref()
264 int rv; in prop_dictionary_internalize_from_pref() local
266 rv = _prop_object_internalize_from_pref(prefp, PROP_TYPE_DICTIONARY, in prop_dictionary_internalize_from_pref()
268 if (rv != 0) in prop_dictionary_internalize_from_pref()
269 errno = rv; /* pass up error value in errno */ in prop_dictionary_internalize_from_pref()
270 return (rv == 0); in prop_dictionary_internalize_from_pref()
295 int rv; in prop_array_recv_ioctl() local
298 rv = ioctl(fd, cmd, &pref); in prop_array_recv_ioctl()
299 if (rv == -1) in prop_array_recv_ioctl()
302 rv = _prop_object_internalize_from_pref(&pref, PROP_TYPE_ARRAY, in prop_array_recv_ioctl()
304 if (rv != 0) { in prop_array_recv_ioctl()
305 errno = rv; /* pass up error value in errno */ in prop_array_recv_ioctl()
306 return rv; in prop_array_recv_ioctl()
318 int rv; in prop_dictionary_recv_ioctl() local
321 rv = ioctl(fd, cmd, &pref); in prop_dictionary_recv_ioctl()
322 if (rv == -1) in prop_dictionary_recv_ioctl()
325 rv = _prop_object_internalize_from_pref(&pref, PROP_TYPE_DICTIONARY, in prop_dictionary_recv_ioctl()
327 if (rv != 0) { in prop_dictionary_recv_ioctl()
328 errno = rv; /* pass up error value in errno */ in prop_dictionary_recv_ioctl()
329 return rv; in prop_dictionary_recv_ioctl()