Home
last modified time | relevance | path

Searched refs:inotify_wd (Results 1 – 21 of 21) sorted by relevance

/dports/databases/pspg/pspg-5.3.4/src/
H A Dinputs.c50 static int inotify_wd = -1; variable
670 if (inotify_wd == -1) in open_data_stream()
672 inotify_wd = inotify_add_watch(inotify_fd, in open_data_stream()
678 if (inotify_wd == -1) in open_data_stream()
759 if (inotify_wd >= 0) in close_tty_stream()
761 inotify_rm_watch(inotify_fd, inotify_wd); in close_tty_stream()
762 inotify_wd = -1; in close_tty_stream()
/dports/graphics/milton/milton-1.9.1/third_party/SDL2-2.0.8/src/core/linux/
H A DSDL_ibus.c48 static int inotify_fd = -1, inotify_wd = -1; variable
362 if (inotify_fd > 0 && inotify_wd > 0) { in IBus_CheckConnection()
433 inotify_wd = inotify_add_watch(inotify_fd, addr_file, IN_CREATE | IN_MODIFY); in SDL_IBus_Init()
467 if (inotify_fd > 0 && inotify_wd > 0) { in SDL_IBus_Quit()
468 inotify_rm_watch(inotify_fd, inotify_wd); in SDL_IBus_Quit()
469 inotify_wd = -1; in SDL_IBus_Quit()
/dports/devel/sdl20/SDL2-2.0.18/src/core/linux/
H A DSDL_ibus.c48 static int inotify_fd = -1, inotify_wd = -1; variable
367 if (inotify_fd > 0 && inotify_wd > 0) { in IBus_CheckConnection()
438 inotify_wd = inotify_add_watch(inotify_fd, addr_file, IN_CREATE | IN_MODIFY); in SDL_IBus_Init()
472 if (inotify_fd > 0 && inotify_wd > 0) { in SDL_IBus_Quit()
473 inotify_rm_watch(inotify_fd, inotify_wd); in SDL_IBus_Quit()
474 inotify_wd = -1; in SDL_IBus_Quit()
/dports/x11/controllermap/SDL2-2.0.18/src/core/linux/
H A DSDL_ibus.c48 static int inotify_fd = -1, inotify_wd = -1; variable
367 if (inotify_fd > 0 && inotify_wd > 0) { in IBus_CheckConnection()
438 inotify_wd = inotify_add_watch(inotify_fd, addr_file, IN_CREATE | IN_MODIFY); in SDL_IBus_Init()
472 if (inotify_fd > 0 && inotify_wd > 0) { in SDL_IBus_Quit()
473 inotify_rm_watch(inotify_fd, inotify_wd); in SDL_IBus_Quit()
474 inotify_wd = -1; in SDL_IBus_Quit()
/dports/emulators/mess/mame-mame0226/3rdparty/SDL2/src/core/linux/
H A DSDL_ibus.c48 int inotify_fd = -1, inotify_wd = -1; variable
414 if (inotify_fd > 0 && inotify_wd > 0) { in IBus_CheckConnection()
485 inotify_wd = inotify_add_watch(inotify_fd, addr_file, IN_CREATE | IN_MODIFY); in SDL_IBus_Init()
519 if (inotify_fd > 0 && inotify_wd > 0) { in SDL_IBus_Quit()
520 inotify_rm_watch(inotify_fd, inotify_wd); in SDL_IBus_Quit()
521 inotify_wd = -1; in SDL_IBus_Quit()
/dports/emulators/mame/mame-mame0226/3rdparty/SDL2/src/core/linux/
H A DSDL_ibus.c48 int inotify_fd = -1, inotify_wd = -1; variable
414 if (inotify_fd > 0 && inotify_wd > 0) { in IBus_CheckConnection()
485 inotify_wd = inotify_add_watch(inotify_fd, addr_file, IN_CREATE | IN_MODIFY); in SDL_IBus_Init()
519 if (inotify_fd > 0 && inotify_wd > 0) { in SDL_IBus_Quit()
520 inotify_rm_watch(inotify_fd, inotify_wd); in SDL_IBus_Quit()
521 inotify_wd = -1; in SDL_IBus_Quit()
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/SDL/src/core/linux/
H A DSDL_ibus.c48 int inotify_fd = -1, inotify_wd = -1; variable
414 if (inotify_fd > 0 && inotify_wd > 0) { in IBus_CheckConnection()
485 inotify_wd = inotify_add_watch(inotify_fd, addr_file, IN_CREATE | IN_MODIFY); in SDL_IBus_Init()
519 if (inotify_fd > 0 && inotify_wd > 0) { in SDL_IBus_Quit()
520 inotify_rm_watch(inotify_fd, inotify_wd); in SDL_IBus_Quit()
521 inotify_wd = -1; in SDL_IBus_Quit()
/dports/misc/clifm/clifm-1.3/src/
H A Dmisc.c77 if (inotify_wd >= 0) { in reset_inotify()
78 inotify_rm_watch(inotify_fd, inotify_wd); in reset_inotify()
79 inotify_wd = -1; in reset_inotify()
82 inotify_wd = inotify_add_watch(inotify_fd, ws[cur_ws].path, INOTIFY_MASK); in reset_inotify()
83 if (inotify_wd > 0) in reset_inotify()
1054 if (inotify_wd >= 0)
1055 inotify_rm_watch(inotify_fd, inotify_wd);
H A Dmain.c631 int inotify_fd, inotify_wd = -1; variable
H A Dhelpers.h128 extern int inotify_fd, inotify_wd;
/dports/graphics/feh/feh-3.5/src/
H A Dwinwidget.c87 ret->inotify_wd = -1; in winwidget_allocate()
694 if (winwid->inotify_wd >= 0) { in winwidget_inotify_remove()
696 if (inotify_rm_watch(opt.inotify_fd, winwid->inotify_wd)) in winwidget_inotify_remove()
698 winwid->inotify_wd = -1; in winwidget_inotify_remove()
719 winwid->inotify_wd = inotify_add_watch(opt.inotify_fd, dir, IN_CLOSE_WRITE | IN_MOVED_TO); in winwidget_inotify_add()
720 if (winwid->inotify_wd < 0) in winwidget_inotify_add()
743 if(windows[j]->inotify_wd == event->wd) { in feh_event_handle_inotify()
746 windows[j]->inotify_wd = -1; in feh_event_handle_inotify()
H A Dwinwidget.h121 int inotify_wd; member
/dports/graphics/katarakt/katarakt-99735bc0b15b57d689b6c982d43b85ed1b40ef45/src/
H A Dresourcemanager.h123 int inotify_wd; variable
H A Dresourcemanager.cpp101inotify_wd = inotify_add_watch(inotify_fd, info.path().toUtf8().constData(), IN_CLOSE_WRITE | IN_M… in initialize()
102 if (inotify_wd == -1) { in initialize()
/dports/misc/sfm/sfm-0.4/
H A Dsfm.c81 int inotify_wd; member
1103 return pane->inotify_wd = inotify_add_watch(inotify_fd, pane->dirn, in addwatch()
1132 if (cpane->inotify_wd < 0) in read_events()
1158 if (pane->inotify_wd >= 0) in rmwatch()
1159 inotify_rm_watch(inotify_fd, pane->inotify_wd); in rmwatch()
1901 panes[Left].inotify_wd = -1; in set_panes()
1912 panes[Right].inotify_wd = -1; in set_panes()
/dports/multimedia/gmerlin/gmerlin-1.2.0/include/
H A Dtreeprivate.h169 int inotify_wd; member
/dports/multimedia/gmerlin/gmerlin-1.2.0/lib/
H A Dalbum.c214 ret->inotify_wd = -1; in bg_album_create()
699 if(a->inotify_wd >= 0) in bg_album_inotify()
704 if(event->wd == a->inotify_wd) in bg_album_inotify()
914 a->inotify_wd = inotify_add_watch(a->com->inotify_fd, in bg_album_open()
1028 if(a->inotify_wd >= 0) in bg_album_close()
1030 inotify_rm_watch(a->com->inotify_fd, a->inotify_wd); in bg_album_close()
1031 a->inotify_wd = -1; in bg_album_close()
/dports/misc/nnn/nnn-4.3/src/
H A Dnnn.c801 static int inotify_fd, inotify_wd = -1; variable
3074 if (!cfg.blkorder && inotify_wd >= 0 && (idle & 1)) { in nextsel()
6571 if ((presel == FILTER || watch) && inotify_wd >= 0) {
6572 inotify_rm_watch(inotify_fd, inotify_wd);
6573 inotify_wd = -1;
6611 if (presel != FILTER && inotify_wd == -1)
7075 if (inotify_wd >= 0) {
7076 inotify_rm_watch(inotify_fd, inotify_wd);
7077 inotify_wd = -1;
8679 if (inotify_wd >= 0)
[all …]
/dports/misc/clifm/clifm-1.3/misc/codecov/
H A Dlisting.c.gcov764 3: 338: if (inotify_wd >= 0) {
768 3: 339: inotify_rm_watch(inotify_fd, inotify_wd);
771 3: 340: inotify_wd = -1;
774 3: 342: inotify_wd = inotify_add_watch(inotify_fd, ws[cur_ws].path, INOTIFY_MASK);
2332 302: 979: if (inotify_wd >= 0) {
2336 298: 980: inotify_rm_watch(inotify_fd, inotify_wd);
2339 298: 981: inotify_wd = -1;
2343 302: 984: inotify_wd = inotify_add_watch(inotify_fd, ws[cur_ws].path, INOTIFY_MASK);
2346 302: 985: if (inotify_wd > 0)
H A Dmain.c.gcov552 -: 551:int inotify_fd, inotify_wd = -1;
H A Dmisc.c.gcov2003 4: 1133: if (inotify_wd >= 0)
2007 4: 1134: inotify_rm_watch(inotify_fd, inotify_wd);