Home
last modified time | relevance | path

Searched refs:pch (Results 1 – 25 of 78) sorted by relevance

1234

/freebsd-14.2/contrib/ntp/libntp/
H A Dsocktoa.c113 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 Dssl_init.c100 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 Dis_ip_address.c38 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 Dinet_net_pton.c200 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 Dinet_pton.c88 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 Dinet_cidr_pton.c173 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 Dinet_pton.c83 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 Dinet_pton.c92 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 Dinet_pton.c106 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 Dinet_pton.c106 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 Dpe.c51 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 Dpmcpl_callgraph.c413 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 Dpmcpl_calltree.c354 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 Dkod_management.c129 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 Dstrtoaddr.c171 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 Dloongson64c_4core_ls7a.dts6 #include "ls7a-pch.dtsi"
27 &pch {
29 compatible = "loongson,pch-msi-1.0";
H A Dloongson64g_4core_ls7a.dts6 #include "ls7a-pch.dtsi"
31 &pch {
33 compatible = "loongson,pch-msi-1.0";
/freebsd-14.2/sys/arm/broadcom/bcm2835/
H A Dbcm2835_audio.c121 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 Dbootparamd.c190 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 Datiixp.c122 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 Dcs4281.c97 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 Dloongson,pch-pic.yaml4 $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 Dloongson,pch-msi.yaml4 $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 Dfrom.c147 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 Dstrerror.c94 char *pch; in FormatError() local
112 pch = strstr(lpMsgBuf, boiler); in FormatError()
113 if (pch != NULL) { in FormatError()
114 *pch = '\0'; in FormatError()

1234