/PHP-7.1/sapi/phpdbg/ |
H A D | phpdbg_utils.h | 56 size_t name_length; member 62 size_t name_length; member 66 PHPDBG_API const phpdbg_color_t *phpdbg_get_color(const char *name, size_t name_length); 68 PHPDBG_API void phpdbg_set_color_ex(int element, const char *name, size_t name_length); 84 int phpdbg_safe_class_lookup(const char *name, int name_length, zend_class_entry **ce);
|
H A D | phpdbg_utils.c | 235 if (name_length == color->name_length && in phpdbg_get_color() 236 memcmp(name, color->name, name_length) == SUCCESS) { in phpdbg_get_color() 237 phpdbg_debug("phpdbg_get_color(%s, %lu): %s", name, name_length, color->code); in phpdbg_get_color() 243 phpdbg_debug("phpdbg_get_color(%s, %lu): failed", name, name_length); in phpdbg_get_color() 255 const phpdbg_color_t *color = phpdbg_get_color(name, name_length); in phpdbg_set_color_ex() 271 if (len == element->name_length) { in phpdbg_get_element() 386 if (name == NULL || !name_length) { in phpdbg_safe_class_lookup() 390 lc_free = lc_name = emalloc(name_length + 1); in phpdbg_safe_class_lookup() 391 zend_str_tolower_copy(lc_name, name, name_length); in phpdbg_safe_class_lookup() 392 lc_length = name_length + 1; in phpdbg_safe_class_lookup() [all …]
|
/PHP-7.1/Zend/ |
H A D | zend_ini.c | 234 p->name = zend_string_init(ini_entry->name, ini_entry->name_length, 1); in zend_register_ini_entries() 403 ZEND_API int zend_ini_register_displayer(char *name, uint name_length, void (*displayer)(zend_ini_e… in zend_ini_register_displayer() argument 407 ini_entry = zend_hash_str_find_ptr(registered_zend_ini_directives, name, name_length); in zend_ini_register_displayer() 421 ZEND_API zend_long zend_ini_long(char *name, uint name_length, int orig) /* {{{ */ in zend_ini_long() argument 425 ini_entry = zend_hash_str_find_ptr(EG(ini_directives), name, name_length); in zend_ini_long() 438 ZEND_API double zend_ini_double(char *name, uint name_length, int orig) /* {{{ */ in zend_ini_double() argument 442 ini_entry = zend_hash_str_find_ptr(EG(ini_directives), name, name_length); in zend_ini_double() 455 ZEND_API char *zend_ini_string_ex(char *name, uint name_length, int orig, zend_bool *exists) /* {{{… in zend_ini_string_ex() argument 459 ini_entry = zend_hash_str_find_ptr(EG(ini_directives), name, name_length); in zend_ini_string_ex() 479 ZEND_API char *zend_ini_string(char *name, uint name_length, int orig) /* {{{ */ in zend_ini_string() argument [all …]
|
H A D | zend_ini.h | 43 uint name_length; member 84 ZEND_API zend_long zend_ini_long(char *name, uint name_length, int orig); 85 ZEND_API double zend_ini_double(char *name, uint name_length, int orig); 86 ZEND_API char *zend_ini_string(char *name, uint name_length, int orig); 87 ZEND_API char *zend_ini_string_ex(char *name, uint name_length, int orig, zend_bool *exists); 89 ZEND_API int zend_ini_register_displayer(char *name, uint name_length, void (*displayer)(zend_ini_e…
|
H A D | zend_API.h | 322 ZEND_API int zend_declare_property_null(zend_class_entry *ce, const char *name, size_t name_length,… 330 ZEND_API int zend_declare_class_constant(zend_class_entry *ce, const char *name, size_t name_length… 331 …I int zend_declare_class_constant_null(zend_class_entry *ce, const char *name, size_t name_length); 332 …are_class_constant_long(zend_class_entry *ce, const char *name, size_t name_length, zend_long valu… 333 …are_class_constant_bool(zend_class_entry *ce, const char *name, size_t name_length, zend_bool valu… 334 …re_class_constant_double(zend_class_entry *ce, const char *name, size_t name_length, double value); 342 …_update_property_null(zend_class_entry *scope, zval *object, const char *name, size_t name_length); 349 …d zend_unset_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length); 351 …update_static_property(zend_class_entry *scope, const char *name, size_t name_length, zval *value); 352 …nt zend_update_static_property_null(zend_class_entry *scope, const char *name, size_t name_length); [all …]
|
H A D | zend_API.c | 3878 ZVAL_STRINGL(&property, name, name_length); in zend_update_property() 3891 zend_update_property(scope, object, name, name_length, &tmp); in zend_update_property_null() 3905 ZVAL_STRINGL(&property, name, name_length); in zend_unset_property() 3918 zend_update_property(scope, object, name, name_length, &tmp); in zend_update_property_bool() 3927 zend_update_property(scope, object, name, name_length, &tmp); in zend_update_property_long() 3936 zend_update_property(scope, object, name, name_length, &tmp); in zend_update_property_double() 3945 zend_update_property(scope, object, name, name_length, &tmp); in zend_update_property_str() 3955 zend_update_property(scope, object, name, name_length, &tmp); in zend_update_property_string() 3973 zend_string *key = zend_string_init(name, name_length, 0); in zend_update_static_property() 4088 str = zend_string_init(name, name_length, 0); in zend_read_property() [all …]
|
/PHP-7.1/ext/snmp/ |
H A D | snmp.c | 96 php_snmp_add_property((a), (b)[i].name, (b)[i].name_length, \ 715 rootlen = objid_query->vars[0].name_length; in php_snmp_internal() 799 snprint_objid(buf, sizeof(buf), vars->name, vars->name_length); in php_snmp_internal() 831 ….name_length == vars->name_length && snmp_oid_compare(objid_query->vars[count].name, objid_query->… in php_snmp_internal() 848 while(count < vars->name_length){ in php_snmp_internal() 873 objid_query->vars[0].name_length = vars->name_length; in php_snmp_internal() 901 snprint_objid(buf, sizeof(buf), vars->name, vars->name_length); in php_snmp_internal() 1076 objid_query->vars[0].name_length = MAX_NAME_LEN; in php_snmp_parse_oid() 1085 objid_query->vars[0].name_length = sizeof(objid_mib) / sizeof(oid); in php_snmp_parse_oid() 1089 objid_query->vars[objid_query->offset].name_length = MAX_OID_LEN; in php_snmp_parse_oid() [all …]
|
H A D | php_snmp.h | 112 size_t name_length; member 122 size_t name_length; member
|
/PHP-7.1/sapi/fpm/fpm/ |
H A D | fpm_php.c | 25 static int fpm_php_zend_ini_alter_master(char *name, int name_length, char *new_value, int new_valu… in fpm_php_zend_ini_alter_master() argument 30 if ((ini_entry = zend_hash_str_find_ptr(EG(ini_directives), name, name_length)) == NULL) { in fpm_php_zend_ini_alter_master()
|
/PHP-7.1/main/ |
H A D | php_ini.h | 32 PHPAPI zval *cfg_get_entry(const char *name, size_t name_length);
|
H A D | php_ini.c | 878 PHPAPI zval *cfg_get_entry(const char *name, size_t name_length) argument 880 return zend_hash_str_find(&configuration_hash, name, name_length);
|
/PHP-7.1/ext/mysqlnd/ |
H A D | mysqlnd_result_meta.c | 188 new_fields[i].name_length = ZSTR_LEN(new_fields[i].sname); in MYSQLND_METHOD()
|
H A D | mysqlnd_wireprotocol.c | 1229 STRUCT_OFFSET(MYSQLND_FIELD, name_length), 1378 meta->sname = zend_string_init(meta->name, meta->name_length, packet->persistent_alloc); in php_mysqlnd_rset_field_read() 1383 meta->name_length = ZSTR_LEN(meta->sname); in php_mysqlnd_rset_field_read()
|
H A D | mysqlnd_structs.h | 97 unsigned int name_length; member
|
/PHP-7.1/ext/standard/ |
H A D | info.c | 194 static void php_print_gpcse_array(char *name, uint name_length) in php_print_gpcse_array() argument 201 key = zend_string_init(name, name_length, 0); in php_print_gpcse_array()
|
/PHP-7.1/ext/pdo_mysql/ |
H A D | mysql_statement.c | 706 cols[i].name = zend_string_init(S->fields[i].name, S->fields[i].name_length, 0);
|
/PHP-7.1/ext/soap/ |
H A D | soap.c | 820 size_t name_length; in PHP_METHOD() local 823 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zs", &data, &name, &name_length) == FAILURE) { in PHP_METHOD() 826 if (name_length == 0) { in PHP_METHOD() 832 add_property_stringl(this_ptr, "param_name", name, name_length); in PHP_METHOD()
|
/PHP-7.1/ext/mysqli/ |
H A D | mysqli_api.c | 1158 add_property_stringl(value, "name",(field->name ? field->name : ""), field->name_length);
|