/freebsd/sys/geom/bde/ |
H A D | g_bde_work.c |
|
H A D | g_bde_crypt.c |
|
/freebsd/contrib/tcsh/ |
H A D | tc.who.c | 205 struct who *wp, *wpnew; local 279 for (wp = whohead.who_next; wp->who_next != NULL; wp = wp->who_next) 280 wp->who_status = OFFLINE | CLEARED; 310 wp = whohead.who_next; 311 while (wp->who_next && (comp = strncmp(wp->who_tty, utmp.ut_line, UTLINLEN)) < 0) 312 wp = wp->who_next;/* find that tty! */ 314 if (wp->who_next && comp == 0) { /* found the tty... */ 315 if (utmp.ut_time < wp->who_time) 319 wp->who_time = utmp.ut_time; 320 wp->who_status = OFFLINE; [all …]
|
H A D | sh.func.c | 428 struct whyle *wp; in gotolab() local 434 for (wp = whyles; wp; wp = wp->w_next) in gotolab() 435 if (wp->w_end.type == TCSH_F_SEEK && wp->w_end.f_seek == 0) { in gotolab() 437 btell(&wp->w_end); in gotolab() 440 bseek(&wp->w_end); in gotolab() 753 struct whyle *wp; in search() local 828 wp = whyles; in search() 829 if (wp) { in search() 830 whyles = wp->w_next; in search() 831 wpfree(wp); in search() [all …]
|
/freebsd/sys/contrib/openzfs/lib/libuutil/ |
H A D | uu_avl.c | 307 _avl_walk_init(uu_avl_walk_t *wp, uu_avl_t *ap, uint32_t flags) in _avl_walk_init() argument 314 (void) memset(wp, 0, sizeof (*wp)); in _avl_walk_init() 315 wp->uaw_avl = ap; in _avl_walk_init() 316 wp->uaw_robust = robust; in _avl_walk_init() 317 wp->uaw_dir = direction; in _avl_walk_init() 320 wp->uaw_next_result = avl_first(&ap->ua_tree); in _avl_walk_init() 322 wp->uaw_next_result = avl_last(&ap->ua_tree); in _avl_walk_init() 325 wp->uaw_next = next = &ap->ua_null_walk; in _avl_walk_init() 326 wp->uaw_prev = prev = next->uaw_prev; in _avl_walk_init() 327 next->uaw_prev = wp; in _avl_walk_init() [all …]
|
H A D | uu_list.c | 395 list_walk_init(uu_list_walk_t *wp, uu_list_t *lp, uint32_t flags) in list_walk_init() argument 402 (void) memset(wp, 0, sizeof (*wp)); in list_walk_init() 403 wp->ulw_list = lp; in list_walk_init() 404 wp->ulw_robust = robust; in list_walk_init() 405 wp->ulw_dir = direction; in list_walk_init() 407 wp->ulw_next_result = lp->ul_null_node.uln_next; in list_walk_init() 409 wp->ulw_next_result = lp->ul_null_node.uln_prev; in list_walk_init() 417 wp->ulw_next = next = &lp->ul_null_walk; in list_walk_init() 418 wp in list_walk_init() 425 list_walk_advance(uu_list_walk_t * wp,uu_list_t * lp) list_walk_advance() argument 440 list_walk_fini(uu_list_walk_t * wp) list_walk_fini() argument 456 uu_list_walk_t *wp; uu_list_walk_start() local 474 uu_list_walk_next(uu_list_walk_t * wp) uu_list_walk_next() argument 486 uu_list_walk_end(uu_list_walk_t * wp) uu_list_walk_end() argument 541 uu_list_walk_t *wp; uu_list_remove() local [all...] |
/freebsd/usr.sbin/ppp/ |
H A D | pred.c | 179 u_char *cp, *wp, *hp; in Pred1Output() local 186 hp = wp = MBUF_CTOP(mwp); in Pred1Output() 188 *wp++ = *cp++ = orglen >> 8; in Pred1Output() 189 *wp++ = *cp++ = orglen & 0377; in Pred1Output() 196 len = compress(state, bufp + 2, wp, orglen); in Pred1Output() 201 wp += len; in Pred1Output() 204 memcpy(wp, bufp + 2, orglen); in Pred1Output() 205 wp += orglen; in Pred1Output() 209 *wp++ = fcs & 0377; in Pred1Output() 210 *wp++ = fcs >> 8; in Pred1Output() [all …]
|
H A D | async.c | 85 u_char *wp; in async_Encode() local 87 wp = *cp; in async_Encode() 90 *wp++ = HDLC_ESC; in async_Encode() 94 *wp++ = HDLC_ESC; in async_Encode() 97 *wp++ = c; in async_Encode() 98 *cp = wp; in async_Encode() 107 struct mbuf *wp; in async_LayerPush() local 120 wp = bp; in async_LayerPush() 122 while (wp) { in async_LayerPush() 123 sp = MBUF_CTOP(wp); in async_LayerPush() [all …]
|
H A D | deflate.c | 73 u_char *wp, *rp; in DeflateOutput() local 97 wp = MBUF_CTOP(mo); in DeflateOutput() 98 *wp++ = state->seqno >> 8; in DeflateOutput() 99 *wp++ = state->seqno & 0377; in DeflateOutput() 104 state->cx.next_out = wp; in DeflateOutput() 203 u_char *wp; in DeflateInput() local 238 wp = MBUF_CTOP(mo); in DeflateInput() 239 wp[0] = '\0'; in DeflateInput() 248 state->cx.next_out = wp + 1; in DeflateInput() 282 if (!(wp[1] & 1)) { in DeflateInput() [all …]
|
/freebsd/contrib/ncurses/ncurses/base/ |
H A D | lib_window.c | 99 WINDOW *wp; in wsyncup() local 103 for (wp = win; wp->_parent; wp = wp->_parent) { in wsyncup() 105 WINDOW *pp = wp->_parent; in wsyncup() 107 assert((wp->_pary <= pp->_maxy) && in wsyncup() 108 ((wp->_pary + wp->_maxy) <= pp->_maxy)); in wsyncup() 110 for (y = 0; y <= wp->_maxy; y++) { in wsyncup() 111 int left = wp->_line[y].firstchar; in wsyncup() 113 struct ldat *line = &(pp->_line[wp->_pary + y]); in wsyncup() 115 int right = wp->_line[y].lastchar + wp->_parx; in wsyncup() 116 left += wp->_parx; in wsyncup() [all …]
|
H A D | resizeterm.c | 77 WINDOWLIST *wp; in show_window_sizes() local 85 for (each_window(sp, wp)) { in show_window_sizes() 87 (void *) &(wp->win), in show_window_sizes() 88 (long) wp->win._maxy + 1, in show_window_sizes() 89 (long) wp->win._maxx + 1, in show_window_sizes() 90 (long) wp->win._begy, in show_window_sizes() 91 (long) wp->win._begx); in show_window_sizes() 181 WINDOWLIST *wp; in child_depth() local 183 for (each_window(sp, wp)) { in child_depth() 184 WINDOW *tst = &(wp->win); in child_depth() [all …]
|
/freebsd/sbin/dump/ |
H A D | tape.c | 104 static struct worker *wp; variable 148 wp = &workers[0]; in alloctape() 149 wp->count = 1; in alloctape() 150 wp->tapea = 0; in alloctape() 151 wp->firstrec = 0; in alloctape() 152 nextblock = wp->tblock; in alloctape() 160 wp->req[trecno].dblk = (ufs2_daddr_t)0; in writerec() 161 wp->req[trecno].count = 1; in writerec() 181 wp->req[trecno].dblk = dblkno; in dumpblock() 182 wp->req[trecno].count = avail; in dumpblock() [all …]
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_acl.c | 68 static void next_field_w(const wchar_t **wp, const wchar_t **start, 70 static void append_entry_w(wchar_t **wp, const wchar_t *prefix, int type, 72 static void append_id_w(wchar_t **wp, int id); 674 wchar_t *wp, *ws; in archive_acl_to_text_w() local 696 wp = ws = malloc(length * sizeof(*wp)); in archive_acl_to_text_w() 697 if (wp == NULL) { in archive_acl_to_text_w() 705 append_entry_w(&wp, NULL, ARCHIVE_ENTRY_ACL_TYPE_ACCESS, in archive_acl_to_text_w() 708 *wp++ = separator; in archive_acl_to_text_w() 709 append_entry_w(&wp, NULL, ARCHIVE_ENTRY_ACL_TYPE_ACCESS, in archive_acl_to_text_w() 712 *wp++ = separator; in archive_acl_to_text_w() [all …]
|
/freebsd/contrib/nvi/cl/ |
H A D | cl_term.c | 93 CHAR_T *wp; in cl_term_init() local 100 CHAR2INT(sp, tkp->name, strlen(tkp->name), wp, wlen); in cl_term_init() 101 MEMCPY(name, wp, wlen); in cl_term_init() 102 CHAR2INT(sp, t, strlen(t), wp, wlen); in cl_term_init() 103 MEMCPY(ts, wp, wlen); in cl_term_init() 104 CHAR2INT(sp, tkp->output, strlen(tkp->output), wp, wlen); in cl_term_init() 105 MEMCPY(output, wp, wlen); in cl_term_init() 121 CHAR2INT(sp, tkp->name, strlen(tkp->name), wp, wlen); in cl_term_init() 122 MEMCPY(name, wp, wlen); in cl_term_init() 123 CHAR2INT(sp, t, strlen(t), wp, wlen); in cl_term_init() [all …]
|
/freebsd/crypto/openssl/crypto/whrlpool/ |
H A D | build.info | 6 $WPASM_x86=wp_block.c wp-mmx.S 9 $WPASM_x86_64=wp-x86_64.s 30 GENERATE[wp-mmx.S]=asm/wp-mmx.pl 31 DEPEND[wp-mmx.S]=../perlasm/x86asm.pl 33 GENERATE[wp-x86_64.s]=asm/wp-x86_64.pl
|
/freebsd/crypto/openssh/ |
H A D | utf8.c | 93 * including the terminating '\0', to sz. Unless wp is NULL, 94 * they limit the number of display columns occupied to *wp. 98 * If wp is NULL, newline, carriage return, and tab are allowed; 100 * written is returned in *wp. 104 vasnmprintf(char **str, size_t maxsz, int *wp, const char *fmt, va_list ap) in vasnmprintf() argument 137 max_width = wp == NULL ? INT_MAX : *wp; in vasnmprintf() 147 } else if (wp == NULL && in vasnmprintf() 152 * is only returned for wp != NULL. in vasnmprintf() 212 if (wp != NULL) in vasnmprintf() 213 *wp = total_width; in vasnmprintf() [all …]
|
/freebsd/contrib/arm-optimized-routines/math/tools/ |
H A D | exp10.sollya | 11 wp = single; 18 //wp = D; 37 p = roundcoefficients(approx(poly,i), [|wp ...|]); 38 // p = roundcoefficients(approx_abs(poly,i), [|wp ...|]); 49 log10_2 = round(N * log(10) / log(2), wp, RN); 51 log2_10_hi = round(log2_10, wp, RN); 52 log2_10_lo = round(log2_10 - log2_10_hi, wp, RN);
|
/freebsd/contrib/nvi/ex/ |
H A D | ex_script.c | 202 CHAR_T *wp; in sscr_getprompt() local 244 if (CHAR2INT5(sp, exp->ibcw, t, p - t, wp, wlen)) in sscr_getprompt() 247 db_append(sp, 0, lline, wp, wlen)) in sscr_getprompt() 277 if (CHAR2INT5(sp, exp->ibcw, buf, llen, wp, wlen)) in sscr_getprompt() 279 if (db_last(sp, &lline) || db_append(sp, 0, lline, wp, wlen)) { in sscr_getprompt() 303 CHAR_T *wp; in sscr_exec() local 309 if (db_get(sp, last_lno, DBG_FATAL, &wp, &wlen)) in sscr_exec() 311 INT2CHAR(sp, wp, wlen, p, last_len); in sscr_exec() 320 if (db_eget(sp, lno, &wp, &wlen, &isempty)) { in sscr_exec() 329 INT2CHAR(sp, wp, wlen, p, len); in sscr_exec() [all …]
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_archive_string_conversion.c | 133 unicode_to_wc(wchar_t *wp, uint32_t uc) in unicode_to_wc() argument 136 *wp = (wchar_t)uc; in unicode_to_wc() 143 *wp++ = (wchar_t)(((uc >> 10) & 0x3ff) + 0xD800); in unicode_to_wc() 144 *wp = (wchar_t)((uc & 0x3ff) + 0xDC00); in unicode_to_wc() 147 *wp = (wchar_t)uc; in unicode_to_wc() 317 const wchar_t *wp; in test_archive_string_normalization_nfc() local 413 archive_mstring_get_wcs(a, &mstr, &wp)); in test_archive_string_normalization_nfc() 416 assertEqualWString(wc_nfc, wp); in test_archive_string_normalization_nfc() 424 archive_mstring_get_wcs(a, &mstr, &wp)); in test_archive_string_normalization_nfc() 427 assertEqualWString(wc_nfc, wp); in test_archive_string_normalization_nfc() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mtd/ |
H A D | jedec,spi-nor.yaml | 78 no-wp: 82 with the WP# signal, provides hardware data protection for the device. When 83 the SRWD bit is set to 1, and the WP# signal is either driven LOW or hard 86 this hardware-protected mode is to drive WP# HIGH. If the WP# signal of the 90 the SRWD bit while writing the status register. WP# signal hard strapped to GND
|
/freebsd/contrib/llvm-project/lldb/source/Commands/ |
H A D | CommandObjectWatchpointCommand.cpp | 79 wp: the watchpoint that was hit. in CommandObjectWatchpointCommandAdd() 90 def watchpoint_callback(frame, wp): in CommandObjectWatchpointCommandAdd() 387 Watchpoint *wp = target->GetWatchpointList().FindByID(cur_wp_id).get(); in DoExecute() local 388 // Sanity check wp first. in DoExecute() 389 if (wp == nullptr) in DoExecute() 392 WatchpointOptions *wp_options = wp->GetOptions(); in DoExecute() 415 function_signature += "(frame, wp, internal_dict)"; in DoExecute() 481 Watchpoint *wp = target->GetWatchpointList().FindByID(cur_wp_id).get(); in DoExecute() local 482 if (wp) in DoExecute() 483 wp->ClearCallback(); in DoExecute() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/pinctrl/ |
H A D | marvell,dove-pinctrl.txt | 19 mpp1 1 gpio, pmu, uart2(cts), sdio0(wp), lcd1(pwm), pmu* 25 mpp5 5 gpio, pmu, uart3(cts), sdio1(wp), spi1(cs), pmu* 35 mpp13 13 gpio, pmu, uart2(cts), audio1(extclk), sdio1(wp), 40 mpp17 17 gpio, uart3(cts), sdio0(wp), ac97(sdi2), twsi(sda), 46 mpp21 21 gpio, sdio0(wp), sdio1(wp), spi1(cs), lcd-spi(cs0),
|
/freebsd/sys/dev/qat/qat_common/ |
H A D | adf_freebsd_transport_debug.c | 26 uint32_t *wp, *end; in adf_ring_show() local 60 wp = ring->base_addr; in adf_ring_show() 63 while (wp < end) { in adf_ring_show() 64 sbuf_printf(&sb, "%p:", wp); in adf_ring_show() 65 for (word = 0; word < 32 / 4; word++, wp++) in adf_ring_show() 66 sbuf_printf(&sb, " %08x", *wp); in adf_ring_show()
|
/freebsd/sys/contrib/device-tree/Bindings/mmc/ |
H A D | mmc-controller.yaml | 52 # *NOTE* on CD and WP polarity. To use common for all SD/MMC host 58 # inserted. Similar logic applies to the "wp-inverted" property. 60 # CD and WP lines can be implemented on the hardware in one of two 61 # ways: as GPIOs, specified in cd-gpios and wp-gpios properties, or 65 # latter case. We choose to use the XOR logic for GPIO CD and WP 71 wp-inverted: 104 disable-wp: 111 specify the wp-gpios property in the absence of a write-protect 114 wp-gpios:
|
/freebsd/usr.bin/mail/ |
H A D | head.c | 244 nextword(char *wp, char *wbuf) in nextword() argument 248 if (wp == NULL) { in nextword() 252 while ((c = *wp++) != '\0' && c != ' ' && c != '\t') { in nextword() 255 while ((c = *wp++) != '\0' && c != '"') in nextword() 260 wp--; in nextword() 264 for (; c == ' ' || c == '\t'; c = *wp++) in nextword() 268 return (wp - 1); in nextword()
|