/php-src/ |
H A D | EXTENSIONS | 7 Odd Fixes: It has a maintainer but they don't have time to do
|
H A D | configure.ac | 461 dnl Autoconf <= 2.69 didn't check glibc 2.25 deprecated macros in sys/types.h. 562 dnl bug #77284. Conservatively don't use ifuncs on FreeBSD prior to version 12. 574 …<netinet/in.h>]], [[struct sockaddr_in6 s; struct in6_addr t=in6addr_any; int i=AF_INET6; s; t.s6_… 1292 # The AIX assembler isn't GNU, but the file is compatible. 1337 # asm file can't see macro from AC_DEFINE, workaround this via cflag 1339 # if the syscall doesn't exist, we may block the final ELF from __PROPERTY_SHSTK 1609 dnl union, and this can't be easily fixed.
|
H A D | run-tests.php | 795 $t = microtime(true); 798 return $t * 1000000000; 801 $s = floor($t); 802 return [0 => $s, 1 => ($t - $s) * 1000000000];
|
/php-src/ext/standard/ |
H A D | array.c | 4907 struct bucketindex t; local 4908 t = *f; 4910 *g = t; 5993 Bucket *t; local 5997 t = *f; 5999 *g = t;
|
H A D | browscap.c | 152 char *t; in browscap_convert_pattern() local 158 t[j++] = '~'; in browscap_convert_pattern() 159 t[j++] = '^'; in browscap_convert_pattern() 165 t[j] = '.'; in browscap_convert_pattern() 169 t[j] = '*'; in browscap_convert_pattern() 173 t[j] = '.'; in browscap_convert_pattern() 181 t[j] = '('; in browscap_convert_pattern() 185 t[j] = ')'; in browscap_convert_pattern() 201 t[j++] = '$'; in browscap_convert_pattern() 202 t[j++] = '~'; in browscap_convert_pattern() [all …]
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_ir.c | 617 if (t->exit_count > 0 in jit_SNAPSHOT() 671 t->consts_count = i + 1; in _add_trace_const() 672 t->constants = erealloc(t->constants, (i + 1) * sizeof(zend_jit_exit_const)); in _add_trace_const() 673 t->constants[i].i = val; in _add_trace_const() 687 t->exit_count++; in zend_jit_duplicate_exit_point() 694 t->stack_map = erealloc(t->stack_map, t->stack_map_size * sizeof(zend_jit_trace_stack)); in zend_jit_duplicate_exit_point() 758 && (t->stack_map[t->exit_info[exit_point].stack_offset + var].ref != ref in zend_jit_snapshot_handler() 765 t->stack_map[t->exit_info[exit_point].stack_offset + var].ref = ref; in zend_jit_snapshot_handler() 766 t->stack_map[t->exit_info[exit_point].stack_offset + var].reg = ZREG_NONE; in zend_jit_snapshot_handler() 801 t->stack_map[t->exit_info[exit_point].stack_offset + var].ref = idx; in zend_jit_snapshot_handler() [all …]
|
/php-src/ext/ffi/ |
H A D | ffi.c | 179 #define ZEND_FFI_TYPE(t) \ argument 402 t = erealloc(t, size); in zend_ffi_face_struct_add_fields() 403 t->elements = (ffi_type**)(t + 1); in zend_ffi_face_struct_add_fields() 405 t = zend_ffi_face_struct_add_fields(t, field_type, i, size); in zend_ffi_face_struct_add_fields() 417 return t; in zend_ffi_face_struct_add_fields() 429 t->size = type->size; in zend_ffi_make_fake_struct_type() 431 t->type = FFI_TYPE_STRUCT; in zend_ffi_make_fake_struct_type() 432 t->elements = (ffi_type**)(t + 1); in zend_ffi_make_fake_struct_type() 434 t = zend_ffi_face_struct_add_fields(t, type, &i, size); in zend_ffi_make_fake_struct_type() 435 t->elements[i] = NULL; in zend_ffi_make_fake_struct_type() [all …]
|
/php-src/.github/workflows/ |
H A D | nightly.yml | 352 # These branches don't include type verification
|
H A D | push.yml | 302 echo "Merging, can't proceed"
|
/php-src/sapi/cgi/ |
H A D | cgi_main.c | 1587 char **env, *p, *q, *var, *val, *t = buf; local 1599 t = (t == buf ? emalloc(alloc_size): erealloc(t, alloc_size)); 1613 t = (t == buf ? emalloc(alloc_size): erealloc(t, alloc_size)); 1617 var = q = t; 1651 if (t != buf && t != NULL) { 1652 efree(t);
|
/php-src/docs/source/core/data-structures/ |
H A D | reference-counting.rst | 36 don't fit in a single ``zend_value`` directly (strings, arrays). Simpler types either don't store a 206 #define GC_IMMUTABLE (1<<6) /* can't be changed in place */ 211 This allows for a fast way to detect values that don't need to be added to the cycle collector
|
/php-src/ext/random/ |
H A D | engine_xoshiro256starstar.c | 55 s->state[2] ^= t; in generate_state() 124 zval t; in serialize() local 137 zval *t; in unserialize() local 146 if (!t || Z_TYPE_P(t) != IS_STRING || Z_STRLEN_P(t) != (2 * sizeof(uint64_t))) { in unserialize() 216 uint64_t t[4]; in PHP_METHOD() local 219 if (php_random_bytes_throw(&t, sizeof(t)) == FAILURE) { in PHP_METHOD() 223 } while (UNEXPECTED(t[0] == 0 && t[1] == 0 && t[2] == 0 && t[3] == 0)); in PHP_METHOD() 225 php_random_xoshiro256starstar_seed256(state, t[0], t[1], t[2], t[3]); in PHP_METHOD() 234 t[i] = 0; in PHP_METHOD() 240 if (UNEXPECTED(t[0] == 0 && t[1] == 0 && t[2] == 0 && t[3] == 0)) { in PHP_METHOD() [all …]
|
H A D | engine_combinedlcg.c | 76 zval t; in serialize() local 79 ZVAL_STR(&t, php_random_bin2hex_le(&s->state[i], sizeof(uint32_t))); in serialize() 80 zend_hash_next_index_insert(data, &t); in serialize() 89 zval *t; in unserialize() local 92 t = zend_hash_index_find(data, i); in unserialize() 93 if (!t || Z_TYPE_P(t) != IS_STRING || Z_STRLEN_P(t) != (2 * sizeof(uint32_t))) { in unserialize() 96 if (!php_random_hex2bin_le(Z_STR_P(t), &s->state[i])) { in unserialize()
|
H A D | engine_mt19937.c | 177 zval t; in serialize() local 194 zval *t; in unserialize() local 203 if (!t || Z_TYPE_P(t) != IS_STRING || Z_STRLEN_P(t) != (2 * sizeof(uint32_t))) { in unserialize() 211 if (!t || Z_TYPE_P(t) != IS_LONG) { in unserialize() 220 if (!t || Z_TYPE_P(t) != IS_LONG) { in unserialize() 320 zval t; in PHP_METHOD() local 332 array_init(&t); in PHP_METHOD() 346 zval *t; in PHP_METHOD() local 360 if (!t || Z_TYPE_P(t) != IS_ARRAY) { in PHP_METHOD() 372 if (!t || Z_TYPE_P(t) != IS_ARRAY) { in PHP_METHOD() [all …]
|
H A D | engine_pcgoneseq128xslrr64.c | 87 zval *t; in unserialize() local 95 t = zend_hash_index_find(data, i); in unserialize() 96 if (!t || Z_TYPE_P(t) != IS_STRING || Z_STRLEN_P(t) != (2 * sizeof(uint64_t))) { in unserialize() 99 if (!php_random_hex2bin_le(Z_STR_P(t), &u[i])) { in unserialize() 166 uint64_t t[2]; in PHP_METHOD() local 170 t[i] = 0; in PHP_METHOD() 172 t[i] += ((uint64_t) (unsigned char) ZSTR_VAL(str_seed)[(i * 8) + j]) << (j * 8); in PHP_METHOD() 176 php_random_pcgoneseq128xslrr64_seed128(state, php_random_uint128_constant(t[0], t[1])); in PHP_METHOD()
|
/php-src/ext/filter/ |
H A D | filter.c | 295 #define PARSE_CASE(s,a,t) \ in php_sapi_filter() argument 301 orig_array_ptr = &PG(http_globals)[t]; \ in php_sapi_filter()
|
/php-src/ext/opcache/ |
H A D | zend_accelerator_util_funcs.c | 152 zval *t; in _zend_accel_function_hash_copy() local 160 t = zend_hash_find_known_hash(target, p->key); in _zend_accel_function_hash_copy() 161 if (UNEXPECTED(t != NULL)) { in _zend_accel_function_hash_copy() 175 function2 = Z_PTR_P(t); in _zend_accel_function_hash_copy() 203 zval *t; in _zend_accel_class_hash_copy() local 211 t = zend_hash_find_known_hash(target, p->key); in _zend_accel_class_hash_copy() 212 if (UNEXPECTED(t != NULL)) { in _zend_accel_class_hash_copy() 230 zend_class_redeclaration_error(E_ERROR, Z_PTR_P(t)); in _zend_accel_class_hash_copy()
|
/php-src/sapi/fpm/fpm/events/ |
H A D | kqueue.c | 115 struct timespec t; in fpm_event_kqueue_wait() local 122 t.tv_sec = timeout / 1000; in fpm_event_kqueue_wait() 123 t.tv_nsec = (timeout % 1000) * 1000 * 1000; in fpm_event_kqueue_wait() 126 ret = kevent(kfd, NULL, 0, kevents, nkevents, &t); in fpm_event_kqueue_wait()
|
/php-src/ext/opcache/jit/ir/ |
H A D | ir_x86.dasc | 1353 …/* we need a temporary regeset in case MIN CASE value is not zero or some CASE VAL can't fit into … 1859 /* GT(ADD(_, _), 0) can't be optimized because ADD may overflow */ 2518 /* GT(ADD(_, _), 0) can't be optimized because ADD may overflow */ 2662 /* GT(ADD(_, _), 0) can't be optimized because ADD may overflow */ 2686 /* GT(ADD(_, _), 0) can't be optimized because ADD may overflow */ 7703 * If op3 is set we don't have to store the value once again (in case of spilling)
|
H A D | ir_aarch64.dasc | 3987 * If op3 is set we don't have to store the value once again (in case of spilling)
|
H A D | ir.h | 141 #define IR_IS_TYPE_UNSIGNED(t) ((t) < IR_CHAR) argument 142 #define IR_IS_TYPE_SIGNED(t) ((t) >= IR_CHAR && (t) < IR_DOUBLE) argument 143 #define IR_IS_TYPE_INT(t) ((t) < IR_DOUBLE) argument 144 #define IR_IS_TYPE_FP(t) ((t) >= IR_DOUBLE) argument
|
/php-src/ext/mbstring/ |
H A D | mbstring.c | 6447 char t = transenc->name[0]; in PHP_FUNCTION() local 6448 if (t == 'Q' || t == 'q') { in PHP_FUNCTION() 6455 char t = ZSTR_VAL(transenc_name)[0]; in PHP_FUNCTION() local 6456 if (t == 'Q' || t == 'q') { in PHP_FUNCTION()
|
/php-src/Zend/ |
H A D | zend_strtod.c | 1586 (sp, t) char **sp, *t; in match() 1588 (const char **sp, const char *t) 1594 while((d = *t++)) { 3635 char *rv, *t; local 3637 t = rv = rv_alloc(n); 3638 while((*t = *s++)) t++; 3640 *rve = t;
|
/php-src/ext/dom/lexbor/lexbor/core/ |
H A D | utils.c | 11 lexbor_utils_power(size_t t, size_t k) in lexbor_utils_power() argument 17 res *= t; in lexbor_utils_power() 20 t *= t; in lexbor_utils_power()
|
H A D | utils.h | 26 lexbor_utils_power(size_t t, size_t k);
|