Home
last modified time | relevance | path

Searched refs:save_errno (Results 1 – 25 of 34) sorted by relevance

12

/external/e2fsprogs/lib/e2p/
Dfgetflags.c73 int fd, r, f, save_errno = 0; in fgetflags() local
85 save_errno = errno; in fgetflags()
88 if (save_errno) in fgetflags()
89 errno = save_errno; in fgetflags()
93 save_errno = syscall(SYS_fsctl, name, EXT2_IOC_GETFLAGS, &f, 0); in fgetflags()
95 return (save_errno); in fgetflags()
Dfsetproject.c48 int fd, r, save_errno = 0; in fsetproject()
56 save_errno = errno; in fsetproject()
62 save_errno = errno; in fsetproject()
65 if (save_errno) in fsetproject()
66 errno = save_errno; in fsetproject()
Dfgetproject.c48 int fd, r, save_errno = 0; in fgetproject()
57 save_errno = errno; in fgetproject()
59 if (save_errno) in fgetproject()
60 errno = save_errno; in fgetproject()
Dfsetversion.c50 int fd, r, ver, save_errno = 0; in fsetversion() local
58 save_errno = errno; in fsetversion()
60 if (save_errno) in fsetversion()
61 errno = save_errno; in fsetversion()
Dfsetflags.c78 int fd, r, f, save_errno = 0; in fsetflags()
92 save_errno = errno; in fsetflags()
94 if (save_errno) in fsetflags()
95 errno = save_errno; in fsetflags()
Dfgetversion.c52 int fd, save_errno = 0; in fgetversion() local
60 save_errno = errno; in fgetversion()
63 errno = save_errno; in fgetversion()
/external/openssh/openbsd-compat/
Dgetcwd.c64 int save_errno; in getcwd() local
159 save_errno = 0; in getcwd()
177 if (!save_errno) in getcwd()
178 save_errno = errno; in getcwd()
224 errno = save_errno ? save_errno : ENOENT; in getcwd()
227 save_errno = errno; in getcwd()
235 errno = save_errno; in getcwd()
Dreadpassphrase.c65 int input, output, save_errno, i, need_restart; in readpassphrase() local
81 save_errno = 0; in readpassphrase()
154 save_errno = errno; in readpassphrase()
198 if (save_errno) in readpassphrase()
199 errno = save_errno; in readpassphrase()
/external/openssh/
Dsshconnect.h64 int save_errno = errno; \
68 errno = save_errno; \
72 int save_errno = errno; \
76 errno = save_errno; \
Dprogressmeter.c233 int save_errno; in update_progress_meter() local
235 save_errno = errno; in update_progress_meter()
246 errno = save_errno; in update_progress_meter()
/external/perf_data_converter/src/quipper/
Drun_command_test.cc52 int save_errno = errno; in TEST() local
54 EXPECT_EQ(ENOENT, save_errno); in TEST()
/external/elfutils/libasm/
Dasm_begin.c160 int save_errno = errno; in asm_begin() local
163 errno = save_errno; in asm_begin()
/external/blktrace/btt/
Dmisc.c89 int save_errno = errno; in increase_limit() local
100 errno = save_errno; in increase_limit()
/external/python/cpython3/Modules/
Dfaulthandler.c324 int save_errno = errno; in faulthandler_fatal_error() local
349 errno = save_errno; in faulthandler_fatal_error()
773 int save_errno = errno; in faulthandler_user() local
784 errno = save_errno; in faulthandler_user()
789 save_errno = errno; in faulthandler_user()
791 errno = save_errno; in faulthandler_user()
795 errno = save_errno; in faulthandler_user()
Dselectmodule.c994 int save_errno = 0; in devpoll_internal_close() local
1000 save_errno = errno; in devpoll_internal_close()
1003 return save_errno; in devpoll_internal_close()
1244 int save_errno = 0; in pyepoll_internal_close() local
1250 save_errno = errno; in pyepoll_internal_close()
1253 return save_errno; in pyepoll_internal_close()
1990 int save_errno = 0; in kqueue_queue_internal_close() local
1996 save_errno = errno; in kqueue_queue_internal_close()
1999 return save_errno; in kqueue_queue_internal_close()
Dsignalmodule.c195 int save_errno = errno; in report_wakeup_write_error() local
201 errno = save_errno; in report_wakeup_write_error()
303 int save_errno = errno; in signal_handler() local
327 errno = save_errno; in signal_handler()
/external/libpcap/
Dpcap-libdlpi.c325 int save_errno; in pcap_platform_finddevs() local
363 save_errno = errno; in pcap_platform_finddevs()
368 errno = save_errno; in pcap_platform_finddevs()
Dpcap-linux.c2715 int save_errno = errno; local
2717 switch (save_errno) {
2749 save_errno,
6365 int save_errno = errno; local
6368 switch (save_errno) {
6395 save_errno,
7013 int save_errno; local
7076 save_errno = errno;
7077 if (save_errno != EAGAIN) {
7087 PCAP_ERRBUF_SIZE, save_errno,
[all …]
/external/python/cpython2/Modules/
Dmain.c162 int save_errno; in RunStartupFile() local
163 save_errno = errno; in RunStartupFile()
165 errno = save_errno; in RunStartupFile()
Dselectmodule.c757 int save_errno = 0; in pyepoll_internal_close() local
763 save_errno = errno; in pyepoll_internal_close()
766 return save_errno; in pyepoll_internal_close()
1467 int save_errno = 0; in kqueue_queue_internal_close() local
1473 save_errno = errno; in kqueue_queue_internal_close()
1476 return save_errno; in kqueue_queue_internal_close()
/external/grpc-grpc/src/core/lib/iomgr/
Dsockaddr_utils.cc157 const int save_errno = errno; in grpc_sockaddr_to_string() local
197 errno = save_errno; in grpc_sockaddr_to_string()
/external/python/cpython2/Modules/_io/
Dfileio.c80 int save_errno = 0; in internal_close() local
89 save_errno = errno; in internal_close()
92 save_errno = errno; in internal_close()
97 errno = save_errno; in internal_close()
/external/libevent/
Dsignal.c379 int save_errno = errno; in evsig_handler() local
406 errno = save_errno; in evsig_handler()
/external/libusb/libusb/os/
Dsunos_usb.c899 int save_errno = errno; in usb_do_io() local
907 save_errno, strerror(save_errno)); in usb_do_io()
910 *status = save_errno; in usb_do_io()
913 return (save_errno); in usb_do_io()
/external/python/cpython3/Modules/_io/
Dfileio.c109 int save_errno = 0; in internal_close() local
118 save_errno = errno; in internal_close()
123 errno = save_errno; in internal_close()

12