/php-src/.github/workflows/ |
H A D | nightly.yml | 511 … php -d opcache.preload=var/cache/dev/App_KernelDevDebugContainer.preload.php public/index.php
|
/php-src/ext/phar/ |
H A D | phar_object.c | 934 char *index = NULL, *webindex = NULL, *error; in PHP_METHOD() local 938 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "|p!p!", &index, &index_len, &webindex, &webindex_len) … in PHP_METHOD() 942 stub = phar_create_default_stub(index, webindex, &error); in PHP_METHOD() 2936 char *index = NULL, *webindex = NULL, *error = NULL; in PHP_METHOD() local 2941 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s!s!", &index, &index_len, &webindex, &webindex_len) … in PHP_METHOD() 2958 if ((index || webindex) && (phar_obj->archive->is_tar || phar_obj->archive->is_zip)) { in PHP_METHOD() 2959 …zend_argument_value_error(index ? 1 : 2, "must be null for a tar- or zip-based phar stub, string g… in PHP_METHOD() 2970 stub = phar_create_default_stub(index, webindex, &error); in PHP_METHOD()
|
/php-src/ext/bcmath/libbcmath/src/ |
H A D | num2str.c | 41 size_t index; in bc_num2str_ex() local 67 for (index = num->n_scale; index < scale; index++) { in bc_num2str_ex()
|
H A D | recmul.c | 78 for (int index = 0; index < prodlen - 1; index++) { in _bc_simp_mul() local 79 n1ptr = (char *) (n1end - MAX(0, index - n2len + 1)); in _bc_simp_mul() 80 n2ptr = (char *) (n2end - MIN(index, n2len - 1)); in _bc_simp_mul()
|
/php-src/ext/soap/ |
H A D | soap.c | 55 static sdlParamPtr get_param(sdlFunctionPtr function, char *param_name, int index, int); 62 static xmlNodePtr serialize_parameter(sdlParamPtr param,zval *param_val,int index,char *name, int s… 3992 static xmlNodePtr serialize_parameter(sdlParamPtr param, zval *param_val, int index, char *name, in… argument 4013 snprintf(paramName, sizeof(paramNameBuf), "param%d",index); 4057 static sdlParamPtr get_param(sdlFunctionPtr function, char *param_name, int index, int response) /*… argument 4087 if ((tmp = zend_hash_index_find_ptr(ht, index)) != NULL) {
|
/php-src/ |
H A D | UPGRADING | 23 . The builtin server looks for an index file recursively by traversing parent 27 returned. The behavior has been changed to look for an index file in all 52 - ValueError if the integer index does not fit in a signed 32 bit integer
|
H A D | NEWS | 89 - ValueError if the integer index does not fit in a signed 32 bit integer
|
/php-src/ext/opcache/jit/ir/ |
H A D | ir_x86.dasc | 43 IR_ASSERT(index == IR_REG_NONE || (index >= IR_REG_GP_FIRST && index <= IR_REG_GP_LAST)); 52 ((uint64_t)(uint8_t)index << 40) | 78 || if (index == IR_REG_NONE) { 119 || if (index == IR_REG_NONE) { 160 || if (index == IR_REG_NONE) { 201 || if (index == IR_REG_NONE) { 242 || if (index == IR_REG_NONE) { 388 || if (index == IR_REG_NONE) { 415 | op type [Ra(index)+offset] 429 || if (index == IR_REG_NONE) { [all …]
|
H A D | ir_private.h | 115 uint32_t index; in ir_ntz() 117 if (!_BitScanForward(&index, num)) { in ir_ntz() 122 return index; in ir_ntz() 143 unsigned long index; in ir_ntzl() 145 if (!_BitScanForward64(&index, num)) { in ir_ntzl() 150 return (uint32_t) index; in ir_ntzl() 172 uint32_t index; in ir_nlz() 174 if (!_BitScanReverse(&index, num)) { in ir_nlz() 179 return (int) (32 - 1) - index; in ir_nlz() 199 unsigned long index; in ir_nlzl() [all …]
|
H A D | ir_aarch64.dasc | 35 IR_ALWAYS_INLINE ir_mem IR_MEM(ir_reg base, int32_t offset, ir_reg index, int32_t shift) 39 IR_ASSERT(index == IR_REG_NONE || (index >= IR_REG_GP_FIRST && index <= IR_REG_GP_LAST)); 40 IR_ASSERT(index == IR_REG_NONE || offset == 0); 49 ((uint64_t)(uint8_t)index << 40) |
|
/php-src/ext/spl/ |
H A D | spl_observer.c | 249 intern->index = 0; in spl_object_storage_addall() 517 intern->index = 0; in PHP_METHOD() 599 intern->index = 0; in PHP_METHOD() 625 intern->index = 0; in PHP_METHOD() 670 intern->index = 0; in PHP_METHOD() 758 intern->index++; in PHP_METHOD() 779 intern->index = 0; in PHP_METHOD() 784 intern->index++; in PHP_METHOD() 793 intern->index++; in PHP_METHOD() 798 intern->index--; in PHP_METHOD() [all …]
|
/php-src/ext/spl/tests/ |
H A D | SplObjectStorage_seek.phpt | 70 foreach (range(0, 2) as $index) { 71 $storage->seek($index);
|
/php-src/ext/dom/ |
H A D | php_dom.h | 145 …r basep, xmlNodePtr nodep, xmlChar *ns, xmlChar *local, xmlChar *local_lower, int *cur, int index); 154 xmlNode *php_dom_libxml_hash_iter(dom_nnodemap_object *objmap, int index); 207 xmlNodePtr php_dom_named_node_map_get_item(dom_nnodemap_object *objmap, zend_long index); 208 void php_dom_named_node_map_get_item_into_zval(dom_nnodemap_object *objmap, zend_long index, zval *…
|
H A D | php_dom.c | 1738 …xmlNodePtr nodep, xmlChar *ns, xmlChar *local, xmlChar *local_lower, int *cur, int index) /* {{{ */ in dom_get_elements_by_tag_name_ns_raw() argument 1755 while (*cur <= index) { in dom_get_elements_by_tag_name_ns_raw() 1759 if (*cur == index) { in dom_get_elements_by_tag_name_ns_raw()
|
H A D | nodelist.c | 142 if (index >= 0) { in php_dom_nodelist_get_item_into_zval() 145 itemnode = php_dom_libxml_hash_iter(objmap, index); in php_dom_nodelist_get_item_into_zval() 149 zval *entry = zend_hash_index_find(nodeht, index); in php_dom_nodelist_get_item_into_zval() 162 int relative_index = index; in php_dom_nodelist_get_item_into_zval() 220 objmap->cached_obj_index = index; in php_dom_nodelist_get_item_into_zval() 235 zend_long index; in PHP_METHOD() local 237 Z_PARAM_LONG(index) in PHP_METHOD() 243 php_dom_nodelist_get_item_into_zval(objmap, index, return_value); in PHP_METHOD() 289 if (UNEXPECTED(index.type == DOM_NODELIST_DIM_ILLEGAL || index.type == DOM_NODELIST_DIM_STRING)) { in dom_modern_nodelist_read_dimension() 304 if (UNEXPECTED(index.type == DOM_NODELIST_DIM_ILLEGAL || index.type == DOM_NODELIST_DIM_STRING)) { in dom_modern_nodelist_has_dimension() [all …]
|
H A D | nodelist.h | 34 void php_dom_nodelist_get_item_into_zval(dom_nnodemap_object *objmap, zend_long index, zval *return…
|
H A D | dom_iterators.c | 30 int index; member 43 if (priv->cur < priv->index) { in itemHashScanner() 65 static xmlNode *php_dom_libxml_hash_iter_ex(xmlHashTable *ht, int index) in php_dom_libxml_hash_iter_ex() argument 69 if ((htsize = xmlHashSize(ht)) > 0 && index < htsize) { in php_dom_libxml_hash_iter_ex() 72 iter.index = index; in php_dom_libxml_hash_iter_ex() 83 xmlNode *curnode = php_dom_libxml_hash_iter_ex(objmap->ht, index); in php_dom_libxml_hash_iter() 129 ZVAL_LONG(key, iter->index); in php_dom_iterator_current_key() 195 zend_ulong index = 0; in php_dom_iterator_move_forward() local 196 while (curnode != NULL && index++ < iter->index) { in php_dom_iterator_move_forward() 217 previndex = iter->index - 1; in php_dom_iterator_move_forward() [all …]
|
/php-src/ext/ffi/ |
H A D | ffi.c | 1966 ptr = (void*)((char*)cdata->ptr + dim_type->size * iter->it.index); in zend_ffi_cdata_it_get_current_data()
|
/php-src/ext/xml/ |
H A D | xml.c | 69 zval index; local 602 ZVAL_COPY(&args[0], &parser->index); in _xml_startElementHandler() 689 ZVAL_COPY(&args[0], &parser->index); in _xml_endElementHandler() 738 ZVAL_COPY(&args[0], &parser->index); in _xml_characterDataHandler() 831 ZVAL_COPY(&args[0], &parser->index); in _xml_processingInstructionHandler() 853 ZVAL_COPY(&args[0], &parser->index); in _xml_defaultHandler() 875 ZVAL_COPY(&args[0], &parser->index); in _xml_unparsedEntityDeclHandler() 904 ZVAL_COPY(&args[0], &parser->index); in _xml_notationDeclHandler() 933 ZVAL_COPY(&args[0], &parser->index); in _xml_externalEntityRefHandler() 968 ZVAL_COPY(&args[0], &parser->index); in _xml_startNamespaceDeclHandler() [all …]
|
/php-src/ext/xml/tests/ |
H A D | gh14124.phpt | 24 xml_parse_into_struct($parser, $long_xml_head . $long_xml_tail, $values, $index);
|
/php-src/ext/odbc/ |
H A D | php_odbc.c | 89 res->index = connection->results.nNextFreeElement; in odbc_insert_new_result() 90 zend_hash_index_add_new(&connection->results, res->index, result); in odbc_insert_new_result() 255 zend_result status = zend_hash_index_del(results, res->index); in odbc_result_free()
|
/php-src/ext/opcache/tests/ |
H A D | gh8846.phpt | 13 file_put_contents(__DIR__ . '/gh8846-index.php', <<<'PHP' 25 echo file_get_contents('http://' . PHP_CLI_SERVER_ADDRESS . '/gh8846-index.php'); 27 echo file_get_contents('http://' . PHP_CLI_SERVER_ADDRESS . '/gh8846-index.php?skip=1'); 31 @unlink(__DIR__ . '/gh8846-index.php');
|
/php-src/Zend/ |
H A D | zend_compile.c | 2738 zend_ulong index; in zend_handle_numeric_op() local 2740 if (ZEND_HANDLE_NUMERIC(Z_STR(node->u.constant), index)) { in zend_handle_numeric_op() 2742 ZVAL_LONG(&node->u.constant, index); in zend_handle_numeric_op() 2751 zend_ulong index; in zend_handle_numeric_dim() local 2753 if (ZEND_HANDLE_NUMERIC(Z_STR(dim_node->u.constant), index)) { in zend_handle_numeric_dim() 2759 ZVAL_LONG(CT_CONSTANT(opline->op2), index); in zend_handle_numeric_dim()
|
H A D | zend_API.h | 597 ZEND_API void add_index_long(zval *arg, zend_ulong index, zend_long n); 598 ZEND_API void add_index_null(zval *arg, zend_ulong index); 599 ZEND_API void add_index_bool(zval *arg, zend_ulong index, bool b); 600 ZEND_API void add_index_resource(zval *arg, zend_ulong index, zend_resource *r); 601 ZEND_API void add_index_double(zval *arg, zend_ulong index, double d); 602 ZEND_API void add_index_str(zval *arg, zend_ulong index, zend_string *str); 603 ZEND_API void add_index_string(zval *arg, zend_ulong index, const char *str); 605 ZEND_API void add_index_array(zval *arg, zend_ulong index, zend_array *arr); 606 ZEND_API void add_index_object(zval *arg, zend_ulong index, zend_object *obj); 607 ZEND_API void add_index_reference(zval *arg, zend_ulong index, zend_reference *ref); [all …]
|
H A D | zend_builtin_functions.c | 1468 zend_ulong index; in ZEND_FUNCTION() local 1477 ZEND_HASH_FOREACH_KEY_VAL(&EG(regular_list), index, key, val) { in ZEND_FUNCTION() 1480 zend_hash_index_add_new(Z_ARRVAL_P(return_value), index, val); in ZEND_FUNCTION() 1485 ZEND_HASH_FOREACH_KEY_VAL(&EG(regular_list), index, key, val) { in ZEND_FUNCTION() 1488 zend_hash_index_add_new(Z_ARRVAL_P(return_value), index, val); in ZEND_FUNCTION() 1500 ZEND_HASH_FOREACH_KEY_VAL(&EG(regular_list), index, key, val) { in ZEND_FUNCTION() 1503 zend_hash_index_add_new(Z_ARRVAL_P(return_value), index, val); in ZEND_FUNCTION()
|