/dports/x11-toolkits/plib/plib-1.8.5/src/ssg/ |
H A D | ssgKeyFlier.h | 60 sgCoord last_pos ; variable 76 sgZeroVec3 ( last_pos.xyz ) ; sgZeroVec3 ( last_pos.hpr ) ; in ssgKeyFlier() 100 sgCopyVec3 ( last_pos.xyz, reset_pos.xyz ) ; in reset() 155 sgCopyCoord ( & curr_pos, & last_pos ) ; in get_coord() 162 sgCopyCoord ( & last_pos, pos ) ; 206 query_action ( last_pos.xyz[0], last_pos.xyz[1], last_pos.xyz[2], in incoming_keystroke() 207 last_pos.hpr[0], last_pos.hpr[1], last_pos.hpr[2] ) ; in incoming_keystroke() 210 last_pos.xyz[0], last_pos.xyz[1], last_pos.xyz[2], in incoming_keystroke() 211 last_pos.hpr[0], last_pos.hpr[1], last_pos.hpr[2] ) ; in incoming_keystroke() 257 sgMakeCoordMat4 ( mat , & last_pos ) ; in update() [all …]
|
/dports/graphics/colmap/colmap-3.6/lib/FLANN/util/ |
H A D | heap.h | 251 ++last_pos; in insert() 256 size_t pos = last_pos; in insert() 267 heap[last_pos].right = heap[last_pos].left; in insert() 271 size_t pos = last_pos; in insert() 282 heap[last_pos].left = heap[last_pos].right; in insert() 304 --last_pos; in popMin() 307 heap[last_pos].left = heap[last_pos].right; in popMin() 315 while (child <= last_pos) { in popMin() 349 --last_pos; in popMax() 352 heap[last_pos].right = heap[last_pos].left; in popMax() [all …]
|
/dports/math/flann/flann-1.9.1-29-g1d04523/src/cpp/flann/util/ |
H A D | heap.h | 254 ++last_pos; in insert() 259 size_t pos = last_pos; in insert() 270 heap[last_pos].right = heap[last_pos].left; in insert() 274 size_t pos = last_pos; in insert() 285 heap[last_pos].left = heap[last_pos].right; in insert() 307 --last_pos; in popMin() 310 heap[last_pos].left = heap[last_pos].right; in popMin() 318 while (child <= last_pos) { in popMin() 352 --last_pos; in popMax() 355 heap[last_pos].right = heap[last_pos].left; in popMax() [all …]
|
/dports/misc/openmvg/openMVG-2.0/src/third_party/flann/src/cpp/flann/util/ |
H A D | heap.h | 251 ++last_pos; in insert() 256 size_t pos = last_pos; in insert() 267 heap[last_pos].right = heap[last_pos].left; in insert() 271 size_t pos = last_pos; in insert() 282 heap[last_pos].left = heap[last_pos].right; in insert() 304 --last_pos; in popMin() 307 heap[last_pos].left = heap[last_pos].right; in popMin() 315 while (child <= last_pos) { in popMin() 349 --last_pos; in popMax() 352 heap[last_pos].right = heap[last_pos].left; in popMax() [all …]
|
/dports/graphics/open3d/Open3D-0.2/src/External/flann/util/ |
H A D | heap.h | 251 ++last_pos; in insert() 256 size_t pos = last_pos; in insert() 267 heap[last_pos].right = heap[last_pos].left; in insert() 271 size_t pos = last_pos; in insert() 282 heap[last_pos].left = heap[last_pos].right; in insert() 304 --last_pos; in popMin() 307 heap[last_pos].left = heap[last_pos].right; in popMin() 315 while (child <= last_pos) { in popMin() 349 --last_pos; in popMax() 352 heap[last_pos].right = heap[last_pos].left; in popMax() [all …]
|
/dports/graphics/py-open3d-python/Open3D-0.2/src/External/flann/util/ |
H A D | heap.h | 251 ++last_pos; in insert() 256 size_t pos = last_pos; in insert() 267 heap[last_pos].right = heap[last_pos].left; in insert() 271 size_t pos = last_pos; in insert() 282 heap[last_pos].left = heap[last_pos].right; in insert() 304 --last_pos; in popMin() 307 heap[last_pos].left = heap[last_pos].right; in popMin() 315 while (child <= last_pos) { in popMin() 349 --last_pos; in popMax() 352 heap[last_pos].right = heap[last_pos].left; in popMax() [all …]
|
/dports/devel/sdts++/sdts++-1.5.1/sysutils/ |
H A D | fileutils.cpp | 22 string::size_type last_pos = path.find_last_not_of( " " ); in removeEndSlashes() local 25 if ( string::npos != last_pos ) in removeEndSlashes() 27 if ( path[last_pos] == '/' ) in removeEndSlashes() 47 string::size_type last_pos = path.find_last_of( "/" ); in dirname() local 49 if ( string::npos != last_pos ) // if we found a '/' in dirname() 51 return path.substr( 0, last_pos ); in dirname() 73 string::size_type last_pos = path.find_last_of( "/" ); in basename() local 75 if ( string::npos != last_pos ) // if we found a '/' in basename() 77 return path.substr( last_pos + 1, path.size() ); in basename()
|
/dports/math/aamath/aamath/ |
H A D | canvas.cc | 150 last_pos = -1; in Row() 156 last_pos = ncols - 1; in Row() 174 if (i > last_pos) { in operator []() 175 memset(data + last_pos + 1, ' ', i - last_pos); in operator []() 176 last_pos = i; in operator []() 177 data[last_pos + 1] = 0; in operator []() 211 return last_pos + 1; in num_cols() 227 if (c > last_pos + 1) in paste() 228 memset(data + last_pos + 1, ' ', c - last_pos - 1); in paste() 246 if (c > last_pos + 1) in paste_string() [all …]
|
/dports/games/spacejunk/spacejunk-1.0.5/sge030809/ |
H A D | sge_shape.cpp | 168 last_pos.x=last_pos.y=last_pos.w=last_pos.h=0; in sge_surface() 327 …sge_FilledRect(dest, last_pos.x, last_pos.y, last_pos.x+last_pos.w-1, last_pos.y+last_pos.h-1,colo… in warp_clear() 345 sge_Blit(src,dest, srcX, srcY, last_pos.x, last_pos.y, last_pos.w, last_pos.h); in warp_clear() 382 minx= (prev_pos.x<last_pos.x)? prev_pos.x : last_pos.x; in UpdateRects() 383 miny= (prev_pos.y<last_pos.y)? prev_pos.y : last_pos.y; in UpdateRects() 386 …maxx= (prev_pos.x+prev_pos.w > last_pos.x+last_pos.w)? prev_pos.x+prev_pos.w : last_pos.x+last_pos… in UpdateRects() 390 …maxy= (prev_pos.y+prev_pos.h > last_pos.y+last_pos.h)? prev_pos.y+prev_pos.h : last_pos.y+last_pos… in UpdateRects() 413 the_screen->add_rect(last_pos.x, last_pos.y, last_pos.w, last_pos.h); in UpdateRects() 417 sge_UpdateRect(dest, last_pos.x, last_pos.y, last_pos.w, last_pos.h); in UpdateRects() 427 …sge_FilledRect(dest, last_pos.x, last_pos.y, last_pos.x+last_pos.w-1, last_pos.y+last_pos.h-1,colo… in clear() [all …]
|
/dports/cad/sumo/sumo-1.2.0/src/microsim/cfmodels/ |
H A D | ParBuffer.h | 60 size_t pos, last_pos = 0; in escape() local 64 escaping << str.substr(last_pos, pos - last_pos); in escape() 66 last_pos = pos + 1; in escape() 68 if (last_pos != str.size()) { in escape() 69 escaping << str.substr(last_pos); in escape() 82 size_t pos, last_pos = 0; in unescape() local 88 while ((pos = str.find(ESC, last_pos)) != std::string::npos) { in unescape() 89 unescaped << str.substr(last_pos, pos - last_pos); in unescape() 91 last_pos = pos + 2; in unescape() 93 if (last_pos != str.size()) { in unescape() [all …]
|
/dports/multimedia/avinfo/avinfo-1.0.a15/src/ |
H A D | print.c | 41 retval->last_pos=0; in InitLineCache() 58 if(!l->last_pos) return 1;/*nothing to do*/ in ExpandTab() 80 if(tab[tab_c-1]<l->last_pos){ in ExpandTab() 82 pn+=l->last_pos-tab[tab_c-1]-1; in ExpandTab() 87 l->last_pos=pn; in ExpandTab() 97 l->line[l->last_pos]=0; in FlushLineCache() 100 l->last_pos=0; in FlushLineCache() 137 l->line[l->last_pos+end-begin]=0; in AddStringToLineCache() 138 l->last_pos+=end-begin; in AddStringToLineCache() 147 l->line[l->last_pos+len-end]=0; in AddStringToLineCache() [all …]
|
/dports/multimedia/sabbu/sabbu-0.3.0/Source/ |
H A D | string.cpp | 114 int last_pos = 0; in string_replace() local 122 if(last_pos < len) in string_replace() 124 memcpy(new_str + offset, str + last_pos, len - last_pos); in string_replace() 125 offset += (len - last_pos); in string_replace() 132 if(last_pos < match_idx) in string_replace() 134 memcpy(new_str + offset, str + last_pos, match_idx - last_pos); in string_replace() 135 offset += (match_idx - last_pos); in string_replace() 137 last_pos = match_idx + len_target; in string_replace()
|
/dports/lang/p5-v6/v6-0.047/lib/Perlito6/ |
H A D | Grammar.pm | 32 ((my $last_pos) = $MATCH->to()); 36 (($MATCH)->{to} = $last_pos) 43 ((my $last_pos) = $MATCH->to()); 47 (($MATCH)->{to} = $last_pos) 136 ($last_pos = $MATCH->to()); 139 (($MATCH)->{to} = $last_pos); 188 ($last_pos = $MATCH->to()) 190 (($MATCH)->{to} = $last_pos); 265 (($MATCH)->{to} = $last_pos); 342 (($MATCH)->{to} = $last_pos); [all …]
|
/dports/www/flexget/Flexget-3.2.18/flexget/plugins/input/ |
H A D | tail.py | 91 last_pos = db_pos.position 93 last_pos = 0 97 if last_pos == 0: 101 'Task {} tail position ({}) reset to zero', task.name, last_pos 103 last_pos = 0 105 if os.path.getsize(filename) < last_pos: 109 last_pos = 0 111 file.seek(last_pos) 113 logger.debug('continuing from last position {}', last_pos) 170 last_pos = file.tell() [all …]
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/algo/phy_tree/ |
H A D | bio_tree_format_label.cpp | 47 string::size_type last_pos = 0; in CBioTreeFormatLabel() local 50 srt_var = retval.find("$(", last_pos); in CBioTreeFormatLabel() 59 last_pos = embedded_key; in CBioTreeFormatLabel() 70 elt.m_Value = retval.substr(last_pos, (srt_var - last_pos)); in CBioTreeFormatLabel() 74 last_pos = end_var + 1; in CBioTreeFormatLabel() 80 if (last_pos < retval.length()) { in CBioTreeFormatLabel() 82 elt.m_Value = retval.substr(last_pos, retval.length() - last_pos); in CBioTreeFormatLabel()
|
/dports/audio/soundgrab/soundgrab-1.0.1/src/ |
H A D | soundgrab | 786 my $last_pos = 0; 846 $last_pos = 0; 886 $last_pos += $1; 2551 $last_pos = $last_pos + &tdelta; 2623 $pos_now = $last_pos; 3873 $last_pos = 0; 3885 $last_pos = 0; 3975 $last_pos = $offset; 3985 $last_pos = $offset; 3995 $last_pos = $offset; [all …]
|
/dports/databases/beansdb/beansdb-0.7.1.4/python_tests/ |
H A D | one_key.py | 28 self.last_pos = 0 32 self.last_pos += self.last_size 42 self.assertEqual(self._get_meta(store, key), (1, 0, self.last_pos)) 45 self.assertEqual(self._get_meta(store, key), (3, 0, self.last_pos)) 59 self.assertEqual(self._get_meta(store, key), (1, 0, self.last_pos)) 63 self.assertEqual(self._get_meta(store, key), (-2, 0, self.last_pos)) 68 self.assertEqual(self._get_meta(store, key), (3, 0, self.last_pos)) 82 self.assertEqual(self._get_meta(store, key), (1, 0, self.last_pos)) 87 self.assertEqual(self._get_meta(store, key), (2, 0, self.last_pos)) 91 self.assertEqual(self._get_meta(store, key), (3, 0, self.last_pos)) [all …]
|
/dports/devel/stylua/StyLua-0.11.0/cargo-crates/similar-1.3.0/src/text/ |
H A D | abstraction.rs | 103 let mut last_pos = 0; in tokenize_lines() localVariable 111 last_pos = idx + 2; in tokenize_lines() 114 last_pos = idx + 1; in tokenize_lines() 118 last_pos = idx + 1; in tokenize_lines() 122 if last_pos < self.len() { in tokenize_lines() 123 lines.push(&self[last_pos..]); in tokenize_lines() 232 let mut last_pos = 0; in tokenize_lines() localVariable 240 last_pos = end + 1; in tokenize_lines() 243 last_pos = end; in tokenize_lines() 247 last_pos = end; in tokenize_lines() [all …]
|
/dports/lang/gleam/gleam-0.18.2/cargo-crates/similar-1.3.0/src/text/ |
H A D | abstraction.rs | 103 let mut last_pos = 0; in tokenize_lines() localVariable 111 last_pos = idx + 2; in tokenize_lines() 114 last_pos = idx + 1; in tokenize_lines() 118 last_pos = idx + 1; in tokenize_lines() 122 if last_pos < self.len() { in tokenize_lines() 123 lines.push(&self[last_pos..]); in tokenize_lines() 232 let mut last_pos = 0; in tokenize_lines() localVariable 240 last_pos = end + 1; in tokenize_lines() 243 last_pos = end; in tokenize_lines() 247 last_pos = end; in tokenize_lines() [all …]
|
/dports/editors/helix/helix-0.5.0/cargo-crates/similar-2.1.0/src/text/ |
H A D | abstraction.rs | 103 let mut last_pos = 0; in tokenize_lines() localVariable 111 last_pos = idx + 2; in tokenize_lines() 114 last_pos = idx + 1; in tokenize_lines() 118 last_pos = idx + 1; in tokenize_lines() 122 if last_pos < self.len() { in tokenize_lines() 123 lines.push(&self[last_pos..]); in tokenize_lines() 232 let mut last_pos = 0; in tokenize_lines() localVariable 240 last_pos = end + 1; in tokenize_lines() 243 last_pos = end; in tokenize_lines() 247 last_pos = end; in tokenize_lines() [all …]
|
/dports/deskutils/just/just-0.10.5/cargo-crates/similar-2.1.0/src/text/ |
H A D | abstraction.rs | 103 let mut last_pos = 0; in tokenize_lines() localVariable 111 last_pos = idx + 2; in tokenize_lines() 114 last_pos = idx + 1; in tokenize_lines() 118 last_pos = idx + 1; in tokenize_lines() 122 if last_pos < self.len() { in tokenize_lines() 123 lines.push(&self[last_pos..]); in tokenize_lines() 232 let mut last_pos = 0; in tokenize_lines() localVariable 240 last_pos = end + 1; in tokenize_lines() 243 last_pos = end; in tokenize_lines() 247 last_pos = end; in tokenize_lines() [all …]
|
/dports/devel/texlab/texlab-3.3.0/cargo-crates/similar-1.3.0/src/text/ |
H A D | abstraction.rs | 103 let mut last_pos = 0; in tokenize_lines() localVariable 111 last_pos = idx + 2; in tokenize_lines() 114 last_pos = idx + 1; in tokenize_lines() 118 last_pos = idx + 1; in tokenize_lines() 122 if last_pos < self.len() { in tokenize_lines() 123 lines.push(&self[last_pos..]); in tokenize_lines() 232 let mut last_pos = 0; in tokenize_lines() localVariable 240 last_pos = end + 1; in tokenize_lines() 243 last_pos = end; in tokenize_lines() 247 last_pos = end; in tokenize_lines() [all …]
|
/dports/devel/sentry-cli/sentry-cli-1.71.0/cargo-crates/similar-1.3.0/src/text/ |
H A D | abstraction.rs | 103 let mut last_pos = 0; in tokenize_lines() localVariable 111 last_pos = idx + 2; in tokenize_lines() 114 last_pos = idx + 1; in tokenize_lines() 118 last_pos = idx + 1; in tokenize_lines() 122 if last_pos < self.len() { in tokenize_lines() 123 lines.push(&self[last_pos..]); in tokenize_lines() 232 let mut last_pos = 0; in tokenize_lines() localVariable 240 last_pos = end + 1; in tokenize_lines() 243 last_pos = end; in tokenize_lines() 247 last_pos = end; in tokenize_lines() [all …]
|
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/plugins_experimental/edit_panosample/ |
H A D | cloneview.h | 36 QPointF last_pos; 51 last_pos.setX(event->pos().x()); last_pos.setY(event->pos().y()); in mousePressEvent() 62 …ir->isAncestorOf(item)) item->moveBy(event->pos().x() - last_pos.x(), event->pos().y() - last_pos.… in mouseMoveEvent() 63 last_pos.setX(event->pos().x()); last_pos.setY(event->pos().y()); in mouseMoveEvent() 69 emit positionChanged(last_pos.x() - start_pos.x(), last_pos.y() - start_pos.y()); in mouseReleaseEvent()
|
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/meshlabplugins/edit_paint/ |
H A D | cloneview.h | 36 QPointF last_pos; 51 last_pos.setX(event->pos().x()); last_pos.setY(event->pos().y()); in mousePressEvent() 62 …ir->isAncestorOf(item)) item->moveBy(event->pos().x() - last_pos.x(), event->pos().y() - last_pos.… in mouseMoveEvent() 63 last_pos.setX(event->pos().x()); last_pos.setY(event->pos().y()); in mouseMoveEvent() 69 emit positionChanged(last_pos.x() - start_pos.x(), last_pos.y() - start_pos.y()); in mouseReleaseEvent()
|