| /freebsd-13.1/usr.bin/gencat/ |
| H A D | gencat.c | 285 while (*cptr && isspace((unsigned char) *cptr)) 286 ++cptr; 293 if (!*cptr || isspace((unsigned char) *cptr)) { 298 ++cptr; 311 ++cptr; 404 cptr = wskip(cptr); 410 cptr = wskip(cptr); 418 cptr = wskip(cptr); 428 cptr = wskip(cptr); 445 cptr = cskip(cptr); [all …]
|
| /freebsd-13.1/contrib/byacc/ |
| H A D | reader.c | 537 ++cptr; in keyword() 648 ++cptr; in copy_comment() 656 ++cptr; in copy_comment() 736 cptr++; in copy_code() 1028 ++cptr; in more_curly() 1171 cptr++; in copy_param() 1461 for (c = *cptr; IS_IDENT(c); c = *++cptr) in get_name() 1567 cptr++; in scan_id() 2427 ++cptr; in advance_to_start() 2689 cptr = after_blanks(cptr); in copy_action() [all …]
|
| H A D | error.c | 341 print_pos(line, cptr); in bad_formals() 375 print_pos(line, cptr); in wrong_number_args_warning() 384 print_pos(line, cptr); in wrong_type_for_arg_warning()
|
| /freebsd-13.1/sys/geom/vinum/ |
| H A D | geom_vinum_share.c | 87 cptr++; in gv_tokenize() 90 if ((*cptr == '\0') || (*cptr == '\n') || (*cptr == '#')) in gv_tokenize() 93 delim = *cptr; in gv_tokenize() 104 cptr++; in gv_tokenize() 107 if ((*cptr == delim) && (cptr[-1] != '\\')) { in gv_tokenize() 108 cptr++; in gv_tokenize() 115 *cptr++ = '\0'; in gv_tokenize() 118 } else if ((*cptr == '\0') || (*cptr == '\n')) in gv_tokenize() 127 cptr++; in gv_tokenize() 130 if (*cptr != '\0') in gv_tokenize() [all …]
|
| /freebsd-13.1/sys/netinet/libalias/ |
| H A D | alias_pptp.c | 297 PptpCallId cptr; in AliasHandlePptpOut() local 317 GetAliasAddress(lnk), cptr->cid1); in AliasHandlePptpOut() 326 GetDestAddress(lnk), cptr->cid1); in AliasHandlePptpOut() 333 int accumulate = cptr->cid1; in AliasHandlePptpOut() 336 cptr->cid1 = GetAliasPort(pptp_lnk); in AliasHandlePptpOut() 340 accumulate -= cptr->cid1; in AliasHandlePptpOut() 346 codes = (PptpCode)(cptr + 1); in AliasHandlePptpOut() 350 SetDestCallId(pptp_lnk, cptr->cid2); in AliasHandlePptpOut() 369 PptpCallId cptr; in AliasHandlePptpIn() local 383 pcall_id = &cptr->cid1; in AliasHandlePptpIn() [all …]
|
| /freebsd-13.1/lib/libc/rpc/ |
| H A D | rpcb_clnt.c | 159 for (cptr = front; cptr != NULL; cptr = cptr->ac_next) { in check_cache() 166 return (cptr); in check_cache() 178 for (cptr = front; cptr != NULL; cptr = cptr->ac_next) { in delete_cache() 189 free(cptr); in delete_cache() 193 prevptr = cptr; in delete_cache() 241 cptr = front; in add_cache() 244 prevptr = cptr; in add_cache() 245 cptr = cptr->ac_next; in add_cache() 250 cptr->ac_host, cptr->ac_netid); in add_cache() 252 free(cptr->ac_host); in add_cache() [all …]
|
| /freebsd-13.1/sys/rpc/ |
| H A D | rpcb_clnt.c | 159 for (cptr = front; cptr != NULL; cptr = cptr->ac_next) { 166 return (cptr); 179 for (cptr = front; cptr != NULL; cptr = cptr->ac_next) { 191 free(cptr); 195 prevptr = cptr; 249 cptr = front; 252 prevptr = cptr; 253 cptr = cptr->ac_next; 258 cptr->ac_host, cptr->ac_netid); 264 if (cptr->ac_uaddr) [all …]
|
| /freebsd-13.1/contrib/ntp/ntpd/ |
| H A D | refclock_nmea.c | 1278 data->cptr = cptr; in field_init() 1296 data->cptr++; in field_init() 1300 if (*cptr < 'A' || *cptr > 'Z') in field_init() 1302 cs_l ^= *cptr++; in field_init() 1303 while ((*cptr >= 'A' && *cptr <= 'Z') || in field_init() 1304 (*cptr >= '0' && *cptr <= '9') ) in field_init() 1306 if (*cptr != ',' || (cptr - data->base) < NMEA_PROTO_IDLEN) in field_init() 1311 while (*cptr && *cptr != '*') in field_init() 1317 if (*cptr != '*' || cptr != eptr - 3 || in field_init() 1321 for (cptr++; (tmp = *cptr) != '\0'; cptr++) { in field_init() [all …]
|
| H A D | refclock_wwv.c | 2625 char cptr[50]; in timecode() local 2645 snprintf(cptr, sizeof(cptr), in timecode() 2648 strlcat(tc, cptr, tcsiz); in timecode() 2654 snprintf(cptr, sizeof(cptr), " %d %d %s %.0f %d %.1f %d", in timecode() 2658 strlcat(tc, cptr, tcsiz); in timecode()
|
| H A D | refclock_msfees.c | 998 char *cptr=text; in ees_receive() local 1001 snprintf(cptr, sizeof(text) / COUNTOF(deltas), in ees_receive() 1004 cptr += strlen(cptr); in ees_receive()
|
| /freebsd-13.1/sys/netgraph/ |
| H A D | ng_lmi.c | 315 char *cptr, *start; in nglmi_inquire() local 339 cptr = start = mtod(m, char *); in nglmi_inquire() 341 *cptr++ = 0x03; /* UI frame */ in nglmi_inquire() 347 *cptr++ = 0x75; /* inquiry */ in nglmi_inquire() 354 *cptr++ = 0x51; /* report type */ in nglmi_inquire() 356 *cptr++ = 0x01; /* report type */ in nglmi_inquire() 357 *cptr++ = 0x01; /* size = 1 */ in nglmi_inquire() 359 *cptr++ = 0x00; /* full */ in nglmi_inquire() 361 *cptr++ = 0x01; /* partial */ in nglmi_inquire() 369 *cptr++ = sc->local_seq; in nglmi_inquire() [all …]
|
| /freebsd-13.1/lib/libc/nls/ |
| H A D | msgcat.c | 134 char *base, *cptr, *cptr1, *nlspath, *pathP, *pcode; in __catopen_l() local 187 if ((cptr = strchr(cptr1, '@')) != NULL) in __catopen_l() 188 *cptr = '\0'; in __catopen_l() 190 if ((cptr = strchr(cptr1, '_')) != NULL) { in __catopen_l() 191 *cptr++ = '\0'; in __catopen_l() 192 pter = cptr1 = cptr; in __catopen_l() 194 if ((cptr = strchr(cptr1, '.')) != NULL) { in __catopen_l() 195 *cptr++ = '\0'; in __catopen_l() 196 pcode = cptr; in __catopen_l() 202 if ((base = cptr = strdup(nlspath)) == NULL) { in __catopen_l() [all …]
|
| /freebsd-13.1/sys/dev/mlxfw/ |
| H A D | mlxfw_mfa2.c | 146 const struct mlxfw_mfa2_tlv_component_ptr *cptr; in mlxfw_mfa2_file_dev_validate() local 201 cptr = mlxfw_mfa2_tlv_component_ptr_get(mfa2_file, tlv); in mlxfw_mfa2_file_dev_validate() 202 if (!cptr) { in mlxfw_mfa2_file_dev_validate() 209 be16_to_cpu(cptr->component_index)); in mlxfw_mfa2_file_dev_validate() 537 const struct mlxfw_mfa2_tlv_component_ptr *cptr; in mlxfw_mfa2_file_component_find() local 552 cptr = mlxfw_mfa2_tlv_component_ptr_get(mfa2_file, cptr_tlv); in mlxfw_mfa2_file_component_find() 553 if (!cptr) in mlxfw_mfa2_file_component_find() 556 comp_idx = be16_to_cpu(cptr->component_index); in mlxfw_mfa2_file_component_find()
|
| /freebsd-13.1/usr.bin/tput/ |
| H A D | tput.c | 66 char *cptr, *term, buf[1024], tbuf[1024]; in main() local 110 cptr = buf; in main() 111 if (tgetstr(p, &cptr)) in main()
|
| /freebsd-13.1/lib/libutil/ |
| H A D | login_cap.c | 110 const char *cptr; in arrayize() local 114 for (i = 0, cptr = str; *cptr; i++) { in arrayize() 115 int count = strcspn(cptr, chars); in arrayize() 116 cptr += count; in arrayize() 117 if (*cptr) in arrayize() 118 ++cptr; in arrayize()
|
| /freebsd-13.1/usr.bin/top/ |
| H A D | top.c | 784 const struct command *cptr; in main() local 801 cptr = all_commands; in main() 802 while (cptr->c != '\0') { in main() 803 if (cptr->c == ch) { in main() 806 cptr++; in main() 808 if (cptr->c == '\0') { in main() 813 if (overstrike && !cptr->available_to_dumb) in main() 821 switch(cptr->id) in main()
|
| /freebsd-13.1/usr.bin/sort/ |
| H A D | bwstring.c | 273 size_t charlen, chars, cptr; in bwscsbdup() local 276 cptr = 0; in bwscsbdup() 281 while (cptr < len) { in bwscsbdup() 284 if (n > len - cptr) in bwscsbdup() 285 n = len - cptr; in bwscsbdup() 286 charlen = mbrlen(s + cptr, n, &mbs); in bwscsbdup() 294 (unsigned char) s[cptr]; in bwscsbdup() 295 ++cptr; in bwscsbdup() 299 s + cptr, charlen, &mbs); in bwscsbdup() 303 cptr += charlen; in bwscsbdup()
|
| /freebsd-13.1/contrib/bsnmp/lib/ |
| H A D | asn1.h | 41 const u_char *cptr; member 45 #define asn_cptr asn_u.cptr
|
| /freebsd-13.1/usr.sbin/bsnmpd/tools/libbsnmptools/ |
| H A D | bsnmptools.c | 2087 char *cptr, engine[2 * SNMP_ENGINE_ID_SIZ + 2]; in snmp_output_engine() local 2089 cptr = engine; in snmp_output_engine() 2091 cptr += sprintf(cptr, "%.2x", snmp_client.engine.engine_id[i]); in snmp_output_engine() 2092 *cptr++ = '\0'; in snmp_output_engine() 2104 char *cptr, extkey[2 * SNMP_AUTH_KEY_SIZ + 2]; in snmp_output_keys() local 2115 cptr = extkey; in snmp_output_keys() 2117 cptr += sprintf(cptr, "%.2x", in snmp_output_keys() 2119 *cptr++ = '\0'; in snmp_output_keys() 2131 cptr = extkey; in snmp_output_keys() 2133 cptr += sprintf(cptr, "%.2x", in snmp_output_keys() [all …]
|
| /freebsd-13.1/sys/contrib/dev/ath/ath_hal/ar9300/ |
| H A D | eeprom.diff | 113 + ath_hal_printf(ah, "%s: called, cptr=0x%x, mdata_size=%d, blank=%d\n", 114 + __func__, cptr, mdata_size, blank); 119 ah, cptr, word, compression_header_length); 130 + cptr -= compression_header_length;
|
| /freebsd-13.1/contrib/bc/src/ |
| H A D | library.c | 798 BcNum *aptr, *bptr, *cptr; in bcl_modexp() local 818 cptr = BC_NUM(ctxt, c); in bcl_modexp() 820 assert(aptr != NULL && bptr != NULL && cptr != NULL); in bcl_modexp() 821 assert(aptr->num != NULL && bptr->num != NULL && cptr->num != NULL); in bcl_modexp() 826 req = bc_num_divReq(aptr, cptr, 0); in bcl_modexp() 833 bc_num_modexp(aptr, bptr, cptr, &d); in bcl_modexp() 841 if (c.i != a.i && c.i != b.i) bcl_num_dtor(ctxt, c, cptr); in bcl_modexp()
|
| /freebsd-13.1/contrib/bsnmp/snmpd/ |
| H A D | action.c | 187 uint8_t *cptr, engine[2 * SNMP_ENGINE_ID_SIZ + 2]; in set_snmpd_engine() local 193 cptr = myengine; in set_snmpd_engine() 195 cptr += sprintf(cptr, "%.2x", snmpd_engine.engine_id[i]); in set_snmpd_engine() 196 *cptr++ = '\n'; in set_snmpd_engine() 197 *cptr++ = '\0'; in set_snmpd_engine()
|
| /freebsd-13.1/lib/libc/gen/ |
| H A D | getnetgrent.c | 459 const char *cptr; local 467 cptr = ptr; 470 if (strncmp(cptr, group, glen) == 0 && glen == (ptr - cptr))
|
| /freebsd-13.1/sys/dev/isp/ |
| H A D | isp.c | 3067 uint32_t iptr, cont = 0, cptr, optr, rlen, slen, totslen; in isp_intr_respq() local 3083 cptr = optr; in isp_intr_respq() 3087 hp = (isphdr_t *) ISP_QUEUE_ENTRY(isp->isp_result, cptr); in isp_intr_respq() 3093 MEMORYBARRIER(isp, SYNC_RESULT, cptr, QENTRY_LEN, -1); in isp_intr_respq() 3095 isp_print_qentry(isp, "Response Queue Entry", cptr, hp); in isp_intr_respq() 3103 isp_print_qentry(isp, "invalid entry type", cptr, hp); in isp_intr_respq() 3111 isp_print_qentry(isp, "invalid entry count", cptr, hp); in isp_intr_respq() 3115 isp_print_qentry(isp, "invalid entry order", cptr, hp); in isp_intr_respq() 3165 while (sptr != cptr) { in isp_intr_respq() 3171 optr = ISP_NXT_QENTRY(cptr, RESULT_QUEUE_LEN(isp)); in isp_intr_respq() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Interpreter/ |
| H A D | CommandInterpreter.cpp | 2056 const char *cptr = in_string; in GetOptionArgumentPosition() local 2059 if (cptr[0] == '%') { in GetOptionArgumentPosition() 2060 ++cptr; in GetOptionArgumentPosition() 2063 if (isdigit(cptr[0])) { in GetOptionArgumentPosition() 2064 const char *start = cptr; in GetOptionArgumentPosition() 2065 while (isdigit(cptr[0])) in GetOptionArgumentPosition() 2066 ++cptr; in GetOptionArgumentPosition() 2070 if (cptr[0] == '\0') in GetOptionArgumentPosition()
|