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

12

/PHP_5_4/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_4/ext/reflection/
H A Dphp_reflection.c958 zend_unmangle_property_name(prop->name, prop->name_length, &class_name, (const char**)&prop_name);
1194 ZVAL_STRINGL(name, ce->name, ce->name_length, 1);
1300 ZVAL_STRINGL(classname, method->common.scope->name, method->common.scope->name_length, 1);
1321 zend_unmangle_property_name(prop->name, prop->name_length, &class_name, &prop_name);
1343 ZVAL_STRINGL(classname, prop->ce->name, prop->ce->name_length, 1);
2747 ZVAL_STRINGL(classname, mptr->common.scope->name, mptr->common.scope->name_length, 1);
3303 ZVAL_STRINGL(classname, Z_OBJCE_P(argument)->name, Z_OBJCE_P(argument)->name_length, 1);
3320 ZVAL_STRINGL(classname, (*ce)->name, (*ce)->name_length, 1);
3853 property_info_tmp.name_length = name_len;
4371 add_assoc_zval_ex(return_value, ce->interfaces[i]->name, ce->interfaces[i]->name_length
[all...]
/PHP_5_4/ext/snmp/
H A Dphp_snmp.h107 size_t name_length; member in struct:_ptp_snmp_prop_handler
117 size_t name_length; member in struct:_snmpobjarg
H A Dsnmp.c105 php_snmp_add_property((a), (b)[i].name, (b)[i].name_length, \
567 if (snprint_value(buf, buflen, vars->name, vars->name_length, vars) == -1) {
729 memmove((char *)root, (char *)(objid_query->vars[0].name), (objid_query->vars[0].name_length) * sizeof(oid));
730 rootlen = objid_query->vars[0].name_length;
756 snmp_add_null_var(pdu, objid_query->vars[0].name, objid_query->vars[0].name_length);
772 if ((snmp_errno = snmp_add_var(pdu, objid_query->vars[objid_query->offset].name, objid_query->vars[objid_query->offset].name_length, objid_query->vars[objid_query->offset].type, objid_query->vars[objid_query->offset].value))) {
773 snprint_objid(buf, sizeof(buf), objid_query->vars[objid_query->offset].name, objid_query->vars[objid_query->offset].name_length);
781 snmp_add_null_var(pdu, objid_query->vars[objid_query->offset].name, objid_query->vars[objid_query->offset].name_length);
814 snprint_objid(buf, sizeof(buf), vars->name, vars->name_length);
815 snprint_value(buf2, sizeof(buf2), vars->name, vars->name_length, var
1964 php_snmp_add_property(HashTable *h, const char *name, size_t name_length, php_snmp_read_t read_func, php_snmp_write_t write_func TSRMLS_DC) argument
[all...]
/PHP_5_4/ext/spl/
H A Dspl_functions.c83 size_t len = pce->name_length;
88 ZVAL_STRINGL(tmp, pce->name, pce->name_length, 1);
140 zend_mangle_property_name(&rv, name_len, ce->name, ce->name_length, prop_name, prop_len, 0);
/PHP_5_4/ext/standard/
H A Dvar.c678 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);
781 smart_str_append_long(buf, (int)Z_OBJCE_P(struc)->name_length);
783 smart_str_appendl(buf, Z_OBJCE_P(struc)->name, Z_OBJCE_P(struc)->name_length);
/PHP_5_4/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);
845 PHPAPI zval *cfg_get_entry(const char *name, uint name_length) argument
849 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_4/Zend/
H A Dzend.h469 zend_uint name_length; member in struct:_zend_class_entry
540 int (*get_configuration_directive)(const char *name, uint name_length, zval *contents);
719 ZEND_API int zend_get_configuration_directive(const char *name, uint name_length, zval *contents);
H A Dzend_API.c254 *class_name_len = ce->name_length;
2432 char *lowercase_name = emalloc(orig_class_entry->name_length + 1);
2444 zend_str_tolower_copy(lowercase_name, orig_class_entry->name, class_entry->name_length);
2445 lowercase_name = (char*)zend_new_interned_string(lowercase_name, class_entry->name_length + 1, 1 TSRMLS_CC);
2447 zend_hash_quick_update(CG(class_table), lowercase_name, class_entry->name_length+1, INTERNED_HASH(lowercase_name), &class_entry, sizeof(zend_class_entry *), NULL);
2449 zend_hash_update(CG(class_table), lowercase_name, class_entry->name_length+1, &class_entry, sizeof(zend_class_entry *), NULL);
2531 ZEND_API int zend_set_hash_symbol(zval *symbol, const char *name, int name_length, zend_bool is_ref, int num_symbol_tables, ...) /* {{{ */ argument
2543 zend_hash_update(symbol_table, name, name_length + 1, &symbol, sizeof(zval *), NULL);
2984 *callable_name_len = fcc->calling_scope->name_length + Z_STRLEN_P(callable) + sizeof("::") - 1;
2986 memcpy(ptr, fcc->calling_scope->name, fcc->calling_scope->name_length);
3351 zend_declare_property_ex(zend_class_entry *ce, const char *name, int name_length, zval *property, int access_type, const char *doc_comment, int doc_comment_len TSRMLS_DC) argument
3451 zend_declare_property(zend_class_entry *ce, const char *name, int name_length, zval *property, int access_type TSRMLS_DC) argument
3457 zend_declare_property_null(zend_class_entry *ce, const char *name, int name_length, int access_type TSRMLS_DC) argument
3471 zend_declare_property_bool(zend_class_entry *ce, const char *name, int name_length, long value, int access_type TSRMLS_DC) argument
3486 zend_declare_property_long(zend_class_entry *ce, const char *name, int name_length, long value, int access_type TSRMLS_DC) argument
3501 zend_declare_property_double(zend_class_entry *ce, const char *name, int name_length, double value, int access_type TSRMLS_DC) argument
3516 zend_declare_property_string(zend_class_entry *ce, const char *name, int name_length, const char *value, int access_type TSRMLS_DC) argument
3533 zend_declare_property_stringl(zend_class_entry *ce, const char *name, int name_length, const char *value, int value_len, int access_type TSRMLS_DC) argument
3549 zend_declare_class_constant(zend_class_entry *ce, const char *name, size_t name_length, zval *value TSRMLS_DC) argument
3570 zend_declare_class_constant_long(zend_class_entry *ce, const char *name, size_t name_length, long value TSRMLS_DC) argument
3585 zend_declare_class_constant_bool(zend_class_entry *ce, const char *name, size_t name_length, zend_bool value TSRMLS_DC) argument
3600 zend_declare_class_constant_double(zend_class_entry *ce, const char *name, size_t name_length, double value TSRMLS_DC) argument
3615 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
3631 zend_declare_class_constant_string(zend_class_entry *ce, const char *name, size_t name_length, const char *value TSRMLS_DC) argument
3637 zend_update_property(zend_class_entry *scope, zval *object, const char *name, int name_length, zval *value TSRMLS_DC) argument
3673 zend_update_property_bool(zend_class_entry *scope, zval *object, const char *name, int name_length, long value TSRMLS_DC) argument
3685 zend_update_property_long(zend_class_entry *scope, zval *object, const char *name, int name_length, long value TSRMLS_DC) argument
3697 zend_update_property_double(zend_class_entry *scope, zval *object, const char *name, int name_length, double value TSRMLS_DC) argument
3709 zend_update_property_string(zend_class_entry *scope, zval *object, const char *name, int name_length, const char *value TSRMLS_DC) argument
3721 zend_update_property_stringl(zend_class_entry *scope, zval *object, const char *name, int name_length, const char *value, int value_len TSRMLS_DC) argument
3733 zend_update_static_property(zend_class_entry *scope, const char *name, int name_length, zval *value TSRMLS_DC) argument
3782 zend_update_static_property_bool(zend_class_entry *scope, const char *name, int name_length, long value TSRMLS_DC) argument
3794 zend_update_static_property_long(zend_class_entry *scope, const char *name, int name_length, long value TSRMLS_DC) argument
3806 zend_update_static_property_double(zend_class_entry *scope, const char *name, int name_length, double value TSRMLS_DC) argument
3818 zend_update_static_property_string(zend_class_entry *scope, const char *name, int name_length, const char *value TSRMLS_DC) argument
3830 zend_update_static_property_stringl(zend_class_entry *scope, const char *name, int name_length, const char *value, int value_len TSRMLS_DC) argument
3842 zend_read_property(zend_class_entry *scope, zval *object, const char *name, int name_length, zend_bool silent TSRMLS_DC) argument
3867 zend_read_static_property(zend_class_entry *scope, const char *name, int name_length, zend_bool silent TSRMLS_DC) argument
[all...]
H A Dzend_API.h177 class_container.name_length = _len; \
303 ZEND_API int zend_declare_property(zend_class_entry *ce, const char *name, int name_length, zval *property, int access_type TSRMLS_DC);
304 ZEND_API int zend_declare_property_ex(zend_class_entry *ce, const char *name, int name_length, zval *property, int access_type, const char *doc_comment, int doc_comment_len TSRMLS_DC);
305 ZEND_API int zend_declare_property_null(zend_class_entry *ce, const char *name, int name_length, int access_type TSRMLS_DC);
306 ZEND_API int zend_declare_property_bool(zend_class_entry *ce, const char *name, int name_length, long value, int access_type TSRMLS_DC);
307 ZEND_API int zend_declare_property_long(zend_class_entry *ce, const char *name, int name_length, long value, int access_type TSRMLS_DC);
308 ZEND_API int zend_declare_property_double(zend_class_entry *ce, const char *name, int name_length, double value, int access_type TSRMLS_DC);
309 ZEND_API int zend_declare_property_string(zend_class_entry *ce, const char *name, int name_length, const char *value, int access_type TSRMLS_DC);
310 ZEND_API int zend_declare_property_stringl(zend_class_entry *ce, const char *name, int name_length, const char *value, int value_len, int access_type TSRMLS_DC);
312 ZEND_API int zend_declare_class_constant(zend_class_entry *ce, const char *name, size_t name_length, zva
[all...]
H A Dzend_constants.c244 const_name_len = sizeof("\0__CLASS__") + EG(scope)->name_length;
247 zend_str_tolower_copy(const_name + sizeof("\0__CLASS__")-1, EG(scope)->name, EG(scope)->name_length);
251 Z_STRVAL((**c).value) = estrndup(EG(scope)->name, EG(scope)->name_length);
252 Z_STRLEN((**c).value) = EG(scope)->name_length;
H A Dzend_execute.h70 ZEND_API int zend_lookup_class(const char *name, int name_length, zend_class_entry ***ce TSRMLS_DC);
71 ZEND_API int zend_lookup_class_ex(const char *name, int name_length, const zend_literal *key, int use_autoload, zend_class_entry ***ce TSRMLS_DC);
H A Dzend_execute_API.c1031 ZEND_API int zend_lookup_class_ex(const char *name, int name_length, const zend_literal *key, int use_autoload, zend_class_entry ***ce TSRMLS_DC) /* {{{ */ argument
1051 if (name == NULL || !name_length) {
1055 lc_free = lc_name = do_alloca(name_length + 1, use_heap);
1056 zend_str_tolower_copy(lc_name, name, name_length);
1057 lc_length = name_length + 1;
1085 if (strspn(name, "0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\177\200\201\202\203\204\205\206\207\210\211\212\213\214\215\216\217\220\221\222\223\224\225\226\227\230\231\232\233\234\235\236\237\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377\\") != name_length) {
1109 ZVAL_STRINGL(class_name_ptr, name+1, name_length-1, 1);
1111 ZVAL_STRINGL(class_name_ptr, name, name_length, 1);
1156 ZEND_API int zend_lookup_class(const char *name, int name_length, zend_class_entry ***ce TSRMLS_DC) /* {{{ */ argument
1158 return zend_lookup_class_ex(name, name_length, NUL
[all...]
H A Dzend_ini.c201 if (zend_hash_add(directives, p->name, p->name_length, (void*)p, sizeof(zend_ini_entry), (void **) &hashed_ini_entry) == FAILURE) {
206 if ((zend_get_configuration_directive(p->name, p->name_length, &default_value)) == SUCCESS) {
247 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
251 return zend_alter_ini_entry_ex(name, name_length, new_value, new_value_length, modify_type, stage, 0 TSRMLS_CC);
255 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
262 if (zend_hash_find(EG(ini_directives), name, name_length, (void **) &ini_entry) == FAILURE) {
288 zend_hash_add(EG(modified_ini_directives), name, name_length, &ini_entry, sizeof(zend_ini_entry*), NULL); local
309 ZEND_API int zend_restore_ini_entry(char *name, uint name_length, int stage) /* {{{ */ argument
314 if (zend_hash_find(EG(ini_directives), name, name_length, (void **) &ini_entry) == FAILURE ||
321 zend_hash_del(EG(modified_ini_directives), name, name_length); local
331 zend_ini_register_displayer(char *name, uint name_length, void (*displayer)(zend_ini_entry *ini_entry, int type)) argument
348 zend_ini_long(char *name, uint name_length, int orig) argument
365 zend_ini_double(char *name, uint name_length, int orig) argument
382 zend_ini_string_ex(char *name, uint name_length, int orig, zend_bool *exists) argument
406 zend_ini_string(char *name, uint name_length, int orig) argument
[all...]
H A Dzend_ini.h67 uint name_length; member in struct:_zend_ini_entry
97 ZEND_API int zend_alter_ini_entry(char *name, uint name_length, char *new_value, uint new_value_length, int modify_type, int stage);
98 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);
99 ZEND_API int zend_restore_ini_entry(char *name, uint name_length, int stage);
102 ZEND_API long zend_ini_long(char *name, uint name_length, int orig);
103 ZEND_API double zend_ini_double(char *name, uint name_length, int orig);
104 ZEND_API char *zend_ini_string(char *name, uint name_length, int orig);
105 ZEND_API char *zend_ini_string_ex(char *name, uint name_length, int orig, zend_bool *exists);
107 ZEND_API int zend_ini_register_displayer(char *name, uint name_length, void (*displayer)(zend_ini_entry *ini_entry, int type));
H A Dzend_objects.c196 if (zend_hash_quick_find(new_object->properties, prop_info->name, prop_info->name_length+1, prop_info->h, (void**)&new_object->properties_table[prop_info->offset]) == FAILURE) {
H A Dzend_object_handlers.c83 zend_hash_quick_add(zobj->properties, prop_info->name, prop_info->name_length+1, prop_info->h, (void**)&zobj->properties_table[prop_info->offset], sizeof(zval*), (void**)&zobj->properties_table[prop_info->offset]);
96 zend_hash_quick_add(zobj->properties, prop_info->name, prop_info->name_length+1, prop_info->h, (void**)&zobj->properties_table[prop_info->offset], sizeof(zval*), (void**)&zobj->properties_table[prop_info->offset]);
345 EG(std_property_info).name_length = Z_STRLEN_P(member);
394 info.name_length = Z_STRLEN_P(member);
398 zend_unmangle_property_name(property_info->name, property_info->name_length, &class_name, &prop_name);
402 info.name_length = strlen(prop_name);
403 info.h = zend_get_hash_value(info.name, info.name_length+1);
410 } else if (zend_hash_quick_find(zobj->guards, property_info->name, property_info->name_length+1, property_info->h, (void **) pguard) == SUCCESS) {
417 return zend_hash_quick_add(zobj->guards, property_info->name, property_info->name_length+1, property_info->h, (void**)&stub, sizeof(stub), (void**) pguard);
457 UNEXPECTED(zend_hash_quick_find(zobj->properties, property_info->name, property_info->name_length
[all...]
H A Dzend_builtin_functions.c761 RETURN_STRINGL(EG(scope)->name, EG(scope)->name_length, 1);
784 RETURN_STRINGL(EG(called_scope)->name, EG(called_scope)->name_length, 1);
800 zend_uint name_length; local
809 RETURN_STRINGL(ce->parent->name, ce->parent->name_length, 1);
817 && Z_OBJ_HT_P(arg)->get_class_name(arg, &name, &name_length, 1 TSRMLS_CC) == SUCCESS) {
818 RETURN_STRINGL(name, name_length, 0);
831 RETURN_STRINGL(ce->parent->name, ce->parent->name_length, 1);
1666 (ce->name_length != hash_key->nKeyLength - 1 ||
1667 !same_name(hash_key->arKey, ce->name, ce->name_length))) {
1670 add_next_index_stringl(array, ce->name, ce->name_length,
[all...]
H A Dzend_compile.c111 property_info->name = estrndup(property_info->name, property_info->name_length);
122 property_info->name = zend_strndup(property_info->name, property_info->name_length);
142 static void build_runtime_defined_function_key(zval *result, const char *name, int name_length TSRMLS_DC) /* {{{ */
156 result->value.str.len = 1+name_length+strlen(filename)+char_pos_len;
1626 class_lcname = do_alloca(CG(active_class_entry)->name_length + 1, use_heap);
1627 zend_str_tolower_copy(class_lcname, CG(active_class_entry)->name, CG(active_class_entry)->name_length);
1630 if ((CG(active_class_entry)->name_length == name_len) && ((CG(active_class_entry)->ce_flags & ZEND_ACC_TRAIT) != ZEND_ACC_TRAIT) && (!memcmp(class_lcname, lcname, name_len))) {
2876 lc_class_name = zend_str_tolower_dup(ce->name, ce->name_length);
2877 if (!zend_hash_exists(&ce->function_table, lc_class_name, ce->name_length+1)) {
2878 lc_parent_class_name = zend_str_tolower_dup(ce->parent->name, ce->parent->name_length);
3924 zend_uint name_length = strlen(class_name); local
[all...]
/PHP_5_4/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_4/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) {
682 zend_hash_add(&classes, ce.name, ce.name_length + 1, &dom_domstringlist_prop_handlers, sizeof(dom_domstringlist_prop_handlers), NULL);
688 zend_hash_add(&classes, ce.name, ce.name_length + 1, &dom_namelist_prop_handlers, sizeof(dom_namelist_prop_handlers), NULL);
694 zend_hash_add(&classes, ce.name, ce.name_length + 1, &dom_domimplementationlist_prop_handlers, sizeof(dom_domimplementationlist_prop_handlers), NULL);
718 zend_hash_add(&classes, ce.name, ce.name_length + 1, &dom_node_prop_handlers, sizeof(dom_node_prop_handlers), NULL);
731 zend_hash_add(&classes, ce.name, ce.name_length + 1, &dom_namespace_node_prop_handlers, sizeof(dom_namespace_node_prop_handlers), NULL);
734 zend_hash_add(&classes, ce.name, ce.name_length + 1, &dom_node_prop_handlers, sizeof(dom_node_prop_handlers), NULL);
759 zend_hash_add(&classes, ce.name, ce.name_length
[all...]
/PHP_5_4/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_4/ext/mysqli/
H A Dmysqli.c56 zend_declare_property_null((a), (b)[i].name, (b)[i].name_length, ZEND_ACC_PUBLIC TSRMLS_CC); \
505 zend_hash_find(&classes, mysqli_base_class->name, mysqli_base_class->name_length + 1,
653 zend_hash_add(&classes, ce->name, ce->name_length+1, &mysqli_driver_properties, sizeof(mysqli_driver_properties), NULL);
661 zend_hash_add(&classes, ce->name, ce->name_length+1, &mysqli_link_properties, sizeof(mysqli_link_properties), NULL);
669 zend_hash_add(&classes, ce->name, ce->name_length+1, &mysqli_warning_properties, sizeof(mysqli_warning_properties), NULL);
679 zend_hash_add(&classes, ce->name, ce->name_length+1, &mysqli_result_properties, sizeof(mysqli_result_properties), NULL);
686 zend_hash_add(&classes, ce->name, ce->name_length+1, &mysqli_stmt_properties, sizeof(mysqli_stmt_properties), NULL);

Completed in 91 milliseconds

12