| /netbsd-src/sys/dev/i2c/ |
| H A D | nxt2k.c | 70 nxt2k_writedata(struct nxt2k *nxt, uint8_t reg, uint8_t *data, size_t len) in nxt2k_writedata() argument 77 if ((error = iic_acquire_bus(nxt->tag, 0)) != 0) in nxt2k_writedata() 83 error = iic_exec(nxt->tag, I2C_OP_WRITE_WITH_STOP, nxt->addr, in nxt2k_writedata() 86 iic_release_bus(nxt->tag, 0); in nxt2k_writedata() 92 nxt2k_readdata(struct nxt2k *nxt, uint8_t reg, uint8_t *data, size_t len) in nxt2k_readdata() argument 96 if ((error = iic_acquire_bus(nxt->tag, 0)) != 0) in nxt2k_readdata() 99 error = iic_exec(nxt->tag, I2C_OP_READ_WITH_STOP, nxt->addr, in nxt2k_readdata() 102 iic_release_bus(nxt->tag, 0); in nxt2k_readdata() 108 nxt2k_writereg(struct nxt2k *nxt, uint8_t reg, uint8_t *data, size_t len) in nxt2k_writereg() argument 112 nxt2k_writedata(nxt, 0x35, ®, 1); in nxt2k_writereg() [all …]
|
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/rdata/generic/ |
| H A D | nxt_30.c | 217 dns_rdata_nxt_t *nxt = source; in fromstruct_nxt() local 221 REQUIRE(nxt != NULL); in fromstruct_nxt() 222 REQUIRE(nxt->common.rdtype == type); in fromstruct_nxt() 223 REQUIRE(nxt->common.rdclass == rdclass); in fromstruct_nxt() 224 REQUIRE(nxt->typebits != NULL || nxt->len == 0); in fromstruct_nxt() 225 if (nxt->typebits != NULL && (nxt->typebits[0] & 0x80) == 0) { in fromstruct_nxt() 226 REQUIRE(nxt->len <= 16); in fromstruct_nxt() 227 REQUIRE(nxt->typebits[nxt->len - 1] != 0); in fromstruct_nxt() 233 dns_name_toregion(&nxt->next, ®ion); in fromstruct_nxt() 236 return (mem_tobuffer(target, nxt->typebits, nxt->len)); in fromstruct_nxt() [all …]
|
| /netbsd-src/external/mpl/bind/dist/lib/dns/rdata/generic/ |
| H A D | nxt_30.c | 217 dns_rdata_nxt_t *nxt = source; in fromstruct_nxt() local 221 REQUIRE(nxt != NULL); in fromstruct_nxt() 222 REQUIRE(nxt->common.rdtype == type); in fromstruct_nxt() 223 REQUIRE(nxt->common.rdclass == rdclass); in fromstruct_nxt() 224 REQUIRE(nxt->typebits != NULL || nxt->len == 0); in fromstruct_nxt() 225 if (nxt->typebits != NULL && (nxt->typebits[0] & 0x80) == 0) { in fromstruct_nxt() 226 REQUIRE(nxt->len <= 16); in fromstruct_nxt() 227 REQUIRE(nxt in fromstruct_nxt() 242 dns_rdata_nxt_t *nxt = target; tostruct_nxt() local 278 dns_rdata_nxt_t *nxt = source; freestruct_nxt() local [all...] |
| /netbsd-src/sys/ufs/chfs/ |
| H A D | ebh_misc.h | 48 type *var, *nxt; \ 49 for (var = RB_MIN(name, head); var != NULL; var = nxt) { \ 50 nxt = RB_NEXT(name, head, var); \ 59 type *var, *nxt; \ 60 for (var = RB_MIN(name, head); var != NULL; var = nxt) { \ 61 nxt = RB_NEXT(name, head, var); \
|
| /netbsd-src/lib/libc/db/btree/ |
| H A D | bt_split.c | 622 indx_t full, half, nxt, off, skip, top, used; in bt_psplit() local 640 for (nxt = off = 0, top = NEXTINDEX(h); nxt < top; ++off) { in bt_psplit() 648 src = bi = GETBINTERNAL(h, nxt); in bt_psplit() 653 src = bl = GETBLEAF(h, nxt); in bt_psplit() 658 src = GETRINTERNAL(h, nxt); in bt_psplit() 663 src = rl = GETRLEAF(h, nxt); in bt_psplit() 678 nxt == top - 1) { in bt_psplit() 685 ++nxt; in bt_psplit() 721 if (c->pg.index < nxt) /* Left page. */ in bt_psplit() 725 c->pg.index -= nxt; in bt_psplit() [all …]
|
| /netbsd-src/sys/netipsec/ |
| H A D | ipsec_input.c | 454 int protoff, nxt; in ipsec6_common_input() local 468 nxt = (mtod(*mp, struct ip6_hdr *))->ip6_nxt; in ipsec6_common_input() 474 if (nxt == IPPROTO_AH) in ipsec6_common_input() 476 else if (nxt == IPPROTO_FRAGMENT) in ipsec6_common_input() 482 nxt = ip6e.ip6e_nxt; in ipsec6_common_input() 513 int nxt; in ipsec6_common_input_cb() local 555 nxt = prot; in ipsec6_common_input_cb() 556 while (nxt != IPPROTO_DONE) { in ipsec6_common_input_cb() 582 if ((inet6sw[ip6_protox[nxt]].pr_flags & PR_LASTHDR) != 0 && in ipsec6_common_input_cb() 595 nxt = (*inet6sw[ip6_protox[nxt]].pr_input)(&m, &skip, nxt); in ipsec6_common_input_cb()
|
| H A D | ipsec.c | 869 u_int8_t nxt; in ipsec4_get_ulp() local 881 nxt = ip->ip_p; in ipsec4_get_ulp() 889 nxt = ih.ip_p; in ipsec4_get_ulp() 898 switch (nxt) { in ipsec4_get_ulp() 900 spidx->ul_proto = nxt; in ipsec4_get_ulp() 910 spidx->ul_proto = nxt; in ipsec4_get_ulp() 925 nxt = ip6e.ip6e_nxt; in ipsec4_get_ulp() 928 spidx->ul_proto = nxt; in ipsec4_get_ulp() 939 spidx->ul_proto = nxt; in ipsec4_get_ulp() 983 int off, nxt; in ipsec6_get_ulp() local [all …]
|
| H A D | ipsec_output.c | 649 int nxt; in compute_ipsec_pos() local 653 nxt = ip6->ip6_nxt; in compute_ipsec_pos() 661 switch (nxt) { in compute_ipsec_pos() 682 if (nxt == IPPROTO_DSTOPTS && dstopt) in compute_ipsec_pos() 685 if (nxt == IPPROTO_DSTOPTS) { in compute_ipsec_pos() 691 } else if (nxt == IPPROTO_ROUTING) { in compute_ipsec_pos() 701 nxt = ip6e.ip6e_nxt; in compute_ipsec_pos()
|
| /netbsd-src/sys/netinet/ |
| H A D | in4_cksum.c | 56 in4_cksum(struct mbuf *m, u_int8_t nxt, int off, int len) in in4_cksum() argument 65 if (nxt == 0) in in4_cksum() 85 sum = ((len & 0xffff) + nxt) << 8; in in4_cksum() 87 sum = (len & 0xffff) + nxt; in in4_cksum()
|
| /netbsd-src/sys/netinet6/ |
| H A D | ip6_input.c | 256 int nxt, ours = 0, rh_present = 0, frg_present; in ip6_input() local 606 nxt = hbh->ip6h_nxt; in ip6_input() 615 nxt = ip6->ip6_nxt; in ip6_input() 712 while (nxt != IPPROTO_DONE) { in ip6_input() 731 if (nxt == IPPROTO_ROUTING) { in ip6_input() 737 } else if (nxt == IPPROTO_FRAGMENT) { in ip6_input() 752 if ((inet6sw[ip6_protox[nxt]].pr_flags in ip6_input() 765 nxt = (*inet6sw[ip6_protox[nxt]].pr_input)(&m, &off, nxt); in ip6_input() 1175 int nxt = xip6->ip6_nxt, off = sizeof(struct ip6_hdr); in ip6_savecontrol() local 1193 switch (nxt) { in ip6_savecontrol() [all …]
|
| H A D | in6_cksum.c | 47 in6_cksum(struct mbuf *m, u_int8_t nxt, uint32_t off, uint32_t len) in in6_cksum() argument 63 if (nxt == 0) in in6_cksum() 86 sum = ((len & 0xffff) + ((len >> 16) & 0xffff) + nxt) << 8; in in6_cksum() 88 sum = (len & 0xffff) + ((len >> 16) & 0xffff) + nxt; in in6_cksum()
|
| /netbsd-src/sys/arch/xen/xen/ |
| H A D | xennet_checksum.c | 86 uint8_t nxt; in xennet_checksum_fill() local 117 nxt = iph->ip_p; in xennet_checksum_fill() 132 nxt = ip6h->ip6_nxt; in xennet_checksum_fill() 147 switch (nxt) { in xennet_checksum_fill() 183 ifp->if_xname, nxt); in xennet_checksum_fill()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | tree-ssa-loop.cc | 535 tree *nxt, *idx; in for_each_index() local 537 for (; ; addr_p = nxt) in for_each_index() 545 nxt = &TREE_OPERAND (*addr_p, 0); in for_each_index() 546 return cbck (*addr_p, nxt, data); in for_each_index() 552 nxt = &TREE_OPERAND (*addr_p, 0); in for_each_index() 563 nxt = &TREE_OPERAND (*addr_p, 0); in for_each_index() 568 nxt = &TREE_OPERAND (*addr_p, 0); in for_each_index()
|
| /netbsd-src/external/bsd/flex/dist/src/ |
| H A D | gen.c | 253 nxt[tblend + 1] = end_of_buffer_action; in mkctbl() 258 nxt[tblend + 2] = 0; in mkctbl() 269 nxt[offset - 1] = anum; /* action number */ in mkctbl() 280 tdata[curr++] = nxt[i]; in mkctbl() 290 tdata[curr++] = base[nxt[i]] - (i - chk[i]); in mkctbl() 297 tdata[curr++] = nxt[tblend + 1]; in mkctbl() 300 tdata[curr++] = nxt[tblend + 2]; in mkctbl() 374 nxt[tblend + 1] = end_of_buffer_action; in genctbl() 379 nxt[tblend + 2] = 0; in genctbl() 390 nxt[offset - 1] = anum; /* action number */ in genctbl() [all …]
|
| H A D | tblcmp.c | 302 nxt = reallocate_integer_array (nxt, current_max_xpairs); in expand_nxt_chk() 464 nxt[tblend] = end_of_buffer_state; in mkdeftbl() 468 nxt[tblend + i] = 0; in mkdeftbl() 600 nxt[tblbase + i] = state[i]; in mkentry() 628 nxt[firstfree] = onenxt; in mk1tbl() 783 nxt[position + i] = *state_ptr; in place_state()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | tree-ssa-loop.c | 588 tree *nxt, *idx; in for_each_index() local 590 for (; ; addr_p = nxt) in for_each_index() 598 nxt = &TREE_OPERAND (*addr_p, 0); in for_each_index() 599 return cbck (*addr_p, nxt, data); in for_each_index() 605 nxt = &TREE_OPERAND (*addr_p, 0); in for_each_index() 616 nxt = &TREE_OPERAND (*addr_p, 0); in for_each_index() 621 nxt = &TREE_OPERAND (*addr_p, 0); in for_each_index()
|
| /netbsd-src/external/gpl3/binutils/dist/gas/config/ |
| H A D | xtensa-relax.c | 588 PreconditionList *nxt; in append_condition() local 597 nxt = prev->next; in append_condition() 598 while (nxt != NULL) in append_condition() 600 prev = nxt; in append_condition() 601 nxt = nxt->next; in append_condition() 643 BuildInstr *nxt; in append_build_insn() local 651 nxt = prev->next; in append_build_insn() 652 while (nxt != 0) in append_build_insn() 654 prev = nxt; in append_build_insn() 655 nxt = prev->next; in append_build_insn() [all …]
|
| H A D | kvx-parse.c | 34 struct node_list_s *nxt; member 144 new_hd->nxt = base->succs; in insert_in_succ_list() 241 cur_succ = cur_succ->nxt; in insert() 272 cur_succ = cur_succ->nxt; in free_node() 304 cur_succ = cur_succ->nxt; in longest_match() 333 cur_succ = cur_succ->nxt; in dump_graph_1() 717 struct error_list *nxt; member 721 error_list_insert (int rule, int loc, struct error_list *nxt) in error_list_insert() argument 726 n->nxt = nxt; in error_list_insert() 736 cur_err = cur_err->nxt; in free_error_list() [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/gas/config/ |
| H A D | xtensa-relax.c | 592 PreconditionList *nxt; in append_condition() local 601 nxt = prev->next; in append_condition() 602 while (nxt != NULL) in append_condition() 604 prev = nxt; in append_condition() 605 nxt = nxt->next; in append_condition() 647 BuildInstr *nxt; in append_build_insn() local 655 nxt = prev->next; in append_build_insn() 656 while (nxt != 0) in append_build_insn() 658 prev = nxt; in append_build_insn() 659 nxt = prev->next; in append_build_insn() [all …]
|
| /netbsd-src/bin/sh/ |
| H A D | memalloc.c | 363 char *str, *nxt; in ststrcat() local 387 nxt = str; in ststrcat() 396 scopy(arg, nxt); in ststrcat() 397 nxt += len; in ststrcat()
|
| /netbsd-src/sys/arch/powerpc/powerpc/ |
| H A D | in_cksum.c | 247 in4_cksum(struct mbuf *m, uint8_t nxt, int off, int len) in in4_cksum() argument 256 if (nxt != 0) { in in4_cksum() 260 u.ipov.ih_pr = nxt; in in4_cksum()
|
| /netbsd-src/external/gpl2/groff/dist/src/roff/troff/ |
| H A D | node.h | 318 hmotion_node(hunits i, color *c, node *nxt = 0) 319 : node(nxt), n(i), was_tab(0), unformat(0), col(c) {} in node() argument 320 hmotion_node(hunits i, color *c, statem *s, int divlevel, node *nxt = 0) 321 : node(nxt, s, divlevel), n(i), was_tab(0), unformat(0), col(c) {} in node() argument 323 int divlevel, node *nxt = 0) 324 : node(nxt, s, divlevel), n(i), was_tab(flag1), unformat(flag2), in node() argument 326 hmotion_node(hunits i, int flag1, int flag2, color *c, node *nxt = 0) 327 : node(nxt), n(i), was_tab(flag1), unformat(flag2), col(c) {} in node() argument
|
| /netbsd-src/sys/kern/ |
| H A D | uipc_mbufdebug.c | 660 uint8_t nxt; in m_examine_ip6() 680 nxt = ip6.ip6_nxt; in m_examine_ip6() 681 (*pr)("IPv6: Next Header = %u(%s)\n", nxt, str_ipproto(nxt)); in m_examine_ip6() 687 if (nxt == IPPROTO_HOPOPTS) { in m_examine_ip6() 693 nxt = hbh.ip6h_nxt; in m_examine_ip6() 697 (*pr)("IPv6: Next Header = %u(%s)\n", nxt, str_ipproto(nxt)); in m_examine_ip6() 700 switch (nxt) { in m_examine_ip6() 658 uint8_t nxt; m_examine_ip6() local
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_lfstack.h | 52 T *nxt = cur->next; in Pop() local 54 u64 xch = (u64)(uptr)nxt | cnt; in Pop()
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_lfstack.h | 53 T *nxt = cur->next; in Pop() local 55 u64 xch = (u64)(uptr)nxt | cnt; in Pop()
|