Home
last modified time | relevance | path

Searched refs:ptarget (Results 1 – 25 of 264) sorted by relevance

1234567891011

/dports/games/egoboo/egoboo-2.8.1/src/game/
H A Denchant.c440 chr_t * ptarget; in enchant_apply_set() local
620 chr_t * ptarget; in enchant_apply_add() local
727 ptarget->mana = CLIP( ptarget->mana, 0, ptarget->manamax ); in enchant_apply_add()
737 ptarget->life = CLIP( ptarget->life, 1, ptarget->lifemax ); in enchant_apply_add()
790 chr_t * ptarget; in enc_config_do_init() local
941 chr_t * ptarget; in enc_config_do_active() local
1401 chr_t * ptarget; in spawn_one_enchant() local
1477 if ( !DEFINED_PCHR( ptarget ) || !ptarget->alive ) in spawn_one_enchant()
1566 chr_t * ptarget; in enchant_remove_set() local
1758 if ( ptarget->mana < 0 ) ptarget->mana = 0; in enchant_remove_add()
[all …]
H A Dscript.c999 iTmp = ( NULL == ptarget ) ? 0 : ptarget->pos.x; in scr_run_operand()
1004 iTmp = ( NULL == ptarget ) ? 0 : ptarget->pos.y; in scr_run_operand()
1164 iTmp = ( NULL == ptarget ) ? 0 : ptarget->wisdom; in scr_run_operand()
1179 iTmp = ( NULL == ptarget ) ? 0 : ptarget->life; in scr_run_operand()
1288 iTmp = ( NULL == ptarget ) ? 0 : ptarget->pos.z - ptarget->enviro.floor_level; in scr_run_operand()
1293 iTmp = ( NULL == ptarget ) ? 0 : ptarget->pos.z; in scr_run_operand()
1369 iTmp = ( NULL == ptarget ) ? 0 : ptarget->ammo; in scr_run_operand()
1374 iTmp = ( NULL == ptarget ) ? 0 : ptarget->money; in scr_run_operand()
1407 iTmp = ( NULL == ptarget ) ? 0 : ptarget->lifemax; in scr_run_operand()
1412 iTmp = ( NULL == ptarget ) ? 0 : ptarget->team; in scr_run_operand()
[all …]
/dports/security/py-pyscard/pyscard-2.0.0/smartcard/scard/
H A Dhelpers.c193 if( !*ptarget ) in SCardHelper_AppendByteListToPyObject()
316 *ptarget = pystr; in SCardHelper_OutErrorStringAsPyObject()
320 *ptarget = Py_None; in SCardHelper_OutErrorStringAsPyObject()
386 if( !*ptarget ) in SCardHelper_AppendGuidListToPyObject()
579 if( !*ptarget ) in SCardHelper_AppendReaderStateListToPyObject()
774 if( !*ptarget ) in SCardHelper_AppendSCardContextToPyObject()
844 if( !*ptarget ) in SCardHelper_AppendSCardHandleToPyObject()
913 if( !*ptarget ) in SCardHelper_AppendSCardDwordArgToPyObject()
986 if( !*ptarget ) in SCardHelper_AppendStringToPyObject()
1011 if( !*ptarget ) in SCardHelper_AppendStringToPyObject()
[all …]
H A Dhelpers.h76 void SCardHelper_AppendByteListToPyObject( BYTELIST* source, PyObject** ptarget );
81 void SCardHelper_OutErrorStringAsPyObject( ERRORSTRING* source, PyObject** ptarget );
84 void SCardHelper_AppendGuidListToPyObject( GUIDLIST* source, PyObject** ptarget );
89 void SCardHelper_AppendReaderStateListToPyObject( READERSTATELIST* source, PyObject** ptarget );
94 void SCardHelper_AppendSCardContextToPyObject( SCARDCONTEXT source, PyObject** ptarget );
98 void SCardHelper_AppendSCardHandleToPyObject( SCARDHANDLE source, PyObject** ptarget );
102 void SCardHelper_AppendSCardDwordArgToPyObject( SCARDDWORDARG source, PyObject** ptarget );
106 void SCardHelper_AppendStringToPyObject( STRING* source, PyObject** ptarget );
111 void SCardHelper_AppendStringListToPyObject( STRINGLIST* source, PyObject** ptarget );
/dports/sysutils/busybox/busybox-1.26.2/scripts/basic/
H A Dsplit-include.c59 char * ptarget; in main() local
101 ptarget = list_target; in main()
102 *ptarget++ = '\n'; in main()
124 ptarget[itarget] = c; in main()
136 ERROR_EXIT(ptarget); in main()
152 ERROR_EXIT( ptarget ); in main()
159 ERROR_EXIT(ptarget); in main()
162 ERROR_EXIT(ptarget); in main()
166 ptarget += itarget; in main()
167 *(ptarget-1) = '\n'; in main()
[all …]
/dports/textproc/xmlf90/xmlf90-1.5.5/src/xpath/
H A Dmatch_tester.f9045 print *, " against: ", trim(ptarget)
62 len_target = len_trim(ptarget)
64 pos_target = index(ptarget,"/",back=.true.)
68 print *, " Target leaf: ", ptarget(pos_target+1:len_target)
83 anchor_leaf = ptarget(pos_target:len_target-1)
105 else if (ptarget(pos_target+1:len_target) == ".") then
109 res_match = match(p(1:len_path),ptarget(1:pos_target-1))
111 else if (ptarget(pos_target+1:len_target) == "*") then
120 res_match = match(p(1:pos_path-1),ptarget(1:pos_target-1))
123 ptarget(pos_target+1:len_target)) then
[all …]
H A Dm_xpath_api.f90555 len_target = len_trim(ptarget)
557 pos_target = index(ptarget,"/",back=.true.)
563 pos_target = index(ptarget(1:len_target-1),"/",back=.true.)
568 anchor_leaf = ptarget(pos_target:len_target-1)
585 res_match = match(p(1:pos_path-1),ptarget(1:pos_target-1))
588 else if (ptarget(pos_target+1:len_target) == ".") then
592 res_match = match(p(1:len_path),ptarget(1:pos_target-1))
594 else if (ptarget(pos_target+1:len_target) == "*") then
602 res_match = match(p(1:pos_path-1),ptarget(1:pos_target-1))
605 ptarget(pos_target+1:len_target)) then
[all …]
/dports/net/rdist6/rdist-6.1.5/src/
H A Dserver.c79 if (!ptarget) {
377 *ptarget++ = '/';
381 ptarget--;
392 *ptarget = CNULL;
455 ptarget--;
477 *ptarget = CNULL;
660 *ptarget = CNULL;
1193 for (ptarget = target; *ptarget; ptarget++);
1474 ptarget--;
1578 while (*ptarget)
[all …]
H A Dclient.c530 *ptarget = CNULL;
604 optarget = ptarget;
615 ptarget = optarget;
617 *ptarget++ = '/';
621 ptarget--;
630 ptarget = optarget;
631 *ptarget = CNULL;
710 *ptarget = CNULL;
1205 ptarget = target;
1206 while (*ptarget)
[all …]
H A Ddocmd.c656 optarget = ptarget;
657 len = ptarget - target;
665 ptarget = optarget;
666 *ptarget++ = '/';
670 ptarget--;
674 ptarget = optarget;
675 *ptarget = '\0';
703 if (ptarget == NULL) {
707 while (*ptarget)
708 ptarget++;
[all …]
/dports/games/freeciv/freeciv-2.6.6/server/
H A Dcityturn.c1093 if (ptarget->need_government != NULL in worklist_change_build_target()
1118 } else if (ptarget->require_advance != NULL in worklist_change_build_target()
1154 utype_name_translation(ptarget)); in worklist_change_build_target()
1195 requirement_vector_iterate(&ptarget->reqs, preq) { in worklist_change_build_target()
1563 API_TYPE_BUILDING_TYPE, ptarget, in worklist_change_build_target()
1576 API_TYPE_BUILDING_TYPE, ptarget, in worklist_change_build_target()
1591 API_TYPE_BUILDING_TYPE, ptarget, in worklist_change_build_target()
1612 ptarget), in worklist_change_build_target()
1615 API_TYPE_BUILDING_TYPE, ptarget, in worklist_change_build_target()
1630 ptarget), in worklist_change_build_target()
[all …]
H A Ddiplomats.c240 improvement_iterate(ptarget) { in spy_send_sabotage_list()
241 if (city_has_building(pcity, ptarget)) { in spy_send_sabotage_list()
863 struct impr_type *ptarget; in diplomat_sabotage() local
939 ptarget = NULL; in diplomat_sabotage()
942 ptarget = NULL; in diplomat_sabotage()
950 ptarget = pimprove; in diplomat_sabotage()
956 if (NULL != ptarget) { in diplomat_sabotage()
966 ptarget = NULL; in diplomat_sabotage()
981 ptarget = pimprove; in diplomat_sabotage()
1011 if (NULL == ptarget) { in diplomat_sabotage()
[all …]
/dports/games/freeciv-nox11/freeciv-2.6.6/server/
H A Dcityturn.c1093 if (ptarget->need_government != NULL in worklist_change_build_target()
1118 } else if (ptarget->require_advance != NULL in worklist_change_build_target()
1154 utype_name_translation(ptarget)); in worklist_change_build_target()
1195 requirement_vector_iterate(&ptarget->reqs, preq) { in worklist_change_build_target()
1563 API_TYPE_BUILDING_TYPE, ptarget, in worklist_change_build_target()
1576 API_TYPE_BUILDING_TYPE, ptarget, in worklist_change_build_target()
1591 API_TYPE_BUILDING_TYPE, ptarget, in worklist_change_build_target()
1612 ptarget), in worklist_change_build_target()
1615 API_TYPE_BUILDING_TYPE, ptarget, in worklist_change_build_target()
1630 ptarget), in worklist_change_build_target()
[all …]
H A Ddiplomats.c240 improvement_iterate(ptarget) { in spy_send_sabotage_list()
241 if (city_has_building(pcity, ptarget)) { in spy_send_sabotage_list()
863 struct impr_type *ptarget; in diplomat_sabotage() local
939 ptarget = NULL; in diplomat_sabotage()
942 ptarget = NULL; in diplomat_sabotage()
950 ptarget = pimprove; in diplomat_sabotage()
956 if (NULL != ptarget) { in diplomat_sabotage()
966 ptarget = NULL; in diplomat_sabotage()
981 ptarget = pimprove; in diplomat_sabotage()
1011 if (NULL == ptarget) { in diplomat_sabotage()
[all …]
/dports/math/parmgridgen/ParMGridGen-1.0/MGridGen/Lib/
H A Dmerge.c124 idxtype *phtable, *ptarget; in Merge_ARatio() local
213 to = ptarget[j]; in Merge_ARatio()
226 to = ptarget[j]; in Merge_ARatio()
242 to = ptarget[jbest]; in Merge_ARatio()
380 to = ptarget[j]; in Merge_WeightARatio()
393 to = ptarget[j]; in Merge_WeightARatio()
409 to = ptarget[jbest]; in Merge_WeightARatio()
559 to = ptarget[j]; in Merge_MinMaxARatio()
567 to = ptarget[j]; in Merge_MinMaxARatio()
745 to = ptarget[j]; in Merge_MultiObj()
[all …]
H A Dkwayfm.c95 to = ptarget[j]; in Random_KWayARatioRefine()
107 to = ptarget[jbest]; in Random_KWayARatioRefine()
234 to = ptarget[j]; in Random_KWayWeightARatioRefine()
246 to = ptarget[jbest]; in Random_KWayWeightARatioRefine()
380 to = ptarget[jbest]; in Random_KWaySCutRefine()
504 to = ptarget[j]; in Random_KWayMinMaxAverageARatioRefine()
535 to = ptarget[jbest]; in Random_KWayMinMaxAverageARatioRefine()
668 to = ptarget[j]; in Random_KWayMinMaxARatioRefine()
681 to = ptarget[jbest]; in Random_KWayMinMaxARatioRefine()
816 to = ptarget[j]; in Random_KWayMultiObjRefine()
[all …]
/dports/math/universal/universal-3.48/include/universal/verification/
H A Dposit_test_randoms.hpp388 if (testresult != ptarget) { in Compare()
391 ReportConversionError("FAIL", "=", input, (long double)(ptarget), testresult); in Compare()
393 std::cout << "target bits : " << ptarget.get() << std::endl; in Compare()
423 posit<nbits, es> testresult, ptarget; in VerifyConversionThroughRandoms() local
453 ptarget.set(raw_target); in VerifyConversionThroughRandoms()
454 nrOfFailedTests += Compare(input, testresult, ptarget, pref, bReportIndividualTestCases); in VerifyConversionThroughRandoms()
459 ptarget.set(raw_target); in VerifyConversionThroughRandoms()
460 nrOfFailedTests += Compare(input, testresult, ptarget, pref, bReportIndividualTestCases); in VerifyConversionThroughRandoms()
471 ptarget = (long double)(pref); in VerifyConversionThroughRandoms()
476 ptarget = (long double)(pref); in VerifyConversionThroughRandoms()
[all …]
/dports/astro/opencpn/OpenCPN-5.2.4/src/
H A DAIS_Decoder.cpp2544 ptarget->Brg = -1.; in UpdateOneCPA()
2551 DistanceBearingMercator( ptarget->Lat, ptarget->Lon, gLat, gLon, &brg, &dist ); in UpdateOneCPA()
2552 ptarget->Range_NM = dist; in UpdateOneCPA()
2553 ptarget->Brg = brg; in UpdateOneCPA()
2565 if( ptarget->b_OwnShip ) { in UpdateOneCPA()
2566 ptarget->CPA = 100; in UpdateOneCPA()
2567 ptarget->TCPA = -100; in UpdateOneCPA()
2609 ptarget->TCPA = 0.; in UpdateOneCPA()
2610 ptarget->CPA = 0.; in UpdateOneCPA()
2654 ll_gc_ll( ptarget->Lat, ptarget->Lon, cpa_calc_target_cog, ptarget->SOG * tcpa, in UpdateOneCPA()
[all …]
/dports/devel/efl/efl-1.25.1/src/lib/elementary/
H A Delm_access.c834 if (ptarget) in _elm_access_object_highlight()
837 elm_widget_parent_highlight_set(ptarget, EINA_FALSE); in _elm_access_object_highlight()
848 widget = _elm_access_widget_target_get(ptarget); in _elm_access_object_highlight()
896 Evas_Object *o, *ptarget; in _elm_access_object_unhighlight() local
900 ptarget = evas_object_data_get(o, "_elm_access_target"); in _elm_access_object_unhighlight()
901 if (ptarget == obj) in _elm_access_object_unhighlight()
912 elm_widget_parent_highlight_set(ptarget, EINA_FALSE); in _elm_access_object_unhighlight()
1049 Evas_Object *o, *ptarget; in _elm_access_object_highlight_disable() local
1053 ptarget = evas_object_data_get(o, "_elm_access_target"); in _elm_access_object_highlight_disable()
1054 if (ptarget) in _elm_access_object_highlight_disable()
[all …]
/dports/devel/dmake/dmake-4.13.1/tests/
H A Dtargets-2025 touch ptarget.c
26 touch ptarget.a
43 all : ptarget.a
/dports/multimedia/v4l_compat/linux-5.13-rc2/sound/isa/sb/
H A Demu8000_pcm.c257 int ptarget = 1 << (pitch >> 12); in calc_pitch_target() local
258 if (pitch & 0x800) ptarget += (ptarget * 0x102e) / 0x2710; in calc_pitch_target()
259 if (pitch & 0x400) ptarget += (ptarget * 0x764) / 0x2710; in calc_pitch_target()
260 if (pitch & 0x200) ptarget += (ptarget * 0x389) / 0x2710; in calc_pitch_target()
261 ptarget += (ptarget >> 1); in calc_pitch_target()
262 if (ptarget > 0xffff) ptarget = 0xffff; in calc_pitch_target()
263 return ptarget; in calc_pitch_target()
/dports/multimedia/libv4l/linux-5.13-rc2/sound/isa/sb/
H A Demu8000_pcm.c257 int ptarget = 1 << (pitch >> 12); in calc_pitch_target() local
258 if (pitch & 0x800) ptarget += (ptarget * 0x102e) / 0x2710; in calc_pitch_target()
259 if (pitch & 0x400) ptarget += (ptarget * 0x764) / 0x2710; in calc_pitch_target()
260 if (pitch & 0x200) ptarget += (ptarget * 0x389) / 0x2710; in calc_pitch_target()
261 ptarget += (ptarget >> 1); in calc_pitch_target()
262 if (ptarget > 0xffff) ptarget = 0xffff; in calc_pitch_target()
263 return ptarget; in calc_pitch_target()
/dports/multimedia/v4l-utils/linux-5.13-rc2/sound/isa/sb/
H A Demu8000_pcm.c257 int ptarget = 1 << (pitch >> 12); in calc_pitch_target() local
258 if (pitch & 0x800) ptarget += (ptarget * 0x102e) / 0x2710; in calc_pitch_target()
259 if (pitch & 0x400) ptarget += (ptarget * 0x764) / 0x2710; in calc_pitch_target()
260 if (pitch & 0x200) ptarget += (ptarget * 0x389) / 0x2710; in calc_pitch_target()
261 ptarget += (ptarget >> 1); in calc_pitch_target()
262 if (ptarget > 0xffff) ptarget = 0xffff; in calc_pitch_target()
263 return ptarget; in calc_pitch_target()
/dports/devel/git-svn/git-2.34.1/contrib/credential/wincred/
H A Dgit-credential-wincred.c131 static int match_part_with_last(LPCWSTR *ptarget, LPCWSTR want, LPCWSTR delim, int last) in match_part_with_last() argument
133 LPCWSTR delim_pos, start = *ptarget; in match_part_with_last()
153 *ptarget = delim_pos ? delim_pos + wcslen(delim) : start + len; in match_part_with_last()
158 static int match_part(LPCWSTR *ptarget, LPCWSTR want, LPCWSTR delim) in match_part() argument
160 return match_part_with_last(ptarget, want, delim, 0); in match_part()
163 static int match_part_last(LPCWSTR *ptarget, LPCWSTR want, LPCWSTR delim) in match_part_last() argument
165 return match_part_with_last(ptarget, want, delim, 1); in match_part_last()
/dports/devel/git-gui/git-2.34.1/contrib/credential/wincred/
H A Dgit-credential-wincred.c131 static int match_part_with_last(LPCWSTR *ptarget, LPCWSTR want, LPCWSTR delim, int last) in match_part_with_last() argument
133 LPCWSTR delim_pos, start = *ptarget; in match_part_with_last()
153 *ptarget = delim_pos ? delim_pos + wcslen(delim) : start + len; in match_part_with_last()
158 static int match_part(LPCWSTR *ptarget, LPCWSTR want, LPCWSTR delim) in match_part() argument
160 return match_part_with_last(ptarget, want, delim, 0); in match_part()
163 static int match_part_last(LPCWSTR *ptarget, LPCWSTR want, LPCWSTR delim) in match_part_last() argument
165 return match_part_with_last(ptarget, want, delim, 1); in match_part_last()

1234567891011