Searched refs:oldflags (Results 1 – 12 of 12) 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/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 | 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/nanopb-c/tests/ |
D | SConstruct | 39 oldflags = context.env['CCFLAGS'] 44 context.env.Replace(CCFLAGS = 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/python/cpython3/Lib/test/ |
D | test_sys.py | 343 oldflags = sys.getdlopenflags() 345 sys.setdlopenflags(oldflags+1) 346 self.assertEqual(sys.getdlopenflags(), oldflags+1) 347 sys.setdlopenflags(oldflags)
|
/external/libxaac/decoder/ |
D | ixheaacd_sbrdec_lpfuncs.c | 522 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/ |
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)
|