Home
last modified time | relevance | path

Searched refs:g_handles (Results 1 – 25 of 29) sorted by relevance

12

/dports/devel/tbb/oneTBB-2020.3/examples/common/gui/
H A Dwinvideo.h48 HANDLE g_handles[2] = {0,0};// thread and wake up event variable
232 g_handles[0] = CreateThread ( in main_loop()
238 if(!g_handles[0]) { DisplayError("Can't create thread"); return; } in main_loop()
240 g_handles[1] = CreateEvent(NULL, false, false, NULL); in main_loop()
244 … DWORD r = MsgWaitForMultipleObjects(2, g_handles, false, INFINITE, QS_ALLINPUT^QS_MOUSEMOVE); in main_loop()
248 if(WaitForSingleObject(g_handles[0], 3000) == WAIT_TIMEOUT){ in main_loop()
252 if(g_handles[0]) CloseHandle(g_handles[0]); in main_loop()
253 if(g_handles[1]) CloseHandle(g_handles[1]); in main_loop()
254 g_handles[0] = g_handles[1] = 0; in main_loop()
265 else if(g_handles[1]) { in next_frame()
[all …]
/dports/devel/taskflow/taskflow-3.2.0/3rd-party/tbb/examples/common/gui/
H A Dwinvideo.h48 HANDLE g_handles[2] = {0,0};// thread and wake up event variable
232 g_handles[0] = CreateThread ( in main_loop()
238 if(!g_handles[0]) { DisplayError("Can't create thread"); return; } in main_loop()
240 g_handles[1] = CreateEvent(NULL, false, false, NULL); in main_loop()
244 … DWORD r = MsgWaitForMultipleObjects(2, g_handles, false, INFINITE, QS_ALLINPUT^QS_MOUSEMOVE); in main_loop()
248 if(WaitForSingleObject(g_handles[0], 3000) == WAIT_TIMEOUT){ in main_loop()
252 if(g_handles[0]) CloseHandle(g_handles[0]); in main_loop()
253 if(g_handles[1]) CloseHandle(g_handles[1]); in main_loop()
254 g_handles[0] = g_handles[1] = 0; in main_loop()
265 else if(g_handles[1]) { in next_frame()
[all …]
/dports/devel/onetbb/oneTBB-2021.4.0/examples/common/gui/
H A Dwinvideo.hpp48 HANDLE g_handles[2] = { 0, 0 }; // thread and wake up event variable
264 if (!g_handles[0]) { in main_loop()
269 g_handles[1] = CreateEvent(NULL, false, false, NULL); in main_loop()
280 if (WaitForSingleObject(g_handles[0], 3000) == WAIT_TIMEOUT) { in main_loop()
284 if (g_handles[0]) in main_loop()
285 CloseHandle(g_handles[0]); in main_loop()
286 if (g_handles[1]) in main_loop()
287 CloseHandle(g_handles[1]); in main_loop()
288 g_handles[0] = g_handles[1] = 0; in main_loop()
302 else if (g_handles[1]) { in next_frame()
[all …]
/dports/math/z3/z3-z3-4.8.13/src/shell/
H A Dopt_frontend.cpp28 static unsigned_vector g_handles; variable
39 for (unsigned h : g_handles) { in display_model()
99 parse_wcnf(opt, in, g_handles); in parse_opt()
102 parse_opb(opt, in, g_handles); in parse_opt()
105 parse_lp(opt, in, g_handles); in parse_opt()
/dports/math/py-z3-solver/z3-z3-4.8.10/src/shell/
H A Dopt_frontend.cpp28 static unsigned_vector g_handles; variable
39 for (unsigned h : g_handles) { in display_model()
99 parse_wcnf(opt, in, g_handles); in parse_opt()
102 parse_opb(opt, in, g_handles); in parse_opt()
105 parse_lp(opt, in, g_handles); in parse_opt()
/dports/emulators/fs-uae/fs-uae-3.1.35/src/
H A Duaenative.cpp70 static uni_handle *g_handles = NULL; variable
129 if (g_handles[i].library == NULL && g_handles[i].function == NULL) { in register_handle()
140 g_handles = (uni_handle *) realloc(g_handles, in register_handle()
151 g_handles[index].library = library_data; in register_handle()
152 g_handles[index].function = function; in register_handle()
311 if (g_handles[index].function) { in get_library_data_from_handle()
315 return g_handles[index].library; in get_library_data_from_handle()
519 library_data = g_handles[index].library; in uaenative_call_function()
615 if (g_handles[i].library == library_data) { in uaenative_close_library()
616 g_handles[i].library = NULL; in uaenative_close_library()
[all …]
/dports/emulators/hercules/hercules-3.13/
H A Dw32stape.c40 static HANDLE g_handles [ W32STAPE_MAX_FDNUMS ] = {0}; // (WIN32 handles) variable
62 memset( g_handles, 0x00, sizeof ( g_handles ) ); in obtain_w32stape_lock()
289 g_handles [ ifd ] = hFile; // (WIN32 handle) in w32_open_tape()
545 HANDLE hFile = g_handles[ ifd ]; in w32_close_tape()
548 g_handles[ ifd ] = NULL; in w32_close_tape()
604 hFile = g_handles[ ifd ]; in w32_read_tape()
678 hFile = g_handles[ ifd ]; in w32_write_tape()
736 hFile = g_handles[ ifd ]; in w32_ioctl_tape()
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/gallium/frontends/clover/core/
H A Dkernel.cpp62 std::vector<uint32_t *> g_handles = map([&](size_t h) { in launch() local
64 }, exec.g_handles); in launch()
76 exec.g_buffers.data(), g_handles.data()); in launch()
254 g_handles.clear(); in unbind()
431 ctx.g_handles.push_back(ctx.input.size()); in bind()
H A Dkernel.hpp61 std::vector<size_t> g_handles; member
/dports/lang/clover/mesa-21.3.6/src/gallium/frontends/clover/core/
H A Dkernel.cpp79 std::vector<uint32_t *> g_handles = map([&](size_t h) { in launch() local
81 }, exec.g_handles); in launch()
95 exec.g_buffers.data(), g_handles.data()); in launch()
310 g_handles.clear(); in unbind()
488 ctx.g_handles.push_back(ctx.input.size()); in bind()
H A Dkernel.hpp65 std::vector<size_t> g_handles; member
/dports/graphics/libosmesa/mesa-21.3.6/src/gallium/frontends/clover/core/
H A Dkernel.cpp79 std::vector<uint32_t *> g_handles = map([&](size_t h) { in launch() local
81 }, exec.g_handles); in launch()
95 exec.g_buffers.data(), g_handles.data()); in launch()
310 g_handles.clear(); in unbind()
488 ctx.g_handles.push_back(ctx.input.size()); in bind()
H A Dkernel.hpp65 std::vector<size_t> g_handles; member
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/gallium/frontends/clover/core/
H A Dkernel.cpp79 std::vector<uint32_t *> g_handles = map([&](size_t h) { in launch() local
81 }, exec.g_handles); in launch()
95 exec.g_buffers.data(), g_handles.data()); in launch()
310 g_handles.clear(); in unbind()
488 ctx.g_handles.push_back(ctx.input.size()); in bind()
H A Dkernel.hpp65 std::vector<size_t> g_handles; member
/dports/graphics/mesa-libs/mesa-21.3.6/src/gallium/frontends/clover/core/
H A Dkernel.cpp79 std::vector<uint32_t *> g_handles = map([&](size_t h) { in launch() local
81 }, exec.g_handles); in launch()
95 exec.g_buffers.data(), g_handles.data()); in launch()
310 g_handles.clear(); in unbind()
488 ctx.g_handles.push_back(ctx.input.size()); in bind()
H A Dkernel.hpp65 std::vector<size_t> g_handles; member
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/gallium/frontends/clover/core/
H A Dkernel.cpp79 std::vector<uint32_t *> g_handles = map([&](size_t h) { in launch() local
81 }, exec.g_handles); in launch()
95 exec.g_buffers.data(), g_handles.data()); in launch()
310 g_handles.clear(); in unbind()
488 ctx.g_handles.push_back(ctx.input.size()); in bind()
H A Dkernel.hpp65 std::vector<size_t> g_handles; member
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/gallium/frontends/clover/core/
H A Dkernel.cpp79 std::vector<uint32_t *> g_handles = map([&](size_t h) { in launch() local
81 }, exec.g_handles); in launch()
95 exec.g_buffers.data(), g_handles.data()); in launch()
310 g_handles.clear(); in unbind()
488 ctx.g_handles.push_back(ctx.input.size()); in bind()
H A Dkernel.hpp65 std::vector<size_t> g_handles; member
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/gallium/frontends/clover/core/
H A Dkernel.cpp79 std::vector<uint32_t *> g_handles = map([&](size_t h) { in launch() local
81 }, exec.g_handles); in launch()
95 exec.g_buffers.data(), g_handles.data()); in launch()
310 g_handles.clear(); in unbind()
488 ctx.g_handles.push_back(ctx.input.size()); in bind()
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/gallium/frontends/clover/core/
H A Dkernel.cpp79 std::vector<uint32_t *> g_handles = map([&](size_t h) { in launch() local
81 }, exec.g_handles); in launch()
95 exec.g_buffers.data(), g_handles.data()); in launch()
310 g_handles.clear(); in unbind()
488 ctx.g_handles.push_back(ctx.input.size()); in bind()
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/gallium/frontends/clover/core/
H A Dkernel.cpp79 std::vector<uint32_t *> g_handles = map([&](size_t h) { in launch() local
81 }, exec.g_handles); in launch()
95 exec.g_buffers.data(), g_handles.data()); in launch()
310 g_handles.clear(); in unbind()
488 ctx.g_handles.push_back(ctx.input.size()); in bind()
/dports/graphics/mesa-dri/mesa-21.3.6/src/gallium/frontends/clover/core/
H A Dkernel.cpp79 std::vector<uint32_t *> g_handles = map([&](size_t h) { in launch() local
81 }, exec.g_handles); in launch()
95 exec.g_buffers.data(), g_handles.data()); in launch()
310 g_handles.clear(); in unbind()
488 ctx.g_handles.push_back(ctx.input.size()); in bind()

12