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

/PHP_TRUNK/Zend/
H A Dzend_ini.h43 uint name_length; member in struct:_zend_ini_entry_def
83 ZEND_API zend_long zend_ini_long(char *name, uint name_length, int orig);
84 ZEND_API double zend_ini_double(char *name, uint name_length, int orig);
85 ZEND_API char *zend_ini_string(char *name, uint name_length, int orig);
86 ZEND_API char *zend_ini_string_ex(char *name, uint name_length, int orig, zend_bool *exists);
88 ZEND_API int zend_ini_register_displayer(char *name, uint name_length, void (*displayer)(zend_ini_entry *ini_entry, int type));
H A Dzend_ini.c228 p->name = zend_string_init(ini_entry->name, ini_entry->name_length, 1);
400 ZEND_API int zend_ini_register_displayer(char *name, uint name_length, void (*displayer)(zend_ini_entry *ini_entry, int type)) /* {{{ */ argument
404 ini_entry = zend_hash_str_find_ptr(registered_zend_ini_directives, name, name_length);
418 ZEND_API zend_long zend_ini_long(char *name, uint name_length, int orig) /* {{{ */ argument
423 ini_entry = zend_hash_str_find_ptr(EG(ini_directives), name, name_length);
436 ZEND_API double zend_ini_double(char *name, uint name_length, int orig) /* {{{ */ argument
441 ini_entry = zend_hash_str_find_ptr(EG(ini_directives), name, name_length);
454 ZEND_API char *zend_ini_string_ex(char *name, uint name_length, int orig, zend_bool *exists) /* {{{ */ argument
459 ini_entry = zend_hash_str_find_ptr(EG(ini_directives), name, name_length);
479 ZEND_API char *zend_ini_string(char *name, uint name_length, in argument
[all...]
H A Dzend_API.h304 ZEND_API int zend_declare_property(zend_class_entry *ce, const char *name, int name_length, zval *property, int access_type 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, zend_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, zend_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, size_t 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, zval *value TSRMLS_DC);
313 ZEND_API int zend_declare_class_constant_null(zend_class_entry *ce, const char *name, size_t name_length TSRMLS_DC);
314 ZEND_API int zend_declare_class_constant_long(zend_class_entry *ce, const char *name, size_t name_length, zend_lon
[all...]
H A Dzend_API.c2749 ZEND_API int zend_set_hash_symbol(zval *symbol, const char *name, int name_length, zend_bool is_ref, int num_symbol_tables, ...) /* {{{ */ argument
2763 zend_hash_str_update(symbol_table, name, name_length, symbol);
3697 ZEND_API int zend_declare_property(zend_class_entry *ce, const char *name, int name_length, zval *property, int access_type TSRMLS_DC) /* {{{ */ argument
3699 zend_string *key = zend_string_init(name, name_length, ce->type & ZEND_INTERNAL_CLASS);
3706 ZEND_API int zend_declare_property_null(zend_class_entry *ce, const char *name, int name_length, int access_type TSRMLS_DC) /* {{{ */ argument
3711 return zend_declare_property(ce, name, name_length, &property, access_type TSRMLS_CC);
3715 ZEND_API int zend_declare_property_bool(zend_class_entry *ce, const char *name, int name_length, zend_long value, int access_type TSRMLS_DC) /* {{{ */ argument
3720 return zend_declare_property(ce, name, name_length, &property, access_type TSRMLS_CC);
3724 ZEND_API int zend_declare_property_long(zend_class_entry *ce, const char *name, int name_length, zend_long value, int access_type TSRMLS_DC) /* {{{ */ argument
3729 return zend_declare_property(ce, name, name_length,
3733 zend_declare_property_double(zend_class_entry *ce, const char *name, int name_length, double value, int access_type TSRMLS_DC) argument
3742 zend_declare_property_string(zend_class_entry *ce, const char *name, int name_length, const char *value, int access_type TSRMLS_DC) argument
3751 zend_declare_property_stringl(zend_class_entry *ce, const char *name, int name_length, const char *value, size_t value_len, int access_type TSRMLS_DC) argument
3760 zend_declare_class_constant(zend_class_entry *ce, const char *name, size_t name_length, zval *value TSRMLS_DC) argument
3779 zend_declare_class_constant_long(zend_class_entry *ce, const char *name, size_t name_length, zend_long value TSRMLS_DC) argument
3788 zend_declare_class_constant_bool(zend_class_entry *ce, const char *name, size_t name_length, zend_bool value TSRMLS_DC) argument
3797 zend_declare_class_constant_double(zend_class_entry *ce, const char *name, size_t name_length, double value TSRMLS_DC) argument
3806 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
3815 zend_declare_class_constant_string(zend_class_entry *ce, const char *name, size_t name_length, const char *value TSRMLS_DC) argument
3821 zend_update_property(zend_class_entry *scope, zval *object, const char *name, int name_length, zval *value TSRMLS_DC) argument
3849 zend_update_property_bool(zend_class_entry *scope, zval *object, const char *name, int name_length, zend_long value TSRMLS_DC) argument
3858 zend_update_property_long(zend_class_entry *scope, zval *object, const char *name, int name_length, zend_long value TSRMLS_DC) argument
3867 zend_update_property_double(zend_class_entry *scope, zval *object, const char *name, int name_length, double value TSRMLS_DC) argument
3876 zend_update_property_str(zend_class_entry *scope, zval *object, const char *name, int name_length, zend_string *value TSRMLS_DC) argument
3885 zend_update_property_string(zend_class_entry *scope, zval *object, const char *name, int name_length, const char *value TSRMLS_DC) argument
3895 zend_update_property_stringl(zend_class_entry *scope, zval *object, const char *name, int name_length, const char *value, size_t value_len TSRMLS_DC) argument
3905 zend_update_static_property(zend_class_entry *scope, const char *name, int name_length, zval *value TSRMLS_DC) argument
3951 zend_update_static_property_bool(zend_class_entry *scope, const char *name, int name_length, zend_long value TSRMLS_DC) argument
3960 zend_update_static_property_long(zend_class_entry *scope, const char *name, int name_length, zend_long value TSRMLS_DC) argument
3969 zend_update_static_property_double(zend_class_entry *scope, const char *name, int name_length, double value TSRMLS_DC) argument
3978 zend_update_static_property_string(zend_class_entry *scope, const char *name, int name_length, const char *value TSRMLS_DC) argument
3988 zend_update_static_property_stringl(zend_class_entry *scope, const char *name, int name_length, const char *value, size_t value_len TSRMLS_DC) argument
3998 zend_read_property(zend_class_entry *scope, zval *object, const char *name, int name_length, zend_bool silent TSRMLS_DC) argument
4020 zend_read_static_property(zend_class_entry *scope, const char *name, int name_length, zend_bool silent TSRMLS_DC) argument
[all...]
/PHP_TRUNK/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 ((ini_entry = zend_hash_str_find_ptr(EG(ini_directives), name, name_length))) {
/PHP_TRUNK/ext/mysql/
H A Dphp_mysql.c1973 !strncasecmp(tmp_field->name, field_name, tmp_field->name_length)) {
2426 add_property_stringl(return_value, "name", (mysql_field->name?mysql_field->name:""), mysql_field->name_length);
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_api.c1154 add_property_stringl(value, "name",(field->name ? field->name : ""), field->name_length);
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_result_meta.c231 new_fields[i].name_length = new_fields[i].sname->len;
H A Dmysqlnd_structs.h85 unsigned int name_length; member in struct:st_mysqlnd_field
H A Dmysqlnd_wireprotocol.c1216 STRUCT_OFFSET(MYSQLND_FIELD, name_length),
1359 meta->sname = zend_string_init(meta->name, meta->name_length, packet->persistent_alloc);
1364 meta->name_length = meta->sname->len;
/PHP_TRUNK/ext/pdo_mysql/
H A Dmysql_statement.c705 cols[i].namelen = S->fields[i].name_length;
706 cols[i].name = estrndup(S->fields[i].name, S->fields[i].name_length);
/PHP_TRUNK/ext/snmp/
H A Dphp_snmp.h112 size_t name_length; member in struct:_ptp_snmp_prop_handler
122 size_t name_length; member in struct:_snmpobjarg
H A Dsnmp.c105 php_snmp_add_property((a), (b)[i].name, (b)[i].name_length, \
566 if (snprint_value(buf, buflen, vars->name, vars->name_length, vars) == -1) {
725 memmove((char *)root, (char *)(objid_query->vars[0].name), (objid_query->vars[0].name_length) * sizeof(oid));
726 rootlen = objid_query->vars[0].name_length;
752 snmp_add_null_var(pdu, objid_query->vars[0].name, objid_query->vars[0].name_length);
768 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))) {
769 snprint_objid(buf, sizeof(buf), objid_query->vars[objid_query->offset].name, objid_query->vars[objid_query->offset].name_length);
777 snmp_add_null_var(pdu, objid_query->vars[objid_query->offset].name, objid_query->vars[objid_query->offset].name_length);
810 snprint_objid(buf, sizeof(buf), vars->name, vars->name_length);
811 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_TRUNK/ext/soap/
H A Dsoap.c810 size_t name_length; local
813 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zs", &data, &name, &name_length) == FAILURE) {
816 if (name_length == 0) {
822 add_property_stringl(this_ptr, "param_name", name, name_length);
/PHP_TRUNK/ext/standard/
H A Dinfo.c195 static void php_print_gpcse_array(char *name, uint name_length TSRMLS_DC)
202 key = zend_string_init(name, name_length, 0);
/PHP_TRUNK/main/
H A Dphp_ini.c878 PHPAPI zval *cfg_get_entry(const char *name, uint name_length) argument
880 return zend_hash_str_find(&configuration_hash, name, name_length);
H A Dphp_ini.h32 PHPAPI zval *cfg_get_entry(const char *name, uint name_length);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_bp.c405 zend_hash_find(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD_OPLINE], op_array->scope->name, op_array->scope->name_length, (void **)&func_table) == FAILURE) {
845 ops->scope->name_length, (void**)&class_table) == SUCCESS) {
939 size_t lengths[2] = {strlen(param->method.class), ops->scope->name_length};
H A Dphpdbg_utils.c324 PHPDBG_API const phpdbg_color_t *phpdbg_get_color(const char *name, size_t name_length TSRMLS_DC) /* {{{ */
329 if (name_length == color->name_length &&
330 memcmp(name, color->name, name_length) == SUCCESS) {
332 "phpdbg_get_color(%s, %lu): %s", name, name_length, color->code);
339 "phpdbg_get_color(%s, %lu): failed", name, name_length);
349 PHPDBG_API void phpdbg_set_color_ex(int element, const char *name, size_t name_length TSRMLS_DC) /* {{{ */
351 const phpdbg_color_t *color = phpdbg_get_color(name, name_length TSRMLS_CC);
367 if (len == element->name_length) {
H A Dphpdbg_utils.h102 size_t name_length; member in struct:_phpdbg_color_t
108 size_t name_length; member in struct:_phpdbg_element_t
112 PHPDBG_API const phpdbg_color_t *phpdbg_get_color(const char *name, size_t name_length TSRMLS_DC);
114 PHPDBG_API void phpdbg_set_color_ex(int element, const char *name, size_t name_length TSRMLS_DC);

Completed in 57 milliseconds