/php-src/ext/spl/ |
H A D | spl_observer.c | 881 if (*p!= 'x' || *++p != ':') { in PHP_METHOD() 884 ++p; in PHP_METHOD() 891 --p; /* for ';' */ in PHP_METHOD() 904 if (*p != ';') { in PHP_METHOD() 907 ++p; in PHP_METHOD() 908 if(*p != 'O' && *p != 'C' && *p != 'r') { in PHP_METHOD() 916 ++p; in PHP_METHOD() 946 if (*p != ';') { in PHP_METHOD() 949 ++p; in PHP_METHOD() 952 if (*p!= 'm' || *++p != ':') { in PHP_METHOD() [all …]
|
/php-src/main/ |
H A D | SAPI.c | 177 char *p; in sapi_read_post_data() local 186 for (p = content_type; p < content_type + content_type_length; p++) { in sapi_read_post_data() 193 *p = 0; in sapi_read_post_data() 196 *p = tolower(*p); in sapi_read_post_data() 322 char *p; in get_default_content_type() local 327 p = zend_mempcpy(p, mimetype, mimetype_len); in get_default_content_type() 696 if (!p->line || !p->line_len) { in sapi_header_op() 699 header_line = estrndup(p->line, p->line_len); in sapi_header_op() 940 p++; in sapi_register_post_entries() 1133 p++; in sapi_add_request_header() [all …]
|
H A D | fastcgi.c | 279 p = p->next; in fcgi_hash_destroy() 314 p->pos = p->data; in fcgi_hash_strndup() 315 p->end = p->pos + seg_size; in fcgi_hash_strndup() 340 p = p->next; in fcgi_hash_set() 375 *p = (*p)->next; in fcgi_hash_del() 378 p = &(*p)->next; in fcgi_hash_del() 394 p = p->next; in fcgi_hash_get() 405 func(p->var, p->var_len, p->val, p->val_len, arg); in fcgi_hash_apply() 407 p = p->list_next; in fcgi_hash_apply() 1186 p = zend_mempcpy(p, q->var, q->var_len); in fcgi_read_request() [all …]
|
/php-src/ext/standard/ |
H A D | array.c | 3237 if (p->key) { 3579 Bucket *p; local 3589 val = &p->val; 3677 Bucket *p; local 3686 val = &p->val; 3702 p->h = k++; 3990 for (; p != end; p++) { 4917 Bucket *p; local 5265 *list++ = *p; 5353 p = ptrs[0]; [all …]
|
/php-src/ext/hash/ |
H A D | hash.c | 1150 #define PHP_HASH_HAVAL_REGISTER(p,b) php_hash_register_algo("haval" #b "," #p , &php_hash_##p##hava… argument
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_ir.c | 1309 int n, j, *p; in zend_jit_def_reg() local 1337 if (*p == src_var) { in zend_jit_def_reg() 3373 int i, *p; in _zend_jit_add_predecessor_ref() local 3382 if (*p == pred) { in _zend_jit_add_predecessor_ref() 3464 for (i = 0, p = jit->bb_start_ref; i < count; i++, p++) { in _zend_jit_fix_merges() 3465 ref = *p; in _zend_jit_fix_merges() 3593 int i, n, *p, pred; in zend_jit_bb_start() local 3671 pred = *p; in zend_jit_bb_start() 16622 zend_ssa_phi *p; local 16649 while (p) { [all …]
|
/php-src/ext/ffi/ |
H A D | ffi.c | 708 *p = (*p & ~mask) | ((val << pos) & mask); in zend_ffi_zval_to_bit_field() 716 *p = (*p & ~mask) | ((val << pos) & mask); in zend_ffi_zval_to_bit_field() 717 p++; in zend_ffi_zval_to_bit_field() 731 *p = (*p & ~mask) | (val & mask); in zend_ffi_zval_to_bit_field() 4963 while (*p == ' ' || *p == '\t') { in zend_ffi_parse_directives() 4974 p++; in zend_ffi_parse_directives() 4999 while (*p == ' ' || *p == '\t') { in zend_ffi_parse_directives() 5002 while (*p == '\r' || *p == '\n') { in zend_ffi_parse_directives() 5010 while (*p == ' ' || *p == '\t') { in zend_ffi_parse_directives() 5046 while (*p == ' ' || *p == '\t') { in zend_ffi_parse_directives() [all …]
|
/php-src/.github/actions/build-libmysqlclient/ |
H A D | action.yml | 19 mkdir -p $MYSQL_DIR 20 URL=https://downloads.mysql.com/archives/get/p/23/file/$LIBMYSQL
|
/php-src/.github/workflows/ |
H A D | nightly.yml | 689 sudo mkdir -p /etc/php.d
|
H A D | push.yml | 273 sudo mkdir -p /etc/php.d
|
/php-src/ |
H A D | configure.ac | 123 $php_shtool mkdir -p libs
|
/php-src/ext/bcmath/ |
H A D | bcmath.c | 65 int *p; in ZEND_GET_MODULE() local 73 p = (int *) ZEND_INI_GET_ADDR(); in ZEND_GET_MODULE() 74 *p = (int) tmp; in ZEND_GET_MODULE()
|
/php-src/.circleci/ |
H A D | config.yml | 161 sudo mkdir -p /etc/php.d
|
/php-src/ext/sqlite3/ |
H A D | sqlite3.c | 1688 #define PHP_SQLITE3_SET_TYPE(z, p) \ argument 1691 (p).type = SQLITE_TEXT; \ 1696 (p).type = SQLITE_INTEGER; \ 1699 (p).type = SQLITE_FLOAT; \ 1702 (p).type = SQLITE_NULL; \
|
/php-src/ext/curl/ |
H A D | interface.c | 252 char **p; in PHP_INI_END() local 325 p = (char **) d->protocols; in PHP_INI_END() 326 while (*p != NULL) { in PHP_INI_END() 327 n += sprintf(str + n, "%s%s", *p, *(p + 1) != NULL ? ", " : ""); in PHP_INI_END() 328 p++; in PHP_INI_END() 992 char **p = (char **) d->protocols; in PHP_FUNCTION() local 997 while (*p != NULL) { in PHP_FUNCTION() 998 add_next_index_string(&protocol_list, *p); in PHP_FUNCTION() 999 p++; in PHP_FUNCTION()
|
/php-src/sapi/cgi/ |
H A D | cgi_main.c | 1060 if (UNEXPECTED(*p == '.') && *(p+1) == '.' && (!*(p+2) || IS_SLASH(*(p+2)))) { 1065 p++; 1067 p++; 1069 p++; 1076 p++; 1626 p++; 1628 if (*p && *p!='=') { 1631 } else if (*p >= 'A' && *p <= 'Z') { 1678 p++; 1679 } while (*p == ' ' || *p == '\t'); [all …]
|
/php-src/ext/odbc/ |
H A D | php_odbc.c | 99 static int _close_pconn_with_res(zval *zv, void *p) in _close_pconn_with_res() argument 103 if (le->ptr == p) { in _close_pconn_with_res() 304 zval *p; in ZEND_GET_MODULE() local 306 ZEND_HASH_FOREACH_VAL(&conn->results, p) { in ZEND_GET_MODULE() 307 odbc_result *result = Z_ODBC_RESULT_P(p); in ZEND_GET_MODULE()
|
/php-src/ext/random/ |
H A D | engine_mt19937.c | 105 uint32_t *p = state->state; in mt19937_reload() local 108 for (uint32_t i = N - M; i--; ++p) { in mt19937_reload() 109 *p = twist(p[M], p[0], p[1]); in mt19937_reload() 111 for (uint32_t i = M; --i; ++p) { in mt19937_reload() 112 *p = twist(p[M-N], p[0], p[1]); in mt19937_reload() 114 *p = twist(p[M-N], p[0], state->state[0]); in mt19937_reload() 116 for (uint32_t i = N - M; i--; ++p) { in mt19937_reload() 117 *p = twist_php(p[M], p[0], p[1]); in mt19937_reload() 119 for (uint32_t i = M; --i; ++p) { in mt19937_reload() 120 *p = twist_php(p[M-N], p[0], p[1]); in mt19937_reload() [all …]
|
/php-src/ext/opcache/tests/ |
H A D | bug67215.phpt | 13 $file_p = __DIR__ . "/bug67215.p.php"; 14 file_put_contents($file_c, "<?php require '$file_p'; class c extends p {} ?>"); 15 file_put_contents($file_p, '<?php class p { protected $var = ""; } ?>'); 23 $file_p = __DIR__ . "/bug67215.p.php"; 28 Fatal error: Cannot redeclare class p (previously declared in %sbug67215.p.php:%d) in %sbug67215.p.…
|
/php-src/ext/opcache/ |
H A D | zend_accelerator_util_funcs.c | 88 Bucket *p, *end; in zend_accel_move_user_functions() local 104 p = end - count; in zend_accel_move_user_functions() 105 for (; p != end; p++) { in zend_accel_move_user_functions() 119 Bucket *p, *end; in zend_accel_move_user_classes() local 135 p = end - count; in zend_accel_move_user_classes() 136 for (; p != end; p++) { in zend_accel_move_user_classes() 151 Bucket *p, *end; in _zend_accel_function_hash_copy() local 157 for (; p != end; p++) { in _zend_accel_function_hash_copy() 164 _zend_hash_append_ptr_ex(target, p->key, Z_PTR(p->val), 1); in _zend_accel_function_hash_copy() 208 for (; p != end; p++) { in _zend_accel_class_hash_copy() [all …]
|
/php-src/Zend/ |
H A D | zend_inheritance.c | 2872 Bucket *p, *end; in zend_lazy_class_load() local 2903 p = ce->function_table.arData; in zend_lazy_class_load() 2905 for (; p != end; p++) { in zend_lazy_class_load() 2908 op_array = Z_PTR(p->val); in zend_lazy_class_load() 2913 Z_PTR(p->val) = new_op_array; in zend_lazy_class_load() 2954 p = ce->properties_info.arData; in zend_lazy_class_load() 2956 for (; p != end; p++) { in zend_lazy_class_load() 2959 prop_info = Z_PTR(p->val); in zend_lazy_class_load() 2977 for (; p != end; p++) { in zend_lazy_class_load() 2980 c = Z_PTR(p->val); in zend_lazy_class_load() [all …]
|
H A D | zend_API.h | 947 #define CHECK_ZVAL_NULL_PATH(p) zend_str_has_nul_byte(Z_STR_P(p)) argument 948 #define CHECK_NULL_PATH(p, l) zend_char_has_nul_byte(p, l) argument 1060 #define HASH_OF(p) (Z_TYPE_P(p)==IS_ARRAY ? Z_ARRVAL_P(p) : ((Z_TYPE_P(p)==IS_OBJECT ? Z_OBJ_HT_P(p… argument
|
H A D | zend_builtin_functions.c | 233 zval *p, *q; in ZEND_FUNCTION() local 260 q = p; in ZEND_FUNCTION() 271 p++; in ZEND_FUNCTION() 277 q = p; in ZEND_FUNCTION() 288 p++; in ZEND_FUNCTION() 400 if (!p) { in ZEND_FUNCTION() 415 p->orig_value = p->value; in ZEND_FUNCTION() 416 p->orig_modifiable = p->modifiable; in ZEND_FUNCTION() 419 } else if (p->orig_value != p->value) { in ZEND_FUNCTION() 1693 p++; in debug_backtrace_get_args() [all …]
|
H A D | zend_API.c | 1327 p++; in zend_parse_method_parameters() 1360 p++; in zend_parse_method_parameters_ex() 3063 while ((p = strchr(p, '|'))) { in zend_register_functions() 3065 p++; in zend_register_functions() 3294 while (*p) { in zend_activate_modules() 3301 p++; in zend_activate_modules() 3323 while (*p) { in zend_deactivate_modules() 3328 p++; in zend_deactivate_modules() 3376 p++; in zend_post_deactivate_modules() 3597 p++; in display_disabled_class() [all …]
|
H A D | zend_portability.h | 215 # define free_alloca(p, use_heap) \ argument 216 do { if (UNEXPECTED(use_heap)) efree(p); } while (0) 220 # define do_alloca(p, use_heap) emalloc(p) argument 221 # define free_alloca(p, use_heap) efree(p) argument
|