Searched refs:rad (Results 1 - 25 of 57) sorted by relevance

123

/macosx-10.10/groff-38/groff/src/preproc/pic/
H A Dcommon.cpp26 void common_output::dashed_circle(const position &cent, double rad, argument
32 double dash_angle = lt.dash_width/rad;
45 circle(cent, rad, slt, -1.0);
55 solid_arc(cent, rad, start_angle, start_angle + dash_angle, lt);
61 void common_output::dotted_circle(const position &cent, double rad, argument
65 double gap_angle = lt.dash_width/rad;
78 dot(cent + position(cos(ang), sin(ang))*rad, lt);
263 double rad = hypot(c - start); local
264 double dash_angle = lt.dash_width/rad;
269 solid_arc(cent, rad, start_angl
296 double rad = hypot(c - start); local
308 solid_arc(const position &cent, double rad, double start_angle, double end_angle, const line_type &lt) argument
321 rounded_box(const position &cent, const distance &dim, double rad, const line_type &lt, double fill) argument
344 dashed_rounded_box(const position &cent, const distance &dim, double rad, const line_type &lt) argument
404 dash_arc(const position &cent, double rad, double start_angle, double end_angle, const line_type &lt, double dash_width, double gap_width, double *offsetp) argument
482 dotted_rounded_box(const position &cent, const distance &dim, double rad, const line_type &lt) argument
541 dot_arc(const position &cent, double rad, double start_angle, double end_angle, const line_type &lt, double gap_width, double *offsetp) argument
591 solid_rounded_box(const position &cent, const distance &dim, double rad, const line_type &lt) argument
626 filled_rounded_box(const position &cent, const distance &dim, double rad, double fill) argument
[all...]
H A Dcommon.h27 void dash_arc(const position &cent, double rad,
32 void dot_arc(const position &cent, double rad,
40 void dashed_circle(const position &, double rad, const line_type &);
41 void dotted_circle(const position &, double rad, const line_type &);
48 virtual void solid_arc(const position &cent, double rad, double start_angle,
60 void circle(const position &, double rad, const line_type &, double) = 0;
H A Dtex.cpp42 void circle(const position &, double rad, const line_type &, double);
59 void solid_arc(const position &cent, double rad, double start_angle,
240 void tex_output::solid_arc(const position &cent, double rad, argument
249 milliinches(rad/scale),
250 milliinches(rad/scale),
285 void tex_output::circle(const position &cent, double rad, argument
293 ellipse(cent, position(rad*2.0, rad*2.0), ilt, fill);
297 dashed_circle(cent, rad, lt);
302 ellipse(cent, position(rad*2.
[all...]
H A Dtroff.cpp34 virtual void simple_circle(int, const position &, double rad) = 0;
55 void circle(const position &, double rad, const line_type &, double);
160 void simple_output::circle(const position &cent, double rad, argument
166 simple_circle(1, cent, rad);
173 dashed_circle(cent, rad, lt);
176 dotted_circle(cent, rad, lt);
179 simple_circle(0, cent, rad);
234 void simple_circle(int, const position &, double rad);
322 void troff_output::simple_circle(int filled, const position &cent, double rad) argument
329 c.x - rad/scal
[all...]
H A Doutput.h43 virtual void circle(const position &, double rad,
H A Dobject.cpp1515 double rad; member in class:arc_object
1520 double radius() { return rad; }
1539 rad = hypot(c - s);
1553 result.y += rad;
1560 result.y -= rad;
1567 result.x += rad;
1574 result.x -= rad;
1581 result.x += rad/M_SQRT2;
1582 result.y += rad/M_SQRT2;
1589 result.x -= rad/M_SQRT
[all...]
/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/FieldGraph/
H A DfieldMath.py8 def radToDeg(rad):
9 return (rad/pi)*180.0
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/FieldGraph/
H A DfieldMath.py8 def radToDeg(rad):
9 return (rad/pi)*180.0
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-framework-Cocoa-2.5.1/Examples/AppKit/FieldGraph/
H A DfieldMath.py8 def radToDeg(rad):
9 return (rad/pi)*180.0
/macosx-10.10/tcl-105/tcl_ext/ffidl/ffidl/demos/other/
H A Dgmpf.tcl14 proc ::gmp::fget_str {rad mpf} {
16 if {$rad < 2 || $rad > 36} {
17 error "radix $rad out of bounds, min 2, max 36"
18 } elseif {$rad == 2} {
20 } elseif {$rad <= 4} {
22 } elseif {$rad <= 8} {
24 } elseif {$rad <= 16} {
26 } elseif {$rad <= 32} {
33 set digits [mpf_get_str mpfdig mpfexp $rad
[all...]
H A Dgmpq.tcl35 proc ::gmp::qget_str {rad mpq} {
36 if {$rad < 2 || $rad > 36} {
37 error "radix $rad out of bounds, min 2, max 36"
41 set znum [zget_str $rad $num]
42 set zden [zget_str $rad $den]
H A Dgmpz.tcl10 proc ::gmp::zget_str {rad mpz} {
11 if {$rad < 2 || $rad > 36} {
12 error "radix $rad out of bounds, min 2, max 36"
14 set mpzo [binary format x[expr {[mpz_sizeinbase $mpz $rad]+2}]]
15 mpz_get_str mpzo $rad $mpz
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/simulation/
H A Drandom.tcl183 set rad [expr {sqrt(-log(rand()))}]
185 set r [expr {$rad*cos($phi)}]
270 set rad [expr {sqrt(-log(rand()))}]
272 set r [expr {$rad*cos($phi)}]
286 # rad Radius of the disk
292 proc ::simulation::random::prng_Disk {rad} {
298 proc $name {} [string map [list RAD $rad] \
301 set rad [expr {RAD*sqrt((rand())}]
303 set x [expr {$rad*cos($phi)}]
304 set y [expr {$rad*si
[all...]
/macosx-10.10/tcl-105/tcl_ext/tklib/tklib/examples/diagrams/
H A Ddraw_circle.tcl61 # rad Radius
65 proc circle {point rad} {
68 set p1 [list POINT [expr {$x+$rad}] [expr {$y+$rad}]]
69 set p2 [list POINT [expr {$x-$rad}] [expr {$y-$rad}]]
71 return [list CIRCLE $point $rad]
/macosx-10.10/emacs-93/emacs/lisp/calc/
H A Dcalc-units.el218 ( rad nil "*Radian" )
219 ( circ "2 pi rad" "Full circle" )
1226 (let ((rad (math-simplify-units
1229 (calc-angle-mode 'rad))
1230 (and (eq (car-safe rad) '*)
1231 (math-realp (nth 1 rad))
1232 (eq (car-safe (nth 2 rad)) 'var)
1233 (eq (nth 1 (nth 2 rad)) 'rad)
1234 (list 'calcFunc-sin (nth 1 rad))))))
[all...]
/macosx-10.10/xnu-2782.1.97/osfmk/mach/
H A Drpc.h92 struct rpc_routine_arg_descriptor rad[1]; member in struct:rpc_signature
/macosx-10.10/tcpdump-61/tcpdump/
H A Dprint-radius.c896 register const struct radius_hdr *rad; local
900 rad = (struct radius_hdr *)dat;
901 len = EXTRACT_16BITS(&rad->len);
914 tok2str(radius_command_values,"Unknown Command",rad->code),
915 rad->code,
916 rad->id,
923 tok2str(radius_command_values,"Unknown Command",rad->code),
924 rad->code,
925 rad->id);
928 printf("%02x", rad
[all...]
/macosx-10.10/tcl-105/tcl_ext/bwidget/bwidget/demo/
H A Dbasic.tcl118 set rad [BWidget::wrap radiobutton $subf.$dir -text "$dir arrow" \
121 pack $rad -anchor w -padx 5
131 set rad [BWidget::wrap radiobutton $f.$relief -text $relief \
134 pack $rad -anchor w -padx 5
/macosx-10.10/groff-38/groff/src/devices/grolbp/
H A Dlbp.h228 char x[4],y[4],rad[4]; local
231 vdmnum(radius,rad));
238 char x[4],y[4],rad[4],stx[4],sty[4],styl[4],op[4]; local
242 vdmnum(radius,rad),vdmnum(startangle,stx),vdmnum(angle,sty),\
251 char x[4],y[4],rad[4],stx[4],sty[4],enx[4],eny[4],styl[4],op[4]; local
255 vdmnum(radius,rad),vdmnum(startx,stx),vdmnum(starty,sty),\
/macosx-10.10/ruby-106/ruby/ext/tk/sample/
H A D24hr_clock.rb85 rad = Math::PI * angle / 180.0
86 x_base = @size*Math::sin(rad)
87 y_base = @size*Math::cos(rad)
129 rad = Math::PI * angle / 180.0
130 x_base = @size*Math::sin(rad)
131 y_base = @size*Math::cos(rad)
/macosx-10.10/ruby-106/ruby/ext/tk/sample/tkextlib/tcllib/
H A Dplotdemos1.rb73 rad = 1.0+Math.cos(angle*Math::PI/180.0)
74 s.plot('cardioid', rad, angle)
/macosx-10.10/tcl-105/tcl_ext/tklib/tklib/modules/plotchart/
H A Dplotaxis.tcl622 set rad $rad_step
624 while { $rad < $rad_max+0.5*$rad_step } {
625 foreach {xright ytxt} [polarToPixel $w $rad 0.0] {break}
626 foreach {xleft ycrd} [polarToPixel $w $rad 180.0] {break}
627 foreach {xcrd ytop} [polarToPixel $w $rad 90.0] {break}
628 foreach {xcrd ybottom} [polarToPixel $w $rad 270.0] {break}
633 $w create text $xright [expr {$ytxt+3}] -text $rad -anchor n -fill $textcolor -font $textfont
635 set rad [expr {$rad+$rad_step}]
1313 set rad
[all...]
H A Dplotpriv.tcl1056 set rad [expr {45.0 * 3.1415926 / 180.0}]
1057 set xtext [expr {(${pxmin}+${pxmax}+cos(${rad})*(${pxmax}-${pxmin}+20))/2}]
1058 set ytext [expr {(${pymin}+${pymax}-sin(${rad})*(${pymax}-${pymin}+20))/2}]
1107 set rad [expr {($angle_bgn+0.5*$angle_ext)*3.1415926/180.0}]
1108 set xtext [expr {($pxmin+$pxmax+cos($rad)*($pxmax-$pxmin+20))/2}]
1109 set ytext [expr {($pymin+$pymax-sin($rad)*($pymax-$pymin+20))/2}]
1131 # rad Next radius
1138 proc ::Plotchart::DrawPolarData { w series rad phi } {
1140 set xcrd [expr {$rad*cos($phi*$torad)}]
1141 set ycrd [expr {$rad*si
[all...]
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/contrib/slapd-modules/allowed/
H A Dallowed.c417 register_at( char *def, AttributeDescription **rad, int dupok ) argument
455 if ( rad ) *rad = ad;
/macosx-10.10/xnu-2782.1.97/bsd/dev/
H A Dmemdev.c531 int rad, dig; local
534 rad = 10;
540 rad = 16;
551 if(rad == 10) return pos; /* Leave if not base 10 */
556 *num = (*num * rad) + dig; /* Accumulate the number */

Completed in 259 milliseconds

123