Searched refs:name_len (Results 1 - 25 of 98) sorted by relevance

1234

/PHP_5_5/win32/
H A Dregistry.c72 DWORD name_len, type, value_len; local
76 name_len = max_name+1;
78 if (RegEnumValue(key, i, name, &name_len, NULL, &type, value, &value_len) == ERROR_SUCCESS) {
95 zend_hash_update(ht, name, name_len+1, &data, sizeof(zval*), NULL);
132 DWORD name_len; local
137 name_len = max_key+1;
138 if (RegEnumKeyEx(key, i, name, &name_len, NULL, NULL, NULL, &t) == ERROR_SUCCESS) {
143 memcpy(new_path+path_len+1, name, name_len+1);
144 zend_str_tolower(new_path, path_len+name_len+1);
145 name_len
[all...]
/PHP_5_5/ext/phar/
H A Dstub.h21 static inline void phar_get_stub(const char *index_php, const char *web, size_t *len, char **stub, const int name_len, const int web_len TSRMLS_DC) argument
33 *len = spprintf(stub, name_len + web_len + newstub_len, "%s%s%s%s%s%s%d%s%s%s", newstub0, web, newstub1_0, newstub1_1, index_php, newstub2, name_len + web_len + newstub_len, newstub3_0, newstub3_1, newstub3_2);
/PHP_5_5/ext/sqlite3/
H A Dphp_sqlite3_structs.h43 int name_len; member in struct:php_sqlite3_bound_param
/PHP_5_5/ext/standard/
H A Dhead.c76 PHPAPI int php_setcookie(char *name, int name_len, char *value, int value_len, time_t expires, char *path, int path_len, char *domain, int domain_len, int secure, int url_encode, int httponly TSRMLS_DC) argument
94 len += name_len;
183 int name_len, value_len = 0, path_len = 0, domain_len = 0; local
186 &name_len, &value, &value_len, &expires, &path,
191 if (php_setcookie(name, name_len, value, value_len, expires, path, path_len, domain, domain_len, secure, 1, httponly TSRMLS_CC) == SUCCESS) {
206 int name_len, value_len = 0, path_len = 0, domain_len = 0; local
209 &name_len, &value, &value_len, &expires, &path,
214 if (php_setcookie(name, name_len, value, value_len, expires, path, path_len, domain, domain_len, secure, 0, httponly TSRMLS_CC) == SUCCESS) {
H A Dhead.h34 PHPAPI int php_setcookie(char *name, int name_len, char *value, int value_len, time_t expires, char *path, int path_len, char *domain, int domain_len, int secure, int url_encode, int httponly TSRMLS_DC);
H A Dphp_incomplete_class.h33 class_name = php_lookup_class_name(struc, &name_len); \
35 name_len = sizeof(INCOMPLETE_CLASS) - 1; \
36 class_name = estrndup(INCOMPLETE_CLASS, name_len); \
41 free_class_name = !zend_get_object_classname(struc, (const char **)&class_name, &name_len TSRMLS_CC);\
49 zend_uint name_len; \
H A Dphp_var.h126 static inline int php_varname_check(char *name, int name_len, zend_bool silent TSRMLS_DC) /* {{{ */ argument
128 if (name_len == sizeof("GLOBALS") - 1 && !memcmp(name, "GLOBALS", sizeof("GLOBALS") - 1)) {
135 (name_len == sizeof("_GET") - 1 && !memcmp(name, "_GET", sizeof("_GET") - 1)) ||
136 (name_len == sizeof("_POST") - 1 && !memcmp(name, "_POST", sizeof("_POST") - 1)) ||
137 (name_len == sizeof("_COOKIE") - 1 && !memcmp(name, "_COOKIE", sizeof("_COOKIE") - 1)) ||
138 (name_len == sizeof("_ENV") - 1 && !memcmp(name, "_ENV", sizeof("_ENV") - 1)) ||
139 (name_len == sizeof("_SERVER") - 1 && !memcmp(name, "_SERVER", sizeof("_SERVER") - 1)) ||
140 (name_len == sizeof("_SESSION") - 1 && !memcmp(name, "_SESSION", sizeof("_SESSION") - 1)) ||
141 (name_len == sizeof("_FILES") - 1 && !memcmp(name, "_FILES", sizeof("_FILES") - 1)) ||
142 (name_len
[all...]
H A Durl_scanner_ex.h31 PHPAPI int php_url_scanner_add_var(char *name, int name_len, char *value, int value_len, int urlencode TSRMLS_DC);
/PHP_5_5/ext/wddx/
H A Dphp_wddx_api.h63 void php_wddx_serialize_var(wddx_packet *packet, zval *var, char *name, int name_len TSRMLS_DC);
/PHP_5_5/ext/xmlreader/
H A Dphp_xmlreader.c415 int name_len = 0; local
420 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) {
424 if (!name_len) {
603 int name_len = 0, ns_uri_len = 0; local
607 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &name, &name_len, &ns_uri, &ns_uri_len) == FAILURE) {
611 if (name_len == 0 || ns_uri_len == 0) {
683 int name_len = 0, retval; local
687 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) {
691 if (name_len == 0) {
744 int name_len local
824 int retval, name_len=0; local
[all...]
/PHP_5_5/ext/xmlwriter/
H A Dphp_xmlwriter.c746 int name_len, retval; local
752 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) {
759 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &pind, &name, &name_len) == FAILURE) {
893 int name_len, prefix_len, uri_len, retval; local
899 &prefix, &prefix_len, &name, &name_len, &uri, &uri_len) == FAILURE) {
907 &prefix, &prefix_len, &name, &name_len, &uri, &uri_len) == FAILURE) {
937 int name_len, content_len, retval; local
944 &name, &name_len, &content, &content_len) == FAILURE) {
952 &name, &name_len, &content, &content_len) == FAILURE) {
982 int name_len, prefix_le local
1035 int name_len, prefix_len, uri_len, retval; local
1095 int name_len, content_len, retval; local
1150 int name_len, prefix_len, uri_len, content_len, retval; local
1221 int name_len, content_len, retval; local
1434 int name_len, pubid_len, sysid_len, retval; local
1483 int name_len, pubid_len, sysid_len, subset_len, retval; local
1541 int name_len, content_len, retval; local
1601 int name_len, content_len, retval; local
1646 int name_len, retval; local
1698 int name_len, content_len, retval; local
[all...]
/PHP_5_5/main/
H A Dphp_output.h131 size_t name_len; member in struct:_php_output_handler
231 PHPAPI int php_output_start_internal(const char *name, size_t name_len, php_output_handler_func_t output_handler, size_t chunk_size, int flags TSRMLS_DC);
234 PHPAPI php_output_handler *php_output_handler_create_internal(const char *name, size_t name_len, php_output_handler_context_func_t handler, size_t chunk_size, int flags TSRMLS_DC);
238 PHPAPI int php_output_handler_started(const char *name, size_t name_len TSRMLS_DC);
H A Doutput.c58 static inline php_output_handler *php_output_handler_init(const char *name, size_t name_len, size_t chunk_size, int flags TSRMLS_DC);
469 PHPAPI int php_output_start_internal(const char *name, size_t name_len, php_output_handler_func_t output_handler, size_t chunk_size, int flags TSRMLS_DC) argument
473 handler = php_output_handler_create_internal(name, name_len, php_output_handler_compat_func, chunk_size, flags TSRMLS_CC);
526 PHPAPI php_output_handler *php_output_handler_create_internal(const char *name, size_t name_len, php_output_handler_context_func_t output_handler, size_t chunk_size, int flags TSRMLS_DC) argument
530 handler = php_output_handler_init(name, name_len, chunk_size, (flags & ~0xf) | PHP_OUTPUT_HANDLER_INTERNAL TSRMLS_CC);
560 if (SUCCESS == zend_hash_find(&php_output_handler_conflicts, handler->name, handler->name_len+1, (void *) &conflict)) {
561 if (SUCCESS != (*conflict)(handler->name, handler->name_len TSRMLS_CC)) {
565 if (SUCCESS == zend_hash_find(&php_output_handler_reverse_conflicts, handler->name, handler->name_len+1, (void *) &rconflicts)) {
570 if (SUCCESS != (*conflict)(handler->name, handler->name_len TSRMLS_CC)) {
586 PHPAPI int php_output_handler_started(const char *name, size_t name_len TSRMLS_D
623 php_output_handler_conflict_register(const char *name, size_t name_len, php_output_handler_conflict_check_t check_func TSRMLS_DC) argument
635 php_output_handler_reverse_conflict_register(const char *name, size_t name_len, php_output_handler_conflict_check_t check_func TSRMLS_DC) argument
674 php_output_handler_alias_register(const char *name, size_t name_len, php_output_handler_alias_ctor_t func TSRMLS_DC) argument
876 php_output_handler_init(const char *name, size_t name_len, size_t chunk_size, int flags TSRMLS_DC) argument
1571 int name_len, value_len; local
[all...]
H A Dphp_variables.c444 zend_bool php_std_auto_global_callback(char *name, uint name_len TSRMLS_DC)
616 static zend_bool php_auto_globals_create_server(const char *name, uint name_len TSRMLS_DC);
617 static zend_bool php_auto_globals_create_env(const char *name, uint name_len TSRMLS_DC);
618 static zend_bool php_auto_globals_create_request(const char *name, uint name_len TSRMLS_DC);
633 static zend_bool php_auto_globals_create_get(const char *name, uint name_len TSRMLS_DC)
650 zend_hash_update(&EG(symbol_table), name, name_len + 1, &vars, sizeof(zval *), NULL); local
656 static zend_bool php_auto_globals_create_post(const char *name, uint name_len TSRMLS_DC)
677 zend_hash_update(&EG(symbol_table), name, name_len + 1, &vars, sizeof(zval *), NULL); local
683 static zend_bool php_auto_globals_create_cookie(const char *name, uint name_len TSRMLS_DC)
700 zend_hash_update(&EG(symbol_table), name, name_len local
719 zend_hash_update(&EG(symbol_table), name, name_len + 1, &vars, sizeof(zval *), NULL); local
757 zend_hash_update(&EG(symbol_table), name, name_len + 1, &PG(http_globals)[TRACK_VARS_SERVER], sizeof(zval *), NULL); local
778 zend_hash_update(&EG(symbol_table), name, name_len + 1, &PG(http_globals)[TRACK_VARS_ENV], sizeof(zval *), NULL); local
826 zend_hash_update(&EG(symbol_table), name, name_len + 1, &form_variables, sizeof(zval *), NULL); local
[all...]
/PHP_5_5/Zend/
H A Dzend_constants.c42 c->name = zend_strndup(c->name, c->name_len - 1);
128 c.name_len = sizeof("TRUE");
134 c.name_len = sizeof("FALSE");
140 c.name_len = sizeof("NULL");
147 c.name_len = sizeof("ZEND_THREAD_SAFE");
153 c.name_len = sizeof("ZEND_DEBUG_BUILD");
179 ZEND_API void zend_register_long_constant(const char *name, uint name_len, long lval, int flags, int module_number TSRMLS_DC) argument
186 c.name = zend_strndup(name, name_len-1);
187 c.name_len = name_len;
193 zend_register_double_constant(const char *name, uint name_len, double dval, int flags, int module_number TSRMLS_DC) argument
207 zend_register_stringl_constant(const char *name, uint name_len, char *strval, uint strlen, int flags, int module_number TSRMLS_DC) argument
222 zend_register_string_constant(const char *name, uint name_len, char *strval, int flags, int module_number TSRMLS_DC) argument
227 zend_get_special_constant(const char *name, uint name_len, zend_constant **c TSRMLS_DC) argument
286 zend_get_constant(const char *name, uint name_len, zval *result TSRMLS_DC) argument
315 zend_get_constant_ex(const char *name, uint name_len, zval *result, zend_class_entry *scope, ulong flags TSRMLS_DC) argument
[all...]
H A Dzend_constants.h37 uint name_len; member in struct:_zend_constant
63 ZEND_API int zend_get_constant(const char *name, uint name_len, zval *result TSRMLS_DC);
64 ZEND_API int zend_get_constant_ex(const char *name, uint name_len, zval *result, zend_class_entry *scope, ulong flags TSRMLS_DC);
65 ZEND_API void zend_register_long_constant(const char *name, uint name_len, long lval, int flags, int module_number TSRMLS_DC);
66 ZEND_API void zend_register_double_constant(const char *name, uint name_len, double dval, int flags, int module_number TSRMLS_DC);
67 ZEND_API void zend_register_string_constant(const char *name, uint name_len, char *strval, int flags, int module_number TSRMLS_DC);
68 ZEND_API void zend_register_stringl_constant(const char *name, uint name_len, char *strval, uint strlen, int flags, int module_number TSRMLS_DC);
/PHP_5_5/ext/dom/
H A Ddomimplementation.c95 int ret, name_len = 0, publicid_len = 0, systemid_len = 0; local
100 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sss", &name, &name_len, &publicid, &publicid_len, &systemid, &systemid_len) == FAILURE) {
104 if (name_len == 0) {
158 int ret, uri_len = 0, name_len = 0, errorcode = 0; local
163 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|ssO", &uri, &uri_len, &name, &name_len, &node, dom_documenttype_class_entry) == FAILURE) {
181 if (name_len > 0) {
182 errorcode = dom_check_qname(name, &localname, &prefix, 1, name_len);
H A Delement.c163 int name_len, value_len = 0, name_valid; local
168 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os|s!s", &id, dom_element_class_entry, &name, &name_len, &value, &value_len, &uri, &uri_len) == FAILURE) {
182 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len);
337 int name_len; local
339 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_element_class_entry, &name, &name_len) == FAILURE) {
377 int ret, name_len, value_len, name_valid; local
381 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Oss", &id, dom_element_class_entry, &name, &name_len, &value, &value_len) == FAILURE) {
385 if (name_len == 0) {
443 int name_len; local
446 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_element_class_entry, &name, &name_len)
490 int name_len, ret; local
639 int name_len; local
667 int uri_len = 0, name_len = 0; local
747 int uri_len = 0, name_len = 0, value_len = 0; local
876 int name_len, uri_len; local
932 int uri_len, name_len, ret; local
1033 int uri_len, name_len; local
1063 int name_len; local
1091 int uri_len, name_len; local
1149 int name_len; local
1184 int uri_len, name_len; local
[all...]
H A Dentityreference.c56 int name_len, name_valid; local
60 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_entityreference_class_entry, &name, &name_len) == FAILURE) {
H A Dprocessinginstruction.c58 int name_len, value_len, name_valid; local
62 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os|s", &id, dom_processinginstruction_class_entry, &name, &name_len, &value, &value_len) == FAILURE) {
/PHP_5_5/sapi/apache2filter/
H A Dphp_apache.h57 char *get_php_config(void *conf, char *name, size_t name_len);
/PHP_5_5/sapi/apache2handler/
H A Dphp_apache.h53 char *get_php_config(void *conf, char *name, size_t name_len);
/PHP_5_5/sapi/fpm/fpm/
H A Dfpm_env.c46 int name_len = strlen(name); local
48 char *var = alloca(name_len + 1 + value_len + 1);
50 memcpy(var, name, name_len);
52 var[name_len] = '=';
54 memcpy(var + name_len + 1, value, value_len);
56 var[name_len + 1 + value_len] = '\0';
/PHP_5_5/ext/opcache/Optimizer/
H A Dzend_optimizer.c33 static int zend_optimizer_lookup_cv(zend_op_array *op_array, char* name, int name_len) argument
36 ulong hash_value = zend_inline_hash_func(name, name_len+1);
41 op_array->vars[i].name_len == name_len &&
42 memcmp(op_array->vars[i].name, name, name_len) == 0)) {
53 op_array->vars[i].name = estrndup(name, name_len);
55 op_array->vars[i].name_len = name_len;
/PHP_5_5/ext/reflection/
H A Dphp_reflection.c219 static void _default_get_entry(zval *object, char *name, int name_len, zval *return_value TSRMLS_DC) /* {{{ */ argument
223 if (zend_hash_find(Z_OBJPROP_P(object), name, name_len, (void **) &value) == FAILURE) {
232 static void _default_lookup_entry(zval *object, char *name, int name_len, zval **return_value TSRMLS_DC) /* {{{ */ argument
236 if (zend_hash_find(Z_OBJPROP_P(object), name, name_len, (void **) &value) == FAILURE) {
1212 int name_len = strlen(name_str); local
1217 lcname = do_alloca(name_len + 1, use_heap);
1218 zend_str_tolower_copy(lcname, name_str, name_len);
1219 if (zend_hash_find(&module_registry, lcname, name_len + 1, (void **)&module) == FAILURE) {
1228 ZVAL_STRINGL(name, module->name, name_len, 1);
1248 ZVAL_STRINGL(name, arg_info->name, arg_info->name_len,
1610 int name_len; local
2675 int name_len, tmp_len; local
3426 int name_len; local
3458 int name_len; local
3663 int name_len; local
3693 int name_len; local
3808 int name_len; local
3845 int name_len, classname_len; local
3995 int name_len; local
4037 int name_len; local
4775 int name_len, dynam_prop = 0; local
5181 int name_len; local
5543 int name_len; local
[all...]

Completed in 33 milliseconds

1234