|
Tor 0.4.9.8
|
Integer definitions used throughout Tor. More...
#include "orconfig.h"#include <stdint.h>#include <stdbool.h>#include <limits.h>Go to the source code of this file.
Macros | |
| #define | TIME_MAX ((time_t)INT_MAX) |
| #define | TIME_MIN ((time_t)INT_MIN) |
| #define | TOR_PRIuSZ "zu" |
| #define | TOR_PRIdSZ "zd" |
| #define | SSIZE_T_CEILING ((ssize_t)(SSIZE_MAX-16)) |
| #define | SIZE_T_CEILING ((size_t)(SSIZE_MAX-16)) |
Integer definitions used throughout Tor.
Definition in file torint.h.
| #define SIZE_T_CEILING ((size_t)(SSIZE_MAX-16)) |
Any size_t larger than this amount is likely to be an underflow.
Definition at line 126 of file torint.h.
Referenced by alloc_chunk(), base16_encode(), base32_decode(), base32_encode(), base64_encode(), buf_preferred_chunk_size(), compute_padded_plaintext_length(), crypto_add_spaces_to_fp(), crypto_cipher_crypt_inplace(), crypto_cipher_decrypt(), crypto_cipher_encrypt(), crypto_pk_obsolete_private_hybrid_decrypt(), crypto_pk_obsolete_public_hybrid_encrypt(), crypto_pk_public_checksig_digest(), guess_compress_size(), memarea_alloc(), memarea_strndup(), memwipe(), networkstatus_parse_detached_signatures(), networkstatus_parse_vote_from_string(), port_cfg_new(), read_all_from_fd(), read_all_from_socket(), read_file_to_str_until_eof(), secret_to_key_rfc2440(), tor_compress_impl(), tor_malloc_(), tor_memdup_(), tor_memdup_nulterm_(), tor_realloc_(), tor_strndup_(), tor_vsnprintf(), and write_escaped_data().
| #define SSIZE_T_CEILING ((ssize_t)(SSIZE_MAX-16)) |