Lines Matching refs:rv
110 int rv; in export_fd_env() local
123 rv = -1; in export_fd_env()
145 rv = snprintf(fd_env, fd_env_bytes_remaining, "%d,", fd); in export_fd_env()
146 ASSERT(rv > 0); in export_fd_env()
147 fd_env += rv; in export_fd_env()
148 fd_env_bytes_remaining -= rv; in export_fd_env()
149 rv = snprintf(type_env, type_env_bytes_remaining, "%d,", filefd_mapped_file[fd]); in export_fd_env()
150 ASSERT(rv > 0); in export_fd_env()
151 type_env += rv; in export_fd_env()
152 type_env_bytes_remaining -= rv; in export_fd_env()
178 rv = 0; in export_fd_env()
190 rv = setenv(fd_env_name, fd_env_allocated, overwrite); in export_fd_env()
191 if (rv != 0) { in export_fd_env()
193 rv, fd_env_name, fd_env_allocated); in export_fd_env()
196 rv, fd_env_name, fd_env_allocated); in export_fd_env()
198 if (rv != 0) goto done; in export_fd_env()
200 rv = setenv(type_env_name, type_env_allocated, overwrite); in export_fd_env()
202 if (rv != 0) { in export_fd_env()
204 __func__, rv, type_env_name, type_env_allocated); in export_fd_env()
207 __func__, rv, type_env_name, type_env_allocated); in export_fd_env()
220 ALOGV("%s: return(rv:%d); }", __func__, rv); in export_fd_env()
221 return rv; in export_fd_env()
236 int rv = 0; in import_fd_env() local
332 ALOGV("%s: return(rv:%d); }", __func__, rv); in import_fd_env()
333 return rv; in import_fd_env()
342 int rv; in linker_import_fd_env() local
348 rv = import_fd_env(verify_consistancy); /* File type table not verified. */ in linker_import_fd_env()
419 int rv; in WRAP() local
424 rv = REAL(close)(fd); in WRAP()
427 ALOGV("%s: return(rv:%d); }", __func__, rv); in WRAP()
428 return rv; in WRAP()
434 int rv; in WRAP() local
451 rv = REAL(read)(fd, buf, count); in WRAP()
457 rv = read_signalfd_mapper(fd, buf, count); in WRAP()
459 rv = REAL(read)(fd, buf, count); in WRAP()
465 rv = REAL(read)(fd, buf, count); in WRAP()
469 ALOGV("%s: return(rv:%d); }", __func__, rv); in WRAP()
470 return rv; in WRAP()
481 int rv; in WRAP() local
496 rv = REAL(execve)(filename, argv, envp); in WRAP()
498 ALOGV("%s: return(rv:%d); }", __func__, rv); in WRAP()
499 return rv; in WRAP()