Home
last modified time | relevance | path

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

/dports/print/hplip/hplip-3.20.6/scan/sane/
H A Dorblite.c280 if (!g_handle) in orblite_open()
285 if (!g_handle->Options) in orblite_open()
307 stat = g_handle->bb_orblite_open(devicename, &g_handle); in orblite_open()
309 *handle = g_handle; in orblite_open()
318 g_handle->bb_orblite_close(g_handle); in orblite_close()
354 return g_handle->bb_orblite_start(g_handle); in orblite_start()
361 return g_handle->bb_orblite_get_parameters(g_handle, params); in orblite_get_parameters()
369 return g_handle->bb_orblite_read (g_handle, data, max_length, length); in orblite_read()
376 g_handle->bb_orblite_cancel(g_handle); in orblite_cancel()
385 return g_handle->bb_orblite_set_io_mode(g_handle, non_blocking); in orblite_set_io_mode()
[all …]
/dports/devel/grpc134/grpc-1.34.1/src/core/lib/iomgr/
H A Dpollset_uv.cc44 static uv_poller_handle* g_handle; variable
48 g_handle->refs = 2; in init()
49 uv_timer_init(uv_default_loop(), &g_handle->poll_timer); in init()
50 uv_timer_init(uv_default_loop(), &g_handle->kick_timer); in init()
64 uv_timer_stop(&g_handle->poll_timer); in run_loop()
72 uv_timer_start(&g_handle->kick_timer, kick_timer_cb, 0, 0); in kick()
77 g_handle->refs--; in close_timer_cb()
78 if (g_handle->refs == 0) { in close_timer_cb()
79 gpr_free(g_handle); in close_timer_cb()
84 uv_close((uv_handle_t*)&g_handle->poll_timer, close_timer_cb); in shutdown()
[all …]
/dports/devel/grpc130/grpc-1.30.2/src/core/lib/iomgr/
H A Dpollset_uv.cc44 static uv_poller_handle* g_handle; variable
48 g_handle->refs = 2; in init()
49 uv_timer_init(uv_default_loop(), &g_handle->poll_timer); in init()
50 uv_timer_init(uv_default_loop(), &g_handle->kick_timer); in init()
64 uv_timer_stop(&g_handle->poll_timer); in run_loop()
72 uv_timer_start(&g_handle->kick_timer, kick_timer_cb, 0, 0); in kick()
77 g_handle->refs--; in close_timer_cb()
78 if (g_handle->refs == 0) { in close_timer_cb()
79 gpr_free(g_handle); in close_timer_cb()
84 uv_close((uv_handle_t*)&g_handle->poll_timer, close_timer_cb); in shutdown()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/grpc/src/src/core/lib/iomgr/
H A Dpollset_uv.cc44 static uv_poller_handle* g_handle; variable
48 g_handle->refs = 2; in init()
49 uv_timer_init(uv_default_loop(), &g_handle->poll_timer); in init()
50 uv_timer_init(uv_default_loop(), &g_handle->kick_timer); in init()
64 uv_timer_stop(&g_handle->poll_timer); in run_loop()
72 uv_timer_start(&g_handle->kick_timer, kick_timer_cb, 0, 0); in kick()
77 g_handle->refs--; in close_timer_cb()
78 if (g_handle->refs == 0) { in close_timer_cb()
79 gpr_free(g_handle); in close_timer_cb()
84 uv_close((uv_handle_t*)&g_handle->poll_timer, close_timer_cb); in shutdown()
[all …]
/dports/devel/efl/efl-1.25.1/src/lib/eeze/
H A Deeze_sensor.c36 static Eeze_Sensor *g_handle; variable
132 if (!g_handle->modules_array) in eeze_sensor_modules_load()
146 if (!g_handle->modules_array) return; in eeze_sensor_modules_unload()
149 eina_array_free(g_handle->modules_array); in eeze_sensor_modules_unload()
150 g_handle->modules_array = NULL; in eeze_sensor_modules_unload()
358 eina_hash_free(g_handle->modules); in eeze_sensor_shutdown()
359 g_handle->modules = NULL; in eeze_sensor_shutdown()
360 free(g_handle); in eeze_sensor_shutdown()
361 g_handle = NULL; in eeze_sensor_shutdown()
379 if (!g_handle) return EINA_FALSE; in eeze_sensor_init()
[all …]
/dports/security/beid/eid-mw-5.0.8/installers/quickinstaller/NSIS_Plugins/beidread/
H A Dcommon.c23 HMODULE g_handle = NULL; //handle to the pkcs11 library variable
30 if(g_handle == NULL){ in loadpkcs11()
31g_handle = LoadLibrary(TEXT("beidpkcs11.dll"));//PKCS11_LIB);//"F:\\Windows\\System32\\beidpkcs11.… in loadpkcs11()
32 if (g_handle == NULL) { in loadpkcs11()
39 pC_GetFunctionList = (CK_C_GetFunctionList) GetProcAddress(g_handle, "C_GetFunctionList"); in loadpkcs11()
41 FreeLibrary(g_handle); in loadpkcs11()
51 if(g_handle != NULL) in unloadpkcs11()
53 FreeLibrary(g_handle); in unloadpkcs11()
54 g_handle = NULL; in unloadpkcs11()
/dports/net/corosync2/corosync-2.4.5/test/
H A Dtestvotequorum1.c47 static votequorum_handle_t g_handle; variable
136 if ( (err=votequorum_initialize(&g_handle, &callbacks)) != CS_OK) in main()
139 if ( (err = votequorum_trackstart(g_handle, g_handle, CS_TRACK_CHANGES)) != CS_OK) in main()
142 if ( (err=votequorum_getinfo(g_handle, 0, &info)) != CS_OK) in main()
162 if ( (err=votequorum_setexpected(g_handle, atoi(argv[1]))) != CS_OK) in main()
166 if ( (err=votequorum_setvotes(g_handle, 0, atoi(argv[2]))) != CS_OK) in main()
171 if ( (err=votequorum_getinfo(g_handle, 0, &info)) != CS_OK) in main()
195 if (votequorum_dispatch(g_handle, CS_DISPATCH_ALL) != CS_OK) { in main()
H A Dtestquorum.c11 static quorum_handle_t g_handle; variable
42 if ( (err=quorum_initialize(&g_handle, &callbacks, &quorum_type)) != CS_OK) in main()
45 if ( (err=quorum_trackstart(g_handle, CS_TRACK_CHANGES)) != CS_OK) in main()
48 if ( (err=quorum_getquorate(g_handle, &quorate)) != CS_OK) in main()
58 if (quorum_dispatch(g_handle, CS_DISPATCH_ALL) != CS_OK) { in main()
/dports/devel/ga/ga-5.8/global/src/
H A Diterator.c110 #define gam_Location(proc, g_handle, subscript, ptr_loc, ld) \ argument
112 Integer _offset=0, _d, _w, _factor=1, _last=GA[g_handle].ndim-1; \
115 ga_ownsM(g_handle, proc, _lo, _hi); \
116 gaCheckSubscriptM(subscript, _lo, _hi, GA[g_handle].ndim); \
138 *(ptr_loc) = GA[g_handle].ptr[_pinv]+_offset*GA[g_handle].elemsize; \
141 void gam_LocationF(int proc, Integer g_handle, Integer subscript[], in gam_LocationF() argument
144 Integer _offset=0, _d, _w, _factor=1, _last=GA[g_handle].ndim-1; in gam_LocationF()
147 ga_ownsM(g_handle, proc, _lo, _hi); in gam_LocationF()
148 gaCheckSubscriptM(subscript, _lo, _hi, GA[g_handle].ndim); in gam_LocationF()
149 if(_last==0) ld[0]=_hi[0]- _lo[0]+1+2*(Integer)GA[g_handle].width[0]; in gam_LocationF()
[all …]
H A Dbase.h380 #define gam_Loc_ptr(proc, g_handle, subscript, ptr_loc) \ argument
382 Integer _offset=0, _d, _w, _factor=1, _last=GA[g_handle].ndim-1; \
385 ga_ownsM(g_handle, proc, _lo, _hi); \
386 _p_handle = GA[g_handle].p_handle; \
388 gaCheckSubscriptM(subscript, _lo, _hi, GA[g_handle].ndim); \
391 _w = (Integer)GA[g_handle].width[_d]; \
396 + (Integer)GA[g_handle].width[_last]) \
401 if (GA[g_handle].num_rstrctd > 0) \
402 _iproc = GA[g_handle].rstrctd_list[_iproc]; \
403 *(ptr_loc) = GA[g_handle].ptr[_iproc]+_offset*GA[g_handle].elemsize; \
H A Donesided.c253 Integer _ilo, _ihi, _jlo, _jhi, offset, proc_place, g_handle=(g_a)+GA_OFFSET;\
255 Integer _iw = GA[g_handle].width[0]; \
256 Integer _jw = GA[g_handle].width[1]; \
257 Integer _num_rstrctd = GA[g_handle].num_rstrctd; \
259 ga_ownsM(g_handle, (proc),_lo,_hi); \
260 _p_handle = GA[g_handle].p_handle; \
264 proc_place = GA[g_handle].rstrctd_list[proc_place]; \
282 *(ptr_loc) = GA[g_handle].ptr[proc_place] + \
283 offset*GAsizeofM(GA[g_handle].type); \
290 #define gam_Location(proc, g_handle, subscript, ptr_loc, ld) \ argument
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/native_client/tests/custom_desc/
H A Ddesc_test_host.c21 static void *g_handle = (void *) 0x1234; variable
39 CHECK(handle == g_handle); in ExampleDescDestroy()
55 CHECK(handle == g_handle); in ExampleDescSendMsg()
114 CHECK(handle == g_handle); in ExampleDescRecvMsg()
175 return NaClDescMakeCustomDesc(g_handle, &funcs); in MakeExampleDesc()
/dports/www/chromium-legacy/chromium-88.0.4324.182/media/audio/android/
H A Dopensles_wrapper.cc92 static base::NativeLibrary g_handle = IntializeLibraryHandle(); in LibraryHandle() local
93 return g_handle; in LibraryHandle()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/media/audio/android/
H A Dopensles_wrapper.cc92 static base::NativeLibrary g_handle = IntializeLibraryHandle(); in LibraryHandle() local
93 return g_handle; in LibraryHandle()
/dports/devel/xelfviewer/XELFViewer-0.03/XDisasmView/
H A Dxdisasmview.cpp26 g_handle=0; in XDisasmView()
64 if(g_handle) in ~XDisasmView()
66 cs_close(&g_handle); in ~XDisasmView()
120 XCapstone::closeHandle(&g_handle); in setMode()
121 XCapstone::openHandle(disasmMode,&g_handle,true); in setMode()
152 if(g_handle) in _disasm()
156 int nNumberOfOpcodes=cs_disasm(g_handle,(uint8_t *)pData,nDataSize,nAddress,1,&pInsn); in _disasm()
785 …dmds.setData(getDevice(),state.nSelectionOffset,getMemoryMap(),g_handle,g_options.sSignaturesPath); in _signatureSlot()
H A Ddialogmultidisasmsignature.h73 csh g_handle; variable
H A Ddialogmultidisasmsignature.cpp62 this->g_handle=handle; in setData()
93 size_t count=cs_disasm(g_handle,pData,nDataSize,nAddress,1,&pInsn); in reload()
H A Dxdisasmview.h133 csh g_handle; variable
/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/rpc_server/samr/
H A Ddcesrv_samr.c906 struct dcesrv_handle *g_handle; in samr_CreateDomainGroup() local
990 if (!g_handle) { in samr_CreateDomainGroup()
994 g_handle->data = talloc_steal(g_handle, a_state); in samr_CreateDomainGroup()
996 *r->out.group_handle = g_handle->wire_handle; in samr_CreateDomainGroup()
1896 struct dcesrv_handle *g_handle; in samr_OpenGroup() local
1951 if (!g_handle) { in samr_OpenGroup()
1955 g_handle->data = talloc_steal(g_handle, a_state); in samr_OpenGroup()
1957 *r->out.group_handle = g_handle->wire_handle; in samr_OpenGroup()
2358 struct dcesrv_handle *g_handle; in samr_OpenAlias() local
2413 if (!g_handle) { in samr_OpenAlias()
[all …]
/dports/net/samba412/samba-4.12.15/source4/rpc_server/samr/
H A Ddcesrv_samr.c1117 struct dcesrv_handle *g_handle; in dcesrv_samr_CreateDomainGroup() local
1155 if (!g_handle) { in dcesrv_samr_CreateDomainGroup()
1159 g_handle->data = talloc_steal(g_handle, a_state); in dcesrv_samr_CreateDomainGroup()
1161 *r->out.group_handle = g_handle->wire_handle; in dcesrv_samr_CreateDomainGroup()
2246 struct dcesrv_handle *g_handle; in dcesrv_samr_OpenGroup() local
2311 if (!g_handle) { in dcesrv_samr_OpenGroup()
2315 g_handle->data = talloc_steal(g_handle, a_state); in dcesrv_samr_OpenGroup()
2317 *r->out.group_handle = g_handle->wire_handle; in dcesrv_samr_OpenGroup()
2717 struct dcesrv_handle *g_handle; in dcesrv_samr_OpenAlias() local
2771 if (!g_handle) { in dcesrv_samr_OpenAlias()
[all …]
/dports/net/corosync2/corosync-2.4.5/
H A DChangeLog13309 * test/testvotequorum1.c (main): Rename: s/handle/g_handle/.
13332 * test/testquorum.c: Rename: s/handle/g_handle/.