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

12

/PHP_TRUNK/main/
H A Dphp_ini.h31 PHPAPI zval *cfg_get_entry(const char *name, uint name_length);
H A Dmain.c1439 static int php_get_configuration_directive_for_zend(const char *name, uint name_length, zval *contents) argument
1441 zval *retval = cfg_get_entry(name, name_length);
H A Dphp_ini.c135 PHPWRITE(ini_entry->name, ini_entry->name_length);
142 PHPWRITE(ini_entry->name, ini_entry->name_length);
870 PHPAPI zval *cfg_get_entry(const char *name, uint name_length) argument
872 return zend_hash_str_find(&configuration_hash, name, 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.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);
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) {
/PHP_TRUNK/Zend/
H A Dzend.c65 static int (*zend_get_configuration_directive_p)(const char *name, uint name_length, zval *contents);
984 ZEND_API int zend_get_configuration_directive(const char *name, uint name_length, zval *contents) /* {{{ */ argument
987 return zend_get_configuration_directive_p(name, name_length, contents);
H A Dzend_ini.c204 if ((hashed_ini_entry = zend_hash_str_add_mem(directives, p->name, p->name_length, (void*)p, sizeof(zend_ini_entry))) == NULL) {
209 if ((zend_get_configuration_directive(p->name, p->name_length, &default_value)) == SUCCESS) {
337 ZEND_API int zend_ini_register_displayer(char *name, uint name_length, void (*displayer)(zend_ini_entry *ini_entry, int type)) /* {{{ */ argument
341 ini_entry = zend_hash_str_find_ptr(registered_zend_ini_directives, name, name_length);
355 ZEND_API long zend_ini_long(char *name, uint name_length, int orig) /* {{{ */ argument
360 ini_entry = zend_hash_str_find_ptr(EG(ini_directives), name, name_length);
373 ZEND_API double zend_ini_double(char *name, uint name_length, int orig) /* {{{ */ argument
378 ini_entry = zend_hash_str_find_ptr(EG(ini_directives), name, name_length);
391 ZEND_API char *zend_ini_string_ex(char *name, uint name_length, int orig, zend_bool *exists) /* {{{ */ argument
396 ini_entry = zend_hash_str_find_ptr(EG(ini_directives), name, name_length);
416 zend_ini_string(char *name, uint name_length, int orig) argument
[all...]
H A Dzend_ini.h37 uint name_length; member in struct:_zend_ini_entry
72 ZEND_API long zend_ini_long(char *name, uint name_length, int orig);
73 ZEND_API double zend_ini_double(char *name, uint name_length, int orig);
74 ZEND_API char *zend_ini_string(char *name, uint name_length, int orig);
75 ZEND_API char *zend_ini_string_ex(char *name, uint name_length, int orig, zend_bool *exists);
77 ZEND_API int zend_ini_register_displayer(char *name, uint name_length, void (*displayer)(zend_ini_entry *ini_entry, int type));
H A Dzend.h543 int (*get_configuration_directive)(const char *name, uint name_length, zval *contents);
690 ZEND_API int zend_get_configuration_directive(const char *name, uint name_length, zval *contents);
H A Dzend_compile.c150 static void build_runtime_defined_function_key(zval *result, const char *name, int name_length TSRMLS_DC) /* {{{ */
164 ZVAL_NEW_STR(result, STR_ALLOC(1+name_length+strlen(filename)+char_pos_len, 0));
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, 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, 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, lon
[all...]
H A Dzend_API.c2750 ZEND_API int zend_set_hash_symbol(zval *symbol, const char *name, int name_length, zend_bool is_ref, int num_symbol_tables, ...) /* {{{ */ argument
2764 zend_hash_str_update(symbol_table, name, name_length, symbol);
3702 ZEND_API int zend_declare_property(zend_class_entry *ce, const char *name, int name_length, zval *property, int access_type TSRMLS_DC) /* {{{ */ argument
3704 zend_string *key = STR_INIT(name, name_length, ce->type & ZEND_INTERNAL_CLASS);
3711 ZEND_API int zend_declare_property_null(zend_class_entry *ce, const char *name, int name_length, int access_type TSRMLS_DC) /* {{{ */ argument
3716 return zend_declare_property(ce, name, name_length, &property, access_type TSRMLS_CC);
3720 ZEND_API int zend_declare_property_bool(zend_class_entry *ce, const char *name, int name_length, long value, int access_type TSRMLS_DC) /* {{{ */ argument
3725 return zend_declare_property(ce, name, name_length, &property, access_type TSRMLS_CC);
3729 ZEND_API int zend_declare_property_long(zend_class_entry *ce, const char *name, int name_length, long value, int access_type TSRMLS_DC) /* {{{ */ argument
3734 return zend_declare_property(ce, name, name_length,
3738 zend_declare_property_double(zend_class_entry *ce, const char *name, int name_length, double value, int access_type TSRMLS_DC) argument
3747 zend_declare_property_string(zend_class_entry *ce, const char *name, int name_length, const char *value, int access_type TSRMLS_DC) argument
3756 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
3765 zend_declare_class_constant(zend_class_entry *ce, const char *name, size_t name_length, zval *value TSRMLS_DC) argument
3784 zend_declare_class_constant_long(zend_class_entry *ce, const char *name, size_t name_length, long value TSRMLS_DC) argument
3793 zend_declare_class_constant_bool(zend_class_entry *ce, const char *name, size_t name_length, zend_bool value TSRMLS_DC) argument
3802 zend_declare_class_constant_double(zend_class_entry *ce, const char *name, size_t name_length, double value TSRMLS_DC) argument
3811 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
3820 zend_declare_class_constant_string(zend_class_entry *ce, const char *name, size_t name_length, const char *value TSRMLS_DC) argument
3826 zend_update_property(zend_class_entry *scope, zval *object, const char *name, int name_length, zval *value TSRMLS_DC) argument
3854 zend_update_property_bool(zend_class_entry *scope, zval *object, const char *name, int name_length, long value TSRMLS_DC) argument
3863 zend_update_property_long(zend_class_entry *scope, zval *object, const char *name, int name_length, long value TSRMLS_DC) argument
3872 zend_update_property_double(zend_class_entry *scope, zval *object, const char *name, int name_length, double value TSRMLS_DC) argument
3881 zend_update_property_str(zend_class_entry *scope, zval *object, const char *name, int name_length, zend_string *value TSRMLS_DC) argument
3890 zend_update_property_string(zend_class_entry *scope, zval *object, const char *name, int name_length, const char *value TSRMLS_DC) argument
3900 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
3910 zend_update_static_property(zend_class_entry *scope, const char *name, int name_length, zval *value TSRMLS_DC) argument
3956 zend_update_static_property_bool(zend_class_entry *scope, const char *name, int name_length, long value TSRMLS_DC) argument
3965 zend_update_static_property_long(zend_class_entry *scope, const char *name, int name_length, long value TSRMLS_DC) argument
3974 zend_update_static_property_double(zend_class_entry *scope, const char *name, int name_length, double value TSRMLS_DC) argument
3983 zend_update_static_property_string(zend_class_entry *scope, const char *name, int name_length, const char *value TSRMLS_DC) argument
3993 zend_update_static_property_stringl(zend_class_entry *scope, const char *name, int name_length, const char *value, int value_len TSRMLS_DC) argument
4003 zend_read_property(zend_class_entry *scope, zval *object, const char *name, int name_length, zend_bool silent TSRMLS_DC) argument
4025 zend_read_static_property(zend_class_entry *scope, const char *name, int name_length, zend_bool silent TSRMLS_DC) argument
[all...]
/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/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 = STR_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/phar/
H A Dphar.c53 if (entry->name_length == sizeof("phar.readonly")-1) {
74 if (entry->name_length == sizeof("phar.readonly")-1) {
83 if (entry->name_length == sizeof("phar.readonly")-1) {
/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 int 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 = STR_INIT(name, name_length, 0);
/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/mysqli/
H A Dmysqli_api.c1154 add_property_stringl(value, "name",(field->name ? field->name : ""), field->name_length);

Completed in 86 milliseconds

12