Searched refs:cptr (Results 1 - 25 of 36) sorted by relevance

12

/freebsd-11-stable/usr.bin/gencat/
H A Dgencat.c185 warning(const char *cptr, const char *msg) argument
189 if (cptr) {
191 for (tptr = curline; tptr < cptr; ++tptr)
240 char *cptr, *cend; local
248 cptr = curline;
251 for (; bptr < bend && cptr < cend; ++cptr, ++bptr) {
253 *cptr = '\0';
257 *cptr = *bptr;
259 if (cptr
279 wskip(char *cptr) argument
291 cskip(char *cptr) argument
303 getmsg(int fd, char *cptr, char quote) argument
393 char *cptr, *str; local
[all...]
/freebsd-11-stable/contrib/byacc/
H A Dreader.c40 char *cptr, *line; variable
255 cptr = 0;
293 cptr = line;
324 a.a_cptr = a.a_line + (cptr - line);
326 s = cptr + 2;
331 cptr = s + 2;
340 s = cptr;
359 s = cptr;
367 cptr = s;
369 s = cptr;
[all...]
H A Derror.c341 print_pos(line, cptr);
375 print_pos(line, cptr);
384 print_pos(line, cptr);
/freebsd-11-stable/usr.sbin/asf/
H A Dasf.h36 int tokenize(char *cptr, char *token[], int maxtoken);
H A Dasf.c109 tokenize(char *cptr, char *token[], int maxtoken) argument
115 while (isspace(*cptr))
116 cptr++; /* skip initial white space */
117 if ((*cptr == '\0') || (*cptr == '\n')
118 || (*cptr == '#')) /* end of line */
120 delim = *cptr;
121 token[tokennr] = cptr; /* point to it */
127 cptr++;
128 if ((*cptr
[all...]
/freebsd-11-stable/sys/geom/vinum/
H A Dgeom_vinum_share.c76 gv_tokenize(char *cptr, char *token[], int maxtoken) argument
84 while (iswhite(*cptr))
85 cptr++;
88 if ((*cptr == '\0') || (*cptr == '\n') || (*cptr == '#'))
91 delim = *cptr;
92 token[tokennr] = cptr; /* Point to it. */
102 cptr++;
105 if ((*cptr
[all...]
/freebsd-11-stable/sys/netinet/libalias/
H A Dalias_pptp.c305 PptpCallId cptr; local
311 if ((cptr = AliasVerifyPptp(pip, &ctl_type)) == NULL)
325 GetAliasAddress(lnk), cptr->cid1);
335 cptr->cid1);
342 int accumulate = cptr->cid1;
345 cptr->cid1 = GetAliasPort(pptp_lnk);
349 accumulate -= cptr->cid1;
355 codes = (PptpCode) (cptr + 1);
360 cptr->cid2);
377 PptpCallId cptr; local
[all...]
/freebsd-11-stable/lib/libc/rpc/
H A Drpcb_clnt.c153 struct address_cache *cptr; local
157 for (cptr = front; cptr != NULL; cptr = cptr->ac_next) {
158 if (!strcmp(cptr->ac_host, host) &&
159 !strcmp(cptr->ac_netid, netid)) {
164 return (cptr);
173 struct address_cache *cptr, *prevptr = NULL; local
176 for (cptr
199 struct address_cache *ad_cache, *cptr, *prevptr; local
[all...]
/freebsd-11-stable/sys/rpc/
H A Drpcb_clnt.c153 struct address_cache *cptr;
157 for (cptr = front; cptr != NULL; cptr = cptr->ac_next) {
158 if (!strcmp(cptr->ac_host, host) &&
159 !strcmp(cptr->ac_netid, netid)) {
164 return (cptr);
174 struct address_cache *cptr, *prevptr = NULL;
177 for (cptr
[all...]
/freebsd-11-stable/usr.bin/tput/
H A Dtput.c64 char *cptr, *term, buf[1024], tbuf[1024]; local
108 cptr = buf;
109 if (tgetstr(p, &cptr))
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_nmea.c280 char *cptr; /* current field ptr */ member in struct:__anon13
1259 char * cptr, /* start of raw data */
1273 eptr = cptr + dlen;
1277 data->base = cptr;
1278 data->cptr = cptr;
1289 if (*cptr == '\0')
1291 if (*cptr++ != '$')
1296 data->cptr++;
1300 if (*cptr < '
1257 field_init( nmea_data * data, char * cptr, int dlen ) argument
[all...]
H A Drefclock_wwv.c2625 char cptr[50]; local
2645 snprintf(cptr, sizeof(cptr),
2648 strlcat(tc, cptr, tcsiz);
2654 snprintf(cptr, sizeof(cptr), " %d %d %s %.0f %d %.1f %d",
2658 strlcat(tc, cptr, tcsiz);
/freebsd-11-stable/lib/libc/nls/
H A Dmsgcat.c124 char *base, *cptr, *cptr1, *nlspath, *pathP, *pcode; local
177 if ((cptr = strchr(cptr1, '@')) != NULL)
178 *cptr = '\0';
180 if ((cptr = strchr(cptr1, '_')) != NULL) {
181 *cptr++ = '\0';
182 pter = cptr1 = cptr;
184 if ((cptr = strchr(cptr1, '.')) != NULL) {
185 *cptr++ = '\0';
186 pcode = cptr;
192 if ((base = cptr
[all...]
/freebsd-11-stable/sys/netgraph/
H A Dng_lmi.c315 char *cptr, *start; local
339 cptr = start = mtod(m, char *);
341 *cptr++ = 0x03; /* UI frame */
343 *cptr++ = 0x09; /* proto discriminator */
345 *cptr++ = 0x08; /* proto discriminator */
346 *cptr++ = 0x00; /* call reference */
347 *cptr++ = 0x75; /* inquiry */
351 *cptr++ = 0x95; /* locking shift */
354 *cptr++ = 0x51; /* report type */
356 *cptr
[all...]
/freebsd-11-stable/sys/dev/mlxfw/
H A Dmlxfw_mfa2.c146 const struct mlxfw_mfa2_tlv_component_ptr *cptr; local
201 cptr = mlxfw_mfa2_tlv_component_ptr_get(mfa2_file, tlv);
202 if (!cptr) {
209 be16_to_cpu(cptr->component_index));
537 const struct mlxfw_mfa2_tlv_component_ptr *cptr; local
552 cptr = mlxfw_mfa2_tlv_component_ptr_get(mfa2_file, cptr_tlv);
553 if (!cptr)
556 comp_idx = be16_to_cpu(cptr->component_index);
/freebsd-11-stable/contrib/gcc/
H A Dgcov.c619 char *cptr;
647 cptr = strrchr (file_name, '/');
648 strcat (name, cptr ? cptr + 1 : file_name);
652 cptr = strrchr (name, '.');
653 if (cptr)
654 *cptr = 0;
1428 char *cptr;
1435 cptr = flag_preserve_paths ? NULL : strrchr (input_name, '/');
1436 strcat (name, cptr
618 char *cptr; local
1426 char *cptr; local
[all...]
H A Dfix-header.c753 const char *cptr;
768 cptr = cur_symbols->names;
769 for ( ; (name_len = strlen (cptr)) != 0; cptr+= name_len + 1)
776 fn = lookup_std_proto (cptr, name_len);
1080 const char *cptr;
1164 cptr = cur_symbols->names;
1165 for ( ; (name_len = strlen (cptr)) != 0; cptr+= name_len + 1)
1167 struct fn_decl *fn = lookup_std_proto (cptr, name_le
752 const char *cptr; local
1079 const char *cptr; local
[all...]
/freebsd-11-stable/lib/libutil/
H A Dlogin_cap.c110 const char *cptr; local
114 for (i = 0, cptr = str; *cptr; i++) {
115 int count = strcspn(cptr, chars);
116 cptr += count;
117 if (*cptr)
118 ++cptr;
/freebsd-11-stable/contrib/bsnmp/lib/
H A Dasn1.h41 const u_char *cptr; member in union:asn_buf::__anon119
45 #define asn_cptr asn_u.cptr
/freebsd-11-stable/usr.bin/sort/
H A Dbwstring.c271 size_t charlen, chars, cptr; local
274 cptr = 0;
279 while (cptr < len) {
282 if (n > len - cptr)
283 n = len - cptr;
284 charlen = mbrlen(s + cptr, n, &mbs);
292 (unsigned char) s[cptr];
293 ++cptr;
297 s + cptr, charlen, &mbs);
301 cptr
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Dremote-vx.c1185 char *cptr = 0;
1193 pid = strtoul (args, &cptr, 0);
1194 if ((cptr == args) || (*cptr != '\0'))
1181 char *cptr = 0; local
/freebsd-11-stable/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmptools.c2087 char *cptr, engine[2 * SNMP_ENGINE_ID_SIZ + 2]; local
2089 cptr = engine;
2091 cptr += sprintf(cptr, "%.2x", snmp_client.engine.engine_id[i]);
2092 *cptr++ = '\0';
2104 char *cptr, extkey[2 * SNMP_AUTH_KEY_SIZ + 2]; local
2115 cptr = extkey;
2117 cptr += sprintf(cptr, "%.2x",
2119 *cptr
[all...]
/freebsd-11-stable/contrib/bsnmp/snmpd/
H A Daction.c187 uint8_t *cptr, engine[2 * SNMP_ENGINE_ID_SIZ + 2]; local
193 cptr = myengine;
195 cptr += sprintf(cptr, "%.2x", snmpd_engine.engine_id[i]);
196 *cptr++ = '\n';
197 *cptr++ = '\0';
/freebsd-11-stable/lib/libc/gen/
H A Dgetnetgrent.c459 const char *cptr; local
467 cptr = ptr;
470 if (strncmp(cptr, group, glen) == 0 && glen == (ptr - cptr))
/freebsd-11-stable/contrib/llvm-project/lldb/source/Interpreter/
H A DCommandInterpreter.cpp2007 const char *cptr = in_string; local
2010 if (cptr[0] == '%') {
2011 ++cptr;
2014 if (isdigit(cptr[0])) {
2015 const char *start = cptr;
2016 while (isdigit(cptr[0]))
2017 ++cptr;
2021 if (cptr[0] == '\0')

Completed in 202 milliseconds

12