/freebsd/lib/libvgl/ |
H A D | simple.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 1991-1997 Søren Schmidt 44 #define ABS(a) (((a)<0) ? -(a) : (a)) 45 #define SGN(a) (((a)<0) ? -1 : 1) 46 #define min(x, y) (((x) < (y)) ? (x) : (y)) argument 47 #define max(x, y) (((x) > (y)) ? (x) : (y)) argument 50 VGLSetXY(VGLBitmap *object, int x, int y, u_long color) in VGLSetXY() argument 52 int offset, soffset, undermouse; in VGLSetXY() local 55 if (x>=0 && x<object->VXsize && y>=0 && y<object->VYsize) { in VGLSetXY() [all …]
|
H A D | bitmap.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 1991-1997 Søren Schmidt 36 #define min(x, y) (((x) < (y)) ? (x) : (y)) argument 45 WriteVerticalLine(VGLBitmap *dst, int x, int y, int width, byte *line) in WriteVerticalLine() argument 47 int bwidth, i, pos, last, planepos, start_offset, end_offset, offset; in WriteVerticalLine() local 53 switch (dst->Type) { in WriteVerticalLine() 67 last = 8 - start_offset; in WriteVerticalLine() 79 planepos--; in WriteVerticalLine() 81 word <<= (8 - end_offset); in WriteVerticalLine() [all …]
|
/freebsd/usr.bin/bsdiff/bspatch/ |
H A D | bspatch.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright 2003-2005 Colin Percival 53 static int dirfd = -1; 59 if (dirfd != -1 && newfile != NULL) in exit_cleanup() 76 off_t y; in offtin() 78 y in offtin() 75 off_t y; offtin() local 113 off_t i, lenread, offset; main() local [all...] |
/freebsd/sys/contrib/device-tree/Bindings/input/rmi4/ |
H A D | rmi_2d_sensor.txt | 12 http://www.synaptics.com/sites/default/files/511-000136-01-Rev-E-RMI4-Interfacing-Guide.pdf 16 - touchscreen-inverted-x 17 - touchscreen-inverted-y 18 - touchscreen-swapped-x-y 19 - touchscreen-x-mm 20 - touchscreen-y-mm 23 - syna,clip-x-low: Sets a minimum value for X. 24 - syna,clip-y-low: Sets a minimum value for Y. 25 - syna,clip-x-high: Sets a maximum value for X. 26 - syna,clip-y-high: Sets a maximum value for Y. [all …]
|
/freebsd/usr.bin/systat/ |
H A D | proc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 71 display_proc_line(int idx, int y, uint64_t totalswappages) in display_proc_line() argument 73 int offset = 0, rate; in display_proc_line() local 78 wmove(wnd, y, 0); in display_proc_line() 83 uname = user_from_uid(pu[idx]->uid, 0); in display_proc_line() 84 swapbytes = ptoa(pu[idx]->pages); in display_proc_line() 86 snprintf(buf, sizeof(buf), "%6d %-10s %-10.10s", pu[idx]->pid, uname, in display_proc_line() 87 pu[idx]->command); in display_proc_line() 88 offset = 6 + 1 + 10 + 1 + 10 + 1; in display_proc_line() [all …]
|
/freebsd/contrib/ntp/html/ |
H A D | huffpuff.html | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 4 <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> 6 <title>The Huff-n'-Puff Filter</title> 10 <h3>The Huff-n'-Puff Filter</h3> 12 <!-- #BeginDate format:En2m -->10-Mar-2014 05:09<!-- #EndDate --> 16 …-n'-puff filter is designed to correct the apparent time offset in these cases. It depends on know… 19 <p>Figure 1. Huff-n'-Puff Wedge Scattergram</p> 21 …-n'-puff filter works. Recall from the <a href="filter.html">Clock Filter Algorithm</a> page that … 23 …theta; = <em>y</em> <font face="symbol">-</font> (<em>x </em><font face="symbol">- </font><i>x</i>… 24 …theta; = <em>y</em> <font face="symbol">+</font> (<em>x </em><font face="symbol">- </font><i>x</i>…
|
/freebsd/stand/forth/ |
H A D | menusets.4th.8 | 53 .Pa /boot/menu-commands.4th 54 file, so it is not needed (and should not be re-issued) in a normal setup. 58 .Bl -tag -width menuset-loadinitial -compact -offset indent 59 .It Ic menuset-loadsetnum 62 .It Ic menuset-loadinitial 63 If $menuset_initial is set, passes the value to menuset-loadsetnum. 65 .It Ic menusets-unset 72 .Bl -tag -width bootfile -offset indent 74 Number to pass to menuset-loadsetnum when menuset-loadinitial is called. 82 .Bl -tag -width menusetN_caption[x][y] -compact -offset indent [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/ |
H A D | edt-ft5x06.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/input/touchscreen/edt-ft5x06.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: FocalTech EDT-FT5x06 Polytouch 18 - Dmitry Torokhov <dmitry.torokhov@gmail.com> 21 - $ref: touchscreen.yaml# 22 - if: 27 - evervision,ev-ft5726 31 offset-x: true [all …]
|
/freebsd/lib/msun/man/ |
H A D | ieee.3 | 33 .Nd IEEE standard 754 for floating-point arithmetic 35 The IEEE Standard 754 for Binary Floating-Point Arithmetic 36 defines representations of floating-point numbers and abstract 39 .Ss IEEE STANDARD 754 Floating-Point Arithmetic 43 .Bd -ragged -offset indent -compact 49 Zero is represented ambiguously as +0 or \-0. 50 .Bd -ragged -offset indent -compact 53 with like signs; but x\-x yields +0 for every 57 .Fn copysign x \(+-0 . 58 In particular, comparison (x > y, x \(>= y, etc.)\& [all …]
|
H A D | atan2.3 | 44 .Fn atan2 "double y" "double x" 46 .Fn atan2f "float y" "float x" 48 .Fn atan2l "long double y" "long double x" 63 .Fa y/ Ns Fa x , 94 .Fa y/ Ns Fa x 96 .Bk -words 101 .Bl -column atan_(y,x)_:=____ sign(y)_(Pi_atan2(Xy_xX))___ 102 .It Fn atan2 y x No := Ta 103 .Fn atan y/x Ta 107 .It Ta sign( Ns Fa y Ns )*(\*(Pi - [all …]
|
/freebsd/contrib/arm-optimized-routines/math/aarch64/advsimd/ |
H A D | log10f.c | 2 * Single-precision vector log10 function. 4 * Copyright (c) 2020-2024, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 21 [-1/3, 1/3] (offset=2/3). Max. relative error: 0x1.068ee468p-25. */ 22 .c0 = V4 (-0x1.bcb79cp-3f), 23 .c1 = 0x1.2879c8p-3f, 24 .c2 = V4 (-0x1.bcd472p-4f), 25 .c3 = 0x1.6408f8p-4f, 26 .c4 = V4 (-0x1.246f8p-4f), 27 .c5 = 0x1.f0e514p-5f, [all …]
|
H A D | erfc.c | 2 * Double-precision vector erfc(x) function. 4 * Copyright (c) 2023-2024, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 14 uint64x2_t offset, table_scale; member 23 /* Set an offset so the range of the index used for lookup is 3487, and it 24 can be clamped using a saturated add on an offset index. 25 Index offset is 0xffffffffffffffff - asuint64(shift) - 3487. */ 26 .offset = V2 (0xbd3ffffffffff260), 27 .table_scale = V2 (0x37f0000000000000 << 1), /* asuint64 (2^-128) << 1. */ 30 .p20 = V2 (0x1.5555555555555p-2), /* 1/3, used to compute 2/3 and 1/6. */ [all …]
|
H A D | erfcf.c | 2 * Single-precision vector erfc(x) function. 4 * Copyright (c) 2023-2024, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 14 uint32x4_t offset, table_scale; member 23 /* Set an offset so the range of the index used for lookup is 644, and it can 25 .offset = V4 (0xb7fffd7b), /* 0xffffffff - asuint(shift) - 644. */ 26 .table_scale = V4 (0x28000000 << 1), /* asuint (2^-47) << 1. */ 31 .coeffs = { 0x1.555556p-2f, 0x1.555556p-1f, 0x1.111112p-3f, 0 }, 32 .third = V4 (0x1.555556p-2f), 33 .two_over_five = V4 (-0x1.99999ap-2f), [all …]
|
H A D | logf.c | 2 * Single-precision vector log function. 4 * Copyright (c) 2019-2024, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 19 .c0 = -0x1.3e737cp-3f, 20 .c1 = 0x1.5a9aa2p-3f, 21 .c2 = V4 (-0x1.4f9934p-3f), 22 .c3 = 0x1.961348p-3f, 23 .c4 = V4 (-0x1.00187cp-2f), 24 .c5 = 0x1.555d7cp-2f, 25 .c6 = V4 (-0x1.ffffc8p-2f), [all …]
|
H A D | log.c | 2 * Double-precision vector log(x) function. 4 * Copyright (c) 2019-2024, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 19 /* Rel error: 0x1.6272e588p-56 in [ -0x1.fc1p-9 0x1.009p-8 ]. */ 20 .c0 = V2 (-0x1.ffffffffffff7p-2), 21 .c1 = 0x1.55555555170d4p-2, 22 .c2 = V2 (-0x1.0000000399c27p-2), 23 .c3 = 0x1.999b2e90e94cap-3, 24 .c4 = -0x1.554e550bd501ep-3, 25 .ln2 = 0x1.62e42fefa39efp-1, [all …]
|
H A D | log10.c | 2 * Double-precision vector log10(x) function. 4 * Copyright (c) 2022-2024, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 22 .c0 = V2 (-0x1.bcb7b1526e506p-3), 23 .c1 = 0x1.287a7636be1d1p-3, 24 .c2 = V2 (-0x1.bcb7b158af938p-4), 25 .c3 = 0x1.63c78734e6d07p-4, 26 .c4 = V2 (-0x1.287461742fee4p-4), 27 .invln10 = 0x1.bcb7b1526e50ep-2, 28 .log10_2 = 0x1.34413509f79ffp-2, [all …]
|
H A D | log2.c | 2 * Double-precision vector log2 function. 4 * Copyright (c) 2022-2024, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 19 /* Each coefficient was generated to approximate log(r) for |r| < 0x1.fp-9 22 .c0 = V2 (-0x1.71547652b8300p-1), 23 .c1 = 0x1.ec709dc340953p-2, 24 .c2 = V2 (-0x1.71547651c8f35p-2), 25 .c3 = 0x1.2777ebe12dda5p-2, 26 .c4 = -0x1.ec738d616fe26p-3, 31 optimised register use subnormals are detected after offset has been [all …]
|
/freebsd/contrib/unbound/sldns/ |
H A D | keyraw.c | 2 * keyraw.c - raw key operations and conversions 4 * (c) NLnet Labs, 2004-2008 75 return (len - exp - 3)*8; in sldns_rr_dnskey_key_size_raw() 81 return (len-exp-1)*8; in sldns_rr_dnskey_key_size_raw() 119 memmove(&ac16, key + keysize - 3, 2); in sldns_calc_keytag_raw() 149 meth = EVP_PKEY_asn1_find_str(NULL, "gost2001", -1); in sldns_key_EVP_load_gost_id() 173 meth = EVP_PKEY_asn1_find_str(&e, "gost2001", -1); in sldns_key_EVP_load_gost_id() 201 BIGNUM** q, BIGNUM** g, BIGNUM** y) in sldns_key_dsa_buf_bignum() argument 205 uint16_t offset; in sldns_key_dsa_buf_bignum() local 211 offset = 1; in sldns_key_dsa_buf_bignum() [all …]
|
/freebsd/contrib/unbound/compat/ |
H A D | gmtime_r.c | 33 #define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) argument 45 timesub(timep, offset, tmp) in timesub() argument 47 const long offset; 52 long y; local 58 rem += (offset); 61 --days; 64 rem -= SECSPERDAY; 67 tmp->tm_hour = (int) (rem / SECSPERHOUR); 69 tmp->tm_min = (int) (rem / SECSPERMIN); 74 tmp->tm_sec = (int) (rem % SECSPERMIN) ; [all …]
|
/freebsd/usr.sbin/bhyve/amd64/ |
H A D | vga.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 175 return (((sc->vga_seq.seq_clock_mode & SEQ_CM_SO) != 0) || in vga_in_reset() 176 ((sc->vga_seq.seq_reset & SEQ_RESET_ASYNC) == 0) || in vga_in_reset() 177 ((sc->vga_seq.seq_reset & SEQ_RESET_SYNC) == 0) || in vga_in_reset() 178 ((sc->vga_crtc.crtc_mode_ctrl & CRTC_MC_TE) == 0)); in vga_in_reset() 189 //old_width = sc->gc_width; in vga_check_size() 190 //old_height = sc->gc_height; in vga_check_size() 191 old_width = sc->gc_image->width; in vga_check_size() 192 old_height = sc->gc_image->height; in vga_check_size() [all …]
|
/freebsd/contrib/libxo/xohtml/external/ |
H A D | jquery.qtip.js | 2 * qTip2 - Pretty powerful tooltips - v2.1.1 30 …peration for this function. See more: http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/ 32 ;// Munge the primitives - Paul Irish tip 38 X = 'x', Y = 'y', 58 ATTR_HAS = 'data-hasqtip', 59 ATTR_ID = 'data-qtip-id', 60 WIDGET = ['ui-widget', 'ui-tooltip'], 64 CLASS_FIXED = NAMESPACE+'-fixed', 65 CLASS_DEFAULT = NAMESPACE + '-default', 66 CLASS_FOCUS = NAMESPACE + '-focus', [all …]
|
/freebsd/contrib/dialog/ |
H A D | util.c | 4 * util.c -- miscellaneous utilities for dialog 6 * Copyright 2000-2020,2021 Thomas E. Dickey 116 #define UseShadow(dw) ((dw) != 0 && (dw)->normal != 0 && (dw)->shadow != 0) 123 /* *INDENT-OFF* */ 155 DATA(A_NORMAL, ITEMHELP, itemhelp, "Item help-text"), 166 /* *INDENT-ON* */ 178 p->normal = parent; in add_subwindow() 179 p->shadow = child; in add_subwindow() 180 p->getc_timeout = WTIMEOUT_OFF; in add_subwindow() 181 p->next = dialog_state.all_subwindows; in add_subwindow() [all …]
|
/freebsd/contrib/tzcode/ |
H A D | localtime.c | 5 ** 1996-06-05 by Arthur David Olson. 10 ** POSIX.1-1988 style TZ environment variable handling from Guy Harris. 28 #include "un-namespace.h" 53 "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 :+-._" 61 ** Support non-POSIX platforms that distinguish between text and binary files. 94 static char const *utc = etc_utc + sizeof "Etc/" - 1; 98 ** Default to US rules as of 2017-05-07. 107 int_fast32_t tt_utoff; /* UT offset i 1060 transtime(const int year,register const struct rule * const rulep,const int_fast32_t offset) transtime() argument 1777 gmtsub(ATTRIBUTE_MAYBE_UNUSED struct state const * sp,time_t const * timep,int_fast32_t offset,struct tm * tmp) gmtsub() argument 1845 offtime_r(time_t const * restrict timep,long offset,struct tm * restrict tmp) offtime_r() argument 1859 offtime(const time_t * timep,long offset) offtime() argument 1893 leaps_thru_end_of_nonneg(time_t y) leaps_thru_end_of_nonneg() argument 1899 leaps_thru_end_of(time_t y) leaps_thru_end_of() argument 1907 timesub(const time_t * timep,int_fast32_t offset,const struct state * sp,struct tm * tmp) timesub() argument 1916 time_t y; timesub() local 2156 time2sub(struct tm * const tmp,struct tm * (* funcp)(struct state const *,time_t const *,int_fast32_t,struct tm *),struct state const * sp,const int_fast32_t offset,bool * okayp,bool do_norm_secs) time2sub() argument 2166 int_fast32_t y; time2sub() local 2361 time2(struct tm * const tmp,struct tm * (* funcp)(struct state const *,time_t const *,int_fast32_t,struct tm *),struct state const * sp,const int_fast32_t offset,bool * okayp) time2() argument 2380 time1(struct tm * const tmp,struct tm * (* funcp)(struct state const *,time_t const *,int_fast32_t,struct tm *),struct state const * sp,const int_fast32_t offset) time1() argument 2506 timeoff(struct tm * tmp,long offset) timeoff() argument 2592 time_t y; posix2time_z() local 2663 int_fast32_t offset = EPOCH_LOCAL ? (daylight ? timezone : altzone) : 0; time() local [all...] |
/freebsd/share/man/man7/ |
H A D | ascii.7 | 40 .Bd -literal -offset left 46 050 ( 051 ) 052 * 053 + 054 , 055 - 056 . 057 / 52 130 X 131 Y 132 Z 133 [ 134 \e\ 135 ] 136 ^ 137 _ 56 170 x 171 y 172 z 173 { 174 | 175 } 176 ~ 177 DEL 62 .Bd -literal -offset left 68 28 ( 29 ) 2a * 2b + 2c , 2d - 2e . 2f / 74 58 X 59 Y 5a Z 5b [ 5c \e\ 5d ] 5e ^ 5f _ 78 78 x 79 y 7a z 7b { 7c | 7d } 7e ~ 7f DEL 84 .Bd -literal -offset left 90 40 ( 41 ) 42 * 43 + 44 , 45 - 46 . 47 / [all …]
|
/freebsd/sys/dev/vt/hw/fb/ |
H A D | vt_fb.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 69 KASSERT((o < sc->fb_size), ("Offset %#08x out of fb size", o)); in vt_fb_mem_wr1() 70 *(uint8_t *)(sc->fb_vbase + o) = v; in vt_fb_mem_wr1() 77 KASSERT((o < sc->fb_size), ("Offset in vt_fb_mem_wr2() 137 vt_fb_mmap(struct vt_device * vd,vm_ooffset_t offset,vm_paddr_t * paddr,int prot,vm_memattr_t * memattr) vt_fb_mmap() argument 166 vt_fb_setpixel(struct vt_device * vd,int x,int y,term_color_t color) vt_fb_setpixel() argument 206 int x, y; vt_fb_drawrect() local 271 vt_fb_bitblt_bitmap(struct vt_device * vd,const struct vt_window * vw,const uint8_t * pattern,const uint8_t * mask,unsigned int width,unsigned int height,unsigned int x,unsigned int y,term_color_t fg,term_color_t bg) vt_fb_bitblt_bitmap() argument 339 unsigned int col, row, x, y; vt_fb_bitblt_text() local [all...] |