Home
last modified time | relevance | path

Searched refs:lpos (Results 1 – 25 of 1244) sorted by relevance

12345678910>>...50

/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/catch2-tests/
H A Dtest_viewmap.cc28 state.lpos.pos = coord_def(50, 50);
33 REQUIRE( state.lpos.pos == coord_def(50, 51));
39 REQUIRE( state.lpos.pos == coord_def(49, 50));
45 REQUIRE( state.lpos.pos == coord_def(51, 50));
51 REQUIRE( state.lpos.pos == coord_def(50, 49));
55 state.lpos.pos = coord_def(49, 49);
57 state.lpos.pos = state.lpos.pos.clamped(known_map_bounds());
76 state.lpos.pos = coord_def(-100, 1000);
78 REQUIRE(map_bounds(state.lpos.pos) == false);
81 state.lpos.pos = state.lpos.pos.clamped(known_map_bounds());
[all …]
/dports/games/golddig/golddigC3.1/
H A Dbadguy.c183 for(lpos=0;lpos<dist;++lpos) { in regen_tree()
186 movetree[lpos] = 0; in regen_tree()
195 movetree[lpos] = MOVEDOWN; in regen_tree()
198 movetree[lpos] = MOVEUP; in regen_tree()
206 if(moveallow[lpos] == 0) in regen_tree()
207 movetree[lpos] = -1; in regen_tree()
222 if(movetree[lpos] == 0 && (moveallow[lpos] & goals[head].dir) != 0) { in regen_tree()
255 register int lpos; in move_badguys() local
269 curchar = level[lpos]; in move_badguys()
273 below = level[lpos + 1]; in move_badguys()
[all …]
H A Dmovement.c262 register int lpos,code; local
307 thing->hold = level[lpos];
317 lpos ++;
323 lpos = 0;
351 if((moveallow[lpos] & FORCEALL) &&
359 if(moveallow[lpos] & FORCEUP) {
476 if(moveallow[lpos] & MOVEUP) {
483 if(moveallow[lpos] & MOVEDOWN) {
515 register int lpos,code; local
558 lpos ++;
[all …]
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/erts/emulator/drivers/win32/
H A Dttsl_drv.c543 lpos = 0; in start_lbuf()
565 if (lpos > llen) in put_chars()
566 llen = lpos; in put_chars()
583 lpos = npos; in move_rel()
605 write_buf(lbuf + (lpos - n), llen - (lpos - n)); in ins_chars()
625 if (pos > lpos) { in del_chars()
641 move_cursor(lpos, lpos-l); /* Move back */ in del_chars()
645 lpos -= l; in del_chars()
664 c = lbuf + lpos; in step_over_chars()
711 memcpy(lbuf, lbuf + lpos, llen - lpos); in insert_buf()
[all …]
/dports/lang/erlang-runtime24/otp-OTP-24.1.7/erts/emulator/drivers/win32/
H A Dttsl_drv.c543 lpos = 0; in start_lbuf()
565 if (lpos > llen) in put_chars()
566 llen = lpos; in put_chars()
583 lpos = npos; in move_rel()
605 write_buf(lbuf + (lpos - n), llen - (lpos - n)); in ins_chars()
625 if (pos > lpos) { in del_chars()
641 move_cursor(lpos, lpos-l); /* Move back */ in del_chars()
645 lpos -= l; in del_chars()
664 c = lbuf + lpos; in step_over_chars()
711 memcpy(lbuf, lbuf + lpos, llen - lpos); in insert_buf()
[all …]
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/erts/emulator/drivers/win32/
H A Dttsl_drv.c543 lpos = 0; in start_lbuf()
565 if (lpos > llen) in put_chars()
566 llen = lpos; in put_chars()
583 lpos = npos; in move_rel()
605 write_buf(lbuf + (lpos - n), llen - (lpos - n)); in ins_chars()
625 if (pos > lpos) { in del_chars()
641 move_cursor(lpos, lpos-l); /* Move back */ in del_chars()
645 lpos -= l; in del_chars()
664 c = lbuf + lpos; in step_over_chars()
711 memcpy(lbuf, lbuf + lpos, llen - lpos); in insert_buf()
[all …]
/dports/lang/erlang-wx/otp-OTP-24.1.7/erts/emulator/drivers/win32/
H A Dttsl_drv.c543 lpos = 0; in start_lbuf()
565 if (lpos > llen) in put_chars()
566 llen = lpos; in put_chars()
583 lpos = npos; in move_rel()
605 write_buf(lbuf + (lpos - n), llen - (lpos - n)); in ins_chars()
625 if (pos > lpos) { in del_chars()
641 move_cursor(lpos, lpos-l); /* Move back */ in del_chars()
645 lpos -= l; in del_chars()
664 c = lbuf + lpos; in step_over_chars()
711 memcpy(lbuf, lbuf + lpos, llen - lpos); in insert_buf()
[all …]
/dports/lang/erlang/otp-OTP-24.1.7/erts/emulator/drivers/win32/
H A Dttsl_drv.c543 lpos = 0; in start_lbuf()
565 if (lpos > llen) in put_chars()
566 llen = lpos; in put_chars()
583 lpos = npos; in move_rel()
605 write_buf(lbuf + (lpos - n), llen - (lpos - n)); in ins_chars()
625 if (pos > lpos) { in del_chars()
641 move_cursor(lpos, lpos-l); /* Move back */ in del_chars()
645 lpos -= l; in del_chars()
664 c = lbuf + lpos; in step_over_chars()
711 memcpy(lbuf, lbuf + lpos, llen - lpos); in insert_buf()
[all …]
/dports/lang/erlang-java/otp-OTP-24.1.7/erts/emulator/drivers/win32/
H A Dttsl_drv.c543 lpos = 0; in start_lbuf()
565 if (lpos > llen) in put_chars()
566 llen = lpos; in put_chars()
583 lpos = npos; in move_rel()
605 write_buf(lbuf + (lpos - n), llen - (lpos - n)); in ins_chars()
625 if (pos > lpos) { in del_chars()
641 move_cursor(lpos, lpos-l); /* Move back */ in del_chars()
645 lpos -= l; in del_chars()
664 c = lbuf + lpos; in step_over_chars()
711 memcpy(lbuf, lbuf + lpos, llen - lpos); in insert_buf()
[all …]
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/erts/emulator/drivers/win32/
H A Dttsl_drv.c543 lpos = 0; in start_lbuf()
565 if (lpos > llen) in put_chars()
566 llen = lpos; in put_chars()
583 lpos = npos; in move_rel()
605 write_buf(lbuf + (lpos - n), llen - (lpos - n)); in ins_chars()
625 if (pos > lpos) { in del_chars()
641 move_cursor(lpos, lpos-l); /* Move back */ in del_chars()
645 lpos -= l; in del_chars()
664 c = lbuf + lpos; in step_over_chars()
711 memcpy(lbuf, lbuf + lpos, llen - lpos); in insert_buf()
[all …]
/dports/graphics/dcmtk/dcmtk-DCMTK-3.6.6/dcmdata/apps/
H A Dmdfdsman.cc128 while ((c[lpos] >= '0')&&(c[lpos] <= '9')) ++lpos; in readNextToken()
140 while ((c[lpos] != ')')&&(c[lpos] != '\0')) ++lpos; in readNextToken()
151 while ( ((c[lpos] >= 'a')&&(c[lpos] <= 'z')) || in readNextToken()
152 ((c[lpos] >= 'A')&&(c[lpos] <= 'Z')) || in readNextToken()
153 ((c[lpos] >= '0')&&(c[lpos] <= '9'))) ++lpos; in readNextToken()
262 while ( (tag_path[lpos]!='(') && (lpos>0) ) --lpos; in splitTagPath()
267 target_tag=tag_path.substr(lpos,rpos-lpos+1); in splitTagPath()
269 tag_path.erase(lpos,tag_path.length()-lpos); in splitTagPath()
281 while ( (lpos>0) && (((tag_path[lpos] >= 'a')&&(tag_path[lpos] <= 'z')) || in splitTagPath()
285 target_tag=tag_path.substr(lpos,rpos-lpos+1); in splitTagPath()
[all …]
/dports/astro/pykep/pykep-2.6/src/third_party/cspice/
H A Dlbuild.c24 integer dlen, ilen, llen, last, lpos, i__, first; in lbuild_() local
200 lpos = 1; in lbuild_()
206 if (lpos <= llen) { in lbuild_()
209 s_copy(list + (lpos - 1), delim, list_len - (lpos - 1), in lbuild_()
211 lpos += dlen; in lbuild_()
216 s_copy(list + (lpos - 1), items + ((i__ - 1) * items_len in lbuild_()
217 + (first - 1)), list_len - (lpos - 1), last - ( in lbuild_()
220 lpos = lpos + ilen + dlen; in lbuild_()
228 if (lpos - dlen <= llen) { in lbuild_()
229 i__1 = lpos - dlen - 1; in lbuild_()
/dports/astro/py-pykep/pykep-2.6/src/third_party/cspice/
H A Dlbuild.c24 integer dlen, ilen, llen, last, lpos, i__, first; in lbuild_() local
200 lpos = 1; in lbuild_()
206 if (lpos <= llen) { in lbuild_()
209 s_copy(list + (lpos - 1), delim, list_len - (lpos - 1), in lbuild_()
211 lpos += dlen; in lbuild_()
216 s_copy(list + (lpos - 1), items + ((i__ - 1) * items_len in lbuild_()
217 + (first - 1)), list_len - (lpos - 1), last - ( in lbuild_()
220 lpos = lpos + ilen + dlen; in lbuild_()
228 if (lpos - dlen <= llen) { in lbuild_()
229 i__1 = lpos - dlen - 1; in lbuild_()
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/
H A Dviewmap.cc672 m_state.lpos = lpos; in UIMapView()
781 m_state.lpos.pos = m_state.lpos.pos.clamped(known_map_bounds()); in process_command()
803 m_state.lpos.pos = in goto_level()
825 level_pos lpos() const in lpos() function in UIMapView
827 return m_state.lpos; in lpos()
889 lpos = map_view->lpos(); in show_map()
956 travel_cache.add_waypoint(state.lpos.pos.x, state.lpos.pos.y); in process_map_command()
1042 state.lpos = dest; in process_map_command()
1069 state.lpos = pos; in process_map_command()
1115 state.lpos.pos += you.pos() - state.lpos.pos; in process_map_command()
[all …]
/dports/java/javamail/javamail-JAVAMAIL-1_6_2/mbox/src/main/java/com/sun/mail/mbox/
H A DMessageLoader.java148 int lpos = -1; in skipHeader() local
159 lpos = 0; in skipHeader()
166 if (lpos > 7) { in skipHeader()
202 if (lpos < 0) // ignoring this line in skipHeader()
206 else if (lpos < line.length) in skipHeader()
207 line[lpos++] = (char)b; in skipHeader()
235 int lpos = -1; in skipBody() local
240 lpos = 0; in skipBody()
252 if (lpos < 0) in skipBody()
254 if (lpos == 0 && b != 'F') in skipBody()
[all …]
/dports/devel/kdevelop-pg-qt/kdevelop-pg-qt-2.2.1/kdev-pg/
H A Dregexp1.cpp9 Iterator lpos = i; in next() local
12 } else {if(chr < 48) {if(chr == 32){/*1 action */lpos = CURR_POS; lstate = 1; goto _state_37; in next()
14 } else {if(chr < 58){/*2 action */lpos = CURR_POS; lstate = 2; goto _state_36; in next()
19 }}}_state_1: chr = NEXT_CHR; if(chr == 115){/*9 action */lpos = CURR_POS; lstate = 9; goto _state_3… in next()
48 } else {if(chr == 122){/*5 action */lpos = CURR_POS; lstate = 5; goto _state_28; in next()
55 } else {if(chr == 114){/*7 action */lpos = CURR_POS; lstate = 7; goto _state_24; in next()
58 _state_35: chr = NEXT_CHR; if(chr >= 48 && chr < 58){/*2 action */lpos = CURR_POS; lstate = 2; goto… in next()
60 _state_36: chr = NEXT_CHR; if(chr < 48) {if(chr == 46){/*2 action */lpos = CURR_POS; lstate = 2; go… in next()
62 } else {if(chr < 58){/*2 action */lpos = CURR_POS; lstate = 2; goto _state_36; in next()
66 } else {if(chr == 32){/*1 action */lpos = CURR_POS; lstate = 1; goto _state_37; in next()
[all …]
H A Dregexp2.cpp27 lpos = CURR_POS; in next()
66 lpos = CURR_POS; in next()
191 lpos = CURR_POS; in next()
211 lpos = CURR_POS; in next()
232 lpos = CURR_POS; in next()
238 lpos = CURR_POS; in next()
264 lpos = CURR_POS; in next()
270 lpos = CURR_POS; in next()
284 lpos = CURR_POS; in next()
293 lpos = CURR_POS; in next()
[all …]
H A Dregexp.cpp4 const Iterator::InputInt *lpos = Iterator::plain(); in next() local
10 } else {if(chr < 48) {if(chr == 32){/*1 action */lpos = CURR_POS; lstate = 1; goto _state_37; in next()
12 } else {if(chr < 58){/*2 action */lpos = CURR_POS; lstate = 2; goto _state_36; in next()
18 _state_1: chr = NEXT_CHR; if(chr == 115){/*9 action */lpos = CURR_POS; lstate = 9; goto _state_38; in next()
60 _state_22: chr = NEXT_CHR; if(chr == 252){/*8 action */lpos = CURR_POS; lstate = 8; goto _state_21; in next()
67 _state_26: chr = NEXT_CHR; if(chr == 114){/*6 action */lpos = CURR_POS; lstate = 6; goto _state_25; in next()
76 } else {if(chr == 122){/*5 action */lpos = CURR_POS; lstate = 5; goto _state_28; in next()
86 } else {if(chr == 114){/*7 action */lpos = CURR_POS; lstate = 7; goto _state_24; in next()
96 } else {if(chr < 58){/*2 action */lpos = CURR_POS; lstate = 2; goto _state_36; in next()
101 } else {if(chr == 32){/*1 action */lpos = CURR_POS; lstate = 1; goto _state_37; in next()
[all …]
H A Dregexp-test.cpp9 QUtf8ToUcs4Iterator lpos = i; in next() local
12 } else {if(chr < 48) {if(chr == 32){/*1 action */lpos = CURR_POS; lstate = 1; goto _state_37; in next()
14 } else {if(chr < 58){/*2 action */lpos = CURR_POS; lstate = 2; goto _state_36; in next()
19 }}}_state_1: chr = NEXT_CHR; if(chr == 115){/*9 action */lpos = CURR_POS; lstate = 9; goto _state_3… in next()
48 } else {if(chr == 122){/*5 action */lpos = CURR_POS; lstate = 5; goto _state_28; in next()
55 } else {if(chr == 114){/*7 action */lpos = CURR_POS; lstate = 7; goto _state_24; in next()
58 _state_35: chr = NEXT_CHR; if(chr >= 48 && chr < 58){/*2 action */lpos = CURR_POS; lstate = 2; goto… in next()
60 _state_36: chr = NEXT_CHR; if(chr < 48) {if(chr == 46){/*2 action */lpos = CURR_POS; lstate = 2; go… in next()
62 } else {if(chr < 58){/*2 action */lpos = CURR_POS; lstate = 2; goto _state_36; in next()
66 } else {if(chr == 32){/*1 action */lpos = CURR_POS; lstate = 1; goto _state_37; in next()
[all …]
/dports/science/py-dlib/dlib-19.22/dlib/lz77_buffer/
H A Dlz77_buffer_kernel_1.h215 if (history_buffer(hpos) == lookahead_buffer(lpos)) in find_match()
217 ++lpos; in find_match()
220 if (lpos == lookahead_size) in find_match()
224 else if (lpos > 0) in find_match()
227 if (lpos > match_length) in find_match()
229 match_length = lpos; in find_match()
230 match_index = hpos + lpos; in find_match()
232 lpos = 0; in find_match()
238 if (lpos > match_length) in find_match()
240 match_length = lpos; in find_match()
[all …]
/dports/science/dlib-cpp/dlib-19.22/dlib/lz77_buffer/
H A Dlz77_buffer_kernel_1.h215 if (history_buffer(hpos) == lookahead_buffer(lpos)) in find_match()
217 ++lpos; in find_match()
220 if (lpos == lookahead_size) in find_match()
224 else if (lpos > 0) in find_match()
227 if (lpos > match_length) in find_match()
229 match_length = lpos; in find_match()
230 match_index = hpos + lpos; in find_match()
232 lpos = 0; in find_match()
238 if (lpos > match_length) in find_match()
240 match_length = lpos; in find_match()
[all …]
/dports/biology/fasta3/fasta-36.3.8/src/
H A Dmmgetaa.c510 lpos = m_fd->lpos; in agetlibm()
576 lpos++; in agetlibm()
577 m_fd->lpos = lpos; in agetlibm()
597 lpos = m_fd->lpos++; in agetlib_mb()
625 int lpos; in aranlibm() local
629 llen = m_fd->s_pos_arr[lpos]-m_fd->d_pos_arr[lpos]; in aranlibm()
639 m_fd->lpos = lpos; in aranlibm()
733 int lpos; in vranlibm() local
753 m_fd->lpos = lpos; in vranlibm()
797 lpos = m_fd->lpos; in gcg_getlibm()
[all …]
/dports/audio/muse-sequencer/muse-4.0.0/src/muse/arranger/
H A Dstructure.cpp159 unsigned int lpos = MusEGlobal::song->lpos(); in globalCut() local
161 if (lpos >= rpos) in globalCut()
166 const unsigned int diff = lpos > rpos ? lpos - rpos : rpos - lpos; in globalCut()
167 … adjustGlobalLists(operations, lpos > rpos ? rpos : lpos, -diff); // diff is negative meaning cut in globalCut()
185 if (t + l <= lpos) in globalCut()
190 else if ((t < lpos) && ((t+l) > lpos) && ((t+l) <= rpos)) { in globalCut()
204 else if ((t < lpos) && ((t+l) > lpos) && ((t+l) > rpos)) { in globalCut()
215 p3->setTick(lpos); in globalCut()
229 p2->setTick(lpos); in globalCut()
261 …MusEGlobal::song->lpos() <= MusEGlobal::song->rpos() ? MusEGlobal::song->lpos() : MusEGlobal::song… in globalInsert()
[all …]
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/applications/mod_avmd/
H A Davmd_sma_buf.h29 size_t lpos; member
39 (b)->lpos = 0; \
45 #define GET_CURRENT_SMA_LPOS(b) ((b)->lpos)
49 ((b)->lpos + 1 < 2 * (b)->len) ? ((b)->lpos++) : ((b)->lpos = (b)->len); \
50 (b)->pos = (b)->lpos % (b)->len; \
57 (((b)->lpos) >= ((b)->len)) ? ((b)->sma += ((b)->data[(b)->pos] / (BUFF_TYPE)(b)->len)) : \
67 (b)->lpos = 0; \
/dports/lang/vala/vala-0.48.18/libvaladoc/
H A Dgtkdocrenderer.vala352 writer.raw_text (content.substring (lpos, i-lpos));
358 writer.raw_text (content.substring (lpos, i-lpos));
364 writer.raw_text (content.substring (lpos, i-lpos));
370 writer.raw_text (content.substring (lpos, i-lpos));
376 writer.raw_text (content.substring (lpos, i-lpos));
382 writer.raw_text (content.substring (lpos, i-lpos));
388 writer.raw_text (content.substring (lpos, i-lpos));
394 writer.raw_text (content.substring (lpos, i-lpos));
400 writer.raw_text (content.substring (lpos, i-lpos));
406 writer.raw_text (content.substring (lpos, i-lpos));
[all …]

12345678910>>...50