/external/libusb/tests/ |
D | testlib.c | 50 #define INVALID_FD -1 macro 84 if (ctx->old_stdout != INVALID_FD) { in cleanup_test_output() 86 ctx->old_stdout = INVALID_FD; in cleanup_test_output() 88 if (ctx->old_stderr != INVALID_FD) { in cleanup_test_output() 90 ctx->old_stderr = INVALID_FD; in cleanup_test_output() 92 if (ctx->null_fd != INVALID_FD) { in cleanup_test_output() 94 ctx->null_fd = INVALID_FD; in cleanup_test_output() 116 ctx->old_stdout = INVALID_FD; in setup_test_output() 122 ctx->old_stderr = INVALID_FD; in setup_test_output() 130 ctx->null_fd = INVALID_FD; in setup_test_output() [all …]
|
/external/tensorflow/tensorflow/core/platform/profile_utils/ |
D | android_armv7a_cpu_utils_helper.h | 43 static constexpr int INVALID_FD = -1; 56 int fd_{INVALID_FD};
|
D | android_armv7a_cpu_utils_helper.cc | 37 /* static */ constexpr int AndroidArmV7ACpuUtilsHelper::INVALID_FD; member in tensorflow::profile_utils::AndroidArmV7ACpuUtilsHelper 92 if (fd_ == INVALID_FD) { in InitializeInternal()
|
/external/ltp/testcases/kernel/io/disktest/ |
D | defs.h | 76 #define INVALID_FD(fd) (fd == INVALID_HANDLE_VALUE) macro 89 #define INVALID_FD(fd) (fd == -1) macro
|
D | dump.c | 191 if (INVALID_FD(fd)) { in do_dump()
|
D | sfunc.c | 534 if (INVALID_FD(fd)) { in get_file_size()
|
D | childmain.c | 638 if (INVALID_FD(fd)) { in ChildMain()
|
/external/python/cpython3/Modules/ |
D | signalmodule.c | 99 #define INVALID_FD ((SOCKET_T)-1) macro 105 } wakeup = {.fd = INVALID_FD, .warn_on_full_buffer = 1, .use_send = 0}; 107 #define INVALID_FD (-1) macro 111 } wakeup = {.fd = INVALID_FD, .warn_on_full_buffer = 1}; 261 if (fd != INVALID_FD) { in trip_signal() 573 if (sockfd != INVALID_FD) { in signal_set_wakeup_fd() 615 if (old_sockfd != INVALID_FD) in signal_set_wakeup_fd()
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | NativeCryptoTest.java | 95 private static final FileDescriptor INVALID_FD = new FileDescriptor(); field in NativeCryptoTest 1063 NativeCrypto.SSL_do_handshake(s, null, INVALID_FD, null, 0); in test_SSL_do_handshake_withNullShcShouldThrow() 2215 NativeCrypto.SSL_read(s, null, INVALID_FD, null, null, 0, 0, 0); in SSL_read_withNullCallbacksShouldThrow() 2227 NativeCrypto.SSL_read(s, null, INVALID_FD, DUMMY_CB, null, 0, 0, 0); in SSL_read_withNullBytesShouldThrow() 2239 NativeCrypto.SSL_read(s, null, INVALID_FD, DUMMY_CB, new byte[1], 0, 1, 0); in SSL_read_beforeHandshakeShouldThrow() 2333 NativeCrypto.SSL_write(s, null, INVALID_FD, null, null, 0, 1, 0); in SSL_write_withNullCallbacksShouldThrow() 2345 NativeCrypto.SSL_write(s, null, INVALID_FD, DUMMY_CB, null, 0, 1, 0); in SSL_write_withNullBytesShouldThrow() 2357 NativeCrypto.SSL_write(s, null, INVALID_FD, DUMMY_CB, new byte[1], 0, 1, 0); in SSL_write_beforeHandshakeShouldThrow() 2449 NativeCrypto.SSL_shutdown(sslSession, null, INVALID_FD, null); in SSL_shutdown_withNullCallbacksShouldThrow() 2457 NativeCrypto.SSL_shutdown(NULL, null, INVALID_FD, DUMMY_CB); in SSL_shutdown_withNullSslShouldSucceed() [all …]
|
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/ |
D | NativeCryptoTest.java | 99 private static final FileDescriptor INVALID_FD = new FileDescriptor(); field in NativeCryptoTest 1071 NativeCrypto.SSL_do_handshake(s, null, INVALID_FD, null, 0); in test_SSL_do_handshake_withNullShcShouldThrow() 2223 NativeCrypto.SSL_read(s, null, INVALID_FD, null, null, 0, 0, 0); in SSL_read_withNullCallbacksShouldThrow() 2235 NativeCrypto.SSL_read(s, null, INVALID_FD, DUMMY_CB, null, 0, 0, 0); in SSL_read_withNullBytesShouldThrow() 2247 NativeCrypto.SSL_read(s, null, INVALID_FD, DUMMY_CB, new byte[1], 0, 1, 0); in SSL_read_beforeHandshakeShouldThrow() 2341 NativeCrypto.SSL_write(s, null, INVALID_FD, null, null, 0, 1, 0); in SSL_write_withNullCallbacksShouldThrow() 2353 NativeCrypto.SSL_write(s, null, INVALID_FD, DUMMY_CB, null, 0, 1, 0); in SSL_write_withNullBytesShouldThrow() 2365 NativeCrypto.SSL_write(s, null, INVALID_FD, DUMMY_CB, new byte[1], 0, 1, 0); in SSL_write_beforeHandshakeShouldThrow() 2457 NativeCrypto.SSL_shutdown(sslSession, null, INVALID_FD, null); in SSL_shutdown_withNullCallbacksShouldThrow() 2465 NativeCrypto.SSL_shutdown(NULL, null, INVALID_FD, DUMMY_CB); in SSL_shutdown_withNullSslShouldSucceed() [all …]
|