/freebsd-10-stable/sys/dev/sn/ |
H A D | if_snvar.h | 58 #define CSR_READ_1(sc, off) (bus_read_1((sc)->port_res, off)) 59 #define CSR_READ_2(sc, off) (bus_read_2((sc)->port_res, off)) 60 #define CSR_WRITE_1(sc, off, val) \ 61 bus_write_1((sc)->port_res, off, val) 62 #define CSR_WRITE_2(sc, off, val) \ 63 bus_write_2((sc)->port_res, off, val) 64 #define CSR_WRITE_MULTI_1(sc, off, addr, count) \ 65 bus_write_multi_1((sc)->port_res, off, add [all...] |
/freebsd-10-stable/sys/dev/ex/ |
H A D | if_exvar.h | 95 #define CSR_READ_1(sc, off) (bus_read_1((sc)->ioport, off)) 96 #define CSR_READ_2(sc, off) (bus_read_2((sc)->ioport, off)) 97 #define CSR_WRITE_1(sc, off, val) \ 98 bus_write_1((sc)->ioport, off, val) 99 #define CSR_WRITE_2(sc, off, val) \ 100 bus_write_2((sc)->ioport, off, val) 101 #define CSR_WRITE_MULTI_1(sc, off, addr, count) \ 102 bus_write_multi_1((sc)->ioport, off, add [all...] |
/freebsd-10-stable/contrib/sendmail/src/ |
H A D | arpadate.c | 61 register int off; local 128 off = (lt->tm_hour - gmt.tm_hour) * 60 + lt->tm_min - gmt.tm_min; 132 off -= 24 * 60; 134 off += 24 * 60; 136 off -= 24 * 60; 138 off += 24 * 60; 141 if (off == 0) 172 tz = timezone(off, lt->tm_isdst); 175 if (off < 0) 177 off [all...] |
/freebsd-10-stable/contrib/apr-util/test/ |
H A D | testrmm.c | 40 apr_rmm_off_t *off, off2; local 63 off = apr_palloc(pool, FRAG_COUNT * sizeof(apr_rmm_off_t)); 65 off[i] = apr_rmm_malloc(rmm, fragsize); 74 char *c = apr_rmm_addr_get(rmm, off[i]); 77 ABTS_TRUE(tc, !!off[i]); 84 char **c = apr_rmm_addr_get(rmm, off[i]); 93 char **c = apr_rmm_addr_get(rmm, off[i]); 102 rv = apr_rmm_free(rmm, off[i]); 107 off[0] = apr_rmm_calloc(rmm, SHARED_SIZE); 111 char **c = apr_rmm_addr_get(rmm, off[ [all...] |
/freebsd-10-stable/contrib/dialog/samples/ |
H A D | checklist-8bit | 14 off. If there are more items than can fit on the \n\ 18 Press SPACE to toggle an option on/off. \n\n\ 20 "`./rotated-data 0 $SAMPLE`" "It's an `./rotated-data 0 $SAMPLE`." off \ 22 "`./rotated-data 2 $SAMPLE`" "Yeah, that's `./rotated-data 2 $SAMPLE`." off \ 23 "`./rotated-data 3 $SAMPLE`" "Normally not a `./rotated-data 3 $SAMPLE`." off \
|
/freebsd-10-stable/contrib/llvm/lib/Target/XCore/ |
H A D | XCoreMachineFunctionInfo.h | 51 void setVarArgsFrameIndex(int off) { VarArgsFrameIndex = off; } argument 57 void setLRSpillSlot(int off) { LRSpillSlot = off; } argument 60 void setFPSpillSlot(int off) { FPSpillSlot = off; } argument
|
/freebsd-10-stable/sys/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_eeprom.c | 36 ar5212EepromRead(struct ath_hal *ah, u_int off, uint16_t *data) argument 38 OS_REG_WRITE(ah, AR_EEPROM_ADDR, off); 45 __func__, off);
|
/freebsd-10-stable/usr.sbin/bsdinstall/scripts/ |
H A D | services | 32 eval $( sed -e s/YES/on/i -e s/NO/off/i \ 35 # Default service states. Everything is off if not enabled. 46 local_unbound "Local caching validating resolver" ${local_unbound:-off} \ 47 sshd "Secure shell daemon" ${sshd_enable:-off} \ 48 moused "PS/2 mouse pointer on console" ${moused_enable:-off} \ 49 ntpd "Synchronize system and network time" ${ntpd_enable:-off} \ 51 ${powerd_enable:-off} \
|
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i86xpv/xdt/ |
H A D | tst.basic.ksh | 54 xdt:sched::off-cpu 57 self->off++; 60 xdt:sched::off-cpu 61 /self->on > 50 && self->off > 50/
|
/freebsd-10-stable/sys/boot/arm/at91/boot0spi/ |
H A D | main.c | 37 int len, i, j, off, sec; local 47 off = i + OFFSET; 49 SPI_WriteFlash(off, addr + i, FLASH_PAGE_SIZE); 50 SPI_ReadFlash(off, addr2 + i, FLASH_PAGE_SIZE);
|
/freebsd-10-stable/contrib/binutils/binutils/ |
H A D | resres.c | 82 rc_uint_type off, flen; local 98 off = 0; 103 skip_null_resource (&wrbfd, &off, flen); 105 while (read_resource_entry (&wrbfd, &off, flen)) 169 read_resource_entry (windres_bfd *wrbfd, rc_uint_type *off, rc_uint_type omax) argument 180 off[0] = (off[0] + 3) & ~3; 183 if ((off[0] + 8) > omax) 185 read_res_data_hdr (wrbfd, off, omax, &reshdr); 188 read_res_id (wrbfd, off, oma 219 write_res_directory(windres_bfd *wrbfd, rc_uint_type off, const rc_res_directory *rd, const rc_res_id *type, const rc_res_id *name, rc_uint_type *language, int level) argument 286 write_res_resource(windres_bfd *wrbfd, rc_uint_type off, const rc_res_id *type, const rc_res_id *name, const rc_res_resource *res, rc_uint_type *language ATTRIBUTE_UNUSED) argument 377 write_res_bin(windres_bfd *wrbfd, rc_uint_type off, const rc_res_resource *res, const rc_res_id *type, const rc_res_id *name, const rc_res_res_info *resinfo) argument 404 write_res_header(windres_bfd *wrbfd, rc_uint_type off, rc_uint_type datasize, const rc_res_id *type, const rc_res_id *name, const rc_res_res_info *resinfo) argument 428 write_res_data_hdr(windres_bfd *wrbfd, rc_uint_type off, res_hdr *hdr) argument 441 read_res_data_hdr(windres_bfd *wrbfd, rc_uint_type *off, rc_uint_type omax, res_hdr *reshdr) argument 457 read_res_data(windres_bfd *wrbfd, rc_uint_type *off, rc_uint_type omax, void *data, rc_uint_type size) argument 469 write_res_id(windres_bfd *wrbfd, rc_uint_type off, const rc_res_id *id) argument 501 write_res_info(windres_bfd *wrbfd, rc_uint_type off, const rc_res_res_info *info) argument 519 read_res_id(windres_bfd *wrbfd, rc_uint_type *off, rc_uint_type omax, rc_res_id *id) argument 547 read_unistring(windres_bfd *wrbfd, rc_uint_type *off, rc_uint_type omax, rc_uint_type *len) argument 581 rc_uint_type off; local 610 skip_null_resource(windres_bfd *wrbfd, rc_uint_type *off, rc_uint_type omax) argument [all...] |
H A D | resbin.c | 427 rc_uint_type off; local 442 off = 8; 456 off = 16; 459 if (length < off + 10) 462 c = windres_get_16 (wrbfd, data + off, 2); 463 d->x = windres_get_16 (wrbfd, data + off + 2, 2); 464 d->y = windres_get_16 (wrbfd, data + off + 4, 2); 465 d->width = windres_get_16 (wrbfd, data + off + 6, 2); 466 d->height = windres_get_16 (wrbfd, data + off + 8, 2); 468 off 671 unsigned int off; local 903 get_version_header(windres_bfd *wrbfd, const bfd_byte *data, rc_uint_type length, const char *key, unichar **pkey, rc_uint_type *len, rc_uint_type *vallen, rc_uint_type *type, rc_uint_type *off) argument 955 rc_uint_type verlen, vallen, type, off; local 1256 res_to_bin(windres_bfd *wrbfd, rc_uint_type off, const rc_res_resource *res) argument 1296 resid_to_bin(windres_bfd *wrbfd, rc_uint_type off, rc_res_id id) argument 1331 unicode_to_bin(windres_bfd *wrbfd, rc_uint_type off, const unichar *str) argument 1356 res_to_bin_accelerator(windres_bfd *wrbfd, rc_uint_type off, const rc_accelerator *accelerators) argument 1385 res_to_bin_cursor(windres_bfd *wrbfd, rc_uint_type off, const rc_cursor *c) argument 1404 res_to_bin_group_cursor(windres_bfd *wrbfd, rc_uint_type off, const rc_group_cursor *group_cursors) argument 1443 res_to_bin_dialog(windres_bfd *wrbfd, rc_uint_type off, const rc_dialog *dialog) argument 1590 res_to_bin_fontdir(windres_bfd *wrbfd, rc_uint_type off, const rc_fontdir *fontdirs) argument 1624 res_to_bin_group_icon(windres_bfd *wrbfd, rc_uint_type off, const rc_group_icon *group_icons) argument 1666 res_to_bin_menu(windres_bfd *wrbfd, rc_uint_type off, const rc_menu *menu) argument 1705 res_to_bin_menuitems(windres_bfd *wrbfd, rc_uint_type off, const rc_menuitem *items) argument 1744 res_to_bin_menuexitems(windres_bfd *wrbfd, rc_uint_type off, const rc_menuitem *items) argument 1797 res_to_bin_rcdata(windres_bfd *wrbfd, rc_uint_type off, const rc_rcdata_item *items) argument 1862 res_to_bin_stringtable(windres_bfd *wrbfd, rc_uint_type off, const rc_stringtable *st) argument 1897 string_to_unicode_bin(windres_bfd *wrbfd, rc_uint_type off, const char *s) argument 1920 res_to_bin_toolbar(windres_bfd *wrbfd, rc_uint_type off, rc_toolbar *tb) argument 1954 res_to_bin_versioninfo(windres_bfd *wrbfd, rc_uint_type off, const rc_versioninfo *versioninfo) argument 2128 res_to_bin_generic(windres_bfd *wrbfd, rc_uint_type off, rc_uint_type length, const bfd_byte *data) argument [all...] |
/freebsd-10-stable/lib/libc/stdio/ |
H A D | fmemopen.c | 44 size_t off; /* current offset into the buffer */ member in struct:fmemopen_cookie 91 ck->off = 0; 130 ck->off = ck->len = strnlen(ck->buf, ck->size); 156 * Turn off buffering, so a write past the end of the buffer 169 if (nbytes > ck->len - ck->off) 170 nbytes = ck->len - ck->off; 175 memcpy(buf, ck->buf + ck->off, nbytes); 177 ck->off += nbytes; 187 if (nbytes > ck->size - ck->off) 188 nbytes = ck->size - ck->off; [all...] |
/freebsd-10-stable/sys/dev/ath/ath_hal/ar5312/ |
H A D | ar5312_eeprom.c | 35 ar5312EepromRead(struct ath_hal *ah, u_int off, uint16_t *dataIn) argument 42 for (i=0,offset=2*off; i<2; i++,offset++) {
|
/freebsd-10-stable/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_eeprom.c | 35 ar5416EepromRead(struct ath_hal *ah, u_int off, uint16_t *data) argument 37 OS_REG_READ(ah, AR5416_EEPROM_OFFSET + (off << AR5416_EEPROM_S));
|
/freebsd-10-stable/sys/dev/cm/ |
H A D | smc90cx6var.h | 95 #define GETREG(off) \ 98 (off)) 99 #define PUTREG(off, value) \ 102 (off), (value)) 103 #define GETMEM(off) \ 106 (off)) 107 #define PUTMEM(off, value) \ 110 (off), (value))
|
/freebsd-10-stable/sys/netgraph/ |
H A D | ng_parse.c | 105 const char *s, int *off, const u_char *start, 108 const u_char *data, int *off, char *cbuf, int cbuflen, 122 static int ng_parse_skip_value(const char *s, int off, int *lenp); 148 const char *string, int *off, u_char *buf, int *buflen) 150 return INVOKE(type, parse)(type, string, off, buf, buf, buflen); 160 int off = 0; local 162 return INVOKE(type, unparse)(type, data, &off, cbuf, cbuflen); 185 const char *s, int *off, const u_char *const start, 188 return ng_parse_composite(type, s, off, start, buf, buflen, CT_STRUCT); 193 const u_char *data, int *off, cha 147 ng_parse(const struct ng_parse_type *type, const char *string, int *off, u_char *buf, int *buflen) argument 184 ng_struct_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 192 ng_struct_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 202 int off = 0; local 238 ng_fixedarray_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 247 ng_fixedarray_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 258 int off = 0; local 287 ng_array_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 295 ng_array_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 305 int off = 0; local 334 ng_int8_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 353 ng_int8_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 429 ng_int16_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 449 ng_int16_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 525 ng_int32_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 548 ng_int32_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 624 ng_int64_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 643 ng_int64_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 719 ng_string_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 737 ng_string_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 782 ng_fixedstring_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 806 ng_fixedstring_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 886 ng_sizedstring_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 909 ng_sizedstring_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 954 ng_ipaddr_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 973 ng_ipaddr_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 1016 ng_enaddr_parse(const struct ng_parse_type *type, const char *s, int *const off, const u_char *const start, u_char *const buf, int *const buflen) argument 1043 ng_enaddr_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 1093 ng_bytearray_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 1131 ng_bytearray_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 1199 ng_parse_composite(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen, const enum comptype ctype) argument 1376 ng_unparse_composite(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen, const enum comptype ctype) argument 1645 int off = off0; local 1730 int start, off; local 1818 int off = 0; local [all...] |
/freebsd-10-stable/sys/dev/ep/ |
H A D | if_epvar.h | 86 #define CSR_READ_1(sc, off) (bus_space_read_1((sc)->bst, (sc)->bsh, off)) 87 #define CSR_READ_2(sc, off) (bus_space_read_2((sc)->bst, (sc)->bsh, off)) 88 #define CSR_WRITE_1(sc, off, val) \ 89 bus_space_write_1(sc->bst, sc->bsh, off, val) 90 #define CSR_WRITE_2(sc, off, val) \ 91 bus_space_write_2(sc->bst, sc->bsh, off, val) 92 #define CSR_WRITE_MULTI_1(sc, off, addr, count) \ 93 bus_space_write_multi_1(sc->bst, sc->bsh, off, add [all...] |
/freebsd-10-stable/sys/powerpc/powerpc/ |
H A D | syncicache.c | 53 register_t l, off; local 56 off = (uintptr_t)from & (cacheline_size - 1); 57 l = len += off; 58 p = (char *)from - off; 65 p = (char *)from - off;
|
/freebsd-10-stable/tools/tools/bus_autoconf/ |
H A D | bus_load_file.c | 43 off_t off; local 50 off = lseek(f, 0, SEEK_END); 51 if (off < 0) { 61 len = off; 62 if (len != off)
|
/freebsd-10-stable/contrib/pf/libevent/ |
H A D | buffer.c | 88 (x)->off = (y)->off; \ 97 if (outbuf->off == 0) { 99 size_t oldoff = inbuf->off; 111 if (inbuf->off != oldoff && inbuf->cb != NULL) 112 (*inbuf->cb)(inbuf, oldoff, inbuf->off, inbuf->cbarg); 119 res = evbuffer_add(outbuf, inbuf->buffer, inbuf->off); 122 evbuffer_drain(inbuf, inbuf->off); 133 size_t oldoff = buf->off; 138 buffer = (char *)buf->buffer + buf->off; [all...] |
/freebsd-10-stable/lib/libc/posix1e/ |
H A D | acl_to_text_nfs4.c | 170 size_t off = 0, min_who_field_length = 18; local 193 off += snprintf(str + off, size - off, "%*s:", len, buf); 199 off += snprintf(str + off, size - off, "%s:", buf); 205 off += snprintf(str + off, size - off, " 230 int error, off = 0, size, entry_id = ACL_FIRST_ENTRY; local [all...] |
/freebsd-10-stable/sys/netinet6/ |
H A D | dest6.c | 65 int off = *offp, dstoptlen, optlen; local 71 IP6_EXTHDR_CHECK(m, off, sizeof(*dstopts), IPPROTO_DONE); 72 dstopts = (struct ip6_dest *)(mtod(m, caddr_t) + off); 74 IP6_EXTHDR_GET(dstopts, struct ip6_dest *, m, off, sizeof(*dstopts)); 81 IP6_EXTHDR_CHECK(m, off, dstoptlen, IPPROTO_DONE); 82 dstopts = (struct ip6_dest *)(mtod(m, caddr_t) + off); 84 IP6_EXTHDR_GET(dstopts, struct ip6_dest *, m, off, dstoptlen); 88 off += dstoptlen; 117 *offp = off;
|
/freebsd-10-stable/sys/arm/xscale/ixp425/ |
H A D | ixp425_pci_space.c | 255 _bs_r(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off, u_int32_t be) argument 259 CSR_WRITE_4(PCI_NP_AD, (ioh + off) & ~3); 269 _pci_io_bs_r_1(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off) argument 273 n = (ioh + off) % 4; 275 data = _bs_r(tag, ioh, off, be); 281 _pci_io_bs_r_2(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off) argument 285 n = (ioh + off) % 4; 287 data = _bs_r(tag, ioh, off, be); 293 _pci_io_bs_r_4(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off) argument 297 data = _bs_r(tag, ioh, off, 303 _pci_io_bs_r_1_s(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off) argument 315 _pci_io_bs_r_2_s(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off) argument 327 _pci_io_bs_r_4_s(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off) argument 337 _bs_w(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off, u_int32_t be, u_int32_t data) argument 348 _pci_io_bs_w_1(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off, u_int8_t val) argument 360 _pci_io_bs_w_2(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off, u_int16_t val) argument 372 _pci_io_bs_w_4(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off, u_int32_t val) argument 380 _pci_io_bs_w_1_s(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off, u_int8_t val) argument 392 _pci_io_bs_w_2_s(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off, u_int16_t val) argument 404 _pci_io_bs_w_4_s(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off, u_int32_t val) argument 443 _pci_mem_bs_r_1(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off) argument 449 _pci_mem_bs_r_2(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off) argument 455 _pci_mem_bs_r_4(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off) argument 464 _pci_mem_bs_w_1(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off, u_int8_t val) argument 471 _pci_mem_bs_w_2(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off, u_int16_t val) argument 478 _pci_mem_bs_w_4(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off, u_int32_t val) argument [all...] |
/freebsd-10-stable/sys/gnu/dts/arm/ |
H A D | omap2420-h4.dts | 35 gpmc,cs-rd-off-ns = <160>; 36 gpmc,cs-wr-off-ns = <160>; 38 gpmc,adv-rd-off-ns = <50>; 39 gpmc,adv-wr-off-ns = <50>; 41 gpmc,oe-off-ns = <120>; 43 gpmc,we-off-ns = <120>;
|