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

1234

/PHP_5_3/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_3/ext/dom/
H A Dattr.c64 int name_len, value_len, name_valid; local
68 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os|s", &id, dom_attr_class_entry, &name, &name_len, &value, &value_len) == FAILURE) {
H A Ddomimplementation.c96 int ret, name_len = 0, publicid_len = 0, systemid_len = 0; local
101 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sss", &name, &name_len, &publicid, &publicid_len, &systemid, &systemid_len) == FAILURE) {
105 if (name_len == 0) {
159 int ret, uri_len = 0, name_len = 0, errorcode = 0; local
164 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|ssO", &uri, &uri_len, &name, &name_len, &node, dom_documenttype_class_entry) == FAILURE) {
182 if (name_len > 0) {
183 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_3/ext/reflection/
H A Dphp_reflection.c209 static void _default_get_entry(zval *object, char *name, int name_len, zval *return_value TSRMLS_DC) argument
213 if (zend_hash_find(Z_OBJPROP_P(object), name, name_len, (void **) &value) == FAILURE) {
221 static void _default_lookup_entry(zval *object, char *name, int name_len, zval **return_value TSRMLS_DC) /* {{{ */ argument
225 if (zend_hash_find(Z_OBJPROP_P(object), name, name_len, (void **) &value) == FAILURE) {
1163 int name_len = strlen(name_str); local
1168 lcname = do_alloca(name_len + 1, use_heap);
1169 zend_str_tolower_copy(lcname, name_str, name_len);
1170 if (zend_hash_find(&module_registry, lcname, name_len + 1, (void **)&module) == FAILURE) {
1179 ZVAL_STRINGL(name, module->name, name_len, 1);
1199 ZVAL_STRINGL(name, arg_info->name, arg_info->name_len,
1517 int name_len; local
2445 int name_len, tmp_len; local
3128 int name_len; local
3160 int name_len; local
3401 int name_len; local
3431 int name_len; local
3546 int name_len; local
3583 int name_len, classname_len; local
3733 int name_len; local
3775 int name_len; local
4363 int name_len, dynam_prop = 0; local
4767 int name_len; local
[all...]
/PHP_5_3/ext/spl/
H A Dspl_functions.c124 char * spl_gen_private_prop_name(zend_class_entry *ce, char *prop_name, int prop_len, int *name_len TSRMLS_DC) /* {{{ */
128 zend_mangle_property_name(&rv, name_len, ce->name, ce->name_length, prop_name, prop_len, 0);
/PHP_5_3/ext/sqlite3/
H A Dphp_sqlite3_structs.h43 int name_len; member in struct:php_sqlite3_bound_param
/PHP_5_3/ext/standard/
H A Dhead.c77 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
95 len += name_len;
179 int name_len, value_len = 0, path_len = 0, domain_len = 0; local
182 &name_len, &value, &value_len, &expires, &path,
187 if (php_setcookie(name, name_len, value, value_len, expires, path, path_len, domain, domain_len, secure, 1, httponly TSRMLS_CC) == SUCCESS) {
202 int name_len, value_len = 0, path_len = 0, domain_len = 0; local
205 &name_len, &value, &value_len, &expires, &path,
210 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.h33 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, &class_name, &name_len TSRMLS_CC);\
49 zend_uint name_len; \
H A Dphp_var.h73 static inline int php_varname_check(char *name, int name_len, zend_bool silent TSRMLS_DC) /* {{{ */ argument
75 if (name_len == sizeof("GLOBALS") - 1 && !memcmp(name, "GLOBALS", sizeof("GLOBALS") - 1)) {
82 (name_len == sizeof("_GET") - 1 && !memcmp(name, "_GET", sizeof("_GET") - 1)) ||
83 (name_len == sizeof("_POST") - 1 && !memcmp(name, "_POST", sizeof("_POST") - 1)) ||
84 (name_len == sizeof("_COOKIE") - 1 && !memcmp(name, "_COOKIE", sizeof("_COOKIE") - 1)) ||
85 (name_len == sizeof("_ENV") - 1 && !memcmp(name, "_ENV", sizeof("_ENV") - 1)) ||
86 (name_len == sizeof("_SERVER") - 1 && !memcmp(name, "_SERVER", sizeof("_SERVER") - 1)) ||
87 (name_len == sizeof("_SESSION") - 1 && !memcmp(name, "_SESSION", sizeof("_SESSION") - 1)) ||
88 (name_len == sizeof("_FILES") - 1 && !memcmp(name, "_FILES", sizeof("_FILES") - 1)) ||
89 (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_3/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_3/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
825 int retval, name_len=0; local
[all...]
/PHP_5_3/ext/xmlwriter/
H A Dphp_xmlwriter.c748 int name_len, retval; local
754 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) {
761 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &pind, &name, &name_len) == FAILURE) {
895 int name_len, prefix_len, uri_len, retval; local
901 &prefix, &prefix_len, &name, &name_len, &uri, &uri_len) == FAILURE) {
909 &prefix, &prefix_len, &name, &name_len, &uri, &uri_len) == FAILURE) {
939 int name_len, content_len, retval; local
946 &name, &name_len, &content, &content_len) == FAILURE) {
954 &name, &name_len, &content, &content_len) == FAILURE) {
984 int name_len, prefix_le local
1037 int name_len, prefix_len, uri_len, retval; local
1097 int name_len, content_len, retval; local
1152 int name_len, prefix_len, uri_len, content_len, retval; local
1223 int name_len, content_len, retval; local
1436 int name_len, pubid_len, sysid_len, retval; local
1485 int name_len, pubid_len, sysid_len, subset_len, retval; local
1543 int name_len, content_len, retval; local
1603 int name_len, content_len, retval; local
1648 int name_len, retval; local
1700 int name_len, content_len, retval; local
[all...]
/PHP_5_3/sapi/apache2filter/
H A Dphp_apache.h57 char *get_php_config(void *conf, char *name, size_t name_len);
/PHP_5_3/sapi/apache2handler/
H A Dphp_apache.h53 char *get_php_config(void *conf, char *name, size_t name_len);
/PHP_5_3/sapi/cgi/
H A Dfastcgi.c609 unsigned int name_len, val_len; local
614 name_len = *p++;
615 if (name_len >= 128) {
620 name_len = ((name_len & 0x7f) << 24);
621 name_len |= (*p++ << 16);
622 name_len |= (*p++ << 8);
623 name_len |= *p++;
640 if (name_len + val_len > end - p) {
645 if (name_len
1278 fcgi_set_mgmt_var(const char * name, size_t name_len, const char * value, size_t value_len) argument
[all...]
/PHP_5_3/Zend/
H A Dzend_constants.c41 c->name = zend_strndup(c->name, c->name_len - 1);
126 c.name_len = sizeof("TRUE");
132 c.name_len = sizeof("FALSE");
138 c.name_len = sizeof("NULL");
145 c.name_len = sizeof("ZEND_THREAD_SAFE");
151 c.name_len = sizeof("ZEND_DEBUG_BUILD");
177 ZEND_API void zend_register_long_constant(const char *name, uint name_len, long lval, int flags, int module_number TSRMLS_DC) argument
184 c.name = zend_strndup(name, name_len-1);
185 c.name_len = name_len;
191 zend_register_double_constant(const char *name, uint name_len, double dval, int flags, int module_number TSRMLS_DC) argument
205 zend_register_stringl_constant(const char *name, uint name_len, char *strval, uint strlen, int flags, int module_number TSRMLS_DC) argument
220 zend_register_string_constant(const char *name, uint name_len, char *strval, int flags, int module_number TSRMLS_DC) argument
226 zend_get_constant(const char *name, uint name_len, zval *result TSRMLS_DC) argument
277 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);
H A Dzend_builtin_functions.c627 int name_len; local
634 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz|b", &name, &name_len, &val, &non_cs) == FAILURE) {
643 if (zend_memnstr(name, "::", sizeof("::") - 1, name + name_len)) {
685 c.name = zend_strndup(name, name_len);
686 c.name_len = name_len+1;
702 int name_len; local
705 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) {
709 if (zend_get_constant_ex(name, name_len, &c, NULL, ZEND_FETCH_CLASS_SILENT TSRMLS_CC)) {
725 zend_uint name_len local
1257 int name_len; local
1544 same_name(const char *key, const char *name, zend_uint name_len) argument
[all...]
/PHP_5_3/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_3/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...]

Completed in 62 milliseconds

1234