| /netbsd-src/sys/dev/ic/ |
| H A D | ath.c | 3 /*- 4 * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting 14 * similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any 17 * 3. Neither the names of the above-listed copyright holders nor the names 25 * NO WARRANTY 29 * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 255 ((sc->sc_debug & (m)) || \ 256 (sc->sc_if.if_flags & (IFF_DEBUG | IFF_LINK2)) \ 259 if (sc->sc_debug & (m)) \ 263 if (sc->sc_debug & ATH_DEBUG_KEYCACHE) \ [all …]
|
| H A D | wdc.c | 18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 27 /*- 46 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 183 wdr->cmd_iohs[wd_status] = wdr->cmd_iohs[wd_command]; in wdc_init_shadow_regs() 184 wdr->cmd_iohs[wd_features] = wdr->cmd_iohs[wd_error]; in wdc_init_shadow_regs() 194 wdc->regs = malloc(wdc->sc_atac.atac_nchannels * in wdc_allocate_regs() 212 KASSERT(chp->ch_ndrives == 0 || chp->ch_drive != NULL); in wdc_sataprobe() 219 switch (sata_reset_interface(chp, wdr->sata_iot, wdr->sata_control, in wdc_sataprobe() 220 wdr->sata_status, AT_WAIT)) { in wdc_sataprobe() 224 bus_space_write_1(wdr->cmd_iot, in wdc_sataprobe() [all …]
|
| /netbsd-src/usr.sbin/fstyp/ |
| H A D | ntfs.c | 3 /*- 28 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 113 if (cd == (iconv_t)-1) { in convert_label() 122 if (rc == (size_t)-1) { in convert_label() 126 /* NUL-terminate result (iconv advances label_out). */ in convert_label() 128 label_out--; in convert_label() 138 struct ntfs_bootfile *bf; in fstyp_ntfs() local 148 bf = read_buf(fp, 0, 512); in fstyp_ntfs() 149 if (bf == NULL || strncmp((char*)bf->bf_sysid, "NTFS ", 8) != 0) in fstyp_ntfs() 154 mftrecsz = bf->bf_mftrecsz; in fstyp_ntfs() [all …]
|
| /netbsd-src/sys/sys/ |
| H A D | hash.h | 3 /*- 22 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 47 * hash32_buf(const void *bf, size_t len, uint32_t hash) 52 hash32_buf(const void *bf, size_t len, uint32_t hash) in hash32_buf() argument 54 const uint8_t *s = (const uint8_t *)bf; in hash32_buf() 56 while (len-- != 0) /* "nemesi": k=257, r=r*257 */ in hash32_buf() 68 * hash32_str(const void *bf, uint32_t hash) 73 hash32_str(const void *bf, uint32_t hash) in hash32_str() argument 75 const uint8_t *s = (const uint8_t *)bf; in hash32_str() 85 * hash32_strn(const void *bf, size_t len, uint32_t hash) [all …]
|
| /netbsd-src/external/bsd/libbind/dist/irs/ |
| H A D | lcl_pw.c | 26 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 46 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR 139 pw->private = pvt; in irs_lcl_pw() 140 pw->close = pw_close; in irs_lcl_pw() 141 pw->next = pw_next; in irs_lcl_pw() 142 pw->byname = pw_byname; in irs_lcl_pw() 143 pw->byuid = pw_byuid; in irs_lcl_pw() 144 pw->rewind = pw_rewind; in irs_lcl_pw() 145 pw->minimize = pw_minimize; in irs_lcl_pw() 146 pw->res_get = NULL; in irs_lcl_pw() [all …]
|
| /netbsd-src/external/gpl2/lvm2/dist/lib/format_text/ |
| H A D | archive.c | 4 * Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved. 5 * Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved. 15 * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 #include "format-text.h" 22 #include "import-export.h" 23 #include "lvm-string.h" 24 #include "lvm-file.h" 39 * '(.*)_[0-9]*.vg' is a config file (see lib/config.[hc]), which 72 dot = (filename + len - 3); in _split_vg() 82 vg_len = underscore - filename; in _split_vg() [all …]
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/core/ |
| H A D | nouveau_nvkm_core_enum.c | 23 * IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE 37 while (en->name) { in nvkm_enum_find() 38 if (en->value == value) in nvkm_enum_find() 47 nvkm_snprintbf(char *data, int size, const struct nvkm_bitfield *bf, u32 value) in nvkm_snprintbf() argument 50 while (size >= 1 && bf->name) { in nvkm_snprintbf() 51 if (value & bf->mask) { in nvkm_snprintbf() 53 space ? " " : "", bf->name); in nvkm_snprintbf() 54 size -= this; in nvkm_snprintbf() 58 bf++; in nvkm_snprintbf()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
| H A D | HexagonGenExtract.cpp | 1 //===- HexagonGenExtract.cpp ----------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 33 static cl::opt<unsigned> ExtractCutoff("extract-cutoff", cl::init(~0U), 38 // One of the reasons for "extract" is to put a sequence of bits in a regis- 40 // "insert"). If the bits are already at offset 0, it is better not to gene- 43 static cl::opt<bool> NoSR0("extract-nosr0", cl::init(true), cl::Hidden, 44 cl::desc("No extract instruction with offset 0")); 46 static cl::opt<bool> NeedAnd("extract-needand", cl::init(true), cl::Hidden, 99 Value *BF = nullptr; in INITIALIZE_PASS_DEPENDENCY() local [all …]
|
| /netbsd-src/common/lib/libc/arch/sh3/string/ |
| H A D | memcpy.S | 21 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 64 bf/s bcopy_overlap 71 bf/s word_align 82 add #-1,REG_LEN 90 bf/s 1f 95 add #-2,REG_LEN /* len -= 2; */ 103 bf/s no_align_delay 107 add #-4,REG_LEN /* len -= 4; */ 120 bf/s no_align_delay 129 add #-1,REG_LEN [all …]
|
| /netbsd-src/sys/miscfs/procfs/ |
| H A D | procfs_subr.c | 3 /*- 22 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 37 * Jan-Simon Pendry. 54 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 68 * Copyright (c) 1993 Jan-Simon Pendry 71 * Jan-Simon Pendry. 92 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 144 struct vnode *vp = ap->a_vp; in procfs_rw() 145 struct uio *uio = ap->a_uio; in procfs_rw() 152 if (uio->uio_offset < 0) in procfs_rw() [all …]
|
| H A D | procfs_linux.c | 28 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL WASABI SYSTEMS, INC 98 #define PGTOKB(p) ((unsigned long)(p) << (PAGE_SHIFT - 10)) in get_proc_size_info() 114 for (entry = map->header.next; entry != &map->header; in get_proc_size_info() 115 entry = entry->next) { in get_proc_size_info() 120 *stext = entry->start; in get_proc_size_info() 121 *etext = entry->end; in get_proc_size_info() 126 if (strcmp(p->p_emul->e_name, "linux32") == 0 && in get_proc_size_info() 132 if (strcmp(p->p_emu in get_proc_size_info() 157 char *bf; procfs_domeminfo() local 220 char *bf; procfs_dodevices() local 280 char *bf; procfs_docpustat() local 357 char *bf; procfs_doloadavg() local 395 char *bf; procfs_do_pid_statm() local 449 char *bf; procfs_do_pid_stat() local 552 char *bf = NULL; procfs_docpuinfo() local 576 char *bf; procfs_douptime() local 632 char *bf, *mtab = NULL; procfs_domounts() local 678 char *bf; procfs_doversion() local 773 char *bf; procfs_dosysvipc_msg() local 820 char *bf; procfs_dosysvipc_sem() local 863 char *bf; procfs_dosysvipc_shm() local 910 char *bf; print_uint() local [all...] |
| /netbsd-src/sys/compat/common/ |
| H A D | sysv_ipc_50.c | 3 /*- 22 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 91 void *bf = NULL; in sysctl_kern_sysvipc50() local 105 infosize = sizeof(msgsi->msginfo); in sysctl_kern_sysvipc50() 107 dssize = sizeof(msgsi->msgids[0]); in sysctl_kern_sysvipc50() 114 infosize = sizeof(semsi->seminfo); in sysctl_kern_sysvipc50() 116 dssize = sizeof(semsi->semids[0]); in sysctl_kern_sysvipc50() 123 infosize = sizeof(shmsi->shminfo); in sysctl_kern_sysvipc50() 125 dssize = sizeof(shmsi->shmids[0]); in sysctl_kern_sysvipc50() 152 bf = malloc(uimin(tsize, buflen), M_TEMP, M_WAITOK | M_ZERO); in sysctl_kern_sysvipc50() [all …]
|
| /netbsd-src/external/bsd/pdisk/dist/ |
| H A D | bitfield.c | 2 // bitfield.c - extract and set bit fields 23 * IN NO EVENT SHALL APPLE COMPUTER BE LIABLE FOR ANY SPECIAL, INDIRECT, OR 74 bitfield_set(uint32_t *bf, int base, int length, uint32_t value) in bitfield_set() argument 83 s = (base + 1) - length; in bitfield_set() 86 *bf = (*bf & ~(m << s)) | (t << s); in bitfield_set() 92 bitfield_get(uint32_t bf, int base, int length) in bitfield_get() argument 99 s = (base + 1) - length; in bitfield_get() 101 return ((bf >> s) & m); in bitfield_get()
|
| /netbsd-src/common/lib/libc/arch/or1k/string/ |
| H A D | memmove.S | 29 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS 44 * Input: r3 - destination address 45 * r4 - source address 46 * r5 - byte count 47 * Output: r11 - destination address 73 l.addi r4, r4, -4 /* Back up src and dst pointers */ 74 l.addi r3, r3, -4 /* due to auto-update of 'load' */ 78 l.bf .Llast1 /* Handle byte by byte if < 4 */ 95 l.addi r13, r13, -1 97 l.bf .Llast /* Dec cnt, and branch if just */ [all …]
|
| H A D | memcmp.S | 3 /*- 22 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 37 * for (; n-- != 0; s1++, s2++) { 39 * return -1; 45 * Return: ((s1 > s2) ? 1 : (s1 < s2) ? -1 : 0) 61 l.bf .Lret_0 /* yes, return equality */ 77 l.bnf .Lmisaligned /* no, avoid alignment errors */ 86 l.bf .Lword_compare /* yes, it is. */ 110 l.addi r5, r5, -4 /* decrement one word */ 112 l.bf .Lword_loop /* yes, loop around */ [all …]
|
| H A D | memset.S | 3 /*- 22 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 39 /*----------------------------------------------------------------------*/ 44 /*----------------------------------------------------------------------*/ 61 l.bf .Lret /* no, just return */ 72 l.bf .Lalignment_check /* don't to replicate */ 84 l.bf .Lword_fill /* yes, start setting */ 90 l.addi r15, r13, -8 /* minus one byte */ 102 l.addi r5, r5, -4 /* one less word to do */ 108 l.bf .Lend_fill /* no, handle the last bytes */ [all …]
|
| /netbsd-src/common/lib/libc/arch/or1k/gen/ |
| H A D | mulsi3.S | 3 /*- 22 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 40 l.bf .Lret 44 l.bf .Lret 50 l.bf .Lloop # yes, r6 already has smaller value, 59 l.sub r8, r0, r5 # 0 -> 0, 1 -> 0xffffffff 66 l.bf .Lret # yes, we're done 69 l.bnf .Lloop # no, another round of long multiplication.
|
| /netbsd-src/crypto/external/bsd/openssl.old/lib/libcrypto/man/ |
| H A D | openssl.1 | 20 .\" Set up some character translations and predefined strings. \*(-- will 26 .tr \(*W- 29 . ds -- \(*W- 31 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch 32 . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch 39 . ds -- \|\(em\| 75 .\" Fear. Run. Save yourself. No user-serviceable parts. 85 . ds #H ((1u-(\\\\n(.fu%2u))*.13m) 101 . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" 102 . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' [all …]
|
| /netbsd-src/usr.bin/midiplay/ |
| H A D | midiplay.c | 22 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 158 fprintf(stderr, "usage: %s [-lmqsvx] [-d devno] [-f file] " in usage() 159 "[-p pgm] [-t tempo] [file ...]\n", in usage() 172 static int fd = -1; 182 ev->arr[0], ev->arr[1], ev->arr[2], ev->arr[3], in send_event() 183 ev->arr[4], ev->arr[5], ev->arr[6], ev->arr[7]); in send_event() 196 c = *tp->start++; in getvar() 198 } while ((c & 0x80) && tp->start < tp->end); in getvar() 207 if (tp->start + len > tp->end) in getlen() 248 " in absolute-timed MIDI file"); in dometa() [all …]
|
| /netbsd-src/sys/arch/landisk/stand/mbr/ |
| H A D | mbr.S | 3 /*- 19 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 53 bf/s 1b 85 bf next_part 102 bf/s loop_part 133 bf read_error 153 bt noos_error /* first byte non-zero */ 158 bf noos_error /* magic */ 167 mbr_size: .word mbr_end - _C_LABEL(start) 186 ERR_INVPART: .asciz "No active partition" [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libgcc/config/or1k/ |
| H A D | or1k.S | 1 #include "or1k-asm.h" 26 OR1K_INST(l.bf 2f) 33 OR1K_INST(l.bf 1b) 39 .size __mulsi3,.-__mulsi3 47 l.addi r1,r1,-4 57 /* The following work equally on delay and no-delay implementations */ 59 l.bf 5f 61 l.bf 6f 69 l.addi r6,r0,-1 80 OR1K_INST(l.bf 1b) [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/or1k/ |
| H A D | or1k.S | 1 #include "or1k-asm.h" 26 OR1K_INST(l.bf 2f) 33 OR1K_INST(l.bf 1b) 39 .size __mulsi3,.-__mulsi3 47 l.addi r1,r1,-4 57 /* The following work equally on delay and no-delay implementations */ 59 l.bf 5f 61 l.bf 6f 69 l.addi r6,r0,-1 80 OR1K_INST(l.bf 1b) [all …]
|
| /netbsd-src/external/bsd/file/dist/src/ |
| H A D | encoding.c | 4 * Copyright (c) Ian F. Darwin 1986-1995. 6 * maintained 1995-present by Christos Zoulas and others. 21 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR 31 * Encoding -- determine the character encoding of a text file. 33 * Joerg Wunsch <joerg@freebsd.org> wrote the original support for 8-bit 77 * the text converted into one-file_unichar_t-per-character Unicode in 85 const unsigned char *buf = CAST(const unsigned char *, b->fbuf); in file_encoding() 86 size_t nbytes = b->flen; in file_encoding() 102 if (nbytes > ms->encoding_max) in file_encoding() 103 nbytes = ms->encoding_max; in file_encoding() [all …]
|
| /netbsd-src/sys/kern/ |
| H A D | subr_iostat.c | 4 /*- 24 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 58 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 125 if (strcmp(iostatp->io_name, name) == 0) { in iostat_find() 143 stats->io_type = type; in iostat_alloc() 144 stats->io_parent = parent; in iostat_alloc() 145 (void)strlcpy(stats->io_name, name, sizeof(stats->io_name)); in iostat_alloc() 150 getmicrouptime(&stats->io_attachtime); in iostat_alloc() 177 iostat_count--; in iostat_free() 190 (void)strlcpy(stats->io_name, name, sizeof(stats->io_name)); in iostat_rename() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/jit/docs/intro/ |
| H A D | tutorial05.rst | 1 .. Copyright (C) 2015-2020 Free Software Foundation, Inc. 18 Tutorial part 5: Implementing an Ahead-of-Time compiler 19 ------------------------------------------------------- 21 If you have a pre-existing language frontend that's compatible with 24 how to do that for in-memory JIT-compilation, but libgccjit can also 26 traditional ahead-of-time compiler ("JIT" is something of a misnomer 27 for this use-case). 36 In this example we use libgccjit to construct an ahead-of-time compiler 43 it, as there is no lexing; just a stream of bytes. The operations are: 49 ``<`` ``idx -= 1`` [all …]
|