/PHP-5.3/ext/standard/ |
H A D | rand.c | 150 #define twist(m,u,v) (m ^ (mixBits(u,v)>>1) ^ ((php_uint32)(-(php_int32)(loBit(u))) & 0x9908b0dfU)) 154 static inline void php_mt_initialize(php_uint32 seed, php_uint32 *state) in php_mt_initialize() 161 register php_uint32 *s = state; in php_mt_initialize() 162 register php_uint32 *r = state; in php_mt_initialize() 180 register php_uint32 *state = BG(state); in php_mt_reload() 181 register php_uint32 *p = state; in php_mt_reload() 196 PHPAPI void php_mt_srand(php_uint32 seed TSRMLS_DC) in php_mt_srand() 209 PHPAPI php_uint32 php_mt_rand(TSRMLS_D) in php_mt_rand() 214 register php_uint32 s1; in php_mt_rand()
|
H A D | md5.h | 45 php_uint32 lo, hi; 46 php_uint32 a, b, c, d; 48 php_uint32 block[16];
|
H A D | sha1.c | 141 (e) += F ((b), (c), (d)) + (w) + (php_uint32)(0x5A827999); \ 192 if ((context->count[0] += ((php_uint32) inputLen << 3)) in PHP_SHA1Update() 193 < ((php_uint32) inputLen << 3)) in PHP_SHA1Update() 195 context->count[1] += ((php_uint32) inputLen >> 29); in PHP_SHA1Update() 261 php_uint32 state[5]; in SHA1Transform() 264 php_uint32 a = state[0], b = state[1], c = state[2]; 265 php_uint32 d = state[3], e = state[4], x[16], tmp; 374 php_uint32 *input; 393 php_uint32 *output; in SHA1Decode() 400 output[i] = ((php_uint32) input[j + 3]) | (((php_uint32) input[j + 2]) << 8) | [all …]
|
H A D | sha1.h | 28 php_uint32 state[5]; /* state (ABCD) */ 29 php_uint32 count[2]; /* number of bits, modulo 2^64 (lsb first) */
|
H A D | crc32.c | 31 php_uint32 crcinit = 0; in PHP_NAMED_FUNCTION() 32 register php_uint32 crc; in PHP_NAMED_FUNCTION()
|
H A D | php_rand.h | 57 PHPAPI void php_mt_srand(php_uint32 seed TSRMLS_DC); 58 PHPAPI php_uint32 php_mt_rand(TSRMLS_D);
|
H A D | basic_functions.h | 152 typedef unsigned int php_uint32; typedef 156 typedef unsigned long php_uint32; typedef 196 php_uint32 state[MT_N+1]; /* state vector + 1 extra to not violate ANSI C */ 197 php_uint32 *next; /* next random value is computed from here */
|
H A D | md5.c | 169 (*(php_uint32 *)&ptr[(n) * 4]) 175 (php_uint32)ptr[(n) * 4] | \ 176 ((php_uint32)ptr[(n) * 4 + 1] << 8) | \ 177 ((php_uint32)ptr[(n) * 4 + 2] << 16) | \ 178 ((php_uint32)ptr[(n) * 4 + 3] << 24)) 190 php_uint32 a, b, c, d; in body() 191 php_uint32 saved_a, saved_b, saved_c, saved_d; in body() 307 php_uint32 saved_lo; in PHP_MD5Update() 308 php_uint32 used, free; in PHP_MD5Update() 342 php_uint32 used, free; in PHP_MD5Final()
|
H A D | php_crypt_r.c | 331 php_uint32 l; in php_md5_crypt_r()
|
H A D | basic_functions.c | 3515 ((php_uint32*)&val)[1] = PHP_DOUBLE_QUIET_NAN_HIGH; in php_get_nan() 3516 ((php_uint32*)&val)[0] = 0; in php_get_nan() 3532 ((php_uint32*)&val)[1] = PHP_DOUBLE_INFINITY_HIGH; in php_get_inf() 3533 ((php_uint32*)&val)[0] = 0; in php_get_inf()
|
/PHP-5.3/ext/session/ |
H A D | mod_mm.c | 49 php_uint32 hv; /* hash value of key */ 60 php_uint32 hash_max; 61 php_uint32 hash_cnt; 73 static inline php_uint32 ps_sd_hash(const char *data, int len) in ps_sd_hash() 75 php_uint32 h; in ps_sd_hash() 88 php_uint32 nmax; in hash_split() 117 php_uint32 hv, slot; in ps_sd_new() 159 php_uint32 slot; in ps_sd_destroy() 184 php_uint32 hv, slot; in ps_sd_lookup()
|
/PHP-5.3/ext/phar/ |
H A D | phar_internal.h | 254 php_uint32 uncompressed_filesize; 255 php_uint32 timestamp; 256 php_uint32 compressed_filesize; 257 php_uint32 crc32; 258 php_uint32 flags; 261 php_uint32 old_flags; 264 php_uint32 filename_len; 320 php_uint32 flags; 321 php_uint32 min_timestamp; 322 php_uint32 max_timestamp; [all …]
|
H A D | tar.c | 22 static php_uint32 phar_tar_number(char *buf, int len) /* {{{ */ in phar_tar_number() 24 php_uint32 num = 0; in phar_tar_number() 65 static int phar_tar_octal(char *buf, php_uint32 val, int len) /* {{{ */ in phar_tar_octal() 87 static php_uint32 phar_tar_checksum(char *buf, int len) /* {{{ */ in phar_tar_checksum() 89 php_uint32 sum = 0; in phar_tar_checksum() 103 php_uint32 checksum = phar_tar_number(header->checksum, sizeof(header->checksum)); in phar_is_tar() 104 php_uint32 ret; in phar_is_tar() 201 php_uint32 sum1, sum2, size, old; in phar_parse_tarfile() 285 # define PHAR_GET_32(buffer) (php_uint32) *(buffer) in phar_parse_tarfile() 1195 *(php_uint32 *)(var) = (((((unsigned char*)&(buffer))[3]) << 24) \ in phar_tar_flush() [all …]
|
H A D | zip.c | 23 #define PHAR_GET_32(var) ((php_uint32)((((php_uint32)var[0]) & 0xff) | \ 24 (((php_uint32)var[1]) & 0xff) << 8 | \ 25 (((php_uint32)var[2]) & 0xff) << 16 | \ 26 (((php_uint32)var[3]) & 0xff) << 24)) 27 static inline void phar_write_32(char buffer[4], php_uint32 value) in phar_write_32() 34 static inline void phar_write_16(char buffer[2], php_uint32 value) in phar_write_16() 39 # define PHAR_SET_32(var, value) phar_write_32(var, (php_uint32) (value)); 781 php_uint32 newcrc32; in phar_zip_changed_apply() 813 php_uint32 crc = (php_uint32) ~0; in phar_zip_changed_apply() 839 php_uint32 loc; in phar_zip_changed_apply() [all …]
|
H A D | phar.c | 523 #define PHAR_ZIP_32(var) ((php_uint32)((((php_uint32)var[0]) & 0xff) | \ 524 (((php_uint32)var[1]) & 0xff) << 8 | \ 525 (((php_uint32)var[2]) & 0xff) << 16 | \ 526 (((php_uint32)var[3]) & 0xff) << 24)) 609 php_uint32 buf_len; 790 php_uint32 signature_len; 1579 php_uint32 compression = PHAR_FILE_COMPRESSED_NONE; 2410 php_uint32 crc = ~0; 2581 php_uint32 manifest_len, mytime, loc, new_manifest_count; 2582 php_uint32 newcrc32; [all …]
|
H A D | phar_object.c | 2284 static zval *phar_convert_to_other(phar_archive_data *source, int convert, char *ext, php_uint32 fl… 2435 php_uint32 flags; 2538 php_uint32 flags; 3211 php_uint32 compress = *(php_uint32 *)argument; 3249 static void pharobj_set_compression(HashTable *manifest, php_uint32 compress TSRMLS_DC) /* {{{ */ 3275 php_uint32 flags; 3384 php_uint32 flags;
|
H A D | util.c | 1436 php_uint32 flags; in phar_decompress_filter() 1792 int phar_verify_signature(php_stream *fp, size_t end_of_phar, php_uint32 sig_type, char *sig, int s… 1810 php_uint32 pubkey_len;
|