Home
last modified time | relevance | path

Searched refs:_hook (Results 1 – 25 of 359) sorted by relevance

12345678910>>...15

/dports/games/tycho/species/
H A Dhook.hpp52 void hook(CHook *newhook) { delete _hook; _hook = newhook; } in hook()
54 CHookable() { _hook = 0; } in CHookable()
55 ~CHookable() { delete _hook; } in ~CHookable()
57 if(0 != _hook) in notify_hook_fight()
58 _hook->on_fight(self,other); in notify_hook_fight()
61 if(0 != _hook) in notify_hook_fight()
62 _hook->on_fight(self,other); in notify_hook_fight()
65 if(0 != _hook) in notify_reproduction()
66 _hook->on_reproduction(self); in notify_reproduction()
69 if(0 != _hook) in notify_reproduction()
[all …]
/dports/games/species/species/
H A Dhook.hpp52 void hook(CHook *newhook) { delete _hook; _hook = newhook; } in hook()
54 CHookable() { _hook = 0; } in CHookable()
55 ~CHookable() { delete _hook; } in ~CHookable()
57 if(0 != _hook) in notify_hook_fight()
58 _hook->on_fight(self,other); in notify_hook_fight()
61 if(0 != _hook) in notify_hook_fight()
62 _hook->on_fight(self,other); in notify_hook_fight()
65 if(0 != _hook) in notify_reproduction()
66 _hook->on_reproduction(self); in notify_reproduction()
69 if(0 != _hook) in notify_reproduction()
[all …]
/dports/security/ccrypt/ccrypt-1.11/src/
H A Dlists.h71 listtype **_hook; \
72 _list_find_hook(list, *_hook==elt, _hook); \
99 listtype **_hook; \
178 _list_find_hook(list, (tmp=*_hook, (cond)), _hook); \
224 listtype **_hook; \
225 _hook = &(result); \
228 *_hook = b; \
231 *_hook = a; \
234 *_hook = a; \
238 *_hook = b; \
[all …]
/dports/sysutils/bastille/bastille-00d9e03/usr/local/share/bastille/
H A Dverify.sh75 _path=${_template_path}/${_hook}
78 info "Detected ${_hook} hook."
82 info "[${_hook}]:"
88 elif [ "${_hook}" = 'INCLUDE' ]; then
89 info "[${_hook}]:"
93 info "[${_hook}]:[${_include}]:"
99 elif [ "${_hook}" = 'OVERLAY' ]; then
100 info "[${_hook}]:"
104 info "[${_hook}]:[${_dir}]:"
113 info "[${_hook}]:"
[all …]
H A Dtemplate.sh336 for _hook in ${HOOKS}; do
337 if [ -s "${bastille_template}/${_hook}" ]; then
339 _cmd=$(echo "${_hook}" | awk '{print tolower($1);}')
343 case ${_hook} in
366 info "[${_jail}]:${_hook} -- START"
367 if [ "${_hook}" = 'CMD' ] || [ "${_hook}" = 'PRE' ]; then
368 bastille cmd "${_jail}" /bin/sh < "${bastille_template}/${_hook}" || exit 1
369 elif [ "${_hook}" = 'PKG' ]; then
381 done < "${bastille_template}/${_hook}"
383 info "[${_jail}]:${_hook} -- END"
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/thirdparty/potrace/include/
H A Dlists.h101 listtype * *_hook; \
102 _list_find_hook( list, *_hook == elt, _hook ); \
103 list_unlink_athook( list, elt, _hook ); \
115 listtype * *_hook; \
116 _list_forall_hook( list, _hook ) \
119 list_insert_athook( elt, _hook ); \
125 listtype * *_hook; \
126 list_find2( elt, list, c, _hook ); \
127 list_unlink_athook( list, elt, _hook ); \
211 _list_find_hook( list, ( tmp = *_hook, ( cond ) ), _hook ); \
[all …]
/dports/cad/pcb/pcb-4.2.0/src/hid/gcode/
H A Dlists.h117 listtype **_hook; \
118 _list_find_hook(list, *_hook==elt, _hook); \
143 listtype **_hook; \
252 _list_find_hook(list, (tmp=*_hook, (cond)), _hook); \
310 listtype **_hook; \
311 _hook = &(result); \
314 *_hook = b; \
317 *_hook = a; \
320 *_hook = a; \
321 _hook = &(a->next); \
[all …]
/dports/graphics/libpotrace/potrace-1.16/src/
H A Dlists.h83 listtype **_hook; \
84 _list_find_hook(list, *_hook==elt, _hook); \
103 listtype **_hook; \
182 _list_find_hook(list, (tmp=*_hook, (cond)), _hook); \
228 listtype **_hook; \
229 _hook = &(result); \
232 *_hook = b; \
235 *_hook = a; \
238 *_hook = a; \
239 _hook = &(a->next); \
[all …]
/dports/graphics/openorienteering-mapper/mapper-0.9.2/3rd-party/cove/potrace/
H A Dlists.h84 listtype **_hook; \
85 _list_find_hook(list, *_hook==elt, _hook); \
104 listtype **_hook; \
183 _list_find_hook(list, (tmp=*_hook, (cond)), _hook); \
229 listtype **_hook; \
230 _hook = &(result); \
233 *_hook = b; \
236 *_hook = a; \
239 *_hook = a; \
240 _hook = &(a->next); \
[all …]
/dports/graphics/potrace/potrace-1.16/src/
H A Dlists.h83 listtype **_hook; \
84 _list_find_hook(list, *_hook==elt, _hook); \
103 listtype **_hook; \
182 _list_find_hook(list, (tmp=*_hook, (cond)), _hook); \
228 listtype **_hook; \
229 _hook = &(result); \
232 *_hook = b; \
235 *_hook = a; \
238 *_hook = a; \
239 _hook = &(a->next); \
[all …]
/dports/sysutils/barrier/barrier-2.3.3/src/lib/platform/
H A DMSWindowsHookResource.cpp4 _hook(NULL) in WindowsHookResource()
17 _hook = SetWindowsHookEx(idHook, lpfn, hmod, dwThreadId); in set()
24 if (UnhookWindowsHookEx(_hook) == 0) { in unset()
27 _hook = NULL; in unset()
32 bool WindowsHookResource::is_set() const { return _hook != NULL; } in is_set()
33 WindowsHookResource::operator HHOOK() const { return _hook; } in operator HHOOK()
/dports/textproc/py-python-lsp-server/python-lsp-server-1.3.3/pylsp/
H A Dpython_lsp.py151 def _hook(self, hook_name, doc_uri=None, **kwargs): member in PythonLSPServer
174 'commands': flatten(self._hook('pylsp_commands'))
197 self._hook('pylsp_experimental_capabilities'))
227 self._dispatchers = self._hook('pylsp_dispatchers')
228 self._hook('pylsp_initialize')
252 self._hook('pylsp_initialized')
258 return flatten(self._hook('pylsp_code_lens', doc_uri))
281 return self._hook('pylsp_format_document', doc_uri)
303 return flatten(self._hook(
315 return flatten(self._hook('pylsp_folding_range', doc_uri))
[all …]
/dports/math/dune-common/dune-common-df65b1282ea89ad40d2cb6565983f7e633ccce31/dune/common/
H A Dexceptions.cc9 ExceptionHook * Exception::_hook = 0; member in Dune::Exception
17 if (_hook != 0) _hook->operator()(); in Exception()
22 _hook = hook; in registerHook()
27 _hook = 0; in clearHook()
/dports/net/ipsumdump/ipsumdump-1.86/libclick-2.1/libsrc/
H A Dtimer.cc199 _hook.callback = do_nothing_hook; in Timer()
205 _hook.callback = do_nothing_hook; in Timer()
211 _hook.callback = f; in Timer()
217 _hook.callback = element_hook; in Timer()
223 _hook.callback = task_hook; in Timer()
227 : _schedpos1(0), _hook(x._hook), _thunk(x._thunk), _owner(0), _thread(0) in Timer()
242 if (unlikely(_hook.callback == do_nothing_hook && !_thunk) && !quiet) in initialize()
/dports/devel/py-pdm/pdm-1.11.0/pdm/builders/
H A Deditable.py21 if self._hook.build_backend.startswith(
32 requires = self._hook.get_requires_for_build_editable(config_settings)
34 filename = self._hook.prepare_metadata_for_build_editable(
50 requires = self._hook.get_requires_for_build_editable(config_settings)
52 filename = self._hook.build_editable(
H A Dwheel.py14 requires = self._hook.get_requires_for_build_wheel(config_settings)
16 filename = self._hook.prepare_metadata_for_build_wheel(out_dir, config_settings)
26 requires = self._hook.get_requires_for_build_wheel(config_settings)
28 filename = self._hook.build_wheel(out_dir, config_settings, metadata_directory)
/dports/devel/codeblocks/codeblocks-20.03/src/include/scripting/squirrel/
H A Dsquserdata.h7 …SQUserData(SQSharedState *ss){ _delegate = 0; _hook = NULL; INIT_CHAIN(); ADD_TO_CHAIN(&_ss(this)-… in SQUserData()
26 if (_hook) _hook(_val,_size); in Release()
33 SQRELEASEHOOK _hook; member
/dports/games/scourge/scourge/src/squirrel/
H A Dsquserdata.h7 …SQUserData(SQSharedState *ss){ _delegate = 0; _hook = NULL; INIT_CHAIN(); ADD_TO_CHAIN(&_ss(this)-… in SQUserData()
26 if (_hook) _hook(_val,_size); in Release()
33 SQRELEASEHOOK _hook; member
/dports/www/trafficserver/trafficserver-9.1.1/plugins/header_rewrite/
H A Druleset.cc51 if (!c->set_hook(_hook)) { in add_condition()
54 TSHttpHookNameLookup(_hook), p.get_op().c_str(), p.get_arg().c_str()); in add_condition()
81 if (!o->set_hook(_hook)) { in add_operator()
83 …%s:%d: can't use this operator in hook=%s: %s(%s)", filename, lineno, TSHttpHookNameLookup(_hook), in add_operator()
86 TSHttpHookNameLookup(_hook), p.get_op().c_str(), p.get_arg().c_str()); in add_operator()
/dports/games/openttd/openttd-12.1/src/3rdparty/squirrel/squirrel/
H A Dsquserdata.h7 …SQUserData(SQSharedState *ss, SQInteger size){ _delegate = nullptr; _hook = nullptr; INIT_CHAIN();… in SQUserData()
25 if (_hook) _hook(_val,_size); in Release()
32 SQRELEASEHOOK _hook; member
/dports/textproc/enchant2/enchant-2.2.15/tests/
H A Dmock_provider.cpp58 static ConfigureHook _hook; variable
65 _hook = hook; in set_configure()
104 if(_hook){ in configure_enchant_provider()
105 _hook(me, dir_name); in configure_enchant_provider()
/dports/games/supertux2/SuperTux-v0.6.3-Source/external/squirrel/squirrel/
H A Dsquserdata.h7 …SQUserData(SQSharedState *ss){ _delegate = 0; _hook = NULL; INIT_CHAIN(); ADD_TO_CHAIN(&_ss(this)-… in SQUserData()
27 if (_hook) _hook((SQUserPointer)sq_aligning(this + 1),_size); in Release()
35 SQRELEASEHOOK _hook; member
/dports/lang/squirrel/squirrel3/squirrel/
H A Dsquserdata.h7 …SQUserData(SQSharedState *ss){ _delegate = 0; _hook = NULL; INIT_CHAIN(); ADD_TO_CHAIN(&_ss(this)-… in SQUserData()
27 if (_hook) _hook((SQUserPointer)sq_aligning(this + 1),_size); in Release()
35 SQRELEASEHOOK _hook; member
/dports/games/simutrans/simutrans-121.0/squirrel/squirrel/
H A Dsquserdata.h7 …SQUserData(SQSharedState *ss){ _delegate = 0; _hook = NULL; INIT_CHAIN(); ADD_TO_CHAIN(&_ss(this)-… in SQUserData()
27 if (_hook) _hook((SQUserPointer)sq_aligning(this + 1),_size); in Release()
35 SQRELEASEHOOK _hook; member
/dports/net/kamailio/kamailio-5.4.5/src/modules/app_sqlang/squirrel/squirrel/
H A Dsquserdata.h7 …SQUserData(SQSharedState *ss){ _delegate = 0; _hook = NULL; INIT_CHAIN(); ADD_TO_CHAIN(&_ss(this)-… in SQUserData()
27 if (_hook) _hook((SQUserPointer)sq_aligning(this + 1),_size); in Release()
35 SQRELEASEHOOK _hook; member

12345678910>>...15