Home
last modified time | relevance | path

Searched refs:php_uint32 (Results 1 – 17 of 17) sorted by relevance

/PHP-5.5/ext/standard/
H A Drand.c149 #define twist(m,u,v) (m ^ (mixBits(u,v)>>1) ^ ((php_uint32)(-(php_int32)(loBit(u))) & 0x9908b0dfU))
153 static inline void php_mt_initialize(php_uint32 seed, php_uint32 *state) in php_mt_initialize()
160 register php_uint32 *s = state; in php_mt_initialize()
161 register php_uint32 *r = state; in php_mt_initialize()
179 register php_uint32 *state = BG(state); in php_mt_reload()
180 register php_uint32 *p = state; in php_mt_reload()
195 PHPAPI void php_mt_srand(php_uint32 seed TSRMLS_DC) in php_mt_srand()
208 PHPAPI php_uint32 php_mt_rand(TSRMLS_D) in php_mt_rand()
213 register php_uint32 s1; in php_mt_rand()
H A Dmd5.h45 php_uint32 lo, hi;
46 php_uint32 a, b, c, d;
48 php_uint32 block[16];
H A Dsha1.c141 (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 Dsha1.h28 php_uint32 state[5]; /* state (ABCD) */
29 php_uint32 count[2]; /* number of bits, modulo 2^64 (lsb first) */
H A Dcrc32.c31 php_uint32 crcinit = 0; in PHP_NAMED_FUNCTION()
32 register php_uint32 crc; in PHP_NAMED_FUNCTION()
H A Dphp_rand.h58 PHPAPI void php_mt_srand(php_uint32 seed TSRMLS_DC);
59 PHPAPI php_uint32 php_mt_rand(TSRMLS_D);
H A Dmd5.c169 (*(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 Dbasic_functions.h152 typedef unsigned int php_uint32; typedef
156 typedef unsigned long php_uint32; typedef
193 php_uint32 state[MT_N+1]; /* state vector + 1 extra to not violate ANSI C */
194 php_uint32 *next; /* next random value is computed from here */
H A Dphp_crypt_r.c326 php_uint32 l; in php_md5_crypt_r()
H A Dbasic_functions.c3512 ((php_uint32*)&val)[1] = PHP_DOUBLE_QUIET_NAN_HIGH; in php_get_nan()
3513 ((php_uint32*)&val)[0] = 0; in php_get_nan()
3529 ((php_uint32*)&val)[1] = PHP_DOUBLE_INFINITY_HIGH; in php_get_inf()
3530 ((php_uint32*)&val)[0] = 0; in php_get_inf()
/PHP-5.5/ext/phar/
H A Dphar_internal.h256 php_uint32 uncompressed_filesize;
257 php_uint32 timestamp;
258 php_uint32 compressed_filesize;
259 php_uint32 crc32;
260 php_uint32 flags;
263 php_uint32 old_flags;
266 php_uint32 filename_len;
322 php_uint32 flags;
323 php_uint32 min_timestamp;
324 php_uint32 max_timestamp;
[all …]
H A Dtar.c22 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()
211 php_uint32 sum1, sum2, size, old; in phar_parse_tarfile()
302 # define PHAR_GET_32(buffer) (php_uint32) *(buffer) in phar_parse_tarfile()
1218 *(php_uint32 *)(var) = (((((unsigned char*)&(buffer))[3]) << 24) \ in phar_tar_flush()
[all …]
H A Dzip.c23 #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));
773 php_uint32 newcrc32; in phar_zip_changed_apply()
805 php_uint32 crc = (php_uint32) ~0; in phar_zip_changed_apply()
831 php_uint32 loc; in phar_zip_changed_apply()
[all …]
H A Dphar.c521 #define PHAR_ZIP_32(var) ((php_uint32)((((php_uint32)var[0]) & 0xff) | \
522 (((php_uint32)var[1]) & 0xff) << 8 | \
523 (((php_uint32)var[2]) & 0xff) << 16 | \
524 (((php_uint32)var[3]) & 0xff) << 24))
657 php_uint32 len;
779 php_uint32 signature_len;
1575 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 Dphar_object.c2219 static zval *phar_convert_to_other(phar_archive_data *source, int convert, char *ext, php_uint32 fl… in phar_convert_to_other()
2366 php_uint32 flags; in PHP_METHOD()
2469 php_uint32 flags; in PHP_METHOD()
3142 php_uint32 compress = *(php_uint32 *)argument; in phar_set_compression()
3180 static void pharobj_set_compression(HashTable *manifest, php_uint32 compress TSRMLS_DC) /* {{{ */ in pharobj_set_compression()
3206 php_uint32 flags; in PHP_METHOD()
3315 php_uint32 flags; in PHP_METHOD()
H A Dutil.c1192 php_uint32 flags; in phar_decompress_filter()
1527 int phar_verify_signature(php_stream *fp, size_t end_of_phar, php_uint32 sig_type, char *sig, int s…
1545 php_uint32 pubkey_len;
/PHP-5.5/ext/session/
H A Dmod_mm.c49 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()

Completed in 71 milliseconds