/php-src/ext/hash/ |
H A D | php_hash_gost_tables.h | 1 static const uint32_t tables_test[4][256] = { 140 static const uint32_t tables_crypto[4][256] = {
|
H A D | hash_ripemd.c | 211 output[i] = ((uint32_t) input[j + 0]) | (((uint32_t) input[j + 1]) << 8) | in RIPEMDDecode() 212 (((uint32_t) input[j + 2]) << 16) | (((uint32_t) input[j + 3]) << 24); in RIPEMDDecode() 223 uint32_t tmp, x[16]; in RIPEMD128Transform() 281 if ((context->count[0] += ((uint32_t) inputLen << 3)) < ((uint32_t) inputLen << 3)) { in PHP_RIPEMD128Update() 284 context->count[1] += (uint32_t) (inputLen >> 29); in PHP_RIPEMD128Update() 315 uint32_t tmp, x[16]; in RIPEMD256Transform() 380 if ((context->count[0] += ((uint32_t) inputLen << 3)) < ((uint32_t) inputLen << 3)) { in PHP_RIPEMD256Update() 414 uint32_t tmp, x[16]; in RIPEMD160Transform() 480 if ((context->count[0] += ((uint32_t) inputLen << 3)) < ((uint32_t) inputLen << 3)) { in PHP_RIPEMD160Update() 514 uint32_t tmp, x[16]; in RIPEMD320Transform() [all …]
|
H A D | hash_haval.c | 30 static const uint32_t D0[8] = { 33 static const uint32_t K2[32] = { 119 output[i] = ((uint32_t) input[j]) | (((uint32_t) input[j + 1]) << 8) | in Decode() 120 (((uint32_t) input[j + 2]) << 16) | (((uint32_t) input[j + 3]) << 24); in Decode() 141 uint32_t E[8]; in PHP_3HAVALTransform() 142 uint32_t x[32]; in PHP_3HAVALTransform() 174 uint32_t E[8]; in PHP_4HAVALTransform() 175 uint32_t x[32]; in PHP_4HAVALTransform() 210 uint32_t E[8]; in PHP_5HAVALTransform() 211 uint32_t x[32]; in PHP_5HAVALTransform() [all …]
|
H A D | php_hash_sha.h | 26 uint32_t state[8]; /* state */ 27 uint32_t count[2]; /* number of bits, modulo 2^64 */ 39 uint32_t state[8]; /* state */ 40 uint32_t count[2]; /* number of bits, modulo 2^64 */
|
H A D | php_hash_snefru.h | 28 uint32_t state[16]; 29 uint32_t count[2];
|
H A D | hash_joaat.c | 51 uint32_t hval = context->state; in PHP_JOAATFinal() 79 static uint32_t 80 joaat_buf(void *buf, size_t len, uint32_t hval) in joaat_buf()
|
/php-src/ext/standard/libavifinfo/ |
H A D | avifinfo.h | 38 uint32_t width, height; // In number of pixels. Ignores mirror and rotation. 39 uint32_t bit_depth; // Likely 8, 10 or 12 bits per channel per pixel. 40 uint32_t num_channels; // Likely 1, 2, 3 or 4 channels:
|
/php-src/Zend/ |
H A D | zend_vm.h | 30 …TCALL zend_vm_set_opcode_handler_ex(zend_op* opcode, uint32_t op1_info, uint32_t op2_info, uint32_…
|
H A D | zend_types.h | 136 uint32_t type_mask; 141 uint32_t num_types; 330 uint32_t w1; 331 uint32_t w2; 338 uint32_t type_info; 365 uint32_t type_info; 398 uint32_t flags; 469 (((size_t)-(uint32_t)(nTableMask)) * sizeof(uint32_t)) 744 static zend_always_inline uint32_t zval_gc_flags(uint32_t gc_type_info) { in zval_gc_flags() 748 static zend_always_inline uint32_t zval_gc_info(uint32_t gc_type_info) { in zval_gc_info() [all …]
|
H A D | zend_opcode.c | 55 op_array->refcount = (uint32_t *) emalloc(sizeof(uint32_t)); in init_op_array() 129 uint32_t i; in zend_free_internal_arg_info() 203 uint32_t i; in _destroy_zend_class_traits_info() 233 uint32_t j; in _destroy_zend_class_traits_info() 354 uint32_t i; in destroy_zend_class() 549 uint32_t i; in destroy_op_array() 714 zend_op_array *op_array, uint32_t var_num, uint32_t kind, uint32_t start, uint32_t end) { in emit_live_range_raw() 730 zend_op_array *op_array, uint32_t var_num, uint32_t start, uint32_t end, in emit_live_range() 734 uint32_t kind; in emit_live_range() 907 uint32_t tmp; in swap_live_range() [all …]
|
H A D | zend_ast.h | 184 uint32_t lineno; /* Line number */ 192 uint32_t lineno; 193 uint32_t children; 208 uint32_t start_lineno; 209 uint32_t end_lineno; 210 uint32_t flags; 296 zend_ast_kind kind, uint32_t flags, uint32_t start_lineno, zend_string *doc_comment, 315 static zend_always_inline size_t zend_ast_size(uint32_t children) { in zend_ast_size() 347 static zend_always_inline uint32_t zend_ast_get_num_children(zend_ast *ast) { in zend_ast_get_num_children() 351 static zend_always_inline uint32_t zend_ast_get_lineno(zend_ast *ast) { in zend_ast_get_lineno() [all …]
|
H A D | zend_gc.h | 35 uint32_t runs; 36 uint32_t collected; 37 uint32_t threshold; 38 uint32_t buf_size; 39 uint32_t num_roots;
|
/php-src/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_uuencode.c | 33 static size_t mb_uuencode_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsiz… 34 static void mb_wchar_to_uuencode(uint32_t *in, size_t len, mb_convert_buf *buf, bool end); 170 static size_t mb_uuencode_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsiz… in mb_uuencode_to_wchar() 175 uint32_t *out = buf, *limit = buf + bufsize; in mb_uuencode_to_wchar() 248 static void mb_wchar_to_uuencode(uint32_t *in, size_t len, mb_convert_buf *buf, bool end) in mb_wchar_to_uuencode() 295 uint32_t w = cached_bits; in mb_wchar_to_uuencode() 296 uint32_t w2 = 0, w3 = 0; in mb_wchar_to_uuencode() 307 uint32_t w2 = cached_bits; in mb_wchar_to_uuencode() 308 uint32_t w3 = 0; in mb_wchar_to_uuencode() 321 uint32_t w = *in++; in mb_wchar_to_uuencode() [all …]
|
H A D | mbfilter_utf8.c | 449 uint32_t *out = buf, *limit = buf + bufsize; in mb_utf8_to_wchar() 545 uint32_t w = *in++; in mb_wchar_to_utf8() 735 uint32_t *out = buf, *limit = buf + bufsize - 1; in mb_mobile_utf8_to_wchar() 843 uint32_t w = *in++; in mb_wchar_to_utf8_docomo() 849 uint32_t w2 = *in++; len--; in mb_wchar_to_utf8_docomo() 920 uint32_t w = *in++; in mb_wchar_to_utf8_kddi() 926 uint32_t w2 = *in++; len--; in mb_wchar_to_utf8_kddi() 941 uint32_t w2 = *in++; len--; in mb_wchar_to_utf8_kddi() 1032 uint32_t w = *in++; in mb_wchar_to_utf8_sb() 1038 uint32_t w2 = *in++; len--; in mb_wchar_to_utf8_sb() [all …]
|
/php-src/ext/pcre/pcre2lib/ |
H A D | pcre2_context.c | 334 pcre2_set_bsr(pcre2_compile_context *ccontext, uint32_t value) in pcre2_set_bsr() 356 pcre2_set_newline(pcre2_compile_context *ccontext, uint32_t newline) in pcre2_set_newline() 375 pcre2_set_max_varlookbehind(pcre2_compile_context *ccontext, uint32_t limit) in pcre2_set_max_varlookbehind() 382 pcre2_set_parens_nest_limit(pcre2_compile_context *ccontext, uint32_t limit) in pcre2_set_parens_nest_limit() 397 int (*guard)(uint32_t, void *), void *user_data) in pcre2_set_compile_recursion_guard() argument 427 pcre2_set_heap_limit(pcre2_match_context *mcontext, uint32_t limit) in pcre2_set_heap_limit() 434 pcre2_set_match_limit(pcre2_match_context *mcontext, uint32_t limit) in pcre2_set_match_limit() 441 pcre2_set_depth_limit(pcre2_match_context *mcontext, uint32_t limit) in pcre2_set_depth_limit() 461 pcre2_set_recursion_limit(pcre2_match_context *mcontext, uint32_t limit) in pcre2_set_recursion_limit() 484 pcre2_set_glob_separator(pcre2_convert_context *ccontext, uint32_t separator) in pcre2_set_glob_separator() [all …]
|
/php-src/Zend/Optimizer/ |
H A D | zend_dfg.h | 27 uint32_t size; 46 void zend_build_dfg(const zend_op_array *op_array, const zend_cfg *cfg, zend_dfg *dfg, uint32_t bui… 47 …fg_add_use_def_op(const zend_op_array *op_array, const zend_op *opline, uint32_t build_flags, zend…
|
H A D | nop_removal.c | 36 uint32_t new_count, i, shift; in zend_optimizer_nop_removal() 38 uint32_t *shiftlist; in zend_optimizer_nop_removal() 41 shiftlist = (uint32_t *)do_alloca(sizeof(uint32_t) * op_array->last, use_heap); in zend_optimizer_nop_removal()
|
H A D | zend_inference.h | 145 ZEND_API uint32_t ZEND_FASTCALL zend_array_type_info(const zval *zv); 148 static zend_always_inline uint32_t _const_op_type(const zval *zv) { in END_EXTERN_C() 154 uint32_t tmp = (1 << Z_TYPE_P(zv)); in END_EXTERN_C() 165 static zend_always_inline uint32_t get_ssa_var_info(const zend_ssa *ssa, int ssa_var_num) in get_ssa_var_info() 175 …static zend_always_inline uint32_t _ssa_##opN##_info(const zend_op_array *op_array, const zend_ssa… 185 …static zend_always_inline uint32_t _ssa_##opN##_def_info(const zend_op_array *op_array, const zend… 224 ZEND_API uint32_t zend_array_element_type(uint32_t t1, uint8_t op_type, int write, int insert); 228 ZEND_API uint32_t zend_fetch_arg_info_type( 232 uint32_t zend_get_return_info_from_signature_only( 236 …zend_ssa_op *ssa_op, const zend_op_array *op_array, const zend_ssa *ssa, uint32_t t1, uint32_t t2);
|
/php-src/ext/opcache/ |
H A D | ZendAccelerator.h | 116 uint32_t cache_slot; 127 uint32_t num_warnings; 128 uint32_t num_early_bindings; 231 uint32_t nTableMask; 232 uint32_t nNumOfElements; 239 typedef uint32_t zend_string_table_pos_t; 276 uint32_t uninitialized_bucket[-HT_MIN_MASK]; 333 uint32_t zend_accel_get_class_name_map_ptr(zend_string *type_name);
|
/php-src/ext/standard/ |
H A D | sha1.c | 131 (e) += F ((b), (c), (d)) + (w) + (uint32_t)(0x5A827999); \ 136 (e) += G ((b), (c), (d)) + (w) + (uint32_t)(0x6ED9EBA1); \ 141 (e) += H ((b), (c), (d)) + (w) + (uint32_t)(0x8F1BBCDC); \ 146 (e) += I ((b), (c), (d)) + (w) + (uint32_t)(0xCA62C1D6); \ 183 if ((context->count[0] += ((uint32_t) inputLen << 3)) in PHP_SHA1Update() 184 < ((uint32_t) inputLen << 3)) in PHP_SHA1Update() 186 context->count[1] += (uint32_t) (inputLen >> 29); in PHP_SHA1Update() 253 uint32_t a = state[0], b = state[1], c = state[2]; in SHA1Transform() 254 uint32_t d = state[3], e = state[4], x[16], tmp; in SHA1Transform() 383 output[i] = ((uint32_t) input[j + 3]) | (((uint32_t) input[j + 2]) << 8) | in SHA1Decode() [all …]
|
H A D | sha1.h | 24 uint32_t state[5]; /* state (ABCD) */ 25 uint32_t count[2]; /* number of bits, modulo 2^64 (lsb first) */
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_list.c | 130 void phpdbg_list_file(zend_string *filename, uint32_t count, int offset, uint32_t highlight) /* {{{… in phpdbg_list_file() 132 uint32_t line, lastline; in phpdbg_list_file() 152 uint32_t linestart = data->line[line++]; in phpdbg_list_file() 153 uint32_t linelen = data->line[line] - linestart; in phpdbg_list_file() 232 uint32_t line; in phpdbg_compile_file() 258 *(dataptr = emalloc(sizeof(phpdbg_file_source) + sizeof(uint32_t) * data.len)) = data; in phpdbg_compile_file() 262 dataptr->line[++line] = (uint32_t)(bufptr - data.buf) + 1; in phpdbg_compile_file() 267 dataptr = erealloc(dataptr, sizeof(phpdbg_file_source) + sizeof(uint32_t) * line); in phpdbg_compile_file() 316 uint32_t line; in phpdbg_compile_string() 329 dataptr->line[++line] = (uint32_t)(bufptr - dataptr->buf) + 1; in phpdbg_compile_string() [all …]
|
/php-src/ext/opcache/jit/ir/ |
H A D | ir_gdb.c | 184 uint32_t szmcode; /* Size of machine code. */ 196 uint32_t ofs = (uint32_t)(p - ctx->startp); in ir_gdbjit_strz() 218 for (; (uint32_t)(v+0x40) >= 0x80; v >>= 7) in ir_gdbjit_sleb128() 282 typedef IR_SET_ALIGNED(1, uint32_t unaligned_uint32_t); 302 static void ir_gdbjit_ehframe(ir_gdbjit_ctx *ctx, uint32_t sp_offset, uint32_t sp_adjustment) in ir_gdbjit_ehframe() 460 static void ir_gdbjit_buildobj(ir_gdbjit_ctx *ctx, uint32_t sp_offset, uint32_t sp_adjustment) in ir_gdbjit_buildobj() 497 uint32_t version; 498 uint32_t action_flag; 633 uint32_t sp_offset, in ir_gdb_register() 634 uint32_t sp_adjustment) in ir_gdb_register() [all …]
|
H A D | ir.c | 1397 uint32_t i; 1407 static uint32_t ir_hashtab_hash_size(uint32_t size) 1420 uint32_t old_hash_size = (uint32_t)(-(int32_t)tab->mask); 1463 uint32_t hash_size = (uint32_t)(-(int32_t)tab->mask); 1472 uint32_t pos = ((uint32_t*)data)[(int32_t)(key | tab->mask)]; 1488 uint32_t pos = ((uint32_t*)data)[(int32_t)(key | tab->mask)]; 1549 uint32_t old_hash_size = (uint32_t)(-(int32_t)tab->mask); 1569 uint32_t key = (uint32_t)p->key | tab->mask; 1592 uint32_t hash_size = (uint32_t)(-(int32_t)tab->mask); 2375 uint32_t i; [all …]
|
/php-src/ext/random/ |
H A D | random.c | 79 PHPAPI uint32_t php_random_range32(php_random_algo_with_state engine, uint32_t umax) in php_random_range32() 84 uint32_t result, limit; in php_random_range32() 86 uint32_t count = 0; in php_random_range32() 97 } while (total_size < sizeof(uint32_t)); in php_random_range32() 132 } while (total_size < sizeof(uint32_t)); in php_random_range32() 145 uint32_t count = 0; in php_random_range64() 371 is_letter = ((uint32_t) ((l - 'A') ^ (l - 'F' - 1))) >> (8 * sizeof(uint32_t) - 1); 381 is_letter = ((uint32_t) ((l - 'A') ^ (l - 'F' - 1))) >> (8 * sizeof(uint32_t) - 1); 408 PHPAPI void php_mt_srand(uint32_t seed) 415 PHPAPI uint32_t php_mt_rand(void) [all …]
|