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

12

/freebsd-13-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-13-stable/sys/geom/vinum/
H A Dgeom_vinum_share.c79 gv_tokenize(char *cptr, char *token[], int maxtoken) argument
86 while (iswhite(*cptr))
87 cptr++;
90 if ((*cptr == '\0') || (*cptr == '\n') || (*cptr == '#'))
93 delim = *cptr;
94 token[tokennr] = cptr; /* Point to it. */
104 cptr++;
107 if ((*cptr
[all...]
/freebsd-13-stable/contrib/byacc/
H A Dreader.c40 char *cptr, *line; variable
276 cptr = 0;
314 cptr = line;
345 a.a_cptr = a.a_line + (cptr - line);
347 s = cptr + 2;
352 cptr = s + 2;
361 s = cptr;
380 s = cptr;
388 cptr = s;
390 s = cptr;
[all...]
H A Derror.c341 print_pos(line, cptr);
375 print_pos(line, cptr);
384 print_pos(line, cptr);
/freebsd-13-stable/sys/netinet/libalias/
H A Dalias_pptp.c297 PptpCallId cptr; local
303 if ((cptr = AliasVerifyPptp(pip, &ctl_type)) == NULL)
317 GetAliasAddress(lnk), cptr->cid1);
326 GetDestAddress(lnk), cptr->cid1);
333 int accumulate = cptr->cid1;
336 cptr->cid1 = GetAliasPort(pptp_lnk);
340 accumulate -= cptr->cid1;
346 codes = (PptpCode)(cptr + 1);
350 SetDestCallId(pptp_lnk, cptr->cid2);
369 PptpCallId cptr; local
[all...]
/freebsd-13-stable/lib/libc/rpc/
H A Drpcb_clnt.c155 struct address_cache *cptr; local
159 for (cptr = front; cptr != NULL; cptr = cptr->ac_next) {
160 if (!strcmp(cptr->ac_host, host) &&
161 !strcmp(cptr->ac_netid, netid)) {
166 return (cptr);
175 struct address_cache *cptr, *prevptr = NULL; local
178 for (cptr
201 struct address_cache *ad_cache, *cptr, *prevptr; local
[all...]
/freebsd-13-stable/sys/rpc/
H A Drpcb_clnt.c155 struct address_cache *cptr;
159 for (cptr = front; cptr != NULL; cptr = cptr->ac_next) {
160 if (!strcmp(cptr->ac_host, host) &&
161 !strcmp(cptr->ac_netid, netid)) {
166 return (cptr);
176 struct address_cache *cptr, *prevptr = NULL;
179 for (cptr
[all...]
/freebsd-13-stable/usr.bin/tput/
H A Dtput.c66 char *cptr, *term, buf[1024], tbuf[1024]; local
110 cptr = buf;
111 if (tgetstr(p, &cptr))
/freebsd-13-stable/contrib/ntp/ntpd/
H A Drefclock_nmea.c280 char *cptr; /* current field ptr */ member in struct:__anon5354
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);
H A Drefclock_msfees.c998 char *cptr=text; local
1001 snprintf(cptr, sizeof(text) / COUNTOF(deltas),
1004 cptr += strlen(cptr);
/freebsd-13-stable/lib/libc/nls/
H A Dmsgcat.c134 char *base, *cptr, *cptr1, *nlspath, *pathP, *pcode; local
187 if ((cptr = strchr(cptr1, '@')) != NULL)
188 *cptr = '\0';
190 if ((cptr = strchr(cptr1, '_')) != NULL) {
191 *cptr++ = '\0';
192 pter = cptr1 = cptr;
194 if ((cptr = strchr(cptr1, '.')) != NULL) {
195 *cptr++ = '\0';
196 pcode = cptr;
202 if ((base = cptr
[all...]
/freebsd-13-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-13-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-13-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-13-stable/contrib/bsnmp/lib/
H A Dasn1.h41 const u_char *cptr; member in union:asn_buf::__anon339
45 #define asn_cptr asn_u.cptr
/freebsd-13-stable/usr.bin/top/
H A Dtop.c783 const struct command *cptr; local
800 cptr = all_commands;
801 while (cptr->c != '\0') {
802 if (cptr->c == ch) {
805 cptr++;
807 if (cptr->c == '\0') {
812 if (overstrike && !cptr->available_to_dumb)
820 switch(cptr->id)
/freebsd-13-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-13-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-13-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-13-stable/contrib/bc/src/
H A Dlibrary.c729 BcNum *aptr, *bptr, *cptr; local
749 cptr = BC_NUM(ctxt, c);
751 assert(aptr != NULL && bptr != NULL && cptr != NULL);
752 assert(aptr->num != NULL && bptr->num != NULL && cptr->num != NULL);
756 req = bc_num_divReq(aptr, cptr, 0);
762 bc_num_modexp(aptr, bptr, cptr, &d);
769 if (c.i != a.i && c.i != b.i) bcl_num_dtor(ctxt, c, cptr);
/freebsd-13-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-13-stable/sys/dev/isp/
H A Disp.c3067 uint32_t iptr, cont = 0, cptr, optr, rlen, slen, sptr, totslen; local
3080 sptr = cptr = optr;
3081 hp = (isphdr_t *) ISP_QUEUE_ENTRY(isp->isp_result, cptr);
3087 MEMORYBARRIER(isp, SYNC_RESULT, cptr, QENTRY_LEN, -1);
3089 isp_print_qentry(isp, "Response Queue Entry", cptr, hp);
3097 isp_print_qentry(isp, "invalid entry type", cptr, hp);
3101 isp_print_qentry(isp, "invalid entry parameter", cptr, hp);
3105 isp_print_qentry(isp, "invalid entry count", cptr, hp);
3109 isp_print_qentry(isp, "invalid entry order", cptr, hp);
3157 isp_target_notify(isp, hp, &cptr, RESULT_QUEUE_LE
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/source/Interpreter/
H A DCommandInterpreter.cpp2043 const char *cptr = in_string; local
2046 if (cptr[0] == '%') {
2047 ++cptr;
2050 if (isdigit(cptr[0])) {
2051 const char *start = cptr;
2052 while (isdigit(cptr[0]))
2053 ++cptr;
2057 if (cptr[0] == '\0')
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/
H A DTextDiagnostic.cpp123 llvm::UTF32 *cptr = &c;
129 &begin, cp_end, &cptr, cptr + 1, llvm::strictConversion);

Completed in 368 milliseconds

12