/dports/science/apbs/apbs-pdb2pqr-apbs-1.5-102-g500c1473/apbs/examples/alkanes/ |
H A D | alkanes.in | 27 dpos 0.2 43 dpos 0.2 59 dpos 0.2 75 dpos 0.2 91 dpos 0.2 107 dpos 0.2 123 dpos 0.2 139 dpos 0.2 155 dpos 0.2 171 dpos 0.2 [all …]
|
/dports/editors/abiword/abiword-3.0.5/src/text/ptbl/xp/ |
H A D | pt_PT_InsertStrux.cpp | 125 bool pt_PieceTable::insertStrux(PT_DocPosition dpos, in insertStrux() argument 165 return _realInsertStrux(dpos,pts,0,0,ppfs_ret); in insertStrux() 169 bool pt_PieceTable::insertStrux(PT_DocPosition dpos, in insertStrux() argument 451 bool pt_PieceTable::_realInsertStrux(PT_DocPosition dpos, in _realInsertStrux() argument 472 bool bFoundFrag = getFragFromPosition(dpos,&pf,&fragOffset); in _realInsertStrux() 486 dpos--; in _realInsertStrux() 536 insertObject(dpos, PTO_Hyperlink,NULL,NULL); in _realInsertStrux() 537 dpos++; in _realInsertStrux() 551 bFoundFrag = getFragFromPosition(dpos,&pf,&fragOffset); in _realInsertStrux() 647 dpos,indexAP,pfsNew->getXID(), pts); in _realInsertStrux() [all …]
|
H A D | pt_PT_InsertObject.cpp | 39 bool pt_PieceTable::insertObject(PT_DocPosition dpos, in insertObject() argument 52 bool bFound = getFragFromPosition(dpos,&pf,&fragOffset); in insertObject() 108 bool pt_PieceTable::insertObject(PT_DocPosition dpos, in insertObject() argument 121 bool bFound = getFragFromPosition(dpos,&pf,&fragOffset); in insertObject() 175 bool pt_PieceTable::_realInsertObject(PT_DocPosition dpos, in _realInsertObject() argument 184 UT_ASSERT_HARMLESS(dpos > 1); in _realInsertObject() 197 bool bFound = getFragFromPosition(dpos,&pf,&fragOffset); in _realInsertObject() 226 dpos,indexAP, pfo->getXID(), pto,blockOffset, in _realInsertObject() 245 UT_ASSERT_HARMLESS(dpos > 1); in _realInsertObject() 293 bool bFound = getFragFromPosition(dpos,&pf,&fragOffset); in _realInsertObject() [all …]
|
H A D | pt_PT_InsertSpan.cpp | 50 bool pt_PieceTable::insertSpan(PT_DocPosition dpos, in insertSpan() argument 63 bool bFound = getFragFromPosition(dpos,&pf,&fragOffset); in insertSpan() 99 if(!getFragFromPosition(dpos, &pf1, &Offset1)) in insertSpan() 327 bool pt_PieceTable::_lastUndoIsThisFmtMark(PT_DocPosition dpos) in _lastUndoIsThisFmtMark() argument 343 if (pcr->getPosition() != dpos) in _lastUndoIsThisFmtMark() 362 bool pt_PieceTable::_realInsertSpan(PT_DocPosition dpos, in _realInsertSpan() argument 378 bool bFound = getFragFromPosition(dpos,&pf,&fragOffset); in _realInsertSpan() 430 if (_lastUndoIsThisFmtMark(dpos)) in _realInsertSpan() 446 do { undoCmd(); } while (_lastUndoIsThisFmtMark(dpos)); in _realInsertSpan() 476 bFound = getFragFromPosition(dpos,&pf,&fragOffset); in _realInsertSpan() [all …]
|
/dports/games/openage/openage-0.3.0-1262-ga554ab49/openage/convert/ |
H A D | slp.pyx | 41 Py_ssize_t dpos 340 dpos = cpack.dpos 348 dpos += 1 362 dpos += 1 375 dpos = cpack.dpos 390 dpos = cpack.dpos 392 dpos += 1 403 dpos = cpack.dpos 405 dpos += 1 421 dpos = cpack.dpos [all …]
|
/dports/games/warmux/warmux-11.04/src/particles/ |
H A D | teleport_member.cpp | 66 Point2i dpos = destination - start; in Refresh() local 67 dpos.x = dpos.x * sin(dt*sin_x_max / TELEPORTATION_ANIM_DURATION) / sin(sin_x_max); in Refresh() 68 dpos.y = dpos.y * sin(dt*sin_y_max / TELEPORTATION_ANIM_DURATION) / sin(sin_y_max); in Refresh() 70 SetXY(start + dpos); in Refresh()
|
/dports/games/battletanks/btanks-0.9.8083/engine/tmx/ |
H A D | map.h | 184 v2<T> dpos = dst - src; in distance() local 187 const v2<T> abs_dpos (((dpos.x >= 0)? dpos.x: -dpos.x), ((dpos.y >= 0)? dpos.y: -dpos.y)); in distance() 189 if (dpos.x > 0) { in distance() 190 dpos.x -= w; in distance() 191 } else if (dpos.x < 0) { in distance() 192 dpos.x += w; in distance() 197 if (dpos.y > 0) { in distance() 198 dpos.y -= h; in distance() 199 } else if (dpos.y < 0) { in distance() 200 dpos.y += h; in distance() [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/sdet/ |
H A D | sdet_curve_model.cxx | 86 if (params.d < dpos){ in compute_curve_bundle() 108 if (params.d < dpos){ in compute_curve_bundle() 231 double omega_coords[] = { -dpos,-dtheta, -dpos,dtheta, dpos,dtheta, dpos,-dtheta }; in compute_curve_bundle() 237 if (params.d < dpos){ in compute_curve_bundle() 262 if (params.d < dpos){ in compute_curve_bundle() 411 double dk = 2*dpos/(token_len*token_len/4.0 + dpos*dpos); in compute_curve_bundle() 425 if (params.d < dpos){ in compute_curve_bundle() 975 double dk = 2*dpos/(token_len*token_len/4.0 + dpos*dpos); in compute_curve_bundle() 1766 if ( DX2 + DY2 < 4*dpos*dpos ) in compute_curve_bundle() 1773 const double dx = (adaptive ? dpos+ne->uncertainty : dpos); in compute_curve_bundle() [all …]
|
H A D | sdet_curve_model.h | 76 …ol curve_fit_is_reasonable(std::deque<sdet_edgel*> &edgel_chain, sdet_edgel* ref_e, double dpos)=0; 177 …bool curve_fit_is_reasonable(std::deque<sdet_edgel*> &edgel_chain, sdet_edgel* ref_e, double dpos)… 227 …bool curve_fit_is_reasonable(std::deque<sdet_edgel*> &edgel_chain, sdet_edgel* ref_e, double dpos)… 286 …bool curve_fit_is_reasonable(std::deque<sdet_edgel*> &edgel_chain, sdet_edgel* ref_e, double dpos)… 389 …bool curve_fit_is_reasonable(std::deque<sdet_edgel*> &edgel_chain, sdet_edgel* ref_e, double dpos)… 550 double dpos, double dtheta, 673 double dpos, double dtheta, in sdet_CC_curve_model_3d() argument 681 compute_curve_bundle(e1, e2, ref_e, dpos, dtheta, token_len, max_k, adaptive); in sdet_CC_curve_model_3d() 763 …bool curve_fit_is_reasonable(std::deque<sdet_edgel*> &edgel_chain, sdet_edgel* ref_e, double dpos)… 850 …bool curve_fit_is_reasonable(std::deque<sdet_edgel*> &edgel_chain, sdet_edgel* ref_e, double dpos)… [all …]
|
/dports/games/battletanks/btanks-0.9.8083/objects/ |
H A D | pillbox.cpp | 88 v2<float> dpos; in tick() local 89 dpos.fromDirection((d + dirs / 4) % dirs, dirs); in tick() 90 dpos *= 16; in tick() 93 spawn(_object, _object, dpos, _direction); in tick() 94 spawn(_object, _object, -dpos, _direction); in tick() 118 v2<float> dpos = get_relative_position(target); in calculate() local 120 if (result == NULL || dpos.quick_length() < dist) { in calculate() 122 dist = dpos.quick_length(); in calculate()
|
/dports/lang/oo2c/oo2c_64-2.1.11/lib/src/Codec/ |
H A D | Twofish.Mod | 115 dpos, len: LONGINT; 117 dpos := 0; 129 INC (dpos, blockSize); 147 INC (dpos, blockSize); 149 IF (dpos >= sizeBuffer) THEN 151 dpos := 0; 178 dpos, len: LONGINT; 182 dpos := 0; 194 INC (dpos, blockSize); 211 INC (dpos, blockSize); [all …]
|
/dports/net/gsocket/gsocket-1.4.28/tools/ |
H A D | console_display.c | 109 int dpos = cd->pos_display; in GS_condis_up() local 111 if (dpos >= apos) in GS_condis_up() 115 if (dpos == apos) in GS_condis_up() 123 max_scroll = cd->entries - (apos - dpos); in GS_condis_up() 126 cd->pos_display = (dpos + CONDIS_MAX_HISTORY - scroll) % CONDIS_MAX_HISTORY; in GS_condis_up() 134 int dpos = cd->pos_display; in GS_condis_down() local 136 if (dpos >= apos) in GS_condis_down() 139 if (dpos + cd->rows >= apos) in GS_condis_down() 142 int scroll = MIN(cd->rows, apos - (dpos + cd->rows)); in GS_condis_down() 143 cd->pos_display = (dpos + scroll) % CONDIS_MAX_HISTORY; in GS_condis_down()
|
/dports/devel/dfuife-curses/dfuife-curses-1.5.1.20050829/ |
H A D | curses_util.c | 284 int dpos = 0; in extract_wrapped_line() local 295 line[dpos] = '\0'; in extract_wrapped_line() 306 saved_dpos = dpos; in extract_wrapped_line() 313 dpos < width) { in extract_wrapped_line() 314 line[dpos++] = text[(*spos)++]; in extract_wrapped_line() 321 line[dpos] = '\0'; in extract_wrapped_line() 323 } else if (dpos >= width) { in extract_wrapped_line() 327 if (dpos - saved_dpos >= width) { in extract_wrapped_line() 333 *spos = saved_spos + (dpos - saved_dpos) - 1; in extract_wrapped_line() 344 line[dpos++] = ' '; in extract_wrapped_line()
|
/dports/games/sdl_scavenger/sdlscav-145/ |
H A D | sound.c | 28 Uint32 dpos; member 120 if (sounds[i].dpos != sounds[i].dlen) Waiting = 1; //Done? in WaitForSound() 149 amount = (sounds[i].dlen-sounds[i].dpos); in mixaudio() 151 SDL_MixAudio(stream, &sounds[i].data[sounds[i].dpos],amount,SDL_MIX_MAXVOLUME); in mixaudio() 152 sounds[i].dpos += amount; in mixaudio() 170 if (sounds[num].dpos != sounds[num].dlen) StopSound(num); in playsound() 175 sounds[num].dpos = 0; //Start playing at beginning of sound. in playsound() 188 sounds[num].dpos = 0; //and starts at beginning. in StopSound()
|
/dports/math/curv/curv-0.5/ideas/lib/noise/ |
H A D | SS.curv | 115 local dpos = wrel + LATTICE_LOOKUP_2D[i,1]; 116 local attn = 2/3 - dot(dpos, dpos); 120 value := value + attn^4 * dot(gradient, dpos); 178 let dpos = math::sub3(simplex_rel_coords, math::cast3(lattice_lookup)); 179 let attn = 0.75 - math::dot3(dpos, dpos); 183 value += attn.powi(4) * math::dot3(gradient, dpos); 189 let dpos = math::sub3(second_simplex_rel_coords, math::cast3(lattice_lookup)); 190 let attn = 0.75 - math::dot3(dpos, dpos); 195 value += attn.powi(4) * math::dot3(gradient, dpos);
|
/dports/games/gnugo/gnugo-3.8/patterns/ |
H A D | helpers.c | 140 int apos, bpos, cpos, dpos; in throw_in_atari_helper() local 148 dpos = OFFSET_BY(1, 1); in throw_in_atari_helper() 158 if (!attack(cpos, NULL) && !(ON_BOARD(dpos) && attack(dpos, NULL))) { in throw_in_atari_helper() 219 int dpos; in cutstone2_helper() local 504 int dpos = NO_MOVE; in backfill_helper() local 552 int dpos; in connect_and_cut_helper() local 565 dpos = libs[1]; in connect_and_cut_helper() 567 dpos = libs[0]; in connect_and_cut_helper() 579 if (TRYMOVE(dpos, other)) { in connect_and_cut_helper() 611 int dpos; in connect_and_cut_helper2() local [all …]
|
/dports/math/vtk8/VTK-8.2.0/Interaction/Widgets/ |
H A D | vtkPointHandleRepresentation2D.cxx | 206 double dpos[2]; in DetermineConstraintAxis() local 207 dpos[0] = fabs(eventPos[0] - this->StartEventPosition[0]); in DetermineConstraintAxis() 208 dpos[1] = fabs(eventPos[1] - this->StartEventPosition[1]); in DetermineConstraintAxis() 210 return (dpos[0]>dpos[1] ? 0 : 1); in DetermineConstraintAxis() 274 double pos[3], dpos[2]; in Translate() local 276 dpos[0] = eventPos[0] - pos[0]; in Translate() 277 dpos[1] = eventPos[1] - pos[1]; in Translate() 281 pos[this->ConstraintAxis] += dpos[this->ConstraintAxis]; in Translate() 285 pos[0] += dpos[0]; in Translate() 286 pos[1] += dpos[1]; in Translate()
|
/dports/math/vtk6/VTK-6.2.0/Interaction/Widgets/ |
H A D | vtkPointHandleRepresentation2D.cxx | 200 double dpos[2]; in DetermineConstraintAxis() local 201 dpos[0] = fabs(eventPos[0] - this->StartEventPosition[0]); in DetermineConstraintAxis() 202 dpos[1] = fabs(eventPos[1] - this->StartEventPosition[1]); in DetermineConstraintAxis() 204 return (dpos[0]>dpos[1] ? 0 : 1); in DetermineConstraintAxis() 268 double pos[3], dpos[2]; in Translate() local 270 dpos[0] = eventPos[0] - pos[0]; in Translate() 271 dpos[1] = eventPos[1] - pos[1]; in Translate() 275 pos[this->ConstraintAxis] += dpos[this->ConstraintAxis]; in Translate() 279 pos[0] += dpos[0]; in Translate() 280 pos[1] += dpos[1]; in Translate()
|
/dports/games/gnugo/gnugo-3.8/engine/ |
H A D | endgame.c | 160 int dpos; in endgame_analyze_worm_liberties() local 162 if (find_defense(pos, &dpos) && is_proper_eye_space(dpos)) { in endgame_analyze_worm_liberties() 171 if (i != k && essential_libs[i] != dpos in endgame_analyze_worm_liberties() 190 if (lib2 != dpos && !is_proper_eye_space(lib2) in endgame_analyze_worm_liberties() 197 defenses[num_attacks] = dpos; in endgame_analyze_worm_liberties() 401 int dpos; in endgame_find_backfilling_dame() local 420 if (attack_and_defend(str, NULL, NULL, NULL, &dpos)) { in endgame_find_backfilling_dame() 421 if (worm[dpos].color == EMPTY) { in endgame_find_backfilling_dame() 422 potential_moves[num_potential_moves] = dpos; in endgame_find_backfilling_dame() 425 forced_backfilling_moves[dpos] = 1; in endgame_find_backfilling_dame() [all …]
|
/dports/x11-fm/gentoo/gentoo-0.20.7/src/ |
H A D | cfg_windows.c | 25 GtkWidget *dpos[3]; /* Dialog position mode radio buttons. */ member 87 GtkWindowPosition dpos[] = { GTK_WIN_POS_NONE, GTK_WIN_POS_MOUSE, GTK_WIN_POS_CENTER }; in cwn_init() local 124 page->dpos[i] = gtk_radio_button_new_with_label(group, _(dlab[i])); in cwn_init() 125 g_object_set_data(G_OBJECT(page->dpos[i]), "pos", GINT_TO_POINTER(dpos[i])); in cwn_init() 126 …g_signal_connect(G_OBJECT(page->dpos[i]), "toggled", G_CALLBACK(evt_dialog_position_toggled), page… in cwn_init() 127 if(dpos[i] == min->cfg.dialogs.pos) in cwn_init() 128 gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(page->dpos[i]), TRUE); in cwn_init() 129 group = gtk_radio_button_get_group(GTK_RADIO_BUTTON(page->dpos[i])); in cwn_init() 130 gtk_box_pack_start(GTK_BOX(vbox), page->dpos[i], FALSE, FALSE, 0); in cwn_init()
|
/dports/graphics/netpbm/netpbm-10.91.01/converter/pbm/ |
H A D | escp2topbm.c | 139 unsigned int dpos; in decEpsonRLE() local 141 for (dpos = 0; dpos < blockSize; ) { in decEpsonRLE() 152 outBuffer[dpos+i] = readChar(ifP); in decEpsonRLE() 154 dpos += nonrunLength; in decEpsonRLE() 166 outBuffer[dpos + i] = repeatChar; in decEpsonRLE() 167 dpos += runLength; in decEpsonRLE() 170 if (dpos != blockSize) in decEpsonRLE()
|
/dports/dns/nsd/nsd-4.3.9/ |
H A D | radtree.c | 1090 if(dpos + dname[dpos] + 1 >= dlen) { in radname_d2r() 1095 dpos += dname[dpos]; in radname_d2r() 1096 dpos ++; in radname_d2r() 1153 dpos = 0; in radname_r2d() 1214 dpos = 0; in radname_search() 1220 if(dpos + d[dpos] + 1 >= max) in radname_search() 1223 dpos += d[dpos]; in radname_search() 1224 dpos ++; in radname_search() 1312 dpos = 0; in radname_find_less_equal() 1320 if(dpos + d[dpos] + 1 >= max) { in radname_find_less_equal() [all …]
|
/dports/devel/ode/ode-0.13/ode/demo/ |
H A D | demo_boxstack.cpp | 317 for (k=0; k<3; k++) dpos[j][k] = dRandReal()*0.3-0.15; in command() 341 dMassTranslate (&m2,dpos[k][0],dpos[k][1],dpos[k][2]); in command() 350 dpos[k][0]-m.c[0], in command() 351 dpos[k][1]-m.c[1], in command() 352 dpos[k][2]-m.c[2]); in command() 369 for (k=0; k<3; k++) dpos[j][k] = dRandReal()*0.3-0.15; in command() 393 dGeomSetPosition (g2[k],dpos[k][0],dpos[k][1],dpos[k][2]); in command() 401 dMassTranslate (&m2,dpos[k][0],dpos[k][1],dpos[k][2]); in command() 410 dpos[k][0]-m.c[0], in command() 411 dpos[k][1]-m.c[1], in command() [all …]
|
/dports/multimedia/mswebrtc/mswebrtc-1.1.1/webrtc/webrtc/base/ |
H A D | base64.cc | 139 const char* data, size_t len, size_t* dpos, in GetNextQuantum() argument 143 for (; (byte_len < 4) && (*dpos < len); ++*dpos) { in GetNextQuantum() 144 qbuf[byte_len] = DecodeTable[static_cast<unsigned char>(data[*dpos])]; in GetNextQuantum() 164 pad_start = *dpos; in GetNextQuantum() 186 *dpos = pad_start; in GetNextQuantum() 222 size_t dpos = 0; in DecodeFromArrayTemplate() local 225 while (dpos < len) { in DecodeFromArrayTemplate() 227 data, len, &dpos, qbuf, &padded); in DecodeFromArrayTemplate() 251 if ((DO_TERM_BUFFER == term_flags) && (dpos != len)) { in DecodeFromArrayTemplate() 255 *data_used = dpos; in DecodeFromArrayTemplate()
|
/dports/net-im/kopete/kopete-21.12.3/protocols/jabber/libjingle/talk/base/ |
H A D | base64.cc | 123 const char* data, size_t len, size_t* dpos, in GetNextQuantum() argument 127 for (; (byte_len < 4) && (*dpos < len); ++*dpos) { in GetNextQuantum() 128 qbuf[byte_len] = DecodeTable[static_cast<unsigned char>(data[*dpos])]; in GetNextQuantum() 148 pad_start = *dpos; in GetNextQuantum() 170 *dpos = pad_start; in GetNextQuantum() 205 size_t dpos = 0; in DecodeFromArrayTemplate() local 208 while (dpos < len) { in DecodeFromArrayTemplate() 210 data, len, &dpos, qbuf, &padded); in DecodeFromArrayTemplate() 234 if ((DO_TERM_BUFFER == term_flags) && (dpos != len)) { in DecodeFromArrayTemplate() 238 *data_used = dpos; in DecodeFromArrayTemplate()
|