Searched refs:oldflags (Results 1 – 10 of 10) sorted by relevance
/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/libxml2/ |
D | relaxng.c | 4758 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/ |
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/libpcap/ |
D | pcap-linux.c | 1233 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/nanopb-c/tests/ |
D | SConstruct | 39 oldflags = context.env['CCFLAGS'] 44 context.env.Replace(CCFLAGS = oldflags)
|
/external/python/cpython3/Lib/test/ |
D | test_sys.py | 316 oldflags = sys.getdlopenflags() 318 sys.setdlopenflags(oldflags+1) 319 self.assertEqual(sys.getdlopenflags(), oldflags+1) 320 sys.setdlopenflags(oldflags)
|
/external/libxaac/decoder/ |
D | ixheaacd_sbrdec_lpfuncs.c | 513 WORD32 oldflags; in ixheaacd_map_sineflags() local 520 oldflags = *harm_flags_prev; in ixheaacd_map_sineflags() 530 if (oldflags) in ixheaacd_map_sineflags()
|
/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)
|
/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)
|