Searched refs:name_length (Results 1 - 25 of 35) sorted by relevance

12

/PHP_5_3/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_value_length, int mode, int stage TSRMLS_DC) /* {{{ */ argument
31 if (zend_hash_find(EG(ini_directives), name, name_length, (void **) &ini_entry) == FAILURE) {
/PHP_5_3/ext/com_dotnet/
H A Dcom_handlers.c450 *class_name = estrndup(obj->ce->name, obj->ce->name_length);
451 *class_name_len = obj->ce->name_length;
H A Dcom_saproxy.c348 *class_name = estrndup(php_com_saproxy_class_entry->name, php_com_saproxy_class_entry->name_length);
349 *class_name_len = php_com_saproxy_class_entry->name_length;
/PHP_5_3/ext/dom/
H A Dphp_dom.c215 return zend_hash_update(doc_props->classmap, basece->name, basece->name_length + 1, &ce, sizeof(zend_class_entry *), NULL);
217 zend_hash_del(doc_props->classmap, basece->name, basece->name_length + 1);
231 if (zend_hash_find(doc_props->classmap, basece->name, basece->name_length + 1, (void**) &ce) == SUCCESS) {
683 zend_hash_add(&classes, ce.name, ce.name_length + 1, &dom_domstringlist_prop_handlers, sizeof(dom_domstringlist_prop_handlers), NULL);
689 zend_hash_add(&classes, ce.name, ce.name_length + 1, &dom_namelist_prop_handlers, sizeof(dom_namelist_prop_handlers), NULL);
695 zend_hash_add(&classes, ce.name, ce.name_length + 1, &dom_domimplementationlist_prop_handlers, sizeof(dom_domimplementationlist_prop_handlers), NULL);
719 zend_hash_add(&classes, ce.name, ce.name_length + 1, &dom_node_prop_handlers, sizeof(dom_node_prop_handlers), NULL);
732 zend_hash_add(&classes, ce.name, ce.name_length + 1, &dom_namespace_node_prop_handlers, sizeof(dom_namespace_node_prop_handlers), NULL);
735 zend_hash_add(&classes, ce.name, ce.name_length + 1, &dom_node_prop_handlers, sizeof(dom_node_prop_handlers), NULL);
760 zend_hash_add(&classes, ce.name, ce.name_length
[all...]
/PHP_5_3/ext/reflection/
H A Dphp_reflection.c933 zend_unmangle_property_name(prop->name, prop->name_length, &class_name, &prop_name);
1148 ZVAL_STRINGL(name, ce->name, ce->name_length, 1);
1253 ZVAL_STRINGL(classname, method->common.scope->name, method->common.scope->name_length, 1);
1274 zend_unmangle_property_name(prop->name, prop->name_length, &class_name, &prop_name);
1296 ZVAL_STRINGL(classname, prop->ce->name, prop->ce->name_length, 1);
2520 ZVAL_STRINGL(classname, mptr->common.scope->name, mptr->common.scope->name_length, 1);
3041 ZVAL_STRINGL(classname, Z_OBJCE_P(argument)->name, Z_OBJCE_P(argument)->name_length, 1);
3058 ZVAL_STRINGL(classname, (*ce)->name, (*ce)->name_length, 1);
3602 property_info_tmp.name_length = name_len;
4061 add_assoc_zval_ex(return_value, ce->interfaces[i]->name, ce->interfaces[i]->name_length
[all...]
/PHP_5_3/ext/snmp/
H A Dsnmp.c454 snprint_value(buf, sizeof(buf), vars->name, vars->name_length, vars);
456 sprint_value(buf,vars->name, vars->name_length, vars);
555 size_t name_length; local
592 name_length = rootlen;
607 name_length = MAX_OID_LEN;
608 if (!snmp_parse_oid(objid, name, &name_length)) {
614 snmp_add_null_var(pdu, name, name_length);
617 if (snmp_add_var(pdu, name, name_length, type, value)) {
619 snprint_objid(buf, sizeof(buf), name, name_length);
621 sprint_objid(buf, name, name_length);
[all...]
/PHP_5_3/ext/spl/
H A Dspl_functions.c83 size_t len = pce->name_length;
88 ZVAL_STRINGL(tmp, pce->name, pce->name_length, 1);
128 zend_mangle_property_name(&rv, name_len, ce->name, ce->name_length, prop_name, prop_len, 0);
/PHP_5_3/ext/standard/
H A Dvar.c667 zend_mangle_property_name(&priv_name, &prop_name_length, ce->name, ce->name_length, Z_STRVAL_PP(name), Z_STRLEN_PP(name), ce->type & ZEND_INTERNAL_CLASS);
766 smart_str_append_long(buf, (int)Z_OBJCE_P(struc)->name_length);
768 smart_str_appendl(buf, Z_OBJCE_P(struc)->name, Z_OBJCE_P(struc)->name_length);
H A Dinfo.c140 static void php_print_gpcse_array(char *name, uint name_length TSRMLS_DC)
147 zend_is_auto_global(name, name_length TSRMLS_CC);
149 if (zend_hash_find(&EG(symbol_table), name, name_length+1, (void **) &data)!=FAILURE
/PHP_5_3/main/
H A Dphp_ini.c132 PHPWRITE(ini_entry->name, ini_entry->name_length - 1);
139 PHPWRITE(ini_entry->name, ini_entry->name_length - 1);
881 PHPAPI zval *cfg_get_entry(const char *name, uint name_length) argument
885 if (zend_hash_find(&configuration_hash, name, name_length, (void **) &tmp) == SUCCESS) {
H A Dphp_ini.h31 PHPAPI zval *cfg_get_entry(const char *name, uint name_length);
/PHP_5_3/Zend/
H A Dzend.h421 zend_uint name_length; member in struct:_zend_class_entry
481 int (*get_configuration_directive)(const char *name, uint name_length, zval *contents);
651 ZEND_API int zend_get_configuration_directive(const char *name, uint name_length, zval *contents);
H A Dzend_API.c246 *class_name_len = ce->name_length;
2195 char *lowercase_name = malloc(orig_class_entry->name_length + 1);
2207 zend_str_tolower_copy(lowercase_name, orig_class_entry->name, class_entry->name_length);
2208 zend_hash_update(CG(class_table), lowercase_name, class_entry->name_length+1, &class_entry, sizeof(zend_class_entry *), NULL);
2284 ZEND_API int zend_set_hash_symbol(zval *symbol, const char *name, int name_length, zend_bool is_ref, int num_symbol_tables, ...) /* {{{ */ argument
2296 zend_hash_update(symbol_table, name, name_length + 1, &symbol, sizeof(zval *), NULL);
2734 *callable_name_len = fcc->calling_scope->name_length + Z_STRLEN_P(callable) + sizeof("::") - 1;
2736 memcpy(ptr, fcc->calling_scope->name, fcc->calling_scope->name_length);
2737 ptr += fcc->calling_scope->name_length;
2814 *callable_name_len = fcc->calling_scope->name_length
3101 zend_declare_property_ex(zend_class_entry *ce, const char *name, int name_length, zval *property, int access_type, char *doc_comment, int doc_comment_len TSRMLS_DC) argument
3175 zend_declare_property(zend_class_entry *ce, char *name, int name_length, zval *property, int access_type TSRMLS_DC) argument
3181 zend_declare_property_null(zend_class_entry *ce, char *name, int name_length, int access_type TSRMLS_DC) argument
3195 zend_declare_property_bool(zend_class_entry *ce, char *name, int name_length, long value, int access_type TSRMLS_DC) argument
3210 zend_declare_property_long(zend_class_entry *ce, char *name, int name_length, long value, int access_type TSRMLS_DC) argument
3225 zend_declare_property_double(zend_class_entry *ce, char *name, int name_length, double value, int access_type TSRMLS_DC) argument
3240 zend_declare_property_string(zend_class_entry *ce, char *name, int name_length, char *value, int access_type TSRMLS_DC) argument
3257 zend_declare_property_stringl(zend_class_entry *ce, char *name, int name_length, char *value, int value_len, int access_type TSRMLS_DC) argument
3273 zend_declare_class_constant(zend_class_entry *ce, const char *name, size_t name_length, zval *value TSRMLS_DC) argument
3294 zend_declare_class_constant_long(zend_class_entry *ce, const char *name, size_t name_length, long value TSRMLS_DC) argument
3309 zend_declare_class_constant_bool(zend_class_entry *ce, const char *name, size_t name_length, zend_bool value TSRMLS_DC) argument
3324 zend_declare_class_constant_double(zend_class_entry *ce, const char *name, size_t name_length, double value TSRMLS_DC) argument
3339 zend_declare_class_constant_stringl(zend_class_entry *ce, const char *name, size_t name_length, const char *value, size_t value_length TSRMLS_DC) argument
3355 zend_declare_class_constant_string(zend_class_entry *ce, const char *name, size_t name_length, const char *value TSRMLS_DC) argument
3361 zend_update_property(zend_class_entry *scope, zval *object, char *name, int name_length, zval *value TSRMLS_DC) argument
3397 zend_update_property_bool(zend_class_entry *scope, zval *object, char *name, int name_length, long value TSRMLS_DC) argument
3409 zend_update_property_long(zend_class_entry *scope, zval *object, char *name, int name_length, long value TSRMLS_DC) argument
3421 zend_update_property_double(zend_class_entry *scope, zval *object, char *name, int name_length, double value TSRMLS_DC) argument
3433 zend_update_property_string(zend_class_entry *scope, zval *object, char *name, int name_length, const char *value TSRMLS_DC) argument
3445 zend_update_property_stringl(zend_class_entry *scope, zval *object, char *name, int name_length, const char *value, int value_len TSRMLS_DC) argument
3457 zend_update_static_property(zend_class_entry *scope, char *name, int name_length, zval *value TSRMLS_DC) argument
3506 zend_update_static_property_bool(zend_class_entry *scope, char *name, int name_length, long value TSRMLS_DC) argument
3518 zend_update_static_property_long(zend_class_entry *scope, char *name, int name_length, long value TSRMLS_DC) argument
3530 zend_update_static_property_double(zend_class_entry *scope, char *name, int name_length, double value TSRMLS_DC) argument
3542 zend_update_static_property_string(zend_class_entry *scope, char *name, int name_length, const char *value TSRMLS_DC) argument
3554 zend_update_static_property_stringl(zend_class_entry *scope, char *name, int name_length, const char *value, int value_len TSRMLS_DC) argument
3566 zend_read_property(zend_class_entry *scope, zval *object, char *name, int name_length, zend_bool silent TSRMLS_DC) argument
3591 zend_read_static_property(zend_class_entry *scope, char *name, int name_length, zend_bool silent TSRMLS_DC) argument
[all...]
H A Dzend_execute.h73 ZEND_API int zend_lookup_class(const char *name, int name_length, zend_class_entry ***ce TSRMLS_DC);
74 ZEND_API int zend_lookup_class_ex(const char *name, int name_length, int use_autoload, zend_class_entry ***ce TSRMLS_DC);
H A Dzend_ini.c199 if (zend_hash_add(directives, p->name, p->name_length, (void*)p, sizeof(zend_ini_entry), (void **) &hashed_ini_entry) == FAILURE) {
204 if ((zend_get_configuration_directive(p->name, p->name_length, &default_value)) == SUCCESS) {
245 ZEND_API int zend_alter_ini_entry(char *name, uint name_length, char *new_value, uint new_value_length, int modify_type, int stage) /* {{{ */ argument
249 return zend_alter_ini_entry_ex(name, name_length, new_value, new_value_length, modify_type, stage, 0 TSRMLS_CC);
253 ZEND_API int zend_alter_ini_entry_ex(char *name, uint name_length, char *new_value, uint new_value_length, int modify_type, int stage, int force_change TSRMLS_DC) /* {{{ */ argument
260 if (zend_hash_find(EG(ini_directives), name, name_length, (void **) &ini_entry) == FAILURE) {
286 zend_hash_add(EG(modified_ini_directives), name, name_length, &ini_entry, sizeof(zend_ini_entry*), NULL); local
307 ZEND_API int zend_restore_ini_entry(char *name, uint name_length, int stage) /* {{{ */ argument
312 if (zend_hash_find(EG(ini_directives), name, name_length, (void **) &ini_entry) == FAILURE ||
319 zend_hash_del(EG(modified_ini_directives), name, name_length); local
329 zend_ini_register_displayer(char *name, uint name_length, void (*displayer)(zend_ini_entry *ini_entry, int type)) argument
346 zend_ini_long(char *name, uint name_length, int orig) argument
363 zend_ini_double(char *name, uint name_length, int orig) argument
380 zend_ini_string_ex(char *name, uint name_length, int orig, zend_bool *exists) argument
404 zend_ini_string(char *name, uint name_length, int orig) argument
[all...]
H A Dzend_ini.h69 uint name_length; member in struct:_zend_ini_entry
99 ZEND_API int zend_alter_ini_entry(char *name, uint name_length, char *new_value, uint new_value_length, int modify_type, int stage);
100 ZEND_API int zend_alter_ini_entry_ex(char *name, uint name_length, char *new_value, uint new_value_length, int modify_type, int stage, int force_change TSRMLS_DC);
101 ZEND_API int zend_restore_ini_entry(char *name, uint name_length, int stage);
104 ZEND_API long zend_ini_long(char *name, uint name_length, int orig);
105 ZEND_API double zend_ini_double(char *name, uint name_length, int orig);
106 ZEND_API char *zend_ini_string(char *name, uint name_length, int orig);
107 ZEND_API char *zend_ini_string_ex(char *name, uint name_length, int orig, zend_bool *exists);
109 ZEND_API int zend_ini_register_displayer(char *name, uint name_length, void (*displayer)(zend_ini_entry *ini_entry, int type));
H A Dzend_object_handlers.c255 EG(std_property_info).name_length = Z_STRLEN_P(member);
297 info.name_length = Z_STRLEN_P(member);
301 zend_unmangle_property_name(property_info->name, property_info->name_length, &class_name, &prop_name);
305 info.name_length = strlen(prop_name);
306 info.h = zend_get_hash_value(info.name, info.name_length+1);
313 } else if (zend_hash_quick_find(zobj->guards, property_info->name, property_info->name_length+1, property_info->h, (void **) pguard) == SUCCESS) {
320 return zend_hash_quick_add(zobj->guards, property_info->name, property_info->name_length+1, property_info->h, (void**)&stub, sizeof(stub), (void**) pguard);
352 if (!property_info || zend_hash_quick_find(zobj->properties, property_info->name, property_info->name_length+1, property_info->h, (void **) &retval) == FAILURE) {
437 if (property_info && zend_hash_quick_find(zobj->properties, property_info->name, property_info->name_length+1, property_info->h, (void **) &variable_ptr) == SUCCESS) {
490 zend_hash_quick_update(zobj->properties, property_info->name, property_info->name_length
[all...]
H A Dzend_builtin_functions.c734 RETURN_STRINGL(EG(scope)->name, EG(scope)->name_length, 1);
757 RETURN_STRINGL(EG(called_scope)->name, EG(called_scope)->name_length, 1);
773 zend_uint name_length; local
782 RETURN_STRINGL(ce->parent->name, ce->parent->name_length, 1);
790 && Z_OBJ_HT_P(arg)->get_class_name(arg, &name, &name_length, 1 TSRMLS_CC) == SUCCESS) {
791 RETURN_STRINGL(name, name_length, 0);
804 RETURN_STRINGL(ce->parent->name, ce->parent->name_length, 1);
1563 (ce->name_length != hash_key->nKeyLength - 1 ||
1564 !same_name(hash_key->arKey, ce->name, ce->name_length))) {
1567 add_next_index_stringl(array, ce->name, ce->name_length,
[all...]
H A Dzend_API.h172 class_container.name_length = _len; \
292 ZEND_API int zend_declare_property(zend_class_entry *ce, char *name, int name_length, zval *property, int access_type TSRMLS_DC);
293 ZEND_API int zend_declare_property_ex(zend_class_entry *ce, const char *name, int name_length, zval *property, int access_type, char *doc_comment, int doc_comment_len TSRMLS_DC);
294 ZEND_API int zend_declare_property_null(zend_class_entry *ce, char *name, int name_length, int access_type TSRMLS_DC);
295 ZEND_API int zend_declare_property_bool(zend_class_entry *ce, char *name, int name_length, long value, int access_type TSRMLS_DC);
296 ZEND_API int zend_declare_property_long(zend_class_entry *ce, char *name, int name_length, long value, int access_type TSRMLS_DC);
297 ZEND_API int zend_declare_property_double(zend_class_entry *ce, char *name, int name_length, double value, int access_type TSRMLS_DC);
298 ZEND_API int zend_declare_property_string(zend_class_entry *ce, char *name, int name_length, char *value, int access_type TSRMLS_DC);
299 ZEND_API int zend_declare_property_stringl(zend_class_entry *ce, char *name, int name_length, char *value, int value_len, int access_type TSRMLS_DC);
301 ZEND_API int zend_declare_class_constant(zend_class_entry *ce, const char *name, size_t name_length, zva
[all...]
H A Dzend_compile.c45 property_info->name = estrndup(property_info->name, property_info->name_length);
55 property_info->name = zend_strndup(property_info->name, property_info->name_length);
76 static void build_runtime_defined_function_key(zval *result, const char *name, int name_length TSRMLS_DC) /* {{{ */
90 result->value.str.len = 1+name_length+strlen(filename)+char_pos_len;
1276 class_lcname = do_alloca(CG(active_class_entry)->name_length + 1, use_heap);
1277 zend_str_tolower_copy(class_lcname, CG(active_class_entry)->name, CG(active_class_entry)->name_length);
1280 if ((CG(active_class_entry)->name_length == name_len) && (!memcmp(class_lcname, lcname, name_len))) {
2488 lc_class_name = zend_str_tolower_dup(ce->name, ce->name_length);
2489 if (!zend_hash_exists(&ce->function_table, lc_class_name, ce->name_length+1)) {
2490 lc_parent_class_name = zend_str_tolower_dup(ce->parent->name, ce->parent->name_length);
[all...]
H A Dzend_execute_API.c1042 ZEND_API int zend_lookup_class_ex(const char *name, int name_length, int use_autoload, zend_class_entry ***ce TSRMLS_DC) /* {{{ */ argument
1057 if (name == NULL || !name_length) {
1061 lc_free = lc_name = do_alloca(name_length + 1, use_heap);
1062 zend_str_tolower_copy(lc_name, name, name_length);
1063 lc_length = name_length + 1;
1100 ZVAL_STRINGL(class_name_ptr, name+1, name_length-1, 1);
1102 ZVAL_STRINGL(class_name_ptr, name, name_length, 1);
1148 ZEND_API int zend_lookup_class(const char *name, int name_length, zend_class_entry ***ce TSRMLS_DC) /* {{{ */ argument
1150 return zend_lookup_class_ex(name, name_length, 1, ce TSRMLS_CC);
H A Dzend.c66 static int (*zend_get_configuration_directive_p)(const char *name, uint name_length, zval *contents);
951 ZEND_API int zend_get_configuration_directive(const char *name, uint name_length, zval *contents) /* {{{ */ argument
954 return zend_get_configuration_directive_p(name, name_length, contents);
/PHP_5_3/ext/mysqlnd/
H A Dmysqlnd_result_meta.c232 meta->fields[i].name_length TSRMLS_CC);
247 field_packet->metadata->name_length + 1,
254 field_packet->metadata->name_length + 1);
/PHP_5_3/ext/libxml/
H A Dlibxml.c894 return zend_hash_add(&php_libxml_exports, ce->name, ce->name_length + 1, &export_hnd, sizeof(export_hnd), NULL);
908 if (zend_hash_find(&php_libxml_exports, ce->name, ce->name_length + 1, (void **) &export_hnd) == SUCCESS) {
/PHP_5_3/ext/mysqli/
H A Dmysqli.c54 zend_declare_property_null((a), (b)[i].name, (b)[i].name_length, ZEND_ACC_PUBLIC TSRMLS_CC); \
501 zend_hash_find(&classes, mysqli_base_class->name, mysqli_base_class->name_length + 1,
626 zend_hash_add(&classes, ce->name, ce->name_length+1, &mysqli_driver_properties, sizeof(mysqli_driver_properties), NULL);
634 zend_hash_add(&classes, ce->name, ce->name_length+1, &mysqli_link_properties, sizeof(mysqli_link_properties), NULL);
642 zend_hash_add(&classes, ce->name, ce->name_length+1, &mysqli_warning_properties, sizeof(mysqli_warning_properties), NULL);
649 zend_hash_add(&classes, ce->name, ce->name_length+1, &mysqli_result_properties, sizeof(mysqli_result_properties), NULL);
656 zend_hash_add(&classes, ce->name, ce->name_length+1, &mysqli_stmt_properties, sizeof(mysqli_stmt_properties), NULL);

Completed in 57 milliseconds

12