Searched refs:pch (Results 1 - 25 of 81) sorted by relevance

1234

/freebsd-11-stable/contrib/ntp/libntp/
H A Dsocktoa.c114 const u_char *pch; local
124 pch = (const void *)&AF(addr);
125 hashVal = 37 * hashVal + *pch;
127 pch++;
128 hashVal = 37 * hashVal + *pch;
132 pch = (const void *)&SOCK_ADDR4(addr);
137 pch = (const void *)&SOCK_ADDR6(addr);
143 hashVal = 37 * hashVal + pch[j];
H A Dis_ip_address.c38 char *pch; local
66 pch = strchr(tmpbuf, ']');
67 if (pch != NULL)
68 *pch = '\0';
H A Dssl_init.c107 char * pch; local
123 for (pch = upcased; '\0' != *pch; pch++) {
124 *pch = (char)toupper((unsigned char)*pch);
H A Dstatestr.c353 char * pch; local
361 pch = buf;
375 size_t avail = lim - pch;
376 rc = snprintf(pch, avail, "%s%s", sep,
380 pch += rc;
/freebsd-11-stable/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-11-stable/contrib/apr/network_io/unix/
H A Dinet_pton.c116 const char *pch; local
118 if ((pch = strchr(digits, ch)) != NULL) {
119 unsigned int new = *tp * 10 + (unsigned int)(pch - digits);
179 const char *pch; local
181 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL)
182 pch = strchr((xdigits = xdigits_u), ch);
183 if (pch != NULL) {
185 val |= (pch - xdigits);
/freebsd-11-stable/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-11-stable/sys/libkern/
H A Dinet_pton.c89 const char *pch; local
91 if ((pch = strchr(digits, ch)) != NULL) {
92 u_int new = *tp * 10 + (pch - digits);
154 const char *pch; local
156 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL)
157 pch = strchr((xdigits = xdigits_u), ch);
158 if (pch != NULL) {
160 val |= (pch - xdigits);
/freebsd-11-stable/contrib/ntp/lib/isc/
H A Dinet_pton.c92 const char *pch; local
94 if ((pch = strchr(digits, ch)) != NULL) {
95 size_t newv = *tp * 10 + (pch - digits);
154 const char *pch; local
156 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL)
157 pch = strchr((xdigits = xdigits_u), ch);
158 if (pch != NULL) {
160 val |= (pch - xdigits);
/freebsd-11-stable/usr.bin/patch/
H A DMakefile8 SRCS= backupfile.c inp.c mkpath.c patch.c pch.c util.c
/freebsd-11-stable/lib/libc/inet/
H A Dinet_net_pton.c201 const char *pch; local
203 pch = strchr(digits, ch);
204 if (pch != NULL) {
208 val += (pch - digits);
232 const char *pch; local
234 pch = strchr(digits, ch);
235 if (pch != NULL) {
239 val += (pch - digits);
292 const char *pch; local
294 if ((pch
[all...]
H A Dinet_pton.c89 const char *pch; local
91 if ((pch = strchr(digits, ch)) != NULL) {
92 u_int new = *tp * 10 + (pch - digits);
152 const char *pch; local
154 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL)
155 pch = strchr((xdigits = xdigits_u), ch);
156 if (pch != NULL) {
158 val |= (pch - xdigits);
H A Dinet_cidr_pton.c175 const char *pch; local
177 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL)
178 pch = strchr((xdigits = xdigits_u), ch);
179 if (pch != NULL) {
181 val |= (pch - xdigits);
/freebsd-11-stable/contrib/tcpdump/
H A Dstrtoaddr.c177 const char *pch; local
179 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL)
180 pch = strchr((xdigits = xdigits_u), ch);
181 if (pch != NULL) {
183 val |= (int)(pch - xdigits);
/freebsd-11-stable/contrib/elftoolchain/elfcopy/
H A Dpe.c51 PE_CoffHdr pch; local
81 memset(&pch, 0, sizeof(pch));
84 pch.ch_machine = IMAGE_FILE_MACHINE_I386;
87 pch.ch_machine = IMAGE_FILE_MACHINE_AMD64;
90 pch.ch_machine = IMAGE_FILE_MACHINE_UNKNOWN;
95 pch.ch_timestamp = (uint32_t) timestamp;
96 if (pe_update_coff_header(pe, &pch) < 0)
/freebsd-11-stable/contrib/ntp/sntp/
H A Dkod_management.c129 char *pch; local
143 pch = strchr(kod_db_file + 1, DIR_SEP);
144 while (NULL != pch) {
145 *pch = '\0';
152 *pch = DIR_SEP;
153 pch = strchr(pch + 1, DIR_SEP);
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-helper-ilk.c97 static cvmx_ilk_pipe_chan_t *pch = NULL, *tmp; local
133 if (pch == NULL)
135 pch = (cvmx_ilk_pipe_chan_t *)
142 if (pch == NULL)
146 memset (pch, 0, CVMX_MAX_ILK_CHANS * sizeof(cvmx_ilk_pipe_chan_t));
147 tmp = pch;
154 res = cvmx_ilk_tx_set_channel (interface, pch, cvmx_ilk_chans[interface]);
243 tmp = pch;
281 kfree (pch);
/freebsd-11-stable/usr.bin/from/
H A Dfrom.c147 char ch, pch, first; local
158 if (!(pch = *p++))
162 if (ch != pch)
/freebsd-11-stable/sys/dev/sound/isa/
H A Dsb16.c95 struct sb_chinfo pch, rch; member in struct:sb_info
532 if (sb->pch.fmt & AFMT_8BIT)
538 if (sb->pch.fmt & AFMT_16BIT)
545 if (sb->pch.dch == 1)
551 if (sb->pch.dch == 2)
560 if ((reason & 1) && (sb->pch.run))
561 chn_intr(sb->pch.channel);
576 sndbuf_dma(sb->pch.buffer, PCMTRIG_STOP);
585 pprio = sb->pch.run? 1 : 0;
586 sndbuf_dmasetup(sb->pch
[all...]
/freebsd-11-stable/gnu/usr.bin/cc/libcpp/
H A DMakefile16 mkdeps.c pch.c symtab.c traditional.c
/freebsd-11-stable/usr.sbin/bootparamd/bootparamd/
H A Dbootparamd.c200 int ch, pch, fid_len, res = 0; local
249 pch = ch = getc(bpf);
250 while ( ! ( ch == '\n' && pch != '\\') && ch != EOF) {
251 pch = ch; ch = getc(bpf);
301 int ch, pch; local
358 pch = ch = getc(bpf);
359 while ( ! ( ch == '\n' && pch != '\\') && ch != EOF) {
360 pch = ch; ch = getc(bpf);
/freebsd-11-stable/usr.sbin/pmcstat/
H A Dpmcpl_callgraph.c409 struct pmcstat_cgnode_hash *pch; local
427 LIST_FOREACH(pch, &pmcstat_cgnode_hash[n], pch_next)
428 if (pch->pch_pmcid == pmcid) {
429 nsamples += pch->pch_cgnode->pcg_count;
430 *cgn++ = pch->pch_cgnode;
584 struct pmcstat_cgnode_hash *pch; local
607 LIST_FOREACH(pch, &pmcstat_cgnode_hash[n], pch_next)
608 if (pmcr == NULL || pch->pch_pmcid == pmcr->pr_pmcid) {
609 nsamples += pch->pch_cgnode->pcg_count;
610 *cgn++ = pch
670 struct pmcstat_cgnode_hash *pch, *pchtmp; local
[all...]
H A Dpmcpl_calltree.c353 struct pmcpl_ct_node_hash *pch; local
356 STAILQ_FOREACH(pch, &pmcpl_ct_node_hash[i], pch_next)
357 pch->pch_ctnode->pct_color = PMCPL_PCT_WHITE;
982 struct pmcpl_ct_node_hash *pch, *pchc; local
987 if ((pch = malloc(sizeof(*pch))) == NULL)
989 pch->pch_ctnode = ct;
990 STAILQ_INSERT_TAIL(&q, pch, pch_next);
994 pch = STAILQ_FIRST(&q);
996 pmcpl_ct_printnode(pch
1085 struct pmcpl_ct_node_hash *pch; local
1175 struct pmcpl_ct_node_hash *pch, *pchtmp; local
[all...]
/freebsd-11-stable/lib/libc/resolv/
H A Dres_comp.c159 int pch = PERIOD, ch = *dn++; local
166 } else if (periodchar(pch)) {
176 pch = ch, ch = nch;
/freebsd-11-stable/lib/libutil/
H A Dlogin_class.c142 substvar(const char * var, const struct passwd * pwd, int hlen, int pch, int nlen) argument
160 - dollas + (tildes * (pch+hlen))
177 int v = pch && *(p+1) != '/'; /* Avoid double // */
204 char pch = 0; local
207 ++pch;
213 char * np = substvar(var, pwd, hlen, pch, nlen);
239 if ((np = substvar(p, pwd, hlen, pch, nlen)) != NULL) {

Completed in 293 milliseconds

1234