Home
last modified time | relevance | path

Searched refs:INVALID_FD (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/core/platform/profile_utils/
Dandroid_armv7a_cpu_utils_helper.h44 static constexpr int INVALID_FD = -1;
57 int fd_{INVALID_FD};
Dandroid_armv7a_cpu_utils_helper.cc38 /* static */ constexpr int AndroidArmV7ACpuUtilsHelper::INVALID_FD; member in tensorflow::profile_utils::AndroidArmV7ACpuUtilsHelper
97 if (fd_ == INVALID_FD) { in InitializeInternal()
/external/ltp/testcases/kernel/io/disktest/
Ddefs.h76 #define INVALID_FD(fd) (fd == INVALID_HANDLE_VALUE) macro
89 #define INVALID_FD(fd) (fd == -1) macro
Ddump.c191 if (INVALID_FD(fd)) { in do_dump()
Dsfunc.c534 if (INVALID_FD(fd)) { in get_file_size()
Dchildmain.c638 if (INVALID_FD(fd)) { in ChildMain()
/external/python/cpython3/Modules/
Dsignalmodule.c113 #define INVALID_FD ((SOCKET_T)-1) macro
119 } wakeup = {.fd = INVALID_FD, .warn_on_full_buffer = 1, .use_send = 0};
121 #define INVALID_FD (-1) macro
125 } wakeup = {.fd = INVALID_FD, .warn_on_full_buffer = 1};
284 if (fd != INVALID_FD) { in trip_signal()
711 if (sockfd != INVALID_FD) { in signal_set_wakeup_fd()
754 if (old_sockfd != INVALID_FD) in signal_set_wakeup_fd()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DNativeCryptoTest.java95 private static final FileDescriptor INVALID_FD = new FileDescriptor(); field in NativeCryptoTest
1081 NativeCrypto.SSL_do_handshake(s, null, INVALID_FD, null, 0); in test_SSL_do_handshake_withNullShcShouldThrow()
2253 NativeCrypto.SSL_read(s, null, INVALID_FD, null, null, 0, 0, 0); in SSL_read_withNullCallbacksShouldThrow()
2265 NativeCrypto.SSL_read(s, null, INVALID_FD, DUMMY_CB, null, 0, 0, 0); in SSL_read_withNullBytesShouldThrow()
2277 NativeCrypto.SSL_read(s, null, INVALID_FD, DUMMY_CB, new byte[1], 0, 1, 0); in SSL_read_beforeHandshakeShouldThrow()
2371 NativeCrypto.SSL_write(s, null, INVALID_FD, null, null, 0, 1, 0); in SSL_write_withNullCallbacksShouldThrow()
2383 NativeCrypto.SSL_write(s, null, INVALID_FD, DUMMY_CB, null, 0, 1, 0); in SSL_write_withNullBytesShouldThrow()
2395 NativeCrypto.SSL_write(s, null, INVALID_FD, DUMMY_CB, new byte[1], 0, 1, 0); in SSL_write_beforeHandshakeShouldThrow()
2487 NativeCrypto.SSL_shutdown(sslSession, null, INVALID_FD, null); in SSL_shutdown_withNullCallbacksShouldThrow()
2495 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/
DNativeCryptoTest.java99 private static final FileDescriptor INVALID_FD = new FileDescriptor(); field in NativeCryptoTest
1090 NativeCrypto.SSL_do_handshake(s, null, INVALID_FD, null, 0); in test_SSL_do_handshake_withNullShcShouldThrow()
2262 NativeCrypto.SSL_read(s, null, INVALID_FD, null, null, 0, 0, 0); in SSL_read_withNullCallbacksShouldThrow()
2274 NativeCrypto.SSL_read(s, null, INVALID_FD, DUMMY_CB, null, 0, 0, 0); in SSL_read_withNullBytesShouldThrow()
2286 NativeCrypto.SSL_read(s, null, INVALID_FD, DUMMY_CB, new byte[1], 0, 1, 0); in SSL_read_beforeHandshakeShouldThrow()
2380 NativeCrypto.SSL_write(s, null, INVALID_FD, null, null, 0, 1, 0); in SSL_write_withNullCallbacksShouldThrow()
2392 NativeCrypto.SSL_write(s, null, INVALID_FD, DUMMY_CB, null, 0, 1, 0); in SSL_write_withNullBytesShouldThrow()
2404 NativeCrypto.SSL_write(s, null, INVALID_FD, DUMMY_CB, new byte[1], 0, 1, 0); in SSL_write_beforeHandshakeShouldThrow()
2496 NativeCrypto.SSL_shutdown(sslSession, null, INVALID_FD, null); in SSL_shutdown_withNullCallbacksShouldThrow()
2504 NativeCrypto.SSL_shutdown(NULL, null, INVALID_FD, DUMMY_CB); in SSL_shutdown_withNullSslShouldSucceed()
[all …]