| /lib/ |
| A D | strto.c | 63 cp = _parse_integer_fixup_radix(cp, &base); in simple_strtoul() 67 cp++; in simple_strtoul() 71 *endp = (char *)cp; in simple_strtoul() 78 return simple_strtoul(cp, endp, 16); in hextoul() 98 len = strlen(cp); in strict_strtoul() 103 if (tail == cp) in strict_strtoul() 117 if (*cp == '-') in simple_strtol() 171 cp = _parse_integer_fixup_radix(cp, &base); in simple_strtoull() 175 cp++; in simple_strtoull() 179 *endp = (char *) cp; in simple_strtoull() [all …]
|
| A D | uuid.c | 37 #define hextoul(cp, endp) strtoul(cp, endp, 16) argument 38 #define hextoull(cp, endp) strtoull(cp, endp, 16) argument
|
| /lib/lwip/lwip/src/netif/ppp/ |
| A D | vj.c | 77 *cp++ = 0; \ 80 cp += 2; \ 90 cp += 2; \ 98 u32_t tmp_ = lwip_ntohl(f) + ((cp[1] << 8) | cp[2]); \ 100 cp += 3; \ 111 cp += 3; \ 120 (f) = lwip_htons(((u16_t)cp[1] << 8) | cp[2]); \ 121 cp += 3; \ 499 u8_t *cp; in vj_uncompress_tcp() local 537 th->chksum = lwip_htons((*cp << 8) | cp[1]); in vj_uncompress_tcp() [all …]
|
| A D | chap-md5.c | 52 static void chap_md5_generate_challenge(ppp_pcb *pcb, unsigned char *cp) { in chap_md5_generate_challenge() argument 57 *cp++ = clen; in chap_md5_generate_challenge() 58 magic_random_bytes(cp, clen); in chap_md5_generate_challenge()
|
| A D | eap.c | 400 char *cp; local 430 char *cp, *cp2; in eap_figure_next_state() local 521 if (*cp++ != ':' || id < 0) in eap_figure_next_state() 547 cp); in eap_figure_next_state() 784 MEMCPY(clear + 1, cp, j); in eap_send_request() 786 cp += j; in eap_send_request() 799 cp += 8; in eap_send_request() 803 MEMCPY(clear, cp, i); in eap_send_request() 804 cp += i; in eap_send_request() 830 cp = dig; in eap_send_request() [all …]
|
| /lib/lwip/lwip/src/include/netif/ppp/ |
| A D | ppp_impl.h | 504 #define GETCHAR(c, cp) { \ argument 505 (c) = *(cp)++; \ 507 #define PUTCHAR(c, cp) { \ argument 508 *(cp)++ = (u_char) (c); \ 511 (s) = *(cp)++ << 8; \ 512 (s) |= *(cp)++; \ 516 *(cp)++ = (u_char) (s); \ 519 (l) = *(cp)++ << 8; \ 522 (l) |= *(cp)++; \ 531 #define INCPTR(n, cp) ((cp) += (n)) argument [all …]
|
| A D | eui64.h | 79 #define eui64_get(ll, cp) do { \ argument 80 eui64_copy((*cp), (ll)); \ 81 (cp) += sizeof(eui64_t); \ 84 #define eui64_put(ll, cp) do { \ argument 85 eui64_copy((ll), (*cp)); \ 86 (cp) += sizeof(eui64_t); \
|
| /lib/lwip/lwip/src/core/ipv4/ |
| A D | ip4_addr.c | 123 ipaddr_addr(const char *cp) in ipaddr_addr() argument 127 if (ip4addr_aton(cp, &val)) { in ipaddr_addr() 145 ip4addr_aton(const char *cp, ip4_addr_t *addr) in ip4addr_aton() argument 153 c = *cp; in ip4addr_aton() 166 c = *++cp; in ip4addr_aton() 169 c = *++cp; in ip4addr_aton() 179 c = *++cp; in ip4addr_aton() 182 c = *++cp; in ip4addr_aton() 198 c = *++cp; in ip4addr_aton()
|
| /lib/crypt/ |
| A D | crypt-sha256.c | 125 char *cp = (char *)output; in crypt_sha256crypt_rn() local 279 memcpy (cp, sha256_salt_prefix, sizeof (sha256_salt_prefix) - 1); in crypt_sha256crypt_rn() 280 cp += sizeof (sha256_salt_prefix) - 1; in crypt_sha256crypt_rn() 284 int n = snprintf (cp, in crypt_sha256crypt_rn() 287 cp += n; in crypt_sha256crypt_rn() 290 memcpy (cp, salt, salt_size); in crypt_sha256crypt_rn() 291 cp += salt_size; in crypt_sha256crypt_rn() 292 *cp++ = '$'; in crypt_sha256crypt_rn() 302 *cp++ = b64t[w & 0x3f]; \ in crypt_sha256crypt_rn() 319 *cp = '\0'; in crypt_sha256crypt_rn()
|
| A D | crypt-sha512.c | 126 char *cp = (char *)output; in crypt_sha512crypt_rn() local 283 memcpy (cp, sha512_salt_prefix, sizeof (sha512_salt_prefix) - 1); in crypt_sha512crypt_rn() 284 cp += sizeof (sha512_salt_prefix) - 1; in crypt_sha512crypt_rn() 288 int n = snprintf (cp, in crypt_sha512crypt_rn() 291 cp += n; in crypt_sha512crypt_rn() 294 memcpy (cp, salt, salt_size); in crypt_sha512crypt_rn() 295 cp += salt_size; in crypt_sha512crypt_rn() 296 *cp++ = '$'; in crypt_sha512crypt_rn() 306 *cp++ = b64t[w & 0x3f]; \ in crypt_sha512crypt_rn() 334 *cp = '\0'; in crypt_sha512crypt_rn()
|
| A D | crypt-port.h | 18 #define strtoul(cp, endp, base) simple_strtoul(cp, endp, base) argument
|
| /lib/lwip/lwip/src/core/ |
| A D | ip.c | 123 ipaddr_aton(const char *cp, ip_addr_t *addr) in ipaddr_aton() argument 125 if (cp != NULL) { in ipaddr_aton() 127 for (c = cp; *c != 0; c++) { in ipaddr_aton() 133 return ip6addr_aton(cp, ip_2_ip6(addr)); in ipaddr_aton() 143 return ip4addr_aton(cp, ip_2_ip4(addr)); in ipaddr_aton()
|
| /lib/mbedtls/external/mbedtls/scripts/ |
| A D | code_style.py | 131 cp = subprocess.run(diff_cmd, check=False) 133 if cp.returncode == 1: 136 elif cp.returncode != 0: 137 raise subprocess.CalledProcessError(cp.returncode, cp.args, 138 cp.stdout, cp.stderr)
|
| A D | footprint.sh | 58 cp $CONFIG_H ${CONFIG_H}.bak 60 cp "$FILE" $CONFIG_H 79 cp ${CONFIG_H}.bak $CONFIG_H
|
| A D | memory.sh | 51 cp configs/config-$NAME.h $CONFIG_H 100 cp $CONFIG_H $CONFIG_BAK 109 cp programs/ssl/ssl_server2 .
|
| A D | apidoc_full.sh | 23 cp -p $CONFIG_H $CONFIG_BAK
|
| /lib/efi_selftest/ |
| A D | efi_selftest_register_notify.c | 49 struct context *cp = context; in notify() local 53 cp->notify_count++; in notify() 56 cp->ret = boottime->locate_handle_buffer(BY_REGISTER_NOTIFY, in notify() 58 cp->registration_key, in notify() 61 if (cp->ret != EFI_SUCCESS) in notify() 63 cp->handle_count += handle_count; in notify() 64 cp->handles = handles; in notify()
|
| /lib/lwip/lwip/src/include/lwip/ |
| A D | inet.h | 156 #define inet_addr(cp) ipaddr_addr(cp) argument 157 #define inet_aton(cp, addr) ip4addr_aton(cp, (ip4_addr_t*)addr) argument 175 #define inet6_aton(cp, addr) ip6addr_aton(cp, (ip6_addr_t*)addr) argument
|
| A D | ip_addr.h | 265 int ipaddr_aton(const char *cp, ip_addr_t *addr); 336 #define ipaddr_aton(cp, addr) ip4addr_aton(cp, addr) argument 387 #define ipaddr_aton(cp, addr) ip6addr_aton(cp, addr) argument
|
| /lib/lwip/lwip/src/apps/snmp/ |
| A D | snmpv3_mbedtls.c | 246 u8_t *cp, password_buf[64]; in snmpv3_password_to_key_md5() local 258 cp = password_buf; in snmpv3_password_to_key_md5() 264 *cp++ = password[password_index++ % passwordlen]; in snmpv3_password_to_key_md5() 299 u8_t *cp, password_buf[72]; in snmpv3_password_to_key_sha() local 311 cp = password_buf; in snmpv3_password_to_key_sha() 317 *cp++ = password[password_index++ % passwordlen]; in snmpv3_password_to_key_sha()
|
| /lib/mbedtls/external/mbedtls/ |
| A D | Makefile | 97 cp -rp include/mbedtls $(DESTDIR)/include 99 cp -rp include/psa $(DESTDIR)/include 102 cp -RP library/libmbedtls.* $(DESTDIR)/lib 103 cp -RP library/libmbedx509.* $(DESTDIR)/lib 104 cp -RP library/libmbedcrypto.* $(DESTDIR)/lib 111 cp $$p $(DESTDIR)/bin/$$f ; \
|
| /lib/lwip/lwip/contrib/examples/snmp/snmp_private_mib/ |
| A D | lwip_prvmib.c | 177 char *buf, *ebuf, *cp; in lwip_privmib_init() local 213 cp = buf; in lwip_privmib_init() 214 while (cp < ebuf) in lwip_privmib_init() 216 dp = (struct dirent *)cp; in lwip_privmib_init() 225 cp += dp->d_reclen; in lwip_privmib_init()
|
| /lib/mbedtls/external/mbedtls/tests/ |
| A D | Makefile | 216 cp -Rf ../library ./libtestdriver1 217 cp -Rf ../include ./libtestdriver1 218 cp -Rf ../scripts ./libtestdriver1 223 cp ./include/test/drivers/config_test_driver.h ./libtestdriver1/include/mbedtls/mbedtls_config.h 242 cp ./libtestdriver1/library/libmbedcrypto.a ../library/libtestdriver1.a
|
| /lib/lwip/lwip/src/core/ipv6/ |
| A D | ip6_addr.c | 72 ip6addr_aton(const char *cp, ip6_addr_t *addr) in ip6addr_aton() argument 83 for (s = cp; *s != 0; s++) { in ip6addr_aton() 107 for (s = cp; *s != 0; s++) { in ip6addr_aton()
|
| /lib/mbedtls/external/mbedtls/tests/suites/ |
| A D | test_suite_lms.data | 24 # * cp data_files/lms_pyhsslms_sha256_m32_h5_lmots_sha256_n32_w8_prv tmp/lms.prv 25 # * cp data_files/lms_pyhsslms_sha256_m32_h5_lmots_sha256_n32_w8_pub tmp/lms.pub 64 # * cp data_files/lms_pyhsslms_sha256_m32_h5_lmots_sha256_n32_w8_prv tmp/lms.prv 78 # * cp data_files/lms_pyhsslms_sha256_m32_h5_lmots_sha256_n32_w8 tmp/lms.pub 96 # * cp data_files/lms_hash-sigs_sha256_m32_h5_lmots_sha256_n32_w8_prv tmp/lms.prv 97 # * cp data_files/lms_hash-sigs_sha256_m32_h5_lmots_sha256_n32_w8_aux tmp/lms.aux 106 # * cp data_files/lms_hash-sigs_sha256_m32_h5_lmots_sha256_n32_w8_pub tmp/lms.pub 124 # * cp data_files/lms_hash-sigs_sha256_m32_h5_lmots_sha256_n32_w8_prv tmp/lms.prv 125 # * cp data_files/lms_hash-sigs_sha256_m32_h5_lmots_sha256_n32_w8_aux tmp/lms.aux 136 # * cp data_files/lms_hash-sigs_sha256_m32_h5_lmots_sha256_n32_w8_pub tmp/lms.pub
|