| /freebsd/contrib/libedit/ |
| H A D | editline.7 | 34 editing mode. 35 There are three editing modes: vi insert mode, vi command mode, 36 and emacs mode. 37 The default is vi insert mode. 38 The program can switch the default to emacs mode by using the 42 functions, and the user can switch to emacs mode either in the 45 .Ic ed-command 61 .Sq Ctrl- 63 .Sq Meta- 65 In vi insert mode and in emacs mode, all Meta-characters considered [all …]
|
| /freebsd/sys/contrib/zlib/ |
| H A D | inflate.c | 1 /* inflate.c -- zlib decompression 2 * Copyright (C) 1995-2022 Mark Adler 10 * - First version -- complete rewrite of inflate to simplify code, avoid 16 * - Use pointers for available input and output checking in inffast.c 17 * - Remove input and output counters in inffast.c 18 * - Change inffast.c entry and loop from avail_in >= 7 to >= 6 19 * - Remove unnecessary second byte pull from length extra in inffast.c 20 * - Unroll direct copy to three copies per loop in inffast.c 23 * - Change external routine names to reduce potential conflicts 24 * - Correct filename to inffixed.h for fixed tables in inflate.c [all …]
|
| H A D | infback.c | 1 /* infback.c -- inflate using a call-back interface 2 * Copyright (C) 1995-2022 Mark Adler 8 inflate.o would be linked into an application--not both. The interface 9 with inffast.c is retained so that optimized assembler-coded versions of 22 windowBits is in the range 8..15, and window is a user-supplied 36 strm->msg = Z_NULL; /* in case we return an error */ in inflateBackInit_() 37 if (strm->zalloc == (alloc_func)0) { in inflateBackInit_() 41 strm->zalloc = zcalloc; in inflateBackInit_() 42 strm->opaque = (voidpf)0; in inflateBackInit_() 45 if (strm->zfree == (free_func)0) in inflateBackInit_() [all …]
|
| H A D | gzwrite.c | 1 /* gzwrite.c -- zlib functions for writing gzip files 2 * Copyright (C) 2004-2019 Mark Adler 10 state->size to non-zero. Return -1 on a memory allocation failure, or 0 on 14 z_streamp strm = &(state->strm); in gz_init() 17 state->in = (unsigned char *)malloc(state->want << 1); in gz_init() 18 if (state->in == NULL) { in gz_init() 20 return -1; in gz_init() 24 if (!state->direct) { in gz_init() 26 state->out = (unsigned char *)malloc(state->want); in gz_init() 27 if (state->out == NULL) { in gz_init() [all …]
|
| /freebsd/contrib/ncurses/ncurses/base/ |
| H A D | new_pair.c | 2 * Copyright 2018-2020,2021 Thomas E. Dickey * 36 * New color-pair functions, alloc_pair and free_pair 75 colorpair_t *list = sp->_color_pairs; in prev_len() 88 colorpair_t *list = sp->_color_pairs; in next_len() 89 while (list[pair].next != base) { in next_len() 91 pair = list[pair].next; in next_len() 97 * Trace the contents of LRU color-pairs. 102 colorpair_t *list = sp->_color_pairs; in dumpit() 109 for (n = 0; n < sp->_pair_alloc; ++n) { in dumpit() 110 if (list[n].mode != cpFREE) { in dumpit() [all …]
|
| /freebsd/contrib/tcsh/nls/C/ |
| H A D | set3 | 5 3 Cut from beginning of current word to cursor - saved in cut buffer 6 4 Cut from beginning of line to cursor - save in cut buffer 24 22 Cut from cursor to end of current word - save in cut buffer 27 25 Move to next history line 57 55 Switch from insert to overwrite mode or vice versa 58 56 Add 8th bit to next character typed 59 57 Add the next character typed to the line verbatim 68 66 Send character to tty in cooked mode 83 81 Vi goto the beginning of next word 84 82 Vi enter insert mode after the cursor [all …]
|
| /freebsd/contrib/tcsh/nls/ukrainian/ |
| H A D | set3 | 5 3 Cut from beginning of current word to cursor - saved in cut buffer 6 4 Cut from beginning of line to cursor - save in cut buffer 24 22 Cut from cursor to end of current word - save in cut buffer 27 25 Move to next history line 57 55 Switch from insert to overwrite mode or vice versa 58 56 Add 8th bit to next character typed 59 57 Add the next character typed to the line verbatim 68 66 Send character to tty in cooked mode 83 81 Vi goto the beginning of next word 84 82 Vi enter insert mode after the cursor [all …]
|
| /freebsd/contrib/tcsh/nls/russian/ |
| H A D | set3 | 5 3 Cut from beginning of current word to cursor - saved in cut buffer 6 4 Cut from beginning of line to cursor - save in cut buffer 24 22 Cut from cursor to end of current word - save in cut buffer 27 25 Move to next history line 57 55 Switch from insert to overwrite mode or vice versa 58 56 Add 8th bit to next character typed 59 57 Add the next character typed to the line verbatim 68 66 Send character to tty in cooked mode 83 81 Vi goto the beginning of next word 84 82 Vi enter insert mode after the cursor [all …]
|
| /freebsd/lib/lib80211/ |
| H A D | lib80211_regdomain.c | 1 /*- 72 const void *id, *ref, *mode; in start_element() local 76 if (++mt->level == MAXLEVEL) { in start_element() 80 mt->sbuf[mt->level] = sbuf_new_auto(); in start_element() 81 id = ref = mode = NULL; in start_element() 87 } else if (iseq(attr[i], "mode")) { in start_element() 88 mode = attr[i+1]; in start_element() 90 printf("%*.*s[%s = %s]\n", mt->level + 1, in start_element() 91 mt->level + 1, "", attr[i], attr[i+1]); in start_element() 93 if (iseq(name, "rd") && mt->rd == NULL) { in start_element() [all …]
|
| /freebsd/contrib/lua/src/ |
| H A D | lgc.c | 72 (x->marked = cast_byte((x->marked & ~maskcolors) | luaC_white(g))) 75 #define set2gray(x) resetbits(x->marked, maskcolors) 80 (x->marked = cast_byte((x->marked & ~WHITEBITS) | bitmask(BLACKBIT))) 94 #define markvalue(g,o) { checkliveness(g->mainthread,o); \ 126 switch (o->tt) { in getgclist() 127 case LUA_VTABLE: return &gco2t(o)->gclist; in getgclist() 128 case LUA_VLCL: return &gco2lcl(o)->gclist; in getgclist() 129 case LUA_VCCL: return &gco2ccl(o)->gclist; in getgclist() 130 case LUA_VTHREAD: return &gco2th(o)->gclist; in getgclist() 131 case LUA_VPROTO: return &gco2p(o)->gclist; in getgclist() [all …]
|
| /freebsd/sys/dev/qlnx/qlnxe/ |
| H A D | ecore_chain.h | 2 * Copyright (c) 2017-2018 Cavium, Inc. 37 /* Each Page contains a next pointer at its end */ 40 /* Chain is a single page (next ptr) is unrequired */ 55 /* The chain's size/prod/cons are kept in 16-bit variables */ 58 /* The chain's size/prod/cons are kept in 32-bit variables */ 85 /* Cyclic index of next element to produce/consme */ 91 /* Cyclic index of next element to produce/consme */ 98 /* fastpath portion of the chain - required for commands such 101 /* Point to next element to produce/consume */ 128 /* A u8 would suffice for mode, but it would save as a lot of headaches [all …]
|
| /freebsd/usr.sbin/makefs/ |
| H A D | walk.c | 4 * SPDX-License-Identifier: BSD-4-Clause 68 assert(strcmp((*a)->name, (*b)->name) != 0); in cmp() 69 if (strcmp((*a)->name, ".") == 0) in cmp() 70 return (-1); in cmp() 71 if (strcmp((*b)->name, ".") == 0) in cmp() 73 return (strcoll((*a)->name, (*b)->name)); in cmp() 88 for (cur = list; cur != NULL; cur = cur->next) in sort_dir() 95 for (i = 0, cur = list; cur != NULL; i++, cur = cur->next) in sort_dir() 99 array[i]->first = array[0]; in sort_dir() 100 array[i]->next = i == nitems - 1 ? NULL : array[i + 1]; in sort_dir() [all …]
|
| /freebsd/bin/sh/ |
| H A D | jobs.c | 1 /*- 74 * latter case, pidlist will be non-NULL, and will point to a -1 terminated 100 char pipefail; /* pass any non-zero status */ 103 struct job *next; /* job used after this one */ member 110 static pid_t backgndpid = -1; /* pid of last background process */ 116 static int ttyfd = -1; 118 /* mode flags for dowait */ 157 ttyfd = -1; in jobctl_notty() 178 if (ttyfd != -1) in setjobctl() 210 initialpgrp = -1; in setjobctl() [all …]
|
| /freebsd/share/doc/usd/12.vi/viapwh/ |
| H A D | vi.apwh.ms | 72 \fB<character [-character]>\fR means that the character or 76 the \fBescape\fR key is to be typed. \fB<a-z>\fR means that a 130 semi-automatically done when you log in. 138 tset \-s \-d 2621 > tset$$ 146 type from an on-line list. 156 semi-automatically done when you log in. 164 tset \-s \-d 2621 > tset$$ 172 is simpler, just add the line ``tset \-d 2621'' 177 type from an on-line list. 213 If you are in some special mode, such as input mode [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/xray/ |
| H A D | xray_log_interface.cpp | 1 //===-- xray_log_interface.cpp --------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 35 // We use a linked list of Mode to XRayLogImpl mappings. This is a linked list 39 ModeImpl *Next; member 40 const char *Mode; member 64 __xray_log_register_mode(const char *Mode, in __xray_log_register_mode() argument 71 // First, look for whether the mode already has a registered implementation. in __xray_log_register_mode() 72 for (ModeImpl *it = ModeImpls; it != &SentinelModeImpl; it = it->Next) { in __xray_log_register_mode() [all …]
|
| /freebsd/contrib/processor-trace/libipt/src/ |
| H A D | pt_block_decoder.c | 2 * Copyright (c) 2016-2019, Intel Corporation 38 #include "intel-pt.h" 53 return -pte_internal; in pt_blk_status() 55 status = decoder->status; in pt_blk_status() 62 if (!decoder->enabled) in pt_blk_status() 65 /* Forward end-of-trace indications. in pt_blk_status() 69 if ((status & pts_eos) && !decoder->process_event) in pt_blk_status() 80 decoder->mode = ptem_unknown; in pt_blk_reset() 81 decoder->ip = 0ull; in pt_blk_reset() 82 decoder->status = 0; in pt_blk_reset() [all …]
|
| /freebsd/contrib/ntp/ntpd/ |
| H A D | ntp_leapsec.h | 2 * ntp_leapsec.h - leap second processing for NTPD 6 * ---------------------------------------------------------------------- 34 #define LSVALID_BADHASH -1 /* signature mismatch */ 35 #define LSVALID_BADFORMAT -2 /* signature not parseable */ 40 /* Set/get electric mode 41 * Electric mode is defined as the operation mode where the system clock 46 * The consequence of electric mode is that we do not 'see' the leap 48 * boundary. In manual (aka non-electric) mode the clock will simply 69 vint64 ttime; /* era end (UTC of next leap second) */ 77 * 'ttime' is the next transition point in full time scale. (Nominal UTC [all …]
|
| /freebsd/sys/dev/le/ |
| H A D | lancereg.h | 3 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 34 /*- 70 * - Am7990 Local Area Network Controller for Ethernet (LANCE) 71 * (and its descendent Am79c90 C-LANCE). 73 * - Am79c900 Integrated Local Area Communications Controller (ILACC) 75 * - Am79c960 PCnet-ISA Single-Chip Ethernet Controller for ISA 77 * - Am79c961 PCnet-ISA+ Jumperless Single-Chip Ethernet Controller 80 * - Am79c961A PCnet-ISA II Jumperless Full-Duplex Single-Chip 83 * - Am79c965A PCnet-32 Single-Chip 32-bit Ethernet Controller [all …]
|
| /freebsd/share/doc/usd/13.viref/ |
| H A D | ex.cmd.roff | 13 .KY "<end-of-file>" 14 .IP "<end-of-file>" 15 The end-of-file character is used to scroll the screen in the 19 .LI <control-D> . 22 .LI <control-D> . 25 A single-line address, given in any of the forms described in the 50 Generally, a count past the end-of-file may be specified, e.g. the 72 .QT \- 98 .LI count - 1 126 .LI <carriage-return> , [all …]
|
| H A D | vi.cmd.roff | 21 and the current mode of the editor. 51 mode and 53 mode. 56 first starts, it is in command mode. 59 into text input mode. 63 and exit back into command mode. 66 command mode, the cursor is always positioned on the last column of 70 text insert mode, the cursor is positioned on the first column of 96 .CO <control-B> , 97 .CO <control-D> , [all …]
|
| /freebsd/sys/kern/ |
| H A D | kern_clocksource.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2010-2013 Alexander Motin <mav@FreeBSD.org> 75 if (timer->et_flags & ET_FLAGS_PERCPU) \ 76 mtx_lock_spin(&(state)->et_hw_mtx); \ 83 if (timer->et_flags & ET_FLAGS_PERCPU) \ 84 mtx_unlock_spin(&(state)->et_hw_mtx); \ 90 static sbintime_t timerperiod; /* Timer period for periodic mode. */ 93 static sbintime_t nexttick; /* Next global timer tick time. */ 100 static int singlemul; /* Multiplier for periodic mode. */ [all …]
|
| /freebsd/sys/contrib/zstd/zlibWrapper/ |
| H A D | gzwrite.c | 2 * - gz_statep was converted to union to work with -Wstrict-aliasing=1 */ 4 /* gzwrite.c -- zlib functions for writing gzip files 5 * Copyright (C) 2004-2017 Mark Adler 20 state.state->size to non-zero. Return -1 on a memory allocation failure, or 0 on 26 z_streamp strm = &(state.state->strm); 29 state.state->in = (unsigned char*)malloc(state.state->want << 1); 30 if (state.state->in == NULL) { 32 return -1; 36 if (!state.state->direct) { 38 state.state->out = (unsigned char*)malloc(state.state->want); [all …]
|
| /freebsd/tests/sys/opencrypto/ |
| H A D | cryptotest.py | 7 # This software was developed by John-Mark Gurney under 44 katdir = '/usr/local/share/nist-kat' 47 assert os.path.exists(katdir), "Please 'pkg install nist-kat'" 65 @unittest.skipIf(cname not in aesmodules, 'skipping AES-XTS on %s' % (cname)) 67 for i in katg('XTSTestVectors/format tweak value input - data unit seq no', '*.rsp'): 70 @unittest.skipIf(cname not in aesmodules, 'skipping AES-CBC on %s' % (cname)) 75 @unittest.skipIf(cname not in aesmodules, 'skipping AES-CCM on %s' % (cname)) 83 @unittest.skipIf(cname not in aesmodules, 'skipping AES-GCM on %s' % (cname)) 91 def runGCM(self, fname, mode): argument 93 if mode == 'ENCRYPT': [all …]
|
| /freebsd/crypto/openssl/test/ |
| H A D | tls13ccstest.c | 2 * Copyright 2017-2024 The OpenSSL Project Authors. All Rights Reserved. 73 BIO *next = BIO_next(bio); in watchccs_read() local 77 if (next == NULL) in watchccs_read() 82 ret = BIO_read(next, out, outl); in watchccs_read() 83 if (ret <= 0 && BIO_should_read(next)) in watchccs_read() 92 BIO *next = BIO_next(bio); in watchccs_write() local 98 if (next == NULL) in watchccs_write() 206 ret = BIO_write(next, in, inl); in watchccs_write() 207 if (ret <= 0 && BIO_should_write(next)) in watchccs_write() 216 BIO *next = BIO_next(bio); in watchccs_ctrl() local [all …]
|
| /freebsd/contrib/mandoc/ |
| H A D | roff.7 | 3 .\" Copyright (c) 2010-2019,2022-2023,2025 Ingo Schwarze <schwarze@openbsd.org> 33 many real-world manuals use small numbers of 78 They provide free-form text to be printed; the formatting of the text 96 Text following an escaped double-quote 106 .Bd -literal -offset indent -compact 108 \&.\e\(dq The next line is ignored: 119 followed by either an open-parenthesi [all...] |