Searched refs:endptr (Results 1 – 10 of 10) sorted by relevance
/openssl/test/ |
H A D | bio_prefix_text.c | 143 char *endptr; in setup() local 164 amount = strtoul(arg, &endptr, 10); in setup() 165 if (endptr[0] != '\0') { in setup() 191 idx = strtoul(arg, &endptr, 10); in setup() 192 if (endptr[0] != ':') { in setup() 202 indent = strtoul(colon, &endptr, 10); in setup() 203 if (endptr[0] != '\0') { in setup() 229 idx = strtoul(arg, &endptr, 10); in setup() 230 if (endptr[0] != ':') { in setup()
|
H A D | strtoultest.c | 71 char *endptr = NULL; in test_strtoul() local 78 err = OPENSSL_strtoul(test->input, &endptr, test->base, &val); in test_strtoul() 88 if (!TEST_ptr_eq(endptr, &test->input[test->expect_endptr_offset])) in test_strtoul()
|
H A D | evp_test.c | 1046 char *endptr; in cipher_test_parse() local 1048 cdat->tls_version = (int)strtol(value, &endptr, 0); in cipher_test_parse() 1049 return value[0] != '\0' && endptr[0] == '\0'; in cipher_test_parse()
|
/openssl/crypto/x509/ |
H A D | v3_tlsf.c | 91 char *extval, *endptr; in v2i_TLS_FEATURE() local 116 tlsextid = strtol(extval, &endptr, 10); in v2i_TLS_FEATURE() 117 if (((*endptr) != '\0') || (extval == endptr) || (tlsextid < 0) || in v2i_TLS_FEATURE()
|
/openssl/crypto/ |
H A D | o_str.c | 123 int OPENSSL_strtoul(const char *str, char **endptr, int base, in OPENSSL_strtoul() argument 127 char **internal_endptr = endptr == NULL ? &tmp_endptr : endptr; in OPENSSL_strtoul() 155 (endptr == NULL && **internal_endptr != '\0') || in OPENSSL_strtoul()
|
/openssl/apps/ |
H A D | rehash.c | 201 char linktarget[PATH_MAX], *endptr; in handle_symlink() local 220 id = strtoul(&filename[i], &endptr, 10); in handle_symlink() 221 if (*endptr != '\0') in handle_symlink()
|
/openssl/doc/man3/ |
H A D | OPENSSL_malloc.pod | 39 int OPENSSL_strtoul(char *src, char **endptr, int base, unsigned long *num); 225 endptr value was NULL 236 OPENSSL_strtoul("0x12345", &endptr, 10, &num); 239 *endptr = 'x'. Be sure to validate how much data was consumed when calling this
|
/openssl/apps/lib/ |
H A D | opt.c | 682 char *endptr; in opt_ulong() local 686 l = strtoul(value, &endptr, 0); in opt_ulong() 687 if (*endptr in opt_ulong() 688 || endptr == value in opt_ulong()
|
/openssl/ssl/ |
H A D | ssl_conf.c | 665 char *endptr = NULL; in cmd_RecordPadding() local 675 if (!OPENSSL_strtoul(commap + 1, &endptr, 0, &hs_padding)) in cmd_RecordPadding() 678 if (!OPENSSL_strtoul(copy, &endptr, 0, &block_padding)) in cmd_RecordPadding()
|
/openssl/include/openssl/ |
H A D | crypto.h.in | 137 int OPENSSL_strtoul(const char *str, char **endptr, int base, unsigned long *num);
|
Completed in 48 milliseconds