/PHP-8.2/sapi/cli/ |
H A D | cli.h | 29 extern PHP_CLI_API ssize_t sapi_cli_single_write(const char *str, size_t str_length); 32 size_t (*cli_shell_write)(const char *str, size_t str_length); 33 size_t (*cli_shell_ub_write)(const char *str, size_t str_length);
|
/PHP-8.2/ext/openssl/ |
H A D | php_openssl.h | 97 const char *file_path, size_t file_path_len, char *real_path, uint32_t arg_num, 129 const char *data, size_t data_len, 130 const char *method, size_t method_len, 131 const char *password, size_t password_len, 133 const char *iv, size_t iv_len, 135 const char *aad, size_t aad_len); 137 const char *data, size_t data_len, 138 const char *method, size_t method_len, 139 const char *password, size_t password_len, 141 const char *iv, size_t iv_len, [all …]
|
/PHP-8.2/ext/iconv/ |
H A D | iconv.c | 323 size_t len; in php_iconv_output_handler() 557 size_t in_left; in _php_iconv_strlen() 562 size_t cnt; in _php_iconv_strlen() 633 size_t in_left; in _php_iconv_substr() 638 size_t cnt; in _php_iconv_substr() 766 size_t in_left; in _php_iconv_strpos() 771 size_t cnt; in _php_iconv_strpos() 1798 size_t retval; in PHP_FUNCTION() 1874 size_t retval; in PHP_FUNCTION() 1931 size_t retval; in PHP_FUNCTION() [all …]
|
/PHP-8.2/sapi/fpm/fpm/ |
H A D | zlog.h | 19 void zlog_set_external_logger(void (*logger)(int, char *, size_t)); 27 size_t zlog_print_time(struct timeval *tv, char *timebuf, size_t timebuf_len); 61 size_t size; 82 size_t len; 83 size_t buf_init_size; 84 size_t prefix_len; 86 size_t msg_prefix_len; 88 size_t msg_suffix_len; 90 size_t msg_final_suffix_len; 110 ssize_t zlog_stream_str(struct zlog_stream *stream, const char *str, size_t str_len);
|
/PHP-8.2/ext/hash/sha3/generic32lc/ |
H A D | KeccakSponge.h | 67 …t capacity, const unsigned char *input, size_t inputByteLen, unsigned char suffix, unsigned char *… 91 int Prefix_SpongeAbsorb(Prefix_SpongeInstance *spongeInstance, const unsigned char *data, size_t da… 127 int Prefix_SpongeSqueeze(Prefix_SpongeInstance *spongeInstance, unsigned char *data, size_t dataByt… 142 …t capacity, const unsigned char *input, size_t inputByteLen, unsigned char suffix, unsigned char *… 144 …geAbsorb(prefix##_SpongeInstance *spongeInstance, const unsigned char *data, size_t dataByteLen); \ 146 …int prefix##_SpongeSqueeze(prefix##_SpongeInstance *spongeInstance, unsigned char *data, size_t da…
|
/PHP-8.2/ext/hash/sha3/generic64lc/ |
H A D | KeccakSponge.h | 67 …t capacity, const unsigned char *input, size_t inputByteLen, unsigned char suffix, unsigned char *… 91 int Prefix_SpongeAbsorb(Prefix_SpongeInstance *spongeInstance, const unsigned char *data, size_t da… 127 int Prefix_SpongeSqueeze(Prefix_SpongeInstance *spongeInstance, unsigned char *data, size_t dataByt… 142 …t capacity, const unsigned char *input, size_t inputByteLen, unsigned char suffix, unsigned char *… 144 …geAbsorb(prefix##_SpongeInstance *spongeInstance, const unsigned char *data, size_t dataByteLen); \ 146 …int prefix##_SpongeSqueeze(prefix##_SpongeInstance *spongeInstance, unsigned char *data, size_t da…
|
/PHP-8.2/ext/mysqlnd/ |
H A D | mysqlnd_wireprotocol.h | 53 size_t size; 86 size_t auth_data_len; 97 size_t db_len; 109 size_t message_len; 116 size_t new_auth_protocol_len; 126 size_t auth_data_len; 139 size_t message_len; 263 size_t new_auth_protocol_len; 277 size_t public_key_len; 286 size_t password_len; [all …]
|
/PHP-8.2/ext/fileinfo/libmagic/ |
H A D | encoding.c | 47 size_t *); 49 size_t *); 51 size_t *); 53 size_t *); 55 size_t *); 57 size_t *); 81 size_t mlen; in file_encoding() 365 size_t i; in file_looks_utf8() 476 size_t i; in looks_ucs16() 515 size_t i; in looks_ucs32() [all …]
|
H A D | compress.c | 216 size_t *); 220 size_t *); 224 size_t *); 251 size_t i, nsz; in file_zmagic() 361 size_t rn = n; in swrite() 527 size_t bytes_max, size_t *n) in uncompressgzipped() 562 size_t bytes_max, size_t *n, int zlib) in uncompresszlib() 606 size_t bytes_max, size_t *n) in uncompressbzlib() 649 size_t bytes_max, size_t *n) in uncompressxzlib() 719 size_t i; in closep() [all …]
|
H A D | magic.c | 334 ms->name_max = CAST(uint16_t, *CAST(const size_t *, val)); in magic_setparam() 349 ms->bytes_max = *CAST(const size_t *, val); in magic_setparam() 352 ms->encoding_max = *CAST(const size_t *, val); in magic_setparam() 367 *CAST(size_t *, val) = ms->indir_max; in magic_getparam() 370 *CAST(size_t *, val) = ms->name_max; in magic_getparam() 373 *CAST(size_t *, val) = ms->elf_phnum_max; in magic_getparam() 376 *CAST(size_t *, val) = ms->elf_shnum_max; in magic_getparam() 379 *CAST(size_t *, val) = ms->elf_notes_max; in magic_getparam() 382 *CAST(size_t *, val) = ms->regex_max; in magic_getparam() 385 *CAST(size_t *, val) = ms->bytes_max; in magic_getparam() [all …]
|
H A D | ascmagic.c | 54 size_t); 55 private size_t trim_nuls(const unsigned char *, size_t); 61 private size_t 74 size_t ulen = 0; in file_ascmagic() 111 size_t nbytes = b->flen; in file_ascmagic_with_encoding() 113 size_t mlen, i, len; in file_ascmagic_with_encoding() 130 size_t last_line_end = CAST(size_t, -1); in file_ascmagic_with_encoding() 131 size_t has_long_lines = 0; in file_ascmagic_with_encoding() 197 size_t ll = i - last_line_end; in file_ascmagic_with_encoding() 346 encode_utf8(unsigned char *buf, size_t len, file_unichar_t *ubuf, size_t ulen) in encode_utf8() [all …]
|
/PHP-8.2/ext/standard/ |
H A D | url_scanner_ex.h | 26 …_url_scanner_adapt_single_url(const char *url, size_t urllen, const char *name, const char *value,… 27 … int php_url_scanner_add_session_var(const char *name, size_t name_len, const char *value, size_t … 30 PHPAPI int php_url_scanner_add_var(const char *name, size_t name_len, const char *value, size_t val…
|
H A D | crc32_x86.h | 44 size_t crc32_x86_simd_update(X86_CRC32_TYPE type, uint32_t *crc, const unsigned char *p, size_t nr); 46 static inline size_t crc32_x86_simd_update(X86_CRC32_TYPE type, uint32_t *crc, const unsigned char … in crc32_x86_simd_update()
|
H A D | formatted_print.c | 85 size_t min_width, size_t max_width, char padding, in php_sprintf_appendstring() 88 size_t npad; in php_sprintf_appendstring() 89 size_t req_size; in php_sprintf_appendstring() 90 size_t copy_len; in php_sprintf_appendstring() 91 size_t m_width; in php_sprintf_appendstring() 142 size_t width, char padding, size_t alignment, in php_sprintf_appendint() 187 size_t width, char padding, size_t alignment) in php_sprintf_appenduint() 325 size_t width, char padding, size_t alignment, int n, in php_sprintf_append2n() 359 size_t i; in php_sprintf_getnumber() 809 size_t rlen; in PHP_FUNCTION() [all …]
|
/PHP-8.2/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_ucs2.c | 34 static size_t mb_ucs2_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, u… 35 static size_t mb_ucs2be_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize,… 36 static void mb_wchar_to_ucs2be(uint32_t *in, size_t len, mb_convert_buf *buf, bool end); 37 static size_t mb_ucs2le_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize,… 38 static void mb_wchar_to_ucs2le(uint32_t *in, size_t len, mb_convert_buf *buf, bool end); 238 static size_t mb_ucs2_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, u… in mb_ucs2_to_wchar() 267 static size_t mb_ucs2be_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize,… in mb_ucs2be_to_wchar() 290 static void mb_wchar_to_ucs2be(uint32_t *in, size_t len, mb_convert_buf *buf, bool end) in mb_wchar_to_ucs2be() 309 static size_t mb_ucs2le_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize,… in mb_ucs2le_to_wchar() 332 static void mb_wchar_to_ucs2le(uint32_t *in, size_t len, mb_convert_buf *buf, bool end) in mb_wchar_to_ucs2le()
|
H A D | mbfilter_7bit.c | 34 static size_t mb_7bit_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, u… 35 static void mb_wchar_to_7bit(uint32_t *in, size_t len, mb_convert_buf *buf, bool end); 88 static size_t mb_7bit_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, u… in mb_7bit_to_wchar() 103 static void mb_wchar_to_7bit(uint32_t *in, size_t len, mb_convert_buf *buf, bool end) in mb_wchar_to_7bit()
|
H A D | mbfilter_utf32.c | 34 static size_t mb_utf32_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, … 35 static size_t mb_utf32be_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize… 36 static void mb_wchar_to_utf32be(uint32_t *in, size_t len, mb_convert_buf *buf, bool end); 37 static size_t mb_utf32le_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize… 38 static void mb_wchar_to_utf32le(uint32_t *in, size_t len, mb_convert_buf *buf, bool end); 251 static size_t mb_utf32_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, … in mb_utf32_to_wchar() 282 static size_t mb_utf32be_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize… in mb_utf32be_to_wchar() 312 static void mb_wchar_to_utf32be(uint32_t *in, size_t len, mb_convert_buf *buf, bool end) in mb_wchar_to_utf32be() 331 static size_t mb_utf32le_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize… in mb_utf32le_to_wchar() 361 static void mb_wchar_to_utf32le(uint32_t *in, size_t len, mb_convert_buf *buf, bool end) in mb_wchar_to_utf32le()
|
/PHP-8.2/main/ |
H A D | snprintf.h | 72 PHPAPI int ap_php_slprintf(char *buf, size_t len, const char *format,...) ZEND_ATTRIBUTE_FORMAT(pri… 73 PHPAPI int ap_php_vslprintf(char *buf, size_t len, const char *format, va_list ap); 74 PHPAPI int ap_php_snprintf(char *, size_t, const char *, ...) ZEND_ATTRIBUTE_FORMAT(printf, 3, 4); 75 PHPAPI int ap_php_vsnprintf(char *, size_t, const char *, va_list ap); 80 bool add_dp, int precision, char dec_point, bool * is_negative, char *buf, size_t *len); 131 bool * is_negative, char *buf_end, size_t *len); 134 char format, char *buf_end, size_t *len);
|
H A D | php_odbc_utils.c | 46 size_t length = strlen(str); in php_odbc_connstr_is_quoted() 47 for (size_t i = 0; i < length; i++) { in php_odbc_connstr_is_quoted() 78 PHPAPI size_t php_odbc_connstr_estimate_quote_length(const char *in_str) in php_odbc_connstr_estimate_quote_length() 91 PHPAPI size_t php_odbc_connstr_quote(char *out_str, const char *in_str, size_t out_str_size) in php_odbc_connstr_quote()
|
/PHP-8.2/Zend/ |
H A D | zend_range_check.h | 54 #define ZEND_SIZE_T_INT_OVFL(size) UNEXPECTED((size) > (size_t)INT_MAX) 56 # define ZEND_SIZE_T_UINT_OVFL(size) UNEXPECTED((size) > (size_t)UINT_MAX) 62 #define ZEND_SIZE_T_GT_ZEND_LONG(size, zlong) ((zlong) < 0 || (size) > (size_t)(zlong)) 63 #define ZEND_SIZE_T_GTE_ZEND_LONG(size, zlong) ((zlong) < 0 || (size) >= (size_t)(zlong)) 64 #define ZEND_SIZE_T_LT_ZEND_LONG(size, zlong) ((zlong) >= 0 && (size) < (size_t)(zlong)) 65 #define ZEND_SIZE_T_LTE_ZEND_LONG(size, zlong) ((zlong) >= 0 && (size) <= (size_t)(zlong))
|
H A D | zend_sort.h | 24 ZEND_API void zend_sort(void *base, size_t nmemb, size_t siz, compare_func_t cmp, swap_func_t swp); 25 ZEND_API void zend_insert_sort(void *base, size_t nmemb, size_t siz, compare_func_t cmp, swap_func_…
|
H A D | zend_string.c | 396 size_t len = ZSTR_LEN(s1); in zend_string_equal_val() 434 size_t len = ZSTR_LEN(s1); in zend_string_equal_val() 469 const char *str1, size_t str1_len, in zend_string_concat2() 470 const char *str2, size_t str2_len) in zend_string_concat2() 472 size_t len = str1_len + str2_len; in zend_string_concat2() 483 const char *str1, size_t str1_len, in zend_string_concat3() 484 const char *str2, size_t str2_len, in zend_string_concat3() 500 static size_t (*libc_strlcpy)(char *__restrict, const char *__restrict, size_t); 501 size_t strlcpy(char *__restrict dest, const char *__restrict src, size_t n) in strlcpy() 510 static size_t (*libc_strlcat)(char *__restrict, const char *__restrict, size_t); [all …]
|
H A D | zend_arena.h | 34 static zend_always_inline zend_arena* zend_arena_create(size_t size) in zend_arena_create() 53 static zend_always_inline void* zend_arena_alloc(zend_arena **arena_ptr, size_t size) in zend_arena_alloc() 60 if (EXPECTED(size <= (size_t)(arena->end - ptr))) { in zend_arena_alloc() 63 size_t arena_size = in zend_arena_alloc() 66 (size_t)(arena->end - (char*) arena); in zend_arena_alloc() 79 static zend_always_inline void* zend_arena_calloc(zend_arena **arena_ptr, size_t count, size_t unit… in zend_arena_calloc() 82 size_t size; in zend_arena_calloc() 140 static zend_always_inline zend_arena *zend_arena_create(size_t _size) in zend_arena_create() 163 static zend_always_inline void *zend_arena_alloc(zend_arena **arena_ptr, size_t size) in zend_arena_alloc() 175 static zend_always_inline void* zend_arena_calloc(zend_arena **arena_ptr, size_t count, size_t unit… in zend_arena_calloc() [all …]
|
/PHP-8.2/ext/ffi/ |
H A D | php_ffi.h | 204 size_t len; 209 zend_result zend_ffi_parse_decl(const char *str, size_t len); 210 zend_result zend_ffi_parse_type(const char *str, size_t len, zend_ffi_dcl *dcl); 215 bool zend_ffi_is_typedef_name(const char *name, size_t name_len); 216 void zend_ffi_resolve_typedef(const char *name, size_t name_len, zend_ffi_dcl *dcl); 217 void zend_ffi_resolve_const(const char *name, size_t name_len, zend_ffi_val *val); 230 void zend_ffi_declare(const char *name, size_t name_len, zend_ffi_dcl *dcl); 231 void zend_ffi_add_attribute(zend_ffi_dcl *dcl, const char *name, size_t name_len); 276 void zend_ffi_val_float_number(zend_ffi_val *val, const char *str, size_t str_len); 277 void zend_ffi_val_string(zend_ffi_val *val, const char *str, size_t str_len); [all …]
|
/PHP-8.2/ext/hash/ |
H A D | php_hash_fnv.h | 56 PHP_HASH_API void PHP_FNV132Update(PHP_FNV132_CTX *context, const unsigned char *input, size_t inpu… 57 PHP_HASH_API void PHP_FNV1a32Update(PHP_FNV132_CTX *context, const unsigned char *input, size_t inp… 61 PHP_HASH_API void PHP_FNV164Update(PHP_FNV164_CTX *context, const unsigned char *input, size_t inpu… 62 PHP_HASH_API void PHP_FNV1a64Update(PHP_FNV164_CTX *context, const unsigned char *input, size_t inp… 65 static uint32_t fnv_32_buf(void *buf, size_t len, uint32_t hval, int alternate); 66 static uint64_t fnv_64_buf(void *buf, size_t len, uint64_t hval, int alternate);
|