Home
last modified time | relevance | path

Searched refs:oldflags (Results 1 – 12 of 12) sorted by relevance

/external/grpc-grpc/src/core/lib/iomgr/
Dsocket_utils_common_posix.cc52 int oldflags = fcntl(fd, F_GETFL, 0); in grpc_set_socket_nonblocking() local
53 if (oldflags < 0) { in grpc_set_socket_nonblocking()
58 oldflags |= O_NONBLOCK; in grpc_set_socket_nonblocking()
60 oldflags &= ~O_NONBLOCK; in grpc_set_socket_nonblocking()
63 if (fcntl(fd, F_SETFL, oldflags) != 0) { in grpc_set_socket_nonblocking()
126 int oldflags = fcntl(fd, F_GETFD, 0); in grpc_set_socket_cloexec() local
127 if (oldflags < 0) { in grpc_set_socket_cloexec()
132 oldflags |= FD_CLOEXEC; in grpc_set_socket_cloexec()
134 oldflags &= ~FD_CLOEXEC; in grpc_set_socket_cloexec()
137 if (fcntl(fd, F_SETFD, oldflags) != 0) { in grpc_set_socket_cloexec()
/external/igt-gpu-tools/benchmarks/
Dgem_userptr_benchmark.c128 uint32_t oldflags; in has_userptr() local
132 oldflags = userptr_flags; in has_userptr()
135 userptr_flags = oldflags; in has_userptr()
/external/libxml2/
Drelaxng.c4758 int newNs = 0, oldflags; in xmlRelaxNGProcessExternalRef() local
4804 oldflags = ctxt->flags; in xmlRelaxNGProcessExternalRef()
4807 ctxt->flags = oldflags; in xmlRelaxNGProcessExternalRef()
7315 int oldflags = ctxt->flags; in xmlRelaxNGCleanupTree() local
7325 ctxt->flags = oldflags; in xmlRelaxNGCleanupTree()
7332 ctxt->flags = oldflags; in xmlRelaxNGCleanupTree()
8173 int ret = 0, oldflags; in xmlRelaxNGValidateProgressiveCallback() local
8262 oldflags = ctxt->flags; in xmlRelaxNGValidateProgressiveCallback()
8288 ctxt->flags = oldflags; in xmlRelaxNGValidateProgressiveCallback()
8740 int ret = 0, oldflags; in xmlRelaxNGValidateValue() local
[all …]
/external/grpc-grpc/third_party/nanopb/tests/
DSConstruct39 oldflags = context.env['CCFLAGS']
44 context.env.Replace(CCFLAGS = oldflags)
/external/python/cpython2/Lib/test/
Dtest_sys.py268 oldflags = sys.getdlopenflags()
270 sys.setdlopenflags(oldflags+1)
271 self.assertEqual(sys.getdlopenflags(), oldflags+1)
272 sys.setdlopenflags(oldflags)
/external/nanopb-c/tests/
DSConstruct39 oldflags = context.env['CCFLAGS']
44 context.env.Replace(CCFLAGS = oldflags)
/external/libpcap/
Dpcap-linux.c1233 int oldflags; local
1315 oldflags = 0;
1321 oldflags = ifr.ifr_flags;
1324 oldflags = 0; /* didn't set, don't restore */
1348 if (oldflags != 0) {
1349 ifr.ifr_flags = oldflags;
5718 int oldflags; local
6040 oldflags = 0;
6042 oldflags = ifr.ifr_flags;
6063 ifr.ifr_flags = oldflags;
[all …]
/external/python/cpython3/Lib/test/
Dtest_sys.py343 oldflags = sys.getdlopenflags()
345 sys.setdlopenflags(oldflags+1)
346 self.assertEqual(sys.getdlopenflags(), oldflags+1)
347 sys.setdlopenflags(oldflags)
/external/libxaac/decoder/
Dixheaacd_sbrdec_lpfuncs.c522 WORD32 oldflags; in ixheaacd_map_sineflags() local
529 oldflags = *harm_flags_prev; in ixheaacd_map_sineflags()
539 if (oldflags) in ixheaacd_map_sineflags()
/external/igt-gpu-tools/tests/i915/
Dgem_userptr_blits.c452 uint32_t oldflags; in has_userptr() local
456 oldflags = userptr_flags; in has_userptr()
459 userptr_flags = oldflags; in has_userptr()
/external/python/cpython3/Doc/faq/
Dlibrary.rst208 oldflags = fcntl.fcntl(fd, fcntl.F_GETFL)
209 fcntl.fcntl(fd, fcntl.F_SETFL, oldflags | os.O_NONBLOCK)
220 fcntl.fcntl(fd, fcntl.F_SETFL, oldflags)
/external/python/cpython2/Doc/faq/
Dlibrary.rst203 oldflags = fcntl.fcntl(fd, fcntl.F_GETFL)
204 fcntl.fcntl(fd, fcntl.F_SETFL, oldflags | os.O_NONBLOCK)
214 fcntl.fcntl(fd, fcntl.F_SETFL, oldflags)