Home
last modified time | relevance | path

Searched refs:posn (Results 1 – 25 of 2352) sorted by relevance

12345678910>>...95

/dports/math/plplot-ada/plplot-5.15.0/lib/qsastime/
H A Dqsastime.c469 strncat( &( buf[posn] ), dayText, last - posn ); in strfMJD()
478 strncat( &( buf[posn] ), dayText, last - posn ); in strfMJD()
511 strncat( &( buf[posn] ), DateTime, last - posn ); in strfMJD()
525 strncat( &( buf[posn] ), DateTime, last - posn ); in strfMJD()
535 strncat( &( buf[posn] ), DateTime, last - posn ); in strfMJD()
549 strncat( &( buf[posn] ), DateTime, last - posn ); in strfMJD()
562 strncat( &( buf[posn] ), DateTime, last - posn ); in strfMJD()
575 strncat( &( buf[posn] ), DateTime, last - posn ); in strfMJD()
585 strncat( &( buf[posn] ), DateTime, last - posn ); in strfMJD()
600 strncat( &( buf[posn] ), DateTime, last - posn ); in strfMJD()
[all …]
/dports/math/plplot/plplot-5.15.0/lib/qsastime/
H A Dqsastime.c469 strncat( &( buf[posn] ), dayText, last - posn ); in strfMJD()
478 strncat( &( buf[posn] ), dayText, last - posn ); in strfMJD()
511 strncat( &( buf[posn] ), DateTime, last - posn ); in strfMJD()
525 strncat( &( buf[posn] ), DateTime, last - posn ); in strfMJD()
535 strncat( &( buf[posn] ), DateTime, last - posn ); in strfMJD()
549 strncat( &( buf[posn] ), DateTime, last - posn ); in strfMJD()
562 strncat( &( buf[posn] ), DateTime, last - posn ); in strfMJD()
575 strncat( &( buf[posn] ), DateTime, last - posn ); in strfMJD()
585 strncat( &( buf[posn] ), DateTime, last - posn ); in strfMJD()
600 strncat( &( buf[posn] ), DateTime, last - posn ); in strfMJD()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/I18N/CJK/
H A DCP932.cs136 int posn = byteIndex; in GetBytesImpl()
152 if(posn >= byteLength) in GetBytesImpl()
341 return posn - byteIndex; in GetBytesImpl()
419 int posn = byteIndex; in GetBytes()
431 if (posn >= byteLength) in GetBytes()
618 return posn - byteIndex; in GetBytes()
810 int posn = charIndex; in GetChars()
825 if(posn >= charLength) in GetChars()
850 chars[posn++] = '?'; in GetChars()
883 chars[posn++] = '?'; in GetChars()
[all …]
H A DCP51932.cs263 int posn = byteIndex; in GetBytesImpl()
273 if (posn >= byteLength) { in GetBytesImpl()
323 bytes [posn++] = 0x8E; in GetBytesImpl()
329 return posn - byteIndex; in GetBytesImpl()
399 int posn = byteIndex; in GetBytes()
412 if (posn >= byteLength) in GetBytes()
480 bytes[posn++] = 0x8E; in GetBytes()
486 return posn - byteIndex; in GetBytes()
611 int posn = charIndex; in GetChars()
701 if (posn >= charLength) in GetChars()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/I18N/tools/
H A Ducm2cp.c276 for(posn = 0; posn < 256; ++posn) in loadCharMaps()
281 for(posn = 0; posn < 65536; ++posn) in loadCharMaps()
480 for(posn = 0; posn < 256; ++posn) in printByteToChar()
514 for(posn = 0xFF01; posn <= 0xFF5E; ++posn) in printConvertSwitch()
529 for(posn = directLimit; posn < 256; ++posn) in printConvertSwitch()
531 if(charToByte[posn] == (int)posn) in printConvertSwitch()
543 for(posn = 0; posn < 65536; ++posn) in printConvertSwitch()
550 if(charToByte[posn] != (int)posn && in printConvertSwitch()
581 (long)(posn - charToByte[posn])); in printConvertSwitch()
586 (long)(charToByte[posn] - posn)); in printConvertSwitch()
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/realm/chapter6/
H A Dsource.rkt258 (posn (+ (posn-x p) dx)
506 ;; > (posn=? (posn 1 1) (posn 1 1))
707 (check-equal? (posn-move (posn 1 1) 2 3) (posn 3 4))
708 (check-equal? (posn-move (posn 3 4) 6 0) (posn 9 4))
768 (img-list+scene (list (posn 5 5) (posn 4 8) (posn 6 9) (posn 1 1) (posn 1 9))
822 (check-false (posn=? (posn 1 1) (posn 2 2)))
823 (check-false (posn=? (posn 1 2) (posn 2 1)))
824 (check-true (posn=? (posn 3 4) (posn 3 4)))
825 (check-true (posn=? (posn 2 2) (posn 2 2)))
826 (check-equal? (posn=? (posn 1 2) (posn 1 1)) false)
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/frtime/demos/
H A Dpong.rkt12 (make-posn (- (posn-x p)) (posn-y p)))
15 (make-posn (posn-x p) (- (posn-y p))))
18 (make-posn (clip (posn-x mouse-pos) 230 370) (clip (posn-y mouse-pos) 30 370)))
23 (posn- v (posn* u (* 2 (posn-dot v u)))))))
26 (letrec ([paddle1-pos (make-posn
69 … (when-e (< (posn-y pos1) -100))) . -=> . (posn+ (make-posn 100 100) (posn-integral vel1)))
70 (posn+ (make-posn 200 200) (posn-integral vel1))))]
92 ((snapshot-e (when-e (x-pred (posn-x ball-pos))) (posn-y ball-pos))
104 (make-line (make-posn 200 0) (make-posn 200 399) "gray")
112 (make-line (make-posn 0 150) (make-posn 0 250) "red")
[all …]
H A Dmirror-lens.rkt41 (lambda (h ref-h) (make-posn (posn-x mouse-pos) h))
53 (lambda (h ref-h) (make-posn (posn-x mouse-pos) h))
217 (/ (- (posn-y b) (posn-y a))
218 (- (posn-x b) (posn-x a))))
220 (define (get-end-posn posn-a posn-b y-val)
222 (define (get-end-x posn-a posn-b)
223 (let ((slope (get-slope posn-a posn-b)))
226 (get-b (posn-y posn-a)
227 (posn-x posn-a)
229 (make-posn (get-end-x posn-a posn-b) y-val))
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/htdp-lib/lang/
H A Dposn.rkt5 (provide struct:posn make-posn posn? posn-x posn-y set-posn-x! set-posn-y!
6 beginner-posn*
8 (rename-out (posn posn-id))
9 (rename-out (posn* posn)))
19 (define-match-expander posn*
25 #;(and (? posn? the-posn)
51 (struct posn (x y)
56 #:reflection-name 'posn
60 ;; name `make-posn':
61 (define (make-posn x y) (posn x y))
[all …]
/dports/comms/hylafax/hylafax-6.0.7/libhylafax/
H A DStr.c++241 data[posn] = tolower(data[posn]); in lowercase()
247 data[posn] = tolower(data[posn]); in lowercase()
249 posn++; in lowercase()
262 data[posn] = toupper(data[posn]); in raisecase()
268 data[posn] = toupper(data[posn]); in raisecase()
270 posn++; in raisecase()
291 data[posn] = toupper(data[posn]); in raiseatcmd()
298 data[posn] = toupper(data[posn]); in raiseatcmd()
302 posn++; in raiseatcmd()
349 memmove(data+posn+len, data+posn, move); in insert()
[all …]
H A DStr.h165 void lowercase(u_int posn=0, u_int len=0);
166 void raisecase(u_int posn=0, u_int len=0);
167 void raiseatcmd(u_int posn=0, u_int len=0);
169 void remove(u_int posn,u_int len=1);
181 void insert(char a, u_int posn=0);
184 { insert((const char*)s, posn, s.slength-1); }
185 void insert(fxStr const& s, u_int posn=0)
204 { return find(posn, str, str.slength-1); } in find()
208 { return findR(posn, str, str.slength-1); } in findR()
210 u_int skip(u_int posn, char a) const;
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/games/chat-noir/
H A Dchat-noir-literate.rkt117 [mouse-posn (or/c #f posn?)]
144 @item{@tt{mouse-posn}: a @racket[posn] for the location of the
165 @racket[(make-posn 1 0)] is centered above @racket[(make-posn 1 0)]
607 @racket[posn] and returns six @racket[posn]s that
1006 (define cat-x (posn-x cat-posn))
1007 (define cat-y (posn-y cat-posn))
1343 (-> (cons/c posn? (listof posn?))
1345 (or/c (cons/c posn? (listof posn?)) #f))
1690 (list 'boundary (make-posn 2 0) (make-posn 0 1)))]
1942 (make-posn (cell-center-x (make-posn 0 0))
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/htdp-lib/graphics/tests/
H A Dsixlib.rktl18 ;; test posn selectors
21 (posn-x (make-posn 1 0))
22 (posn-y (make-posn 0 1)))])
31 ((draw-line v) (make-posn 0 0) (make-posn 100 100))
32 ((draw-line v) (make-posn 100 0) (make-posn 0 100))
47 (f (list (make-posn 0 0) (make-posn 40 0) (make-posn 20 40)) (make-posn 20 20)))]
186 (((draw-pixmap-posn pixmap-filename) view-port) (make-posn 0 0))
265 (make-posn 20 20)
271 (make-posn 20 20)
276 (make-posn 20 0)
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/Mono.Posix/Mono.Unix/
H A DUnixEncoding.cs189 int posn = byteIndex; in InternalGetBytes()
200 if (posn >= length) { in InternalGetBytes()
231 if (posn >= length) { in InternalGetBytes()
271 return posn - byteIndex; in InternalGetBytes()
324 int posn = 0; in GetBytes()
342 if (posn >= length) { in GetBytes()
357 if (posn >= length) { in GetBytes()
386 return posn; in GetBytes()
566 int posn = charIndex; in InternalGetChars()
579 if (posn >= length) { in InternalGetChars()
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/htdp-lib/htdp/
H A Dhangman-play.rkt6 lang/posn)
21 (draw-solid-line (make-posn 100 60) (make-posn 100 130) 'black))
23 (draw-solid-line (make-posn 100 130) (make-posn 30 170) 'black))
25 (draw-solid-line (make-posn 100 130) (make-posn 170 170) 'black))
27 (draw-solid-line (make-posn 100 75) (make-posn 40 65) 'black))
29 (draw-solid-line (make-posn 100 75) (make-posn 160 65) 'black))
34 (draw-solid-line (make-posn 100 30) (make-posn 100 10) 'black)
35 (draw-solid-line (make-posn 100 10) (make-posn 0 10) 'black)
36 (draw-solid-line (make-posn 115 35) (make-posn 123 43) 'black)
37 (draw-solid-line (make-posn 123 35) (make-posn 115 43) 'black)
[all …]
/dports/textproc/p5-Number-Format/Number-Format-1.75/t/
H A Dformat_price.t94 'sep=0 posn=1 prec=0' => '-9.9500USD',
95 'sep=0 posn=1 prec=1' => '-USD9.9500',
96 'sep=0 posn=2 prec=0' => '9.9500USD-',
97 'sep=0 posn=2 prec=1' => 'USD9.9500-',
98 'sep=0 posn=3 prec=0' => '9.9500-USD',
99 'sep=0 posn=3 prec=1' => '-USD9.9500',
100 'sep=0 posn=4 prec=0' => '9.9500USD-',
101 'sep=0 posn=4 prec=1' => 'USD-9.9500',
126 foreach my $posn (0..4)
130 my $key = "sep=$sep posn=$posn prec=$prec";
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/frtime/
H A Danimation.rkt11 (except-in frtime/animation/graphics make-posn posn-x posn-y make-rgb)
226 (and (posn? v) (number? (posn-x v)) (number? (posn-y v))))
337 (make-posn (apply + (map posn-x args))
341 (make-posn (apply - (map posn-x args))
345 (make-posn (/ (posn-x p) s)
349 (make-posn (* (posn-x p) s)
353 (+ (* (posn-x p1) (posn-x p2))
354 (* (posn-y p1) (posn-y p2))))
360 (posn/ p (posn-len p)))
377 (make-posn (derivative (posn-x p)) (derivative (posn-y p))))
[all …]
/dports/lang/mit-scheme/mit-scheme-9.2/src/edwin/
H A Ddocstr.scm45 (posn *doc-string-posn*))
46 (let* ((next (fix:+ posn nlen))
60 (fix:+ posn 1)
69 posn)))
79 (let fill-loop ((posn posn))
80 (if (fix:< posn blen)
91 (cond ((string? posn)
92 posn)
93 ((not (fix:fixnum? posn))
95 ((fix:< posn 0)
[all …]
/dports/graphics/djvulibre/djvulibre-3.5.28/libdjvu/
H A DBSEncodeByteStream.cpp227 posn[j+1] = posn[j]; in ranksort()
231 rank[posn[i]]=i; in ranksort()
322 if (c == 0) { tmp=posn[l]; posn[l]=posn[l1]; posn[l1++]=tmp; } in quicksort3r()
329 if (c == 0) { tmp=posn[h]; posn[h]=posn[h1]; posn[h1--]=tmp; } in quicksort3r()
333 tmp=posn[l]; posn[l]=posn[h]; posn[h]=tmp; in quicksort3r()
466 posn[j+1] = posn[j]; in quicksort3d()
498 if (c == 0) { tmp=posn[l]; posn[l]=posn[l1]; posn[l1++]=tmp; } in quicksort3d()
505 if (c == 0) { tmp=posn[h]; posn[h]=posn[h1]; posn[h1--]=tmp; } in quicksort3d()
509 tmp=posn[l]; posn[l]=posn[h]; posn[h]=tmp; in quicksort3d()
528 tmp=posn[i]; posn[i]=posn[l]; posn[l]=tmp; in quicksort3d()
[all …]
/dports/math/reduce/Reduce-svn5758-src/contrib/LuFy/
H A Dp2l.cpp176 static int posn = 0; variable
187 { if (posn > 70) in linesplit()
189 posn = 0; in linesplit()
194 { if (posn+strlen(s) > 70) in linesplit()
196 posn = 0; in linesplit()
222 posn += printf(")"); in prnode()
229 posn += printf(" "); in prnode()
233 posn += printf(")"); in prnode()
240 posn += printf(" "); in prnode()
243 posn += printf(" "); in prnode()
[all …]
/dports/devel/py-game/pygame-2.1.0/test/
H A Dgfxdraw_test.py47 def check_at(self, surf, posn, color): argument
48 sc = surf.get_at(posn)
52 posn,
60 sc = surf.get_at(posn)
64 posn,
175 for posn in fg_test_points:
177 for posn in bg_test_points:
200 for posn in fg_test_points:
202 for posn in bg_test_points:
231 for posn in fg_test_points:
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/langtools/tools/javac/processing/model/type/
H A DBasicAnnoTests.java387 int[] posn(); in posn() method
418 @Test(posn=0, annoType=TA.class, expect="1")
421 @Test(posn=0, annoType=TA.class, expect="11")
439 @Test(posn=5, annoType=TA.class, expect="12")
442 @Test(posn=6, annoType=TA.class, expect="13")
467 @Test(posn=0, annoType=TA.class, expect="2")
471 @Test(posn=1, annoType=TA.class, expect="3")
474 @Test(posn=2, annoType=TA.class, expect="4")
477 @Test(posn=1, annoType=TA.class, expect="5")
480 @Test(posn=3, annoType=TA.class, expect="6")
[all …]
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/langtools/tools/javac/processing/model/type/
H A DBasicAnnoTests.java387 int[] posn(); in posn() method
418 @Test(posn=0, annoType=TA.class, expect="1")
421 @Test(posn=0, annoType=TA.class, expect="11")
439 @Test(posn=5, annoType=TA.class, expect="12")
442 @Test(posn=6, annoType=TA.class, expect="13")
467 @Test(posn=0, annoType=TA.class, expect="2")
471 @Test(posn=1, annoType=TA.class, expect="3")
474 @Test(posn=2, annoType=TA.class, expect="4")
477 @Test(posn=1, annoType=TA.class, expect="5")
480 @Test(posn=3, annoType=TA.class, expect="6")
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/langtools/tools/javac/processing/model/type/
H A DBasicAnnoTests.java387 int[] posn(); in posn() method
418 @Test(posn=0, annoType=TA.class, expect="1")
421 @Test(posn=0, annoType=TA.class, expect="11")
439 @Test(posn=5, annoType=TA.class, expect="12")
442 @Test(posn=6, annoType=TA.class, expect="13")
467 @Test(posn=0, annoType=TA.class, expect="2")
471 @Test(posn=1, annoType=TA.class, expect="3")
474 @Test(posn=2, annoType=TA.class, expect="4")
477 @Test(posn=1, annoType=TA.class, expect="5")
480 @Test(posn=3, annoType=TA.class, expect="6")
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/langtools/tools/javac/processing/model/type/
H A DBasicAnnoTests.java387 int[] posn(); in posn() method
418 @Test(posn=0, annoType=TA.class, expect="1")
421 @Test(posn=0, annoType=TA.class, expect="11")
439 @Test(posn=5, annoType=TA.class, expect="12")
442 @Test(posn=6, annoType=TA.class, expect="13")
467 @Test(posn=0, annoType=TA.class, expect="2")
471 @Test(posn=1, annoType=TA.class, expect="3")
474 @Test(posn=2, annoType=TA.class, expect="4")
477 @Test(posn=1, annoType=TA.class, expect="5")
480 @Test(posn=3, annoType=TA.class, expect="6")
[all …]

12345678910>>...95