/external/grpc-grpc/src/core/lib/iomgr/ |
D | socket_utils_common_posix.cc | 52 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/ |
D | socket_utils_common_posix.cc | 72 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/ |
D | gem_userptr_benchmark.c | 128 uint32_t oldflags; in has_userptr() local 132 oldflags = userptr_flags; in has_userptr() 135 userptr_flags = oldflags; in has_userptr()
|
/external/libxml2/ |
D | relaxng.c | 4764 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/ |
D | SConstruct | 39 oldflags = context.env['CCFLAGS'] 44 context.env.Replace(CCFLAGS = oldflags)
|
/external/python/cpython2/Lib/test/ |
D | test_sys.py | 268 oldflags = sys.getdlopenflags() 270 sys.setdlopenflags(oldflags+1) 271 self.assertEqual(sys.getdlopenflags(), oldflags+1) 272 sys.setdlopenflags(oldflags)
|
/external/nanopb-c/tests/ |
D | SConstruct | 47 oldflags = context.env['CCFLAGS'] 52 context.env.Replace(CCFLAGS = oldflags)
|
/external/python/cpython3/Lib/test/ |
D | test_sys.py | 307 oldflags = sys.getdlopenflags() 309 sys.setdlopenflags(oldflags+1) 310 self.assertEqual(sys.getdlopenflags(), oldflags+1) 311 sys.setdlopenflags(oldflags)
|
/external/libxaac/decoder/ |
D | ixheaacd_sbrdec_lpfuncs.c | 526 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/ |
D | gem_userptr_blits.c | 452 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/ |
D | library.rst | 208 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/ |
D | library.rst | 203 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)
|