/netbsd/bin/ed/ |
H A D | main.c | 287 long addr; in extract_addr_range() local 294 second_addr = addr; in extract_addr_range() 379 else if (addr < 0 || addr_last < addr) { in next_addr() 383 return addr; in next_addr() 475 long addr = 0; in exec_command() local 633 if (first_addr <= addr && addr < second_addr) { in exec_command() 695 else if (addr && addr != addr_last) in exec_command() 1142 int done = (addr == first_addr - 1 || addr == second_addr); in move_lines() 1150 push_undo_stack(UMOV, addr, INC_MOD(addr, addr_last)) == NULL) { in move_lines() 1168 current_addr = addr + ((addr < first_addr) ? in move_lines() [all …]
|
/netbsd/common/dist/zlib/ |
H A D | zutil.h | 282 #define ZFREE(strm, addr) (*((strm)->zfree))((strm)->opaque, (voidpf)(addr)) argument
|
/netbsd/common/include/rpc/ |
H A D | types.h | 103 struct netbuf addr; member
|
H A D | xdr.h | 179 #define XDR_GETBYTES(xdrs, addr, len) \ argument 180 (*(xdrs)->x_ops->x_getbytes)(xdrs, addr, len) 181 #define xdr_getbytes(xdrs, addr, len) \ argument 182 (*(xdrs)->x_ops->x_getbytes)(xdrs, addr, len) 184 #define XDR_PUTBYTES(xdrs, addr, len) \ argument 185 (*(xdrs)->x_ops->x_putbytes)(xdrs, addr, len) 186 #define xdr_putbytes(xdrs, addr, len) \ argument 187 (*(xdrs)->x_ops->x_putbytes)(xdrs, addr, len)
|
/netbsd/common/include/x86emu/ |
H A D | x86emu.h | 155 uint8_t (*emu_rdb)(struct X86EMU *, uint32_t addr); 156 uint16_t (*emu_rdw)(struct X86EMU *, uint32_t addr); 157 uint32_t (*emu_rdl)(struct X86EMU *, uint32_t addr); 158 void (*emu_wrb)(struct X86EMU *, uint32_t addr,uint8_t val); 159 void (*emu_wrw)(struct X86EMU *, uint32_t addr, uint16_t val); 160 void (*emu_wrl)(struct X86EMU *, uint32_t addr, uint32_t val); 162 uint8_t (*emu_inb)(struct X86EMU *, uint16_t addr); 163 uint16_t (*emu_inw)(struct X86EMU *, uint16_t addr); 164 uint32_t (*emu_inl)(struct X86EMU *, uint16_t addr); 165 void (*emu_outb)(struct X86EMU *, uint16_t addr, uint8_t val); [all …]
|
/netbsd/common/lib/libc/arch/mips/string/ |
H A D | bcopy.S | 116 PTR_ADDU a3,SRCREG,t0 # run fast loop up to this addr
|
/netbsd/common/lib/libc/arch/sparc/string/ |
H A D | bzero.S | 81 ! %o0 = addr, %o1 = len 123 bz,a 1f ! if (addr & 1) { 126 inc %o0 ! addr++; 130 bz,a 1f ! if (addr & 2) { 133 inc 2, %o0 ! addr += 2; 137 bz 1f ! if (addr & 4) { 140 inc 4, %o0 ! addr += 4; 150 2: ! *(quad *)addr = 0; 151 inc 8, %o0 ! addr += 8; 164 inc 4, %o0 ! addr += 4; [all …]
|
/netbsd/common/lib/libc/arch/sparc64/string/ |
H A D | memcpy.S | 192 andn %l0, 7, %l0 ! Source addr 540 mov %i0, %o0 ! Src addr. 556 andn %o5, BLOCK_ALIGN, %o5 ! Last safe addr. 563 mov -7, %o4 ! Lowest src addr possible 564 alignaddr %o0, %o4, %o4 ! Base addr for load.
|
H A D | memset.S | 54 ! %o0 = addr, %o1 = len 59 ! %o0 = addr, %o1 = pattern, %o2 = len 109 stw %o1, [%o0] ! *(int *)addr = 0; 110 inc 4, %o0 ! addr += 4; 115 sth %o1, [%o0] ! *(short *)addr = 0; 116 inc 2, %o0 ! addr += 2; 120 stb %o1, [%o0] ! *addr = 0;
|
/netbsd/common/lib/libc/atomic/ |
H A D | atomic_add_16_cas.c | 42 fetch_and_add_2(volatile uint16_t *addr, uint16_t val, ...) in fetch_and_add_2() argument 47 old = *addr; in fetch_and_add_2() 49 } while (atomic_cas_16(addr, old, new) != old); in fetch_and_add_2() 54 add_and_fetch_2(volatile uint16_t *addr, uint16_t val, ...) in add_and_fetch_2() argument 59 old = *addr; in add_and_fetch_2() 61 } while (atomic_cas_16(addr, old, new) != old); in add_and_fetch_2()
|
H A D | atomic_add_32_cas.c | 44 fetch_and_add_4(volatile uint32_t *addr, uint32_t val, ...) in fetch_and_add_4() argument 49 old = *addr; in fetch_and_add_4() 51 } while (atomic_cas_32(addr, old, new) != old); in fetch_and_add_4() 56 atomic_add_32(volatile uint32_t *addr, int32_t val) in atomic_add_32() argument 58 (void) fetch_and_add_4(addr, val); in atomic_add_32()
|
H A D | atomic_add_32_nv_cas.c | 37 atomic_add_32_nv(volatile uint32_t *addr, int32_t val) in atomic_add_32_nv() argument 42 old = *addr; in atomic_add_32_nv() 44 } while (atomic_cas_32(addr, old, new) != old); in atomic_add_32_nv()
|
H A D | atomic_add_64_cas.c | 42 fetch_and_add_8(volatile uint64_t *addr, uint64_t val, ...) in fetch_and_add_8() argument 47 old = *addr; in fetch_and_add_8() 49 } while (atomic_cas_64(addr, old, new) != old); in fetch_and_add_8() 54 atomic_add_64(volatile uint64_t *addr, int64_t val) in atomic_add_64() argument 56 (void) fetch_and_add_8(addr, val); in atomic_add_64()
|
H A D | atomic_add_64_nv_cas.c | 39 atomic_add_64_nv(volatile uint64_t *addr, int64_t val) in atomic_add_64_nv() argument 44 old = *addr; in atomic_add_64_nv() 46 } while (atomic_cas_64(addr, old, new) != old); in atomic_add_64_nv()
|
H A D | atomic_add_8_cas.c | 42 fetch_and_add_1(volatile uint8_t *addr, uint8_t val, ...) in fetch_and_add_1() argument 47 old = *addr; in fetch_and_add_1() 49 } while (atomic_cas_8(addr, old, new) != old); in fetch_and_add_1() 54 add_and_fetch_1(volatile uint8_t *addr, uint8_t val, ...) in add_and_fetch_1() argument 59 old = *addr; in add_and_fetch_1() 61 } while (atomic_cas_8(addr, old, new) != old); in add_and_fetch_1()
|
H A D | atomic_and_16_cas.c | 40 fetch_and_and_2(volatile uint16_t *addr, uint16_t val, ...) in fetch_and_and_2() argument 45 old = *addr; in fetch_and_and_2() 47 } while (atomic_cas_16(addr, old, new) != old); in fetch_and_and_2()
|
H A D | atomic_and_16_nv_cas.c | 36 uint16_t atomic_and_16_nv(volatile uint16_t *addr, uint16_t val); 39 atomic_and_16_nv(volatile uint16_t *addr, uint16_t val) in atomic_and_16_nv() argument 44 old = *addr; in atomic_and_16_nv() 46 } while (atomic_cas_16(addr, old, new) != old); in atomic_and_16_nv()
|
H A D | atomic_and_32_cas.c | 44 fetch_and_and_4(volatile uint32_t *addr, uint32_t val, ...) in fetch_and_and_4() argument 49 old = *addr; in fetch_and_and_4() 51 } while (atomic_cas_32(addr, old, new) != old); in fetch_and_and_4() 56 atomic_and_32(volatile uint32_t *addr, uint32_t val) in atomic_and_32() argument 58 (void) fetch_and_and_4(addr, val); in atomic_and_32()
|
H A D | atomic_and_32_nv_cas.c | 37 atomic_and_32_nv(volatile uint32_t *addr, uint32_t val) in atomic_and_32_nv() argument 42 old = *addr; in atomic_and_32_nv() 44 } while (atomic_cas_32(addr, old, new) != old); in atomic_and_32_nv()
|
H A D | atomic_and_64_cas.c | 42 fetch_and_and_8(volatile uint64_t *addr, uint64_t val, ...) in fetch_and_and_8() argument 47 old = *addr; in fetch_and_and_8() 49 } while (atomic_cas_64(addr, old, new) != old); in fetch_and_and_8() 54 atomic_and_64(volatile uint64_t *addr, uint64_t val) in atomic_and_64() argument 56 (void) fetch_and_and_8(addr, val); in atomic_and_64()
|
H A D | atomic_and_64_nv_cas.c | 39 atomic_and_64_nv(volatile uint64_t *addr, uint64_t val) in atomic_and_64_nv() argument 44 old = *addr; in atomic_and_64_nv() 46 } while (atomic_cas_64(addr, old, new) != old); in atomic_and_64_nv()
|
H A D | atomic_and_8_cas.c | 40 fetch_and_and_1(volatile uint8_t *addr, uint8_t val, ...) in fetch_and_and_1() argument 45 old = *addr; in fetch_and_and_1() 47 } while (atomic_cas_8(addr, old, new) != old); in fetch_and_and_1()
|
H A D | atomic_and_8_nv_cas.c | 36 uint8_t atomic_and_8_nv(volatile uint8_t *addr, uint8_t val); 39 atomic_and_8_nv(volatile uint8_t *addr, uint8_t val) in atomic_and_8_nv() argument 44 old = *addr; in atomic_and_8_nv() 46 } while (atomic_cas_8(addr, old, new) != old); in atomic_and_8_nv()
|
H A D | atomic_cas_16_cas.c | 43 bool_compare_and_swap_2(volatile uint16_t *addr, uint16_t oldval, in bool_compare_and_swap_2() argument 46 return atomic_cas_16(addr, oldval, newval) == oldval; in bool_compare_and_swap_2()
|
H A D | atomic_cas_32_cas.c | 41 bool_compare_and_swap_4(volatile uint32_t *addr, uint32_t oldval, in bool_compare_and_swap_4() argument 44 return atomic_cas_32(addr, oldval, newval) == oldval; in bool_compare_and_swap_4()
|