Searched defs:name_len (Results 1 - 25 of 58) sorted by relevance

123

/PHP_5_4/sapi/fpm/fpm/
H A Dfpm_php.c86 int name_len = strlen(name); local
95 if (fpm_php_zend_ini_alter_master(name, name_len+1, value, value_len, mode, PHP_INI_STAGE_ACTIVATE TSRMLS_CC) == FAILURE) {
H A Dfastcgi.c429 int name_len = 0; local
437 bytes_consumed = fcgi_get_params_len(&name_len, p, end);
451 if (name_len > (INT_MAX - val_len) || /* would the addition overflow? */
452 name_len + val_len > end - p) { /* would we exceed the buffer? */
462 if (!fcgi_param_get_eff_len(p, p+name_len, &eff_name_len)){
481 s = estrndup((char*)p + name_len, val_len);
487 p += name_len + val_len;
1080 void fcgi_set_mgmt_var(const char * name, size_t name_len, const char * value, size_t value_len) argument
1087 zend_hash_add(&fcgi_mgmt_vars, name, name_len + 1, &zvalue, sizeof(zvalue), NULL);
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_4/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_4/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_4/ext/posix/
H A Dposix.c995 int name_len; local
1002 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) {
1114 int name_len; local
1121 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) {
1358 int name_len; local
1360 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl", &name, &name_len, &basegid) == FAILURE) {
1364 if (name_len == 0) {
/PHP_5_4/ext/sqlite3/
H A Dphp_sqlite3_structs.h43 int name_len; member in struct:php_sqlite3_bound_param
/PHP_5_4/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;
178 int name_len, value_len = 0, path_len = 0, domain_len = 0; local
181 &name_len, &value, &value_len, &expires, &path,
186 if (php_setcookie(name, name_len, value, value_len, expires, path, path_len, domain, domain_len, secure, 1, httponly TSRMLS_CC) == SUCCESS) {
201 int name_len, value_len = 0, path_len = 0, domain_len = 0; local
204 &name_len, &value, &value_len, &expires, &path,
209 if (php_setcookie(name, name_len, value, value_len, expires, path, path_len, domain, domain_len, secure, 0, httponly TSRMLS_CC) == SUCCESS) {
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.c999 PHPAPI int php_url_scanner_add_var(char *name, int name_len, char *value, int value_len, int urlencode TSRMLS_DC) argument
1023 smart_str_appendl(&BG(url_adapt_state_ex).url_app, name, name_len);
1028 smart_str_appendl(&BG(url_adapt_state_ex).form_app, name, name_len);
/PHP_5_4/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_4/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_4/ext/xsl/
H A Dxsltprocessor.c779 int string_key_len, namespace_len, name_len, value_len; local
804 } else if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "sss", &namespace, &namespace_len, &name, &name_len, &value, &value_len) == SUCCESS) {
811 zend_hash_update(intern->parameter, name, name_len + 1, &new_string, sizeof(zval*), NULL);
825 int name_len = 0, namespace_len = 0; local
832 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &namespace, &namespace_len, &name, &name_len) == FAILURE) {
836 if ( zend_hash_find(intern->parameter, name, name_len + 1, (void**) &value) == SUCCESS) {
850 int name_len = 0, namespace_len = 0; local
856 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &namespace, &namespace_len, &name, &name_len) == FAILURE) {
860 if ( zend_hash_del(intern->parameter, name, name_len + 1) == SUCCESS) {
875 int name_len local
[all...]
/PHP_5_4/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);
/PHP_5_4/sapi/apache2filter/
H A Dapache_config.c150 char *get_php_config(void *conf, char *name, size_t name_len) argument
155 if (zend_hash_find(&d->config, name, name_len, (void **) &pe) == SUCCESS) {
/PHP_5_4/sapi/apache2handler/
H A Dapache_config.c172 char *get_php_config(void *conf, char *name, size_t name_len) argument
177 if (zend_hash_find(&d->config, name, name_len, (void **) &pe) == SUCCESS) {
/PHP_5_4/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);
H A Dzend_closures.c355 int name_len, info_len; local
357 name_len = zend_spprintf(&name, 0, "%s$%s",
361 name_len = zend_spprintf(&name, 0, "%s$param%d",
367 add_assoc_stringl_ex(val, name, name_len + 1, info, info_len, 0);
/PHP_5_4/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.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) {
H A Dxpath.c553 int name_len = 0; local
575 } else if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == SUCCESS) {
580 zend_hash_update(intern->registered_phpfunctions, name, name_len + 1, &new_string, sizeof(zval*), NULL);

Completed in 36 milliseconds

123