Home
last modified time | relevance | path

Searched refs:wd (Results 1 – 25 of 61) sorted by relevance

123

/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/cj/src/
H A Dwatcher_impl.cpp45 int wd = -1; in CheckEventWatched() local
48 return {false, wd}; in CheckEventWatched()
50 wd = iter->second.first; in CheckEventWatched()
52 return {true, wd}; in CheckEventWatched()
54 return {false, wd}; in CheckEventWatched()
97 if (isWatched && wd > 0) { in StartNotify()
98 data_->wd = wd; in StartNotify()
102 if (wd != -1) { in StartNotify()
112 data_->wd = newWd; in StartNotify()
126 if (newWd != wd) { in NotifyToWatchNewEvents()
[all …]
H A Dwatcher_impl.h42 int wd = -1; member
69 …int NotifyToWatchNewEvents(const std::string &fileName, const int &wd, const uint32_t &watchEvents…
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_watcher/
H A Dwatcher_entity.cpp59 int wd = -1; in CheckEventWatched() local
62 return {false, wd}; in CheckEventWatched()
64 wd = iter->second.first; in CheckEventWatched()
66 return {true, wd}; in CheckEventWatched()
68 return {false, wd}; in CheckEventWatched()
80 if (isWatched && wd > 0) { in StartNotify()
81 arg->wd = wd; in StartNotify()
85 if (wd != -1) { in StartNotify()
95 arg->wd = newWd; in StartNotify()
109 if (newWd != wd) { in NotifyToWatchNewEvents()
[all …]
H A Dwatcher_entity.h39 int wd = -1; member
67 …int NotifyToWatchNewEvents(const std::string &fileName, const int &wd, const uint32_t &watchEvents…
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_inotify.cpp93 auto &item = watchList_.at(event->wd); in WatchCallBack()
108 Remove(event->wd); in WatchCallBack()
157 int32_t wd = -1; in RemoveByFileUri() local
160 wd = iter->first; in RemoveByFileUri()
166 if (wd < 0) { in RemoveByFileUri()
170 return Remove(wd); in RemoveByFileUri()
173 int32_t MediaLibraryInotify::Remove(int wd) in Remove() argument
175 watchList_.erase(wd); in Remove()
176 if (inotify_rm_watch(inotifyFd_, wd) != 0) { in Remove()
245 if (wd > 0) { in AddWatchList()
[all …]
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/audio_manager/
H A Dnapi_bluetooth_audio_manager.cpp61 BluetoothAudioManager &wd = BluetoothAudioManager::GetInstance(); in EnableWearDetection() local
62 int32_t err = wd.EnableWearDetection(remoteAddr); in EnableWearDetection()
79 BluetoothAudioManager &wd = BluetoothAudioManager::GetInstance(); in DisableWearDetection() local
80 int32_t err = wd.DisableWearDetection(remoteAddr); in DisableWearDetection()
98 BluetoothAudioManager &wd = BluetoothAudioManager::GetInstance(); in IsWearDetectionEnabled() local
99 int32_t err = wd.GetWearDetectionState(remoteAddr, ability); in IsWearDetectionEnabled()
/ohos5.0/drivers/hdf_core/framework/include/platform/
H A Drtc_base.h46 #define IS_INVALID_WEEKDAY(wd) (((wd) < 1) || ((wd) > RTC_MAX_WEEKDAY)) argument
/ohos5.0/base/hiviewdfx/hiview/test/plugins/examples_bundle/bundle_event_source_example/
H A Dbundle_event_source_example.cpp105 if (it.second != event->wd) { in OnFileDescriptorEvent()
147 …int wd = inotify_add_watch(inotifyFd_, SYSTEM_FAULT_LOG_PATH.c_str(), IN_CLOSE_WRITE | IN_MOVED_TO… in GetPollFd() local
148 if (wd < 0) { in GetPollFd()
156 fileMap_[SYSTEM_FAULT_LOG_PATH] = wd; in GetPollFd()
/ohos5.0/base/hiviewdfx/hiview/test/plugins/examples/event_source_example/
H A Devent_source_example.cpp109 if (it.second != event->wd) { in OnFileDescriptorEvent()
151 …int wd = inotify_add_watch(inotifyFd_, SYSTEM_FAULT_LOG_PATH.c_str(), IN_CLOSE_WRITE | IN_MOVED_TO… in GetPollFd() local
152 if (wd < 0) { in GetPollFd()
160 fileMap_[SYSTEM_FAULT_LOG_PATH] = wd; in GetPollFd()
/ohos5.0/base/hiviewdfx/hiview/base/test/unittest/common/
H A Devent_loop_test.cpp115 if (it.second != event->wd) { in OnFileDescriptorEvent()
116 printf("fail to find check point: %d", event->wd); in OnFileDescriptorEvent()
149 int wd = inotify_add_watch(inotifyFd_, EVENT_LOG_PATH.c_str(), IN_CLOSE_WRITE | IN_MOVED_TO); in GetPollFd() local
150 if (wd < 0) { in GetPollFd()
156 fileMap_[EVENT_LOG_PATH] = wd; in GetPollFd()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Drender_backend_vk.cpp1919 if ((descIdx >= static_cast<uint32_t>(wd.writeDescriptorSets.size())) || in UpdateCommandListDescriptorSets()
1963 wd.descriptorAccelInfos[dsud.accelIndex + idx] = { in UpdateCommandListDescriptorSets()
1971 wd.writeDescriptorSets[dsud.writeBindIdx++] = { in UpdateCommandListDescriptorSets()
1973 &wd.descriptorAccelInfos[dsud.accelIndex], // pNext in UpdateCommandListDescriptorSets()
2006 wd.writeDescriptorSets[dsud.writeBindIdx++] = { in UpdateCommandListDescriptorSets()
2056 wd.descriptorImageInfos[dsud.imageIndex + idx] = { in UpdateCommandListDescriptorSets()
2063 wd.writeDescriptorSets[dsud.writeBindIdx++] = { in UpdateCommandListDescriptorSets()
2071 &wd.descriptorImageInfos[dsud.imageIndex], // pImageInfo in UpdateCommandListDescriptorSets()
2090 wd.descriptorSamplerInfos[dsud.samplerIndex + idx] = { in UpdateCommandListDescriptorSets()
2097 wd.writeDescriptorSets[dsud.writeBindIdx++] = { in UpdateCommandListDescriptorSets()
[all …]
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/
H A Dmedialibrary_inotify.h70 int32_t Remove(int wd);
/ohos5.0/base/account/os_account/services/accountmgr/src/
H A Daccount_file_watcher_manager.cpp265 if (fileNameMgrMap_.find(event->wd) != fileNameMgrMap_.end()) { in DealWithFileEvent()
266 std::shared_ptr<FileWatcher> fileWatcher = fileNameMgrMap_[event->wd]; in DealWithFileEvent()
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
H A Dmtp_file_observer.cpp151 iter = watchMap_.find(event->wd); in AddInotifyEvents()
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/
H A Dcopy.h169 …static std::shared_ptr<ReceiveInfo> GetReceivedInfo(int wd, std::shared_ptr<JsCallbackObject> call…
H A Dcopy.cpp633 std::shared_ptr<ReceiveInfo> Copy::GetReceivedInfo(int wd, std::shared_ptr<JsCallbackObject> callba… in GetReceivedInfo() argument
636 if (it.first == wd) { in GetReceivedInfo()
695 auto receivedInfo = GetReceivedInfo(event->wd, callback); in HandleProgress()
/ohos5.0/foundation/distributedhardware/distributed_input/common/include/
H A Dinput_hub.cpp1109 if (event.wd == inputWd_) { in JudgeDeviceOpenOrClose()
1118 DHLOGI("Unexpected inotify event, wd = %i", event.wd); in JudgeDeviceOpenOrClose()
/ohos5.0/foundation/multimedia/av_codec/test/unittest/resources/video_res/test_cbr/720_1M/
H A Dvideo_7.ts604 ��Z2�-�� N�#�� ���)fM�LZ#��`�At�R���Y�-��wd������o�#H��`�;��;�d=&��Ջ;�����xJcҗr�D
4651 ��#k�Uј1��e Xϕ^ɘ%X�WN��ȃ[�-�8#B����ͪu����Ϟ����@�[�_�wd�x�������&.^\ x�VqE�]�r����߿�
4682 e��@��6�C��K�?�$�?�ݾY݀4f�����/G���?����y{C��L:�-+T�8k�wd�� e&Gx��ls��w���n���@…
6284 …נ��D���Dž��5���� -:�!�i׭M�9�w��f�� �=j@��5�S�İt��}?l�b�R����A���</Lj~� wd�f�d>c�n�d�p=;/#Ս
6487 …�6�L�B|�V�z����$?��8�^G�8)j� ��\���1f� `%j�͹�=~���x�ϵ����JC �wd�/m�E�eXc���F��|�:�T…
8210 …+(/��9��u.ZaN��A� ��ׯP�y�t�HU�%S~dX�y���?�������_�Zi�e� ���i�ДP��ë��wd��������ξ8l�� #�X…
H A Dvideo_0.ts1691 $�9%��F慼/lc�-Ԩ��Å�y�����v3��;��O�j�6[?��J�U۵*…nӔe!Q�w����r�~�U쯲� a�0෋���\��V7wd�$�G�6…
2174 3�8�������Z��������l-���ӦK���w�n��* �������f��;Wwd�x?�$kKGU{�ёut�_oLxn'�g7���lcq��fV�wG��k…
/ohos5.0/foundation/multimedia/player_framework/test/unittest/resources/test_videofile/
H A Dh264_aac_640x480_30r.ts1203 …q'L���h�T�������c�w�E�A�{7nqm�E�s�̘7���ؽ����n�7jlEYA��Y��}(L��"�h�y2vwd��*�����f�Y���]�[g�…
2346 …Q<��[,>�EV��YE��Muk��>r��<�����"޲��"�G�,�׍��"-kd��oS]W8��+%+�q����*�wd�U�Tkauƾh�喾�"֑�"ޒ�s…
5039 …��M3� �։��2�d��l�%�W�����}# ��e��6���W������B���z�>�o�>�G(R�s�l�͒W�)wd<#�[D ����$��
7317 �9~��:&\w�w�����8J�b�<Ǫ���?�?�?�Y�c+u���x��'�=Ėa��EY㬋�j%�Z6�tR�Zҿ�Gwd���C̅�o��qEb���z�n���&�…
7660 …�B�zcl]�Ӝ�t����h΁B��f��"�]@U45�S�g#'�/CC�)?o,x�Ü3���X����E|�f8�wd��x�J[ޟ��_�I�tX)�W`һ…
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/resources/demuxer/
H A Dh265_mp3_640.ts1984 7bA�O� ��F*�+k��1����x&P����/<`�?��c�-OZY�BGJQ.T�)M���>k�~s\f�{���8��wd�:�%F[�G�…
H A Dh264_aac_1280.ts2291 …���~�B:aT��b��������f D�~�J �s%E1�>!����"ϒ��WQF��%Ay�����\T�t���x���wd�L����s1d ,�۪����L…
2667 ]�����bG�� ���<��wd S(���/�I�����^U��C||9E엿���S��l=��ۢ��m������=�N�Q���
5853 ��0 9�� �^���OOn&r���ƣ {��盇o {���c��mM}Q0M*�??�wd㓏��@�I��>n?�'䖈�e����[]1�5<�A�|�yO��r���…
7308 …r��A=�����V \z�.�=����e�D�_�<�������0$X�`la<�#������du�Zg�Vbf��z/wd�k�����-^�R�Fߺ����4՗�…
H A Dh265_mp3_1920.ts3823 CyZ��KZ�RW�C\��z�[e��n��wd�U��)����A1ko%̉^A���A�!�)s��Wy�˩����+��A pY���|Q�?��.�M !R…
5228 …jчK>38��6[�rr�6�����*f�����1�w��*+_�����)!Z���T�@h~=zl�$��������ۨ�.wd.��ӈ�=���d:�G�^�}…
9850 …+�iڬ��\�?��ϩ���uAɡ�al���$��<7��_S�{ ����7���,G�oPg����-� �u��d~/:wd[^:#.v��y�zb8#( ��…
9964 …f:I�� R���'@=���k��?�%d$i�7G��Մ�,�ii�v$��䞫�U�9��0���W����زc��n��wd�,�� �X����O�,��ڽ…
/ohos5.0/foundation/multimedia/av_codec/test/unittest/resources/video_res/test_cbr/1080_3M/
H A Dvideo_10800.ts1148 T��oG��s���'��7����4wd�J�y/X�A�k'�U��E�ms ��<����ٓy�wi�s4�I��eX���T�Jj�B4�iz�
1632 …[Y�H�,����H��� /�ْ�Uݥ��5QYw�K�ē� XJ ֤�Bl���J}q�*��D<D��7�e�V<M|���E�wd�$�v��d7Uۋ@x��Ư���Y…
5651 ��5�p�ph�P�wd|׮b������?�i)�V���r�S�Q��H����k��!Ꭷ��X�
8720 f}�ȶ_���PA�QUW���mFW�ju�k���l �z�{���O2Q�TcN���uO��خ."v�5=�F4�PI���^�J�{�wd`��A�<f�$����{�…
10252 �n�Io�p�T�6�Aޛ���%��nu`C͉w�����ˬ@�Ɂ�/�{�G�S� �q�x�"�w�y�L�-dwd-��m�Fƺ����tڏ�k-\���r…
/ohos5.0/foundation/multimedia/av_codec/test/unittest/resources/demuxer_res/
H A Dhevc_aac_3840x2160_30frames.ts1436 (��F����x�"�G�wdj s�e��8��V�g�}��9��v�b_-��J1�F���䡕n{�w��]�ڊQ�#�>�e�wߴ�a�Ԭ�&�����4j��&<X…
2734 …�Р@8NS m����]az�)��g��Sh�bҴ�J��i�ҙ�m�Zq!������#cSZoup�&�t�P��]�e$wd����ٸ����D/Zq�����…
7188 �Έ���Q��p�Cb�K����<�=��!~��m�,)�� �ӊ��[�@�m �H�mX�7{W+:�@ �wto,wd��&���!��ԙA���Wr��U�z^h…
9418 �p�=�=H�h�O�@?�p�wde��Dr�

123