| /openbmc/phosphor-bmc-code-mgmt/common/src/ |
| H A D | utils.cpp | 23 close(exitPipefd[0]); in asyncSystem() 27 close(resultPipefd[0]); in asyncSystem() 30 close(resultPipefd[1]); in asyncSystem() 36 close(exitPipefd[1]); in asyncSystem() 41 close(exitPipefd[1]); in asyncSystem() 45 close(resultPipefd[1]); in asyncSystem() 54 close(exitPipefd[0]); in asyncSystem() 70 close(resultPipefd[0]); in asyncSystem() 75 close(exitPipefd[0]); in asyncSystem() 105 close(exitPipefd[0]); in asyncSystem() [all …]
|
| /openbmc/phosphor-ipmi-flash/tools/ |
| H A D | io.cpp | 37 sys->close(devMemFd); in read() 47 /* Close the map between reads for now. */ in read() 49 sys->close(devMemFd); in read() 77 sys->close(devMemFd); in write() 87 /* Close the map between writes for now. */ in write() 89 sys->close(devMemFd); in write() 96 // Attempt to close in case reads or writes didn't close themselves in ~PpcMemDevice() 97 close(); in ~PpcMemDevice() 100 void PpcMemDevice::close() in close() function in host_tool::PpcMemDevice 104 sys->close(ppcMemFd); in close() [all …]
|
| /openbmc/pldm/oem/meta/libpldmresponder/ |
| H A D | file_io_type_http_boot.cpp | 61 close(fd); in read() 69 close(fd); in read() 79 close(fd); in read() 88 close(fd); in read() 97 close(fd); in read() 108 close(fd); in read() 121 close(fd); in read() 141 close(fd); in read() 152 close(fd); in read() 165 close(fd); in read() [all …]
|
| /openbmc/phosphor-ipmi-flash/bmc/version-handler/test/ |
| H A D | version_close_unittest.cpp | 36 EXPECT_TRUE(h->close(0)); in TEST_F() 44 EXPECT_TRUE(h->close(0)); in TEST_F() 46 EXPECT_TRUE(h->close(1)); in TEST_F() 51 EXPECT_FALSE(h->close(0)); in TEST_F() 59 EXPECT_TRUE(h->close(0)); in TEST_F() 60 EXPECT_FALSE(h->close(0)); in TEST_F() 67 EXPECT_FALSE(h->close(1)); in TEST_F() 69 EXPECT_TRUE(h->close(0)); in TEST_F() 77 EXPECT_TRUE(h->close(0)); in TEST_F()
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/core/ |
| H A D | 0006-adb-Musl-fixes.patch | 8 Do not redefine close() and lseek() 100 return close(fd); 102 -#undef close 103 -#define close ____xxx_close 104 +//#undef close 105 +//#define close ____xxx_close 111 return close(fd); 113 -#undef close 114 -#define close ____xxx_close 115 +//#undef close [all …]
|
| /openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/ |
| H A D | firmware_close_unittest.cpp | 46 /* Set up close() expectations. */ in TEST_F() 47 EXPECT_CALL(*dataMock, close()); in TEST_F() 48 EXPECT_CALL(*hashImageMock, close()); in TEST_F() 49 EXPECT_TRUE(handler->close(0)); in TEST_F() 51 /* Close does not delete the active blob id. This indicates that there is in TEST_F() 76 /* Set up close() expectations. */ in TEST_F() 77 EXPECT_CALL(*hashImageMock, close()); in TEST_F() 78 EXPECT_TRUE(handler->close(0)); in TEST_F()
|
| /openbmc/phosphor-ipmi-flash/bmc/log-handler/test/ |
| H A D | log_close_unittest.cpp | 50 EXPECT_TRUE(h->close(0)); in TEST_F() 58 EXPECT_TRUE(h->close(0)); in TEST_F() 60 EXPECT_TRUE(h->close(1)); in TEST_F() 65 EXPECT_FALSE(h->close(0)); in TEST_F() 73 EXPECT_TRUE(h->close(0)); in TEST_F() 74 EXPECT_FALSE(h->close(0)); in TEST_F() 81 EXPECT_FALSE(h->close(1)); in TEST_F() 83 EXPECT_TRUE(h->close(0)); in TEST_F() 91 EXPECT_TRUE(h->close(0)); in TEST_F()
|
| /openbmc/gpioplus/test/internal/ |
| H A D | fd.cpp | 50 EXPECT_CALL(mock, close(expected_fd)).WillOnce(Return(0)); in TEST_F() 66 EXPECT_CALL(mock, close(expected_fd2)).WillOnce(Return(0)); in TEST_F() 96 EXPECT_CALL(mock, close(expected_fd)) in TEST_F() 112 EXPECT_CALL(mock, close(expected_fd)).WillOnce(Return(0)); in TEST_F() 133 EXPECT_CALL(mock, close(expected_fd2)).WillOnce(Return(0)); in TEST_F() 136 EXPECT_CALL(mock, close(expected_fd)).WillOnce(Return(0)); in TEST_F() 145 EXPECT_CALL(mock, close(expected_fd)).WillOnce(Return(0)); in TEST_F() 153 EXPECT_CALL(mock2, close(expected_fd2)).WillOnce(Return(0)); in TEST_F() 161 EXPECT_CALL(mock, close(expected_fd3)).WillOnce(Return(0)); in TEST_F() 164 EXPECT_CALL(mock, close(expected_fd)).WillOnce(Return(0)); in TEST_F() [all …]
|
| /openbmc/phosphor-ipmi-blobs/test/ |
| H A D | manager_close_unittest.cpp | 14 // Calling Close on a session that doesn't exist should return false. in TEST() 19 EXPECT_FALSE(mgr.close(sess)); in TEST() 38 EXPECT_CALL(*m1ptr, close(sess)).WillOnce(Return(false)); in TEST() 40 EXPECT_FALSE(mgr.close(sess)); in TEST() 62 EXPECT_CALL(*m1ptr, close(sess)).WillOnce(Return(true)); in TEST() 64 EXPECT_TRUE(mgr.close(sess)); in TEST()
|
| /openbmc/u-boot/board/samsung/smdkv310/tools/ |
| H A D | mksmdkv310spl.c | 56 close(ifd); in main() 70 close(ifd); in main() 72 close(ofd); in main() 87 close(ifd); in main() 89 close(ofd); in main() 95 close(ifd); in main() 97 close(ofd); in main()
|
| /openbmc/openpower-hw-diags/util/ |
| H A D | file_descriptor.hpp | 3 #include <unistd.h> // for close() 13 * The file descriptor can be closed by calling close(). Otherwise it will be 71 close(); in ~FileDescriptor() 103 int close() in close() function in util::FileDescriptor 108 rc = ::close(fd); in close() 123 close(); in set()
|
| H A D | ffdc_file.cpp | 32 // Close file descriptor. Does nothing if descriptor was already closed. in remove() 33 // Returns -1 if close failed. in remove() 34 if (descriptor.close() == -1) in remove() 37 std::string{"Unable to close FFDC file: "} + strerror(errno)}; in remove()
|
| /openbmc/u-boot/board/samsung/origen/tools/ |
| H A D | mkorigenspl.c | 58 close(ifd); in main() 75 close(ifd); in main() 77 close(ofd); in main() 96 close(ifd); in main() 98 close(ofd); in main() 104 close(ifd); in main() 106 close(ofd); in main()
|
| /openbmc/openbmc-test-automation/lib/ |
| H A D | utils_files.py | 69 file.close() 72 file.close() 75 file.close() 85 file.close() 99 file.close() 106 file.close() 131 file.close()
|
| /openbmc/phosphor-webui/app/common/directives/ |
| H A D | certificate-modal-remove.html | 6 …<button type="button" class="btn btn--close float-right" ng-click="$dismiss()" aria-label="Close… 7 <icon file="icon-close.svg" aria-hidden="true"></icon> 17 <button class="btn btn-primary" ng-click="$close()" type="button">
|
| /openbmc/phosphor-power/ |
| H A D | file_descriptor.hpp | 3 #include <unistd.h> // for close() 13 * The file descriptor can be closed by calling close(). Otherwise it will be 71 close(); in ~FileDescriptor() 103 int close() in close() function in phosphor::power::util::FileDescriptor 108 rc = ::close(fd); in close() 123 close(); in set()
|
| /openbmc/openpower-debug-collector/watchdog/ |
| H A D | file_descriptor.hpp | 3 #include <unistd.h> // for close() 15 * The file descriptor can be closed by calling close(). Otherwise it will be 74 close(); in ~FileDescriptor() 107 int close() in close() function in watchdog::dump::FileDescriptor 112 rc = ::close(fd); in close() 127 (void)close(); in set()
|
| /openbmc/phosphor-webui/app/access-control/controllers/ |
| H A D | user-accounts-modal-remove.html | 6 …<button type="button" class="btn btn--close float-right" ng-click="$dismiss()" aria-label="Close… 7 <icon file="icon-close.svg" aria-hidden="true"></icon> 18 <button class="btn btn-primary" ng-click="$close()" type="button">
|
| /openbmc/qemu/python/qemu/machine/ |
| H A D | qtest.py | 113 def close(self) -> None: member in QEMUQtestProtocol 115 Close this socket. 117 self._sock.close() 119 self._sockfile.close() 172 self._qtest_sock_pair[0].close() 177 self._qtest_sock_pair[0].close() 178 self._qtest_sock_pair[1].close() 181 self._qtest.close()
|
| /openbmc/phosphor-webui/app/server-health/directives/ |
| H A D | remote-logging-server-modal.html | 2 <button type="button" class="btn btn--close float-right" ng-click="$close()"> 3 <icon file="icon-close.svg"></icon> 34 <button class="btn btn-secondary" ng-click="$close()" type="button"> 38 ng-click="$close(activeModal)" ng-disabled="form.$invalid"
|
| /openbmc/phosphor-power/test/ |
| H A D | file_descriptor_tests.cpp | 161 // Create FileDescriptor object with open file descriptor. Close the in TEST() 169 EXPECT_EQ(descriptor.close(), 0); in TEST() 179 // will close descriptor. in TEST() 222 EXPECT_EQ(descriptor.close(), 0); in TEST() 230 TEST(FileDescriptorTests, Close) in TEST() argument 237 EXPECT_EQ(descriptor.close(), 0); in TEST() 243 EXPECT_EQ(descriptor.close(), 0); in TEST() 246 // Test where close() fails due to invalid file descriptor in TEST() 248 EXPECT_EQ(descriptor.close(), -1); in TEST() 263 // Test where object contains an open file descriptor. Should close in TEST() [all …]
|
| /openbmc/phosphor-ipmi-flash/bmc/firmware-handler/ |
| H A D | lpc_aspeed.cpp | 47 void LpcMapperAspeed::close() in close() function in ipmi_flash::LpcMapperAspeed 57 sys->close(mappedFd); in close() 111 sys->close(lpcControlFd); in mapWindow() 117 sys->close(lpcControlFd); in mapWindow() 154 sys->close(mappedFd); in mapRegion() 160 /* TODO: There is no close() method here, to close mappedFd, or mappedRegion in mapRegion()
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/lmbench/lmbench/ |
| H A D | 0001-lat_fifo-Fix-cleanup-sequence.patch | 25 - close(state->wr); 26 - close(state->rd); 37 + close(state->wr); 38 + close(state->rd);
|
| /openbmc/qemu/tests/tcg/multiarch/ |
| H A D | follow-fork-mode.c | 34 close(fd[1]); in main() 37 close(fd[0]); in main() 41 close(fd[0]); in main() 45 close(fd[1]); in main()
|
| /openbmc/openbmc/meta-security/recipes-mac/smack/tcp-smack-test/ |
| H A D | tcp_server.c | 95 close(sock); in main() 103 close(sock); in main() 110 close(clientsock); in main() 111 close(sock); in main() 116 close(clientsock); in main() 117 close(sock); in main()
|