Home
last modified time | relevance | path

Searched refs:name_length (Results 1 – 18 of 18) sorted by relevance

/PHP-7.0/sapi/phpdbg/
H A Dphpdbg_utils.h56 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 Dphpdbg_utils.c235 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.0/Zend/
H A Dzend_ini.c234 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 Dzend_ini.h43 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 Dzend_API.h320 ZEND_API int zend_declare_property_null(zend_class_entry *ce, const char *name, size_t name_length,…
327 ZEND_API int zend_declare_class_constant(zend_class_entry *ce, const char *name, size_t name_length
328 …I int zend_declare_class_constant_null(zend_class_entry *ce, const char *name, size_t name_length);
329 …are_class_constant_long(zend_class_entry *ce, const char *name, size_t name_length, zend_long valu…
330 …are_class_constant_bool(zend_class_entry *ce, const char *name, size_t name_length, zend_bool valu…
331 …re_class_constant_double(zend_class_entry *ce, const char *name, size_t name_length, double value);
339 …_update_property_null(zend_class_entry *scope, zval *object, const char *name, size_t name_length);
346 …d zend_unset_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length);
348 …update_static_property(zend_class_entry *scope, const char *name, size_t name_length, zval *value);
349 …nt zend_update_static_property_null(zend_class_entry *scope, const char *name, size_t name_length);
[all …]
H A Dzend_API.c3838 ZVAL_STRINGL(&property, name, name_length); in zend_update_property()
3851 zend_update_property(scope, object, name, name_length, &tmp); in zend_update_property_null()
3865 ZVAL_STRINGL(&property, name, name_length); in zend_unset_property()
3878 zend_update_property(scope, object, name, name_length, &tmp); in zend_update_property_bool()
3887 zend_update_property(scope, object, name, name_length, &tmp); in zend_update_property_long()
3896 zend_update_property(scope, object, name, name_length, &tmp); in zend_update_property_double()
3905 zend_update_property(scope, object, name, name_length, &tmp); in zend_update_property_str()
3915 zend_update_property(scope, object, name, name_length, &tmp); in zend_update_property_string()
3933 zend_string *key = zend_string_init(name, name_length, 0); in zend_update_static_property()
4035 ZVAL_STRINGL(&property, name, name_length); in zend_read_property()
[all …]
/PHP-7.0/ext/snmp/
H A Dsnmp.c99 php_snmp_add_property((a), (b)[i].name, (b)[i].name_length, \
718 rootlen = objid_query->vars[0].name_length; in php_snmp_internal()
802 snprint_objid(buf, sizeof(buf), vars->name, vars->name_length); in php_snmp_internal()
834 ….name_length == vars->name_length && snmp_oid_compare(objid_query->vars[count].name, objid_query->… in php_snmp_internal()
851 while(count < vars->name_length){ in php_snmp_internal()
876 objid_query->vars[0].name_length = vars->name_length; in php_snmp_internal()
904 snprint_objid(buf, sizeof(buf), vars->name, vars->name_length); in php_snmp_internal()
1079 objid_query->vars[0].name_length = MAX_NAME_LEN; in php_snmp_parse_oid()
1088 objid_query->vars[0].name_length = sizeof(objid_mib) / sizeof(oid); in php_snmp_parse_oid()
1092 objid_query->vars[objid_query->offset].name_length = MAX_OID_LEN; in php_snmp_parse_oid()
[all …]
H A Dphp_snmp.h112 size_t name_length; member
122 size_t name_length; member
/PHP-7.0/sapi/fpm/fpm/
H A Dfpm_php.c26 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
31 if ((ini_entry = zend_hash_str_find_ptr(EG(ini_directives), name, name_length)) == NULL) { in fpm_php_zend_ini_alter_master()
/PHP-7.0/main/
H A Dphp_ini.h32 PHPAPI zval *cfg_get_entry(const char *name, size_t name_length);
H A Dphp_ini.c878 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.0/ext/mysqlnd/
H A Dmysqlnd_result_meta.c230 new_fields[i].name_length = ZSTR_LEN(new_fields[i].sname); in MYSQLND_METHOD()
H A Dmysqlnd_wireprotocol.c1213 STRUCT_OFFSET(MYSQLND_FIELD, name_length),
1356 meta->sname = zend_string_init(meta->name, meta->name_length, packet->persistent_alloc); in php_mysqlnd_rset_field_read()
1361 meta->name_length = ZSTR_LEN(meta->sname); in php_mysqlnd_rset_field_read()
H A Dmysqlnd_structs.h83 unsigned int name_length; member
/PHP-7.0/ext/standard/
H A Dinfo.c194 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.0/ext/pdo_mysql/
H A Dmysql_statement.c706 cols[i].name = zend_string_init(S->fields[i].name, S->fields[i].name_length, 0);
/PHP-7.0/ext/soap/
H A Dsoap.c820 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.0/ext/mysqli/
H A Dmysqli_api.c1158 add_property_stringl(value, "name",(field->name ? field->name : ""), field->name_length);

Completed in 109 milliseconds