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

123

/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';
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) {
/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) {
H A Dxpath.c552 int name_len = 0; local
574 } else if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == SUCCESS) {
579 zend_hash_update(intern->registered_phpfunctions, name, name_len + 1, &new_string, sizeof(zval*), NULL);
/PHP_5_3/ext/oci8/
H A Doci8_statement.c320 } else if (((int) column->name_len == column_name_len) && (!strncmp(column->name, column_name, column_name_len))) {
582 PHP_OCI_CALL_RETURN(statement->errcode, OCIAttrGet, ((dvoid *)param, OCI_DTYPE_PARAM, (dvoid **)&colname, (ub4 *)&outcol->name_len, (ub4)OCI_ATTR_NAME, statement->err));
592 outcol->name = estrndup((char*) colname, outcol->name_len);
596 if (zend_hash_find(statement->defines,outcol->name,outcol->name_len,(void **) &outcol->define) == SUCCESS) {
985 int php_oci_bind_by_name(php_oci_statement *statement, char *name, int name_len, zval* var, long maxlength, ub2 type TSRMLS_DC) argument
1104 if (zend_hash_find(statement->binds, name, name_len + 1, (void **)&old_bind) == SUCCESS) {
1110 zend_hash_update(statement->binds, name, name_len + 1, &bind, sizeof(php_oci_bind), (void **)&bindp);
1127 name_len, /* placeholder length */
1407 int php_oci_bind_array_by_name(php_oci_statement *statement, char *name, int name_len, zval* var, long max_table_length, long maxlength, long type TSRMLS_DC) argument
1460 zend_hash_update(statement->binds, name, name_len
[all...]
/PHP_5_3/ext/posix/
H A Dposix.c1010 int name_len; local
1017 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) {
1129 int name_len; local
1136 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) {
1373 int name_len; local
1375 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl", &name, &name_len, &basegid) == FAILURE) {
1379 if (name_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 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.c1025 PHPAPI int php_url_scanner_add_var(char *name, int name_len, char *value, int value_len, int urlencode TSRMLS_DC) argument
1049 smart_str_appendl(&BG(url_adapt_state_ex).url_app, name, name_len);
1054 smart_str_appendl(&BG(url_adapt_state_ex).form_app, name, name_len);
/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/ext/xsl/
H A Dxsltprocessor.c753 int string_key_len, namespace_len, name_len, value_len; local
778 } 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) {
785 zend_hash_update(intern->parameter, name, name_len + 1, &new_string, sizeof(zval*), NULL);
799 int name_len = 0, namespace_len = 0; local
806 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &namespace, &namespace_len, &name, &name_len) == FAILURE) {
810 if ( zend_hash_find(intern->parameter, name, name_len + 1, (void**) &value) == SUCCESS) {
824 int name_len = 0, namespace_len = 0; local
830 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &namespace, &namespace_len, &name, &name_len) == FAILURE) {
834 if ( zend_hash_del(intern->parameter, name, name_len + 1) == SUCCESS) {
849 int name_len local
[all...]
/PHP_5_3/main/
H A Doutput.c1064 int name_len, value_len; local
1066 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &name, &name_len, &value, &value_len) == FAILURE) {
1070 if (php_url_scanner_add_var(name, name_len, value, value_len, 1 TSRMLS_CC) == SUCCESS) {
/PHP_5_3/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_3/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_3/Zend/
H A Dzend_closures.c259 int name_len, info_len; local
261 name_len = zend_spprintf(&name, 0, "%s$%s",
265 name_len = zend_spprintf(&name, 0, "%s$param%d",
271 add_assoc_stringl_ex(val, name, name_len + 1, info, info_len, 0);
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);
/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 26 milliseconds

123