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

1234

/PHP_TRUNK/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_TRUNK/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';
H A Dfastcgi.h133 void fcgi_set_mgmt_var(const char * name, size_t name_len, const char * value, size_t value_len);
/PHP_TRUNK/sapi/apache2handler/
H A Dphp_apache.h56 char *get_php_config(void *conf, char *name, size_t name_len);
/PHP_TRUNK/ext/dom/
H A Dattr.c63 size_t name_len, value_len, name_valid; local
67 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 Ddocument.c701 size_t name_len, value_len; local
704 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os|s", &id, dom_document_class_entry, &name, &name_len, &value, &value_len) == FAILURE) {
848 size_t value_len, name_len = 0; local
852 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os|s", &id, dom_document_class_entry, &name, &name_len, &value, &value_len) == FAILURE) {
884 size_t name_len; local
888 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_document_class_entry, &name, &name_len) == FAILURE) {
920 size_t name_len; local
923 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_document_class_entry, &name, &name_len) == FAILURE) {
951 size_t name_len; local
956 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_document_class_entry, &name, &name_len)
1035 size_t uri_len = 0, name_len = 0, value_len = 0; local
1099 size_t uri_len = 0, name_len = 0; local
1162 size_t uri_len, name_len; local
[all...]
H A Ddomimplementation.c96 size_t 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) {
162 size_t uri_len = 0, name_len = 0; local
167 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|ssO", &uri, &uri_len, &name, &name_len, &node, dom_documenttype_class_entry) == FAILURE) {
185 if (name_len > 0) {
186 errorcode = dom_check_qname(name, &localname, &prefix, 1, name_len);
H A Delement.c163 size_t name_len, value_len = 0, uri_len = 0; local
169 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) {
183 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len);
334 size_t name_len; local
336 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_element_class_entry, &name, &name_len) == FAILURE) {
375 size_t name_len, value_len; local
379 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Oss", &id, dom_element_class_entry, &name, &name_len, &value, &value_len) == FAILURE) {
383 if (name_len == 0) {
441 size_t name_len; local
444 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_element_class_entry, &name, &name_len)
488 size_t name_len; local
638 size_t name_len; local
666 size_t uri_len = 0, name_len = 0; local
746 size_t uri_len = 0, name_len = 0, value_len = 0; local
875 size_t name_len, uri_len; local
931 size_t uri_len, name_len; local
1033 size_t uri_len, name_len; local
1063 size_t name_len; local
1091 size_t uri_len, name_len; local
1149 size_t name_len; local
1184 size_t uri_len, name_len; local
[all...]
H A Dentityreference.c56 size_t 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.c57 size_t name_len, value_len; 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_TRUNK/ext/xmlreader/
H A Dphp_xmlreader.c401 size_t name_len = 0; local
406 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) {
410 if (!name_len) {
591 size_t name_len = 0, ns_uri_len = 0; local
595 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &name, &name_len, &ns_uri, &ns_uri_len) == FAILURE) {
599 if (name_len == 0 || ns_uri_len == 0) {
668 size_t name_len = 0; local
673 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) {
677 if (name_len == 0) {
730 size_t name_len local
812 size_t name_len=0; local
[all...]
/PHP_TRUNK/ext/xmlwriter/
H A Dphp_xmlwriter.c698 size_t name_len, retval; local
703 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) {
708 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &pind, &name, &name_len) == FAILURE) {
836 size_t name_len, prefix_len, uri_len; local
842 &prefix, &prefix_len, &name, &name_len, &uri, &uri_len) == FAILURE) {
848 &prefix, &prefix_len, &name, &name_len, &uri, &uri_len) == FAILURE) {
878 size_t name_len, content_len; local
884 &name, &name_len, &content, &content_len) == FAILURE) {
890 &name, &name_len, &content, &content_len) == FAILURE) {
920 size_t name_len, prefix_le local
971 size_t name_len, prefix_len, uri_len; local
1029 size_t name_len, content_len; local
1081 size_t name_len, prefix_len, uri_len, content_len; local
1149 size_t name_len, content_len; local
1352 size_t name_len, pubid_len, sysid_len; local
1398 size_t name_len, pubid_len, sysid_len, subset_len; local
1453 size_t name_len, content_len; local
1510 size_t name_len, content_len; local
1551 size_t name_len, retval; local
1598 size_t name_len, content_len; local
[all...]
/PHP_TRUNK/ext/zip/
H A Dphp_zip.c1742 size_t name_len; local
1755 &name, &name_len, &buffer) == FAILURE) {
1974 size_t comment_len, name_len; local
1985 &name, &name_len, &comment, &comment_len) == FAILURE) {
1989 if (name_len < 1) {
2037 size_t name_len; local
2049 &name, &name_len, &opsys, &attr, &flags) == FAILURE) {
2053 if (name_len < 1) {
2104 size_t name_len; local
2118 &name, &name_len,
2184 size_t name_len; local
2280 size_t name_len; local
2349 size_t name_len, new_name_len; local
2413 size_t name_len; local
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dfastcgi.c843 unsigned int name_len, val_len; local
846 name_len = *p++;
847 if (UNEXPECTED(name_len >= 128)) {
849 name_len = ((name_len & 0x7f) << 24);
850 name_len |= (*p++ << 16);
851 name_len |= (*p++ << 8);
852 name_len |= *p++;
863 if (UNEXPECTED(name_len + val_len > (unsigned int) (end - p))) {
867 fcgi_hash_set(&req->env, FCGI_HASH_FUNC(p, name_len), (cha
1510 fcgi_set_mgmt_var(const char * name, size_t name_len, const char * value, size_t value_len) argument
[all...]
/PHP_TRUNK/sapi/apache2filter/
H A Dphp_apache.h53 char *get_php_config(void *conf, char *name, size_t name_len);
/PHP_TRUNK/ext/standard/
H A Dhead.c76 PHPAPI int php_setcookie(char *name, size_t name_len, char *value, size_t value_len, time_t expires, char *path, size_t path_len, char *domain, size_t domain_len, int secure, int url_encode, int httponly TSRMLS_DC) argument
95 len += name_len;
183 size_t 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 size_t 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.h41 PHPAPI int php_setcookie(char *name, size_t name_len, char *value, size_t value_len, time_t expires, char *path, size_t path_len, char *domain, size_t domain_len, int secure, int url_encode, int httponly TSRMLS_DC);
H A Durl_scanner_ex.h31 PHPAPI int php_url_scanner_add_var(char *name, size_t name_len, char *value, size_t value_len, int urlencode TSRMLS_DC);
/PHP_TRUNK/Zend/
H A Dzend_constants.c164 ZEND_API void zend_register_null_constant(const char *name, size_t name_len, int flags, int module_number TSRMLS_DC) argument
170 c.name = zend_string_init(name, name_len, flags & CONST_PERSISTENT);
175 ZEND_API void zend_register_bool_constant(const char *name, size_t name_len, zend_bool bval, int flags, int module_number TSRMLS_DC) argument
181 c.name = zend_string_init(name, name_len, flags & CONST_PERSISTENT);
186 ZEND_API void zend_register_long_constant(const char *name, size_t name_len, zend_long lval, int flags, int module_number TSRMLS_DC) argument
192 c.name = zend_string_init(name, name_len, flags & CONST_PERSISTENT);
198 ZEND_API void zend_register_double_constant(const char *name, size_t name_len, double dval, int flags, int module_number TSRMLS_DC) argument
204 c.name = zend_string_init(name, name_len, flags & CONST_PERSISTENT);
210 ZEND_API void zend_register_stringl_constant(const char *name, size_t name_len, char *strval, size_t strlen, int flags, int module_number TSRMLS_DC) argument
216 c.name = zend_string_init(name, name_len, flag
222 zend_register_string_constant(const char *name, size_t name_len, char *strval, int flags, int module_number TSRMLS_DC) argument
333 size_t name_len = cname->len; local
[all...]
H A Dzend_constants.h69 ZEND_API zval *zend_get_constant_str(const char *name, size_t name_len TSRMLS_DC);
71 ZEND_API void zend_register_bool_constant(const char *name, size_t name_len, zend_bool bval, int flags, int module_number TSRMLS_DC);
72 ZEND_API void zend_register_null_constant(const char *name, size_t name_len, int flags, int module_number TSRMLS_DC);
73 ZEND_API void zend_register_long_constant(const char *name, size_t name_len, zend_long lval, int flags, int module_number TSRMLS_DC);
74 ZEND_API void zend_register_double_constant(const char *name, size_t name_len, double dval, int flags, int module_number TSRMLS_DC);
75 ZEND_API void zend_register_string_constant(const char *name, size_t name_len, char *strval, int flags, int module_number TSRMLS_DC);
76 ZEND_API void zend_register_stringl_constant(const char *name, size_t name_len, char *strval, size_t strlen, int flags, int module_number TSRMLS_DC);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_cmd.c34 memcpy(&buffer[pos], command->parent->name, command->parent->name_len);
35 pos += command->parent->name_len;
40 memcpy(&buffer[pos], command->name, command->name_len);
41 pos += command->name_len;
554 if (name->len == 1 || command->name_len >= name->len) {
566 if ((name->len != command->name_len && command->alias) || name->len == command->name_len) {
572 if (name->len == command->name_len) {
607 list = emalloc(matched[it]->name_len + 1 + (it + 1 < matches ? sizeof(", ") - 1 : 0));
609 list = erealloc(list, (pos + matched[it]->name_len)
[all...]
/PHP_TRUNK/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) {
87 zend_hash_str_update(ht, name, name_len, &data);
117 DWORD name_len; local
122 name_len = max_key+1;
123 if (RegEnumKeyEx(key, i, name, &name_len, NULL, NULL, NULL, &t) == ERROR_SUCCESS) {
128 memcpy(new_path+path_len+1, name, name_len+1);
129 zend_str_tolower(new_path, path_len+name_len+1);
130 name_len
[all...]
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c229 static zval *_default_load_entry(zval *object, char *name, size_t name_len TSRMLS_DC) /* {{{ */
233 if ((value = zend_hash_str_find_ind(Z_OBJPROP_P(object), name, name_len)) == NULL) {
239 static void _default_get_entry(zval *object, char *name, int name_len, zval *return_value TSRMLS_DC) /* {{{ */ argument
243 if ((value = _default_load_entry(object, name, name_len TSRMLS_CC)) == NULL) {
251 static void _default_lookup_entry(zval *object, char *name, int name_len, zval **return_value TSRMLS_DC) /* {{{ */ argument
255 if (zend_hash_find(Z_OBJPROP_P(object), name, name_len, (void **) &value) == FAILURE) {
1199 size_t name_len = strlen(name_str); local
1203 lcname = zend_string_alloc(name_len, 0);
1204 zend_str_tolower_copy(lcname->val, name_str, name_len);
1213 ZVAL_STRINGL(&name, module->name, name_len);
1595 size_t name_len; local
2673 size_t name_len, tmp_len; local
3642 size_t name_len; local
3672 size_t name_len; local
4744 size_t name_len; local
5145 size_t name_len; local
5517 size_t name_len; local
[all...]
/PHP_TRUNK/main/
H A Doutput.c461 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
465 handler = php_output_handler_create_internal(name, name_len, php_output_handler_compat_func, chunk_size, flags TSRMLS_CC);
518 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
521 zend_string *str = zend_string_init(name, name_len, 1);
578 PHPAPI int php_output_handler_started(const char *name, size_t name_len TSRMLS_DC)
587 if (name_len == handlers[i]->name->len && !memcmp(handlers[i]->name->val, name, name_len)) {
615 PHPAPI int php_output_handler_conflict_register(const char *name, size_t name_len, php_output_handler_conflict_check_t check_func TSRMLS_DC) argument
621 return zend_hash_str_update_ptr(&php_output_handler_conflicts, name, name_len, check_func) ? SUCCESS : FAILURE;
627 PHPAPI int php_output_handler_reverse_conflict_register(const char *name, size_t name_len, php_output_handler_conflict_check_ argument
663 php_output_handler_alias_register(const char *name, size_t name_len, php_output_handler_alias_ctor_t func TSRMLS_DC) argument
1555 size_t name_len, value_len; local
[all...]
H A Dphp_output.h232 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);
235 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);
239 PHPAPI int php_output_handler_started(const char *name, size_t name_len TSRMLS_DC);

Completed in 31 milliseconds

1234