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/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dsocket_utils_common_posix.cc72 int oldflags = fcntl(fd, F_GETFL, 0); in grpc_set_socket_nonblocking() local
73 if (oldflags < 0) { in grpc_set_socket_nonblocking()
78 oldflags |= O_NONBLOCK; in grpc_set_socket_nonblocking()
80 oldflags &= ~O_NONBLOCK; in grpc_set_socket_nonblocking()
83 if (fcntl(fd, F_SETFL, oldflags) != 0) { in grpc_set_socket_nonblocking()
153 int oldflags = fcntl(fd, F_GETFD, 0); in grpc_set_socket_cloexec() local
154 if (oldflags < 0) { in grpc_set_socket_cloexec()
159 oldflags |= FD_CLOEXEC; in grpc_set_socket_cloexec()
161 oldflags &= ~FD_CLOEXEC; in grpc_set_socket_cloexec()
164 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.c4764 int newNs = 0, oldflags; in xmlRelaxNGProcessExternalRef() local
4810 oldflags = ctxt->flags; in xmlRelaxNGProcessExternalRef()
4813 ctxt->flags = oldflags; in xmlRelaxNGProcessExternalRef()
7329 int oldflags = ctxt->flags; in xmlRelaxNGCleanupTree() local
7339 ctxt->flags = oldflags; in xmlRelaxNGCleanupTree()
7346 ctxt->flags = oldflags; in xmlRelaxNGCleanupTree()
8182 int ret = 0, oldflags; in xmlRelaxNGValidateProgressiveCallback() local
8271 oldflags = ctxt->flags; in xmlRelaxNGValidateProgressiveCallback()
8297 ctxt->flags = oldflags; in xmlRelaxNGValidateProgressiveCallback()
8749 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/
DSConstruct47 oldflags = context.env['CCFLAGS']
52 context.env.Replace(CCFLAGS = oldflags)
/external/python/cpython3/Lib/test/
Dtest_sys.py307 oldflags = sys.getdlopenflags()
309 sys.setdlopenflags(oldflags+1)
310 self.assertEqual(sys.getdlopenflags(), oldflags+1)
311 sys.setdlopenflags(oldflags)
/external/libxaac/decoder/
Dixheaacd_sbrdec_lpfuncs.c526 WORD32 oldflags; in ixheaacd_map_sineflags() local
533 oldflags = *harm_flags_prev; in ixheaacd_map_sineflags()
543 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)