/foundation/multimodalinput/input/service/delegate_task/src/ |
H A D | delegate_tasks.cpp | 49 if (fds_[0] >= 0) { in ~DelegateTasks() 50 close(fds_[0]); in ~DelegateTasks() 51 fds_[0] = -1; in ~DelegateTasks() 53 if (fds_[1] >= 0) { in ~DelegateTasks() 54 close(fds_[1]); in ~DelegateTasks() 55 fds_[1] = -1; in ~DelegateTasks() 62 if (pipe(fds_) == -1) { in Init() 66 if (fcntl(fds_[0], F_SETFL, O_NONBLOCK) == -1) { in Init() 68 close(fds_[0]); in Init() 71 if (fcntl(fds_[ in Init() [all...] |
/foundation/multimodalinput/input/intention/scheduler/task_scheduler/src/ |
H A D | task_scheduler.cpp | 48 if (fds_[0] >= 0) { in ~TaskScheduler() 49 if (close(fds_[0]) < 0) { in ~TaskScheduler() 50 FI_HILOGE("Close fds_[0] failed, err:%{public}s, fds_[0]:%{public}d", strerror(errno), fds_[0]); in ~TaskScheduler() 52 fds_[0] = -1; in ~TaskScheduler() 54 if (fds_[1] >= 0) { in ~TaskScheduler() 55 if (close(fds_[1]) < 0) { in ~TaskScheduler() 56 FI_HILOGE("Close fds_[1] failed, err:%{public}s, fds_[ in ~TaskScheduler() [all...] |
/foundation/multimodalinput/input/intention/scheduler/task_scheduler/include/ |
H A D | task_scheduler.h | 84 return fds_[0]; in GetReadFd() 101 int32_t fds_[2] {};
|
/foundation/multimodalinput/input/service/delegate_task/include/ |
H A D | delegate_tasks.h | 82 return fds_[0]; in GetReadFd() 99 int32_t fds_[2] = {}; member in OHOS::MMI::final
|
/foundation/communication/netstack/frameworks/js/napi/tls/src/ |
H A D | tls_socket_server.cpp | 1436 fds_[g_userCounter].fd = connectFD;
in SetTlsConnectionSecureOptions() 1438 fds_[g_userCounter].events = POLLIN | POLLERR;
in SetTlsConnectionSecureOptions() 1440 fds_[g_userCounter].events = POLLIN | POLLRDHUP | POLLERR;
in SetTlsConnectionSecureOptions() 1442 fds_[g_userCounter].revents = 0;
in SetTlsConnectionSecureOptions() 1455 fds_[i].fd = -1;
in InitPollList() 1456 fds_[i].events = 0;
in InitPollList() 1458 fds_[0].fd = listendFd;
in InitPollList() 1459 fds_[0].events = POLLIN | POLLERR;
in InitPollList() 1460 fds_[0].revents = 0;
in InitPollList() 1469 fds_[fd_inde in DropFdFromPollList() [all...] |
/foundation/multimedia/player_framework/test/unittest/soundpool_test/src/ |
H A D | soundpool_unit_test.cpp | 57 for (auto fd : fds_) { in TearDown() 90 fds_[loadNum] = open(fileName.c_str(), O_RDWR); in loadUrl() 91 if (fds_[loadNum] > 0) { in loadUrl() 92 std::string url = "fd://" + std::to_string(fds_[loadNum]); in loadUrl() 95 cout << "Url open failed, g_fileName " << fileName.c_str() << ", fd: " << fds_[loadNum] << endl; in loadUrl() 102 fds_[loadNum] = open(fileName.c_str(), O_RDONLY); in loadFd() 103 if (fds_[loadNum] < 0) { in loadFd() 104 cout << "Fd open failed, g_fileName " << fileName.c_str() << ", Fd: " << fds_[loadNum] << endl; in loadFd() 108 soundIDs_[loadNum] = soundPool_->Load(fds_[loadNum], 0, filesize); in loadFd() 168 fds_[loadNum in HWTEST_F() [all...] |
/foundation/multimedia/player_framework/test/unittest/soundpool_test/include/ |
H A D | soundpool_unit_test.h | 41 int32_t fds_[SOUND_NUM]; member in OHOS::Media::SoundPoolUnitTest
|
/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | child_process_record.cpp | 30 fds_ = request.args.fds; in ChildProcessRecord() 53 for (const auto &item : fds_) { in ~ChildProcessRecord()
|
/foundation/ability/ability_base/interfaces/kits/native/want/src/ |
H A D | want_params.cpp | 170 for (auto it : source.fds_) { in NewFds() 171 dest.fds_[it.first] = it.second; in NewFds() 256 fds_.clear(); in operator =() 273 fds_.clear(); 274 fds_ = other.fds_; 275 other.fds_.clear(); 1336 fds_[key] = fd; in ReadFromParcelFD() 1557 for (auto it : fds_) { in CloseAllFd() 1564 fds_ in CloseAllFd() [all...] |
/foundation/ability/ability_runtime/services/appmgr/include/ |
H A D | child_process_record.h | 81 std::map<std::string, int32_t> fds_; member in OHOS::AppExecFwk::ChildProcessRecord
|
/foundation/ability/ability_base/interfaces/kits/native/want/include/ |
H A D | want_params.h | 217 std::map<std::string, int> fds_; member in OHOS::AAFwk::final
|
/foundation/communication/netstack/interfaces/innerkits/tls_socket/include/ |
H A D | tls_socket_server.h | 477 struct pollfd fds_[USER_LIMIT + 1]; member in OHOS::NetStack::TlsSocketServer::TLSSocketServer
|
/foundation/ability/dmsfwk/services/dtbschedmgr/include/distributedWant/ |
H A D | distributed_want_params.h | 216 std::map<std::string, int> fds_; member in OHOS::DistributedSchedule::final
|