| /freebsd-14.2/usr.bin/gencat/ |
| H A D | gencat.c | 283 while (*cptr && isspace((unsigned char) *cptr)) 284 ++cptr; 291 if (!*cptr || isspace((unsigned char) *cptr)) { 296 ++cptr; 309 ++cptr; 402 cptr = wskip(cptr); 408 cptr = wskip(cptr); 416 cptr = wskip(cptr); 426 cptr = wskip(cptr); 443 cptr = cskip(cptr); [all …]
|
| /freebsd-14.2/contrib/byacc/ |
| H A D | reader.c | 546 ++cptr; in keyword() 657 ++cptr; in copy_comment() 665 ++cptr; in copy_comment() 745 cptr++; in copy_code() 1036 ++cptr; in more_curly() 1183 cptr++; in copy_param() 1480 for (c = *cptr; IS_IDENT(c); c = *++cptr) in get_name() 1586 cptr++; in scan_id() 2451 ++cptr; in advance_to_start() 2711 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-14.2/contrib/arm-optimized-routines/networking/ |
| H A D | chksum.c | 47 const char *cptr = ptr; in __chksum() local 50 uint64_t h0 = load32(cptr + 0); in __chksum() 51 uint64_t h1 = load32(cptr + 4); in __chksum() 52 uint64_t h2 = load32(cptr + 8); in __chksum() 53 uint64_t h3 = load32(cptr + 12); in __chksum() 55 cptr += 16; in __chksum() 63 sum += load32(cptr); in __chksum() 64 cptr += 4; in __chksum() 71 sum += load16(cptr); in __chksum() 72 cptr += 2; in __chksum() [all …]
|
| H A D | chksum_common.h | 84 const unsigned char *cptr = ptr; in slurp_small() local 88 sum += load32(cptr); in slurp_small() 89 cptr += 4; in slurp_small() 94 sum += load16(cptr); in slurp_small() 95 cptr += 2; in slurp_small() 99 sum += (uint8_t) *cptr; in slurp_small()
|
| /freebsd-14.2/sys/geom/vinum/ |
| H A D | geom_vinum_share.c | 85 cptr++; in gv_tokenize() 88 if ((*cptr == '\0') || (*cptr == '\n') || (*cptr == '#')) in gv_tokenize() 91 delim = *cptr; in gv_tokenize() 102 cptr++; in gv_tokenize() 105 if ((*cptr == delim) && (cptr[-1] != '\\')) { in gv_tokenize() 106 cptr++; in gv_tokenize() 113 *cptr++ = '\0'; in gv_tokenize() 116 } else if ((*cptr == '\0') || (*cptr == '\n')) in gv_tokenize() 125 cptr++; in gv_tokenize() 128 if (*cptr != '\0') in gv_tokenize() [all …]
|
| /freebsd-14.2/sys/netinet/libalias/ |
| H A D | alias_pptp.c | 295 PptpCallId cptr; in AliasHandlePptpOut() local 315 GetAliasAddress(lnk), cptr->cid1); in AliasHandlePptpOut() 324 GetDestAddress(lnk), cptr->cid1); in AliasHandlePptpOut() 331 int accumulate = cptr->cid1; in AliasHandlePptpOut() 334 cptr->cid1 = GetAliasPort(pptp_lnk); in AliasHandlePptpOut() 338 accumulate -= cptr->cid1; in AliasHandlePptpOut() 344 codes = (PptpCode)(cptr + 1); in AliasHandlePptpOut() 348 SetDestCallId(pptp_lnk, cptr->cid2); in AliasHandlePptpOut() 367 PptpCallId cptr; in AliasHandlePptpIn() local 381 pcall_id = &cptr->cid1; in AliasHandlePptpIn() [all …]
|
| /freebsd-14.2/lib/libc/rpc/ |
| H A D | rpcb_clnt.c | 156 for (cptr = front; cptr != NULL; cptr = cptr->ac_next) { in check_cache() 163 return (cptr); in check_cache() 175 for (cptr = front; cptr != NULL; cptr = cptr->ac_next) { in delete_cache() 186 free(cptr); in delete_cache() 190 prevptr = cptr; in delete_cache() 238 cptr = front; in add_cache() 241 prevptr = cptr; in add_cache() 242 cptr = cptr->ac_next; in add_cache() 247 cptr->ac_host, cptr->ac_netid); in add_cache() 249 free(cptr->ac_host); in add_cache() [all …]
|
| /freebsd-14.2/sys/rpc/ |
| H A D | rpcb_clnt.c | 157 for (cptr = front; cptr != NULL; cptr = cptr->ac_next) { 164 return (cptr); 177 for (cptr = front; cptr != NULL; cptr = cptr->ac_next) { 189 free(cptr); 193 prevptr = cptr; 247 cptr = front; 250 prevptr = cptr; 251 cptr = cptr->ac_next; 256 cptr->ac_host, cptr->ac_netid); 262 if (cptr->ac_uaddr) [all …]
|
| /freebsd-14.2/contrib/ntp/ntpd/ |
| H A D | refclock_nmea.c | 1265 data->cptr = cptr; in field_init() 1283 data->cptr++; in field_init() 1287 if (*cptr < 'A' || *cptr > 'Z') in field_init() 1289 cs_l ^= *cptr++; in field_init() 1290 while ((*cptr >= 'A' && *cptr <= 'Z') || in field_init() 1291 (*cptr >= '0' && *cptr <= '9') ) in field_init() 1293 if (*cptr != ',' || (cptr - data->base) < NMEA_PROTO_IDLEN) in field_init() 1298 while (*cptr && *cptr != '*') in field_init() 1304 if (*cptr != '*' || cptr != eptr - 3 || in field_init() 1308 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-14.2/sys/netgraph/ |
| H A D | ng_lmi.c | 313 char *cptr, *start; in nglmi_inquire() local 337 cptr = start = mtod(m, char *); in nglmi_inquire() 339 *cptr++ = 0x03; /* UI frame */ in nglmi_inquire() 345 *cptr++ = 0x75; /* inquiry */ in nglmi_inquire() 352 *cptr++ = 0x51; /* report type */ in nglmi_inquire() 354 *cptr++ = 0x01; /* report type */ in nglmi_inquire() 355 *cptr++ = 0x01; /* size = 1 */ in nglmi_inquire() 357 *cptr++ = 0x00; /* full */ in nglmi_inquire() 359 *cptr++ = 0x01; /* partial */ in nglmi_inquire() 367 *cptr++ = sc->local_seq; in nglmi_inquire() [all …]
|
| /freebsd-14.2/lib/libc/nls/ |
| H A D | msgcat.c | 131 char *base, *cptr, *cptr1, *nlspath, *pathP, *pcode; in __catopen_l() local 184 if ((cptr = strchr(cptr1, '@')) != NULL) in __catopen_l() 185 *cptr = '\0'; in __catopen_l() 187 if ((cptr = strchr(cptr1, '_')) != NULL) { in __catopen_l() 188 *cptr++ = '\0'; in __catopen_l() 189 pter = cptr1 = cptr; in __catopen_l() 191 if ((cptr = strchr(cptr1, '.')) != NULL) { in __catopen_l() 192 *cptr++ = '\0'; in __catopen_l() 193 pcode = cptr; in __catopen_l() 199 if ((base = cptr = strdup(nlspath)) == NULL) { in __catopen_l() [all …]
|
| /freebsd-14.2/sys/dev/mlxfw/ |
| H A D | mlxfw_mfa2.c | 144 const struct mlxfw_mfa2_tlv_component_ptr *cptr; in mlxfw_mfa2_file_dev_validate() local 199 cptr = mlxfw_mfa2_tlv_component_ptr_get(mfa2_file, tlv); in mlxfw_mfa2_file_dev_validate() 200 if (!cptr) { in mlxfw_mfa2_file_dev_validate() 207 be16_to_cpu(cptr->component_index)); in mlxfw_mfa2_file_dev_validate() 535 const struct mlxfw_mfa2_tlv_component_ptr *cptr; in mlxfw_mfa2_file_component_find() local 550 cptr = mlxfw_mfa2_tlv_component_ptr_get(mfa2_file, cptr_tlv); in mlxfw_mfa2_file_component_find() 551 if (!cptr) in mlxfw_mfa2_file_component_find() 554 comp_idx = be16_to_cpu(cptr->component_index); in mlxfw_mfa2_file_component_find()
|
| /freebsd-14.2/lib/libutil/ |
| H A D | login_cap.c | 203 const char *cptr; in arrayize() local 207 for (i = 0, cptr = str; *cptr; i++) { in arrayize() 208 int count = strcspn_quote(cptr, chars, NULL); in arrayize() 209 cptr += count; in arrayize() 210 if (*cptr) in arrayize() 211 ++cptr; in arrayize()
|
| /freebsd-14.2/usr.bin/sort/ |
| H A D | bwstring.c | 332 size_t charlen, chars, cptr; in bwscsbdup() local 335 cptr = 0; in bwscsbdup() 340 while (cptr < len) { in bwscsbdup() 343 if (n > len - cptr) in bwscsbdup() 344 n = len - cptr; in bwscsbdup() 345 charlen = mbrlen(s + cptr, n, &mbs); in bwscsbdup() 353 (unsigned char) s[cptr]; in bwscsbdup() 354 ++cptr; in bwscsbdup() 358 s + cptr, charlen, &mbs); in bwscsbdup() 362 cptr += charlen; in bwscsbdup()
|
| /freebsd-14.2/usr.bin/top/ |
| H A D | top.c | 782 const struct command *cptr; in main() local 799 cptr = all_commands; in main() 800 while (cptr->c != '\0') { in main() 801 if (cptr->c == ch) { in main() 804 cptr++; in main() 806 if (cptr->c == '\0') { in main() 811 if (overstrike && !cptr->available_to_dumb) in main() 819 switch(cptr->id) in main()
|
| /freebsd-14.2/contrib/bsnmp/lib/ |
| H A D | asn1.h | 41 const u_char *cptr; member 45 #define asn_cptr asn_u.cptr
|
| /freebsd-14.2/usr.sbin/bsnmpd/tools/libbsnmptools/ |
| H A D | bsnmptools.c | 2085 char *cptr, engine[2 * SNMP_ENGINE_ID_SIZ + 2]; in snmp_output_engine() local 2087 cptr = engine; in snmp_output_engine() 2089 cptr += sprintf(cptr, "%.2x", snmp_client.engine.engine_id[i]); in snmp_output_engine() 2090 *cptr++ = '\0'; in snmp_output_engine() 2102 char *cptr, extkey[2 * SNMP_AUTH_KEY_SIZ + 2]; in snmp_output_keys() local 2113 cptr = extkey; in snmp_output_keys() 2115 cptr += sprintf(cptr, "%.2x", in snmp_output_keys() 2117 *cptr++ = '\0'; in snmp_output_keys() 2129 cptr = extkey; in snmp_output_keys() 2131 cptr += sprintf(cptr, "%.2x", in snmp_output_keys() [all …]
|
| /freebsd-14.2/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-14.2/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-14.2/lib/libc/gen/ |
| H A D | getnetgrent.c | 457 const char *cptr; local 465 cptr = ptr; 468 if (strncmp(cptr, group, glen) == 0 && glen == (ptr - cptr))
|
| /freebsd-14.2/contrib/bc/src/ |
| H A D | library.c | 1182 BclNum* cptr; in bcl_modexp_helper() local 1203 cptr = BCL_NUM(ctxt, c); in bcl_modexp_helper() 1205 assert(aptr != NULL && bptr != NULL && cptr != NULL); in bcl_modexp_helper() 1207 BCL_NUM_NUM(cptr) != NULL); in bcl_modexp_helper() 1212 req = bc_num_divReq(BCL_NUM_NUM(aptr), BCL_NUM_NUM(cptr), 0); in bcl_modexp_helper() 1217 bc_num_modexp(BCL_NUM_NUM(aptr), BCL_NUM_NUM(bptr), BCL_NUM_NUM(cptr), in bcl_modexp_helper() 1227 if (c.i != a.i && c.i != b.i) bcl_num_dtor(ctxt, c, cptr); in bcl_modexp_helper()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Interpreter/ |
| H A D | CommandInterpreter.cpp | 2293 const char *cptr = in_string; in GetOptionArgumentPosition() local 2296 if (cptr[0] == '%') { in GetOptionArgumentPosition() 2297 ++cptr; in GetOptionArgumentPosition() 2300 if (isdigit(cptr[0])) { in GetOptionArgumentPosition() 2301 const char *start = cptr; in GetOptionArgumentPosition() 2302 while (isdigit(cptr[0])) in GetOptionArgumentPosition() 2303 ++cptr; in GetOptionArgumentPosition() 2307 if (cptr[0] == '\0') in GetOptionArgumentPosition()
|