| /freebsd-14.2/contrib/ntp/libntp/ |
| H A D | socktoa.c | 113 const u_char *pch; in sock_hash() local 123 pch = (const void *)&AF(addr); in sock_hash() 124 hashVal = 37 * hashVal + *pch; in sock_hash() 126 pch++; in sock_hash() 127 hashVal = 37 * hashVal + *pch; in sock_hash() 131 pch = (const void *)&SOCK_ADDR4(addr); in sock_hash() 136 pch = (const void *)&SOCK_ADDR6(addr); in sock_hash() 142 hashVal = 37 * hashVal + pch[j]; in sock_hash()
|
| H A D | ssl_init.c | 100 char * pch; in keytype_from_text() local 116 for (pch = upcased; '\0' != *pch; pch++) { in keytype_from_text() 117 *pch = (char)toupper((unsigned char)*pch); in keytype_from_text()
|
| H A D | is_ip_address.c | 38 char *pch; in is_ip_address() local 66 pch = strchr(tmpbuf, ']'); in is_ip_address() 67 if (pch != NULL) in is_ip_address() 68 *pch = '\0'; in is_ip_address()
|
| /freebsd-14.2/lib/libc/inet/ |
| H A D | inet_net_pton.c | 200 const char *pch; in getbits() local 202 pch = strchr(digits, ch); in getbits() 203 if (pch != NULL) { in getbits() 207 val += (pch - digits); in getbits() 231 const char *pch; in getv4() local 233 pch = strchr(digits, ch); in getv4() 234 if (pch != NULL) { in getv4() 238 val += (pch - digits); in getv4() 291 const char *pch; in inet_net_pton_ipv6() local 295 if (pch != NULL) { in inet_net_pton_ipv6() [all …]
|
| H A D | inet_pton.c | 88 const char *pch; in inet_pton4() local 90 if ((pch = strchr(digits, ch)) != NULL) { in inet_pton4() 91 u_int new = *tp * 10 + (pch - digits); in inet_pton4() 151 const char *pch; in inet_pton6() local 153 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL) in inet_pton6() 154 pch = strchr((xdigits = xdigits_u), ch); in inet_pton6() 155 if (pch != NULL) { in inet_pton6() 157 val |= (pch - xdigits); in inet_pton6()
|
| H A D | inet_cidr_pton.c | 173 const char *pch; in inet_cidr_pton_ipv6() local 175 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL) in inet_cidr_pton_ipv6() 176 pch = strchr((xdigits = xdigits_u), ch); in inet_cidr_pton_ipv6() 177 if (pch != NULL) { in inet_cidr_pton_ipv6() 179 val |= (pch - xdigits); in inet_cidr_pton_ipv6()
|
| /freebsd-14.2/sys/libkern/ |
| H A D | inet_pton.c | 83 const char *pch; in inet_pton4() local 85 if ((pch = strchr(digits, ch)) != NULL) { in inet_pton4() 86 u_int new = *tp * 10 + (pch - digits); in inet_pton4() 148 const char *pch; in inet_pton6() local 150 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL) in inet_pton6() 151 pch = strchr((xdigits = xdigits_u), ch); in inet_pton6() 152 if (pch != NULL) { in inet_pton6() 154 val |= (pch - xdigits); in inet_pton6()
|
| /freebsd-14.2/contrib/ntp/libntp/lib/isc/ |
| H A D | inet_pton.c | 92 const char *pch; in inet_pton4() local 94 if ((pch = strchr(digits, ch)) != NULL) { in inet_pton4() 95 size_t newv = *tp * 10 + (pch - digits); in inet_pton4() 154 const char *pch; in inet_pton6() local 156 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL) in inet_pton6() 157 pch = strchr((xdigits = xdigits_u), ch); in inet_pton6() 158 if (pch != NULL) { in inet_pton6() 160 val |= (pch - xdigits); in inet_pton6()
|
| /freebsd-14.2/contrib/unbound/compat/ |
| H A D | inet_pton.c | 106 const char *pch; local 108 if ((pch = strchr(digits, ch)) != NULL) { 109 uint32_t new = *tp * 10 + (pch - digits); 170 const char *pch; local 172 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL) 173 pch = strchr((xdigits = xdigits_u), ch); 174 if (pch != NULL) { 176 val |= (pch - xdigits);
|
| /freebsd-14.2/contrib/ldns/compat/ |
| H A D | inet_pton.c | 106 const char *pch; local 108 if ((pch = strchr(digits, ch)) != NULL) { 109 uint32_t new = *tp * 10 + (pch - digits); 170 const char *pch; local 172 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL) 173 pch = strchr((xdigits = xdigits_u), ch); 174 if (pch != NULL) { 176 val |= (pch - xdigits);
|
| /freebsd-14.2/contrib/elftoolchain/elfcopy/ |
| H A D | pe.c | 51 PE_CoffHdr pch; in create_pe() local 81 memset(&pch, 0, sizeof(pch)); in create_pe() 84 pch.ch_machine = IMAGE_FILE_MACHINE_I386; in create_pe() 87 pch.ch_machine = IMAGE_FILE_MACHINE_AMD64; in create_pe() 90 pch.ch_machine = IMAGE_FILE_MACHINE_UNKNOWN; in create_pe() 95 pch.ch_timestamp = (uint32_t) timestamp; in create_pe() 96 if (pe_update_coff_header(pe, &pch) < 0) in create_pe()
|
| /freebsd-14.2/usr.sbin/pmcstat/ |
| H A D | pmcpl_callgraph.c | 413 struct pmcstat_cgnode_hash *pch; in pmcstat_callgraph_print_for_pmcid() local 432 if (pch->pch_pmcid == pmcid) { in pmcstat_callgraph_print_for_pmcid() 433 nsamples += pch->pch_cgnode->pcg_count; in pmcstat_callgraph_print_for_pmcid() 434 *cgn++ = pch->pch_cgnode; in pmcstat_callgraph_print_for_pmcid() 601 struct pmcstat_cgnode_hash *pch; in pmcpl_cg_topdisplay() local 626 nsamples += pch->pch_cgnode->pcg_count; in pmcpl_cg_topdisplay() 627 *cgn++ = pch->pch_cgnode; in pmcpl_cg_topdisplay() 690 struct pmcstat_cgnode_hash *pch, *pchtmp; in pmcpl_cg_shutdown() local 703 pmcstat_cgnode_free(pch->pch_cgnode); in pmcpl_cg_shutdown() 704 LIST_REMOVE(pch, pch_next); in pmcpl_cg_shutdown() [all …]
|
| H A D | pmcpl_calltree.c | 354 struct pmcpl_ct_node_hash *pch; in pmcpl_ct_node_cleartag() local 986 struct pmcpl_ct_node_hash *pch, *pchc; in pmcpl_ct_bfs() local 991 if ((pch = malloc(sizeof(*pch))) == NULL) in pmcpl_ct_bfs() 993 pch->pch_ctnode = ct; in pmcpl_ct_bfs() 994 STAILQ_INSERT_TAIL(&q, pch, pch_next); in pmcpl_ct_bfs() 998 pch = STAILQ_FIRST(&q); in pmcpl_ct_bfs() 1000 pmcpl_ct_printnode(pch->pch_ctnode); in pmcpl_ct_bfs() 1012 free(pch); in pmcpl_ct_bfs() 1089 struct pmcpl_ct_node_hash *pch; in pmcpl_ct_expand_inline() local 1193 pmcpl_ct_node_free(pch->pch_ctnode); in pmcpl_ct_shutdown() [all …]
|
| /freebsd-14.2/contrib/ntp/sntp/ |
| H A D | kod_management.c | 129 char *pch; in write_kod_db() local 143 pch = strchr(kod_db_file + 1, DIR_SEP); in write_kod_db() 144 while (NULL != pch) { in write_kod_db() 145 *pch = '\0'; in write_kod_db() 152 *pch = DIR_SEP; in write_kod_db() 153 pch = strchr(pch + 1, DIR_SEP); in write_kod_db()
|
| /freebsd-14.2/contrib/tcpdump/ |
| H A D | strtoaddr.c | 171 const char *pch; in strtoaddr6() local 173 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL) in strtoaddr6() 174 pch = strchr((xdigits = xdigits_u), ch); in strtoaddr6() 175 if (pch != NULL) { in strtoaddr6() 177 val |= (int)(pch - xdigits); in strtoaddr6()
|
| /freebsd-14.2/sys/contrib/device-tree/src/mips/loongson/ |
| H A D | loongson64c_4core_ls7a.dts | 6 #include "ls7a-pch.dtsi" 27 &pch { 29 compatible = "loongson,pch-msi-1.0";
|
| H A D | loongson64g_4core_ls7a.dts | 6 #include "ls7a-pch.dtsi" 31 &pch { 33 compatible = "loongson,pch-msi-1.0";
|
| /freebsd-14.2/sys/arm/broadcom/bcm2835/ |
| H A D | bcm2835_audio.c | 121 struct bcm2835_audio_chinfo pch; member 228 chn_intr(sc->pch.channel); in bcm2835_audio_callback() 518 bcm2835_audio_reset_channel(&sc->pch); in bcm2835_audio_worker() 681 chn_intr(sc->pch.channel); in bcmchan_trigger() 816 CTLFLAG_RD, &sc->pch.callbacks, in vchi_audio_sysctl_init() 819 CTLFLAG_RD, &sc->pch.submitted_samples, in vchi_audio_sysctl_init() 822 CTLFLAG_RD, &sc->pch.retrieved_samples, in vchi_audio_sysctl_init() 825 CTLFLAG_RD, &sc->pch.underruns, in vchi_audio_sysctl_init() 828 CTLFLAG_RD, &sc->pch.available_space, in vchi_audio_sysctl_init() 831 CTLFLAG_RD, &sc->pch.starved, in vchi_audio_sysctl_init() [all …]
|
| /freebsd-14.2/usr.sbin/bootparamd/bootparamd/ |
| H A D | bootparamd.c | 190 int ch, pch, fid_len, res = 0; in getthefile() local 239 pch = ch = getc(bpf); in getthefile() 240 while ( ! ( ch == '\n' && pch != '\\') && ch != EOF) { in getthefile() 241 pch = ch; ch = getc(bpf); in getthefile() 288 int ch, pch; in checkhost() local 345 pch = ch = getc(bpf); in checkhost() 346 while ( ! ( ch == '\n' && pch != '\\') && ch != EOF) { in checkhost() 347 pch = ch; ch = getc(bpf); in checkhost()
|
| /freebsd-14.2/sys/dev/sound/pci/ |
| H A D | atiixp.c | 122 struct atiixp_chinfo pch; member 445 ch = &sc->pch; in atiixp_chan_init() 712 chn_intr(sc->pch.channel); in atiixp_poll_callback() 780 ch = &sc->pch; in atiixp_chan_trigger() 888 (sc->pch.flags & ATI_IXP_CHN_RUNNING)) in atiixp_intr() 922 chn_intr(sc->pch.channel); in atiixp_intr() 1343 sc->pch.flags |= ATI_IXP_CHN_SUSPEND; in atiixp_pci_suspend() 1377 if (sc->pch.channel != NULL) { in atiixp_pci_resume() 1378 if (sc->pch.fmt != 0) in atiixp_pci_resume() 1379 atiixp_chan_setformat(NULL, &sc->pch, sc->pch.fmt); in atiixp_pci_resume() [all …]
|
| H A D | cs4281.c | 97 struct sc_chinfo pch; member 319 struct sc_chinfo *ch = (dir == PCMDIR_PLAY) ? &sc->pch : &sc->rch; in cs4281chan_init() 518 chn_intr(sc->pch.channel); in cs4281_intr() 907 sc->pch.dma_active = adcdac_go(&sc->pch, 0); in cs4281_pci_suspend() 942 cs4281chan_setspeed(NULL, &sc->pch, sc->pch.spd); in cs4281_pci_resume() 943 cs4281chan_setblocksize(NULL, &sc->pch, sc->pch.blksz); in cs4281_pci_resume() 944 cs4281chan_setformat(NULL, &sc->pch, sc->pch.fmt); in cs4281_pci_resume() 945 adcdac_go(&sc->pch, sc->pch.dma_active); in cs4281_pci_resume()
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/interrupt-controller/ |
| H A D | loongson,pch-pic.yaml | 4 $id: http://devicetree.org/schemas/interrupt-controller/loongson,pch-pic.yaml# 19 const: loongson,pch-pic-1.0 50 compatible = "loongson,pch-pic-1.0";
|
| H A D | loongson,pch-msi.yaml | 4 $id: http://devicetree.org/schemas/interrupt-controller/loongson,pch-msi.yaml# 19 const: loongson,pch-msi-1.0 55 compatible = "loongson,pch-msi-1.0";
|
| /freebsd-14.2/usr.bin/from/ |
| H A D | from.c | 147 char ch, pch, first; in match() local 158 if (!(pch = *p++)) in match() 162 if (ch != pch) in match()
|
| /freebsd-14.2/contrib/ntp/libntp/lib/isc/win32/ |
| H A D | strerror.c | 94 char *pch; in FormatError() local 112 pch = strstr(lpMsgBuf, boiler); in FormatError() 113 if (pch != NULL) { in FormatError() 114 *pch = '\0'; in FormatError()
|