/base/security/access_token/interfaces/innerkits/token_setproc/src/ |
H A D | token_setproc.c | 45 close(fd); in GetSelfTokenID() 49 close(fd); in GetSelfTokenID() 61 close(fd); in SetSelfTokenID() 65 close(fd); in SetSelfTokenID() 78 close(fd); in GetFirstCallerTokenID() 82 close(fd); in GetFirstCallerTokenID() 94 close(fd); in SetFirstCallerTokenID() 98 close(fd); in SetFirstCallerTokenID()
|
/base/startup/init/interfaces/innerkits/fs_manager/erofs_overlay/ |
H A D | erofs_overlay_common.c | 57 close(fd);
in CheckIsExt4() 64 close(fd);
in CheckIsExt4() 71 close(fd);
in CheckIsExt4() 74 close(fd);
in CheckIsExt4() 88 close(fd);
in CheckIsErofs() 95 close(fd);
in CheckIsErofs() 102 close(fd);
in CheckIsErofs() 105 close(fd);
in CheckIsErofs()
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/ |
H A D | data_share_util.cpp | 61 close(src_fd); in CopyFile() 68 close(dest_fd); in CopyFile() 69 close(src_fd); in CopyFile() 77 close(dest_fd); in CopyFile() 78 close(src_fd); in CopyFile() 81 close(src_fd); in CopyFile() 82 close(dest_fd); in CopyFile()
|
/base/update/updater/services/applypatch/ |
H A D | partition_record.cpp | 48 close(fd); in IsPartitionUpdated() 53 close(fd); in IsPartitionUpdated() 61 close(fd); in IsPartitionUpdated() 66 close(fd); in IsPartitionUpdated() 131 close(fd); in RecordPartitionUpdateStatus() 136 close(fd); in RecordPartitionUpdateStatus() 142 close(fd); in RecordPartitionUpdateStatus() 147 close(fd); in RecordPartitionUpdateStatus() 163 close(fd); in ClearRecordPartitionOffset() 170 close(f in ClearRecordPartitionOffset() [all...] |
/base/usb/usb_manager/test/native/service_unittest/src/ |
H A D | usb_device_status_test.cpp | 269 bool close = UsbSrvClient.Close(pipe);
in HWTEST_F() local 270 USB_HILOGI(MODULE_USB_SERVICE, "ClearHalt001 %{public}d close=%{public}d", __LINE__, close);
in HWTEST_F() 271 EXPECT_TRUE(close);
in HWTEST_F() 312 bool close = UsbSrvClient.Close(pipe);
in HWTEST_F() local 313 USB_HILOGI(MODULE_USB_SERVICE, "ClearHalt002 %{public}d close=%{public}d", __LINE__, close);
in HWTEST_F() 314 EXPECT_TRUE(!close);
in HWTEST_F() 355 bool close = UsbSrvClient.Close(pipe);
in HWTEST_F() local 356 USB_HILOGI(MODULE_USB_SERVICE, "ClearHalt003 %{public}d close in HWTEST_F() 398 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 439 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 478 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 517 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 554 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 593 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 632 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 673 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 714 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 751 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 787 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 823 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 861 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 897 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 933 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 971 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 1009 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 1043 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 1079 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 1115 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 1149 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 1185 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 1221 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 1259 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 1297 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local [all...] |
H A D | usb_bulkcallback_test.cpp | 149 bool close = UsbSrvClient.Close(pipe);
in HWTEST_F() local 151 MODULE_USB_SERVICE, "UsbBulkcallbackTest::RegBulkCallback001 %{public}d close=%{public}d", __LINE__, close);
in HWTEST_F() 152 EXPECT_TRUE(close);
in HWTEST_F() 197 bool close = UsbSrvClient.Close(pipe);
in HWTEST_F() local 199 MODULE_USB_SERVICE, "UsbBulkcallbackTest::RegBulkCallback002 %{public}d close=%{public}d", __LINE__, close);
in HWTEST_F() 200 EXPECT_TRUE(close);
in HWTEST_F() 247 bool close = UsbSrvClient.Close(pipe);
in HWTEST_F() local 249 MODULE_USB_SERVICE, "UsbBulkcallbackTest::RegBulkCallback003 %{public}d close in HWTEST_F() 297 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 347 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 397 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 452 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 506 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 562 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 618 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 672 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 728 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 784 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 839 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 897 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 942 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 988 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local 1036 bool close = UsbSrvClient.Close(pipe); HWTEST_F() local [all...] |
H A D | usb_request_test.cpp | 111 bool close = UsbSrvClient.Close(pip); in HWTEST_F() local 113 MODULE_USB_SERVICE, "UsbRequestTest::UsbRequestInitialize001 %{public}d close=%{public}d", __LINE__, close); in HWTEST_F() 114 EXPECT_TRUE(close); in HWTEST_F() 157 bool close = UsbSrvClient.Close(pip); in HWTEST_F() local 159 MODULE_USB_SERVICE, "UsbRequestTest::UsbRequestInitialize002 %{public}d close=%{public}d", __LINE__, close); in HWTEST_F() 160 EXPECT_TRUE(close); in HWTEST_F() 200 bool close = UsbSrvClient.Close(pip); in HWTEST_F() local 202 MODULE_USB_SERVICE, "UsbRequestTest::UsbRequestInitialize003 %{public}d close in HWTEST_F() 243 bool close = UsbSrvClient.Close(pip); HWTEST_F() local 289 bool close = UsbSrvClient.Close(pip); HWTEST_F() local 335 bool close = UsbSrvClient.Close(pip); HWTEST_F() local 384 bool close = UsbSrvClient.Close(pip); HWTEST_F() local 432 bool close = UsbSrvClient.Close(pip); HWTEST_F() local 483 bool close = UsbSrvClient.Close(pip); HWTEST_F() local 534 bool close = UsbSrvClient.Close(pip); HWTEST_F() local 585 bool close = UsbSrvClient.Close(pip); HWTEST_F() local 636 bool close = UsbSrvClient.Close(pip); HWTEST_F() local 679 bool close = UsbSrvClient.Close(pip); HWTEST_F() local 725 bool close = UsbSrvClient.Close(pip); HWTEST_F() local 771 bool close = UsbSrvClient.Close(pip); HWTEST_F() local 817 bool close = UsbSrvClient.Close(pip); HWTEST_F() local 866 bool close = UsbSrvClient.Close(pip); HWTEST_F() local 915 bool close = UsbSrvClient.Close(pip); HWTEST_F() local 966 bool close = UsbSrvClient.Close(pip); HWTEST_F() local 1020 bool close = UsbSrvClient.Close(pip); HWTEST_F() local 1074 bool close = UsbSrvClient.Close(pip); HWTEST_F() local 1125 bool close = UsbSrvClient.Close(pip); HWTEST_F() local 1175 bool close = UsbSrvClient.Close(pip); HWTEST_F() local 1225 bool close = UsbSrvClient.Close(pip); HWTEST_F() local 1278 bool close = UsbSrvClient.Close(pip); HWTEST_F() local 1333 bool close = UsbSrvClient.Close(pip); HWTEST_F() local 1388 bool close = UsbSrvClient.Close(pip); HWTEST_F() local 1439 bool close = UsbSrvClient.Close(pip); HWTEST_F() local 1490 bool close = UsbSrvClient.Close(pip); HWTEST_F() local 1543 bool close = UsbSrvClient.Close(pip); HWTEST_F() local [all...] |
/base/sensors/sensor/test/unittest/common/src/ |
H A D | system_info.cpp | 72 filePath.close();
in GetTaskPidFile() 76 filePath.close();
in GetTaskPidFile() 80 filePath.close();
in GetTaskPidFile() 91 filePath.close();
in GetTaskPidFile() 112 file.close();
in GetProcOccupy() 117 file.close();
in GetProcOccupy() 120 file.close();
in GetProcOccupy() 157 statFile.close();
in GetSystemCpuStatInfo() 162 statFile.close();
in GetSystemCpuStatInfo() 167 statFile.close();
in GetSystemCpuStatInfo() [all...] |
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_easy/ |
H A D | easy_socket_writer.c | 69 close(socketId); in Write() 74 close(socketId); in Write() 80 close(socketId); in Write() 92 close(socketId); in Write() 95 close(socketId); in Write()
|
/base/update/updater/utils/ |
H A D | partition_utils.cpp | 49 close(fd); in WipeBlockPartition() 56 close(fd); in WipeBlockPartition() 62 close(fd); in WipeBlockPartition() 67 close(fd); in WipeBlockPartition()
|
/base/startup/init/interfaces/innerkits/fs_manager/libfs_dm/ |
H A D | fs_dm.c | 244 close(fd); in FsDmCreateDevice() 251 close(fd); in FsDmCreateDevice() 258 close(fd); in FsDmCreateDevice() 265 close(fd); in FsDmCreateDevice() 268 close(fd); in FsDmCreateDevice() 302 close(ueventSockFd); in FsDmInitDmDev() 321 close(fd); in FsDmRemoveDevice() 330 close(fd); in FsDmRemoveDevice() 335 close(fd); in FsDmRemoveDevice() 395 close(f in FsDmCreateLinearDevice() [all...] |
/base/hiviewdfx/faultloggerd/test/unittest/faultloggerd_client/ |
H A D | faultloggerd_client_test.cpp | 78 close(fd); in HWTEST_F() 82 close(fd); in HWTEST_F() 86 close(fd); in HWTEST_F() 109 close(fd); in HWTEST_F() 116 close(fd); in HWTEST_F() 123 close(fd); in HWTEST_F() 162 close(fd); in HWTEST_F() 211 close(fd); in HWTEST_F() 377 close(clientSocketFd); in DoClientProcess() 378 close(testF in DoClientProcess() [all...] |
/base/hiviewdfx/hiview/plugins/faultlogger/service/idl/src/ |
H A D | faultlog_query_result_stub.cpp | 55 close(result->fd); in OnRemoteRequest() 63 close(result->fd); in OnRemoteRequest() 68 close(result->fd); in OnRemoteRequest()
|
/base/security/access_token/interfaces/innerkits/nativetoken/src/ |
H A D | nativetoken_klog.c | 55 close(g_fd);
in NativeTokenKmsg() 65 close(g_fd);
in NativeTokenKmsg() 73 close(g_fd);
in NativeTokenKmsg()
|
/base/startup/init/test/exec_test/ |
H A D | client.c | 48 close(sockFd);
in main() 53 close(sockFd);
in main() 60 close(sockFd);
in main()
|
/base/tee/tee_client/services/teecd/src/ |
H A D | tee_ca_daemon.c | 136 close(fd);
in ProcessCaMsg() 143 close(fd);
in ProcessCaMsg() 146 close(fd);
in ProcessCaMsg() 169 close(s2);
in ProcessAccept() 191 close(s2);
in ProcessAccept() 232 close(s);
in CreateSocket() 239 close(s);
in CreateSocket() 245 close(s);
in CreateSocket() 288 close(s);
in CaServerWorkThread()
|
/base/security/selinux_adapter/test/unittest/common/ |
H A D | test_common.cpp | 119 fin.close(); in CopyFile() 124 fin.close(); in CopyFile() 125 fout.close(); in CopyFile() 128 fin.close(); in CopyFile() 129 fout.close(); in CopyFile() 143 fout.close(); in WriteFile() 146 fout.close(); in WriteFile()
|
/base/security/selinux_adapter/framework/policycoreutils/src/ |
H A D | load_policy.cpp | 83 hashFile.close(); in ReadFileFirstLine() 123 close(fd); in ReadPolicyFile() 128 close(fd); in ReadPolicyFile() 136 close(fd); in ReadPolicyFile() 140 close(fd); in ReadPolicyFile() 269 (void)close(pipeFd[0]); in CompilePolicyWithFork() 270 (void)close(pipeFd[1]); in CompilePolicyWithFork() 274 (void)close(pipeFd[0]); in CompilePolicyWithFork() 277 (void)close(pipeFd[1]); in CompilePolicyWithFork() 280 (void)close(pipeF in CompilePolicyWithFork() [all...] |
/base/startup/init/services/loopevent/socket/ |
H A D | le_socket.c | 56 LE_CHECK(ret == 0, close(listenfd);
in CreatePipeServerSocket_() 60 LE_CHECK(ret == 0, close(listenfd);
in CreatePipeServerSocket_() 64 LE_CHECK(ret >= 0, close(listenfd);
in CreatePipeServerSocket_() 69 LE_CHECK(ret >= 0, close(listenfd);
in CreatePipeServerSocket_() 96 LE_CHECK(ret == 0, close(fd);
in CreatePipeSocket_() 100 LE_CHECK(ret == 0, close(fd);
in CreatePipeSocket_() 104 LE_CHECK(ret >= 0, close(fd);
in CreatePipeSocket_() 136 LE_CHECK(ret >= 0, close(listenfd);
in CreateTcpServerSocket_() 141 LE_CHECK(ret >= 0, close(listenfd);
in CreateTcpServerSocket_() 162 LE_CHECK(ret >= 0, close(f in CreateTcpSocket_() [all...] |
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/ |
H A D | hilog_collector_impl.cpp | 39 close(writeFd); in ExecuteHilog() 59 close(readFd); in ReadHilog() 79 close(fds[0]); in CollectLastLog() 83 close(fds[1]); in CollectLastLog()
|
/base/hiviewdfx/hiview/plugins/sysevent_source/test/unittest/common/ |
H A D | sys_event_stat_test.cpp | 79 close(fd1); in HWTEST_F() 85 close(fd2); in HWTEST_F() 91 close(fd3); in HWTEST_F() 97 close(fd4); in HWTEST_F()
|
/base/global/i18n/frameworks/intl/test/unittest/mock/src/ |
H A D | generate_ics_file.cpp | 69 fstream.close(); in GenerateFile() 83 fstream.close(); in WriteVersionFile() 98 fstream.close(); in WriteManifest() 115 fstream.close(); in WriteBinaryFile()
|
/base/startup/appspawn/test/unittest/app_spawn_standard_test/ |
H A D | app_spawn_kickdog_test.cpp | 59 close(fileFd); in CheckFileContent() 65 close(fileFd); in CheckFileContent() 72 close(fileFd); in CheckFileContent() 85 close(fileFd); in HWTEST_F()
|
/base/startup/init/test/fuzztest/writeall_fuzzer/ |
H A D | writeall_fuzzer.cpp | 31 close(fd); in FuzzGetParameterFromCmdLine() 34 close(fd); in FuzzGetParameterFromCmdLine()
|
/base/security/security_guard/services/config_manager/src/ |
H A D | base_config.cpp | 38 stream_.close(); in Check() 48 stream_.close(); in ~BaseConfig()
|