| /src/tests/lib/libm/ |
| t_sincos.c | 39 int angle; member in struct:__anon7909 63 int angle; member in struct:__anon7910 109 ATF_CHECK_MSG(sin_angles[i].angle == cos_angles[i].angle, 110 "%zu %d %d", i, sin_angles[i].angle, cos_angles[i].angle); 111 int deg = sin_angles[i].angle; 225 ATF_CHECK_MSG(sin_angles[i].angle == cos_angles[i].angle, 226 "%zu %d %d", i, sin_angles[i].angle, cos_angles[i].angle) [all...] |
| t_cos.c | 38 int angle; member in struct:__anon7886 82 int deg = angles[i].angle; 178 int deg = angles[i].angle; 274 int deg = angles[i].angle;
|
| t_sin.c | 38 int angle; member in struct:__anon7908 76 int deg = angles[i].angle; 182 int deg = angles[i].angle;
|
| t_tan.c | 38 int angle; member in struct:__anon7912 72 int deg = angles[i].angle; 178 int deg = angles[i].angle;
|
| /src/games/trek/ |
| move.c | 84 double angle; local 102 angle = course * 0.0174532925; 104 angle += Param.navigcrud[1] * (franf() - 0.5); 107 angle += Param.navigcrud[0] * (franf() - 0.5); 108 dx = -cos(angle); 109 dy = sin(angle);
|
| torped.c | 52 ** a spread angle. 74 double angle; local 116 burst = getintpar("burst angle"); 120 printf("Maximum burst angle is 15 degrees\n"); 134 angle = course2 * 0.0174532925; 135 dx = -cos(angle); 136 dy = sin(angle);
|
| computer.c | 320 double angle; local 328 /* get the angle */ 329 angle = atan2(dy, dx); 331 if (angle < 0.0) 332 angle += 6.283185307; 334 course = angle * 57.29577951 + 0.5;
|
| phaser.c | 50 #define GAMMA 0.30 /* cos(angle) */ 63 ** of units to fire, and the spread angle. In automatic 87 double angle; member in struct:banks 183 b->angle = hit * 0.0174532925; 228 b->angle = atan2(dy, dx); 273 printf(" a%.2f s%.2f\n", b->angle, b->spread); 303 ** GAMMA is a crud factor for angle (essentially 306 ** angle you are shooting at and the actual 307 ** angle of the klingon, 330 anglefactor = atan2(dy, dx) - b->angle; [all...] |
| /src/games/sail/ |
| misc.c | 52 static int angle(int, int); 110 angle(int Dr, int Dc) function 146 if ((ang = angle(Dr, Dc) - from->file->dir + 1) < 1) 171 ang = angle(Dr, Dc);
|
| /src/external/bsd/nvi/dist/motif_l/ |
| xtabbed.c | 103 static int XRotDrawString(Display *dpy, XFontStruct *font, float angle, Drawable drawable, GC gc, int x, int y, char *str); 104 static int XRotDrawImageString(Display *dpy, XFontStruct *font, float angle, Drawable drawable, GC gc, int x, int y, char *str); 105 static int XRotDrawAlignedString(Display *dpy, XFontStruct *font, float angle, Drawable drawable, GC gc, int x, int y, char *text, int align); 106 static int XRotDrawAlignedImageString(Display *dpy, XFontStruct *font, float angle, Drawable drawable, GC gc, int x, int y, char *text, int align); 107 static XPoint *XRotTextExtents(Display *dpy, XFontStruct *font, float angle, int x, int y, char *text, int align); 875 float angle = ((XmTabsWidget)self)->xmTabs.orientation == XfwfLeftTabs ? 90.0 : -90.0; 888 (dpy, ((XmTabsWidget)self)->xmTabs.font, angle, win, ((XmTabsWidget)self)->xmTabs.textgc, midx, y, ((XmTabsWidget)self)->xmTabs.labels[i], align); 1476 /* BETTER: xvertext now does rotation at any angle!! 1541 float angle; 1587 static int XRotDrawString(Display *dpy, XFontStruct *font, float angle, Drawable drawable, GC gc, int x, int y, char *str) 869 float angle = ((XmTabsWidget)self)->xmTabs.orientation == XfwfLeftTabs ? 90.0 : -90.0; local 882 (dpy, ((XmTabsWidget)self)->xmTabs.font, angle, win, ((XmTabsWidget)self)->xmTabs.textgc, midx, y, ((XmTabsWidget)self)->xmTabs.labels[i], align); local 1534 float angle; member in struct:rotated_text_item_template [all...] |
| /src/external/gpl2/groff/dist/src/preproc/grn/ |
| hgraph.cpp | 56 void doarc(POINT cp, POINT sp, int angle); 63 void HGArc(int cx, int cy, int px, int py, int angle); 340 | Routine: doarc (center_point, start_point, angle) 343 | depending on the angle needed to draw through. 349 int angle) 351 if (angle) /* arc with angle */ 353 (int) (sp.x * troffscale), (int) (sp.y * troffscale), angle); 354 else /* a full circle (angle == 0) */ 569 | Routine: HGArc (xcenter, ycenter, xstart, ystart, angle) [all...] |
| /src/games/atc/ |
| input.c | 649 int angle; local 651 angle = dir_no(c); 654 p.new_dir = p.dir - angle; 659 p.new_dir = p.dir + angle;
|
| /src/external/gpl2/groff/dist/font/devps/generate/ |
| textmap | 103 angle /_
|
| /src/external/gpl2/groff/dist/font/devps/ |
| symbolmap | 106 angle /_
|
| /src/external/gpl3/gcc.old/dist/libgfortran/intrinsics/ |
| trigd.inc | 124 /* Reduce angle to x in [0,360]. */ 272 /* Reduce angle to ax in [0,360]. */ 418 /* Reduce angle to x in [0,360]. */
|
| /src/external/gpl2/groff/dist/src/devices/grolbp/ |
| lbp.h | 238 vdmaarc(int centerx, int centery, int radius,int startangle,int angle,int style,int arcopen) 244 vdmnum(radius,rad),vdmnum(startangle,stx),vdmnum(angle,sty),\
|
| /src/sys/arch/x68k/stand/libiocs/ |
| iocs.h | 116 unsigned char angle; member in struct:iocs_symbolptr
|
| /src/external/gpl3/gcc.old/dist/libcpp/ |
| files.cc | 1131 test_header_unit (cpp_reader *pfile, const char *name, bool angle, 1134 if (cpp_dir *dir = search_path_head (pfile, name, angle, IT_INCLUDE)) 1135 return _cpp_find_file (pfile, name, dir, angle, _cpp_FFK_NORMAL, loc); 1144 _cpp_find_header_unit (cpp_reader *pfile, const char *name, bool angle, 1147 if (_cpp_file *file = test_header_unit (pfile, name, angle, loc)) 1169 cpp_probe_header_unit (cpp_reader *pfile, const char *name, bool angle, 1172 if (_cpp_file *file = test_header_unit (pfile, name, angle, loc))
|
| internal.h | 253 /* Nonzero if in a directive that takes angle-bracketed headers. */ 714 int angle, _cpp_find_file_kind, location_t);
|
| /src/usr.bin/make/unit-tests/ |
| directive-include.mk | 38 # Expressions in double quotes or angle quotes are first parsed naively, to
|
| varmod-loop.mk | 6 # word in angle quotes, resulting in '<1> <2> <3>'.
|
| /src/sys/dev/bluetooth/ |
| btmagic.c | 1252 * angle 6-bits (from E(0)->N(32)->W(64)) 1282 struct hid_location angle; member in struct:__anon2527 1292 .angle = { .pos = 50, .size = 6 }, 1445 * angle 6-bits (from E(0)->N(32)->W(64)) 1465 struct hid_location angle; member in struct:__anon2529 1475 .angle = { .pos = 58, .size = 6 },
|
| /src/sys/dev/ic/ |
| arn9003.c | 2780 int icept, G, I, L, M, angle, xnonlin, y2, y4, sumy2, sumy4; local 3003 angle = y5 + y3; 3004 if (angle < -150) 3005 angle = -150; 3006 else if (angle > 150) 3007 angle = 150; 3008 sc->sc_angle[chain][i] = angle; 3010 /* Angle for entry 4 is derived from angle for entry 5. */
|
| /src/external/gpl2/groff/dist/src/preproc/pic/ |
| object.cpp | 642 double angle = 0.0; local 646 angle = atan2(d.y, d.x); 650 out->text(center(), text, ntext, angle); local
|
| /src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/ |
| RewriteModernObjC.cpp | 2137 int angle = 0; local 2138 while (*argRef != ')' && (*argRef != ',' || angle > 0)) { 2140 angle++; 2142 angle--; 2145 assert(angle == 0 && "scanToNextArgument - bad protocol type syntax");
|