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

12

/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 Dfpm_php.c85 int name_len = strlen(name); local
94 if (fpm_php_zend_ini_alter_master(name, name_len, 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);
483 p += name_len + val_len;
1064 void fcgi_set_mgmt_var(const char * name, size_t name_len, const char * value, size_t value_len) argument
1068 zend_hash_str_add(&fcgi_mgmt_vars, name, name_len, &zvalue);
/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/sapi/apache2handler/
H A Dapache_config.c175 char *get_php_config(void *conf, char *name, size_t name_len) argument
180 if ((pe = zend_hash_str_find_ptr(&d->config, name, name_len)) != NULL) {
/PHP_TRUNK/Zend/
H A Dzend_constants.c164 ZEND_API void zend_register_null_constant(const char *name, uint 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, uint 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, uint 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, uint 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, uint name_len, char *strval, uint 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, uint name_len, char *strval, int flags, int module_number TSRMLS_DC) argument
333 uint name_len = cname->len; local
[all...]
/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/intl/converter/
H A Dconverter.c929 size_t name_len; local
933 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) {
/PHP_TRUNK/ext/oci8/
H A Doci8_interface.c54 size_t name_len; local
59 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rsz/|l", &stmt, &name, &name_len, &var, &type) == FAILURE) {
63 if (!name_len) {
77 //if (zend_hash_add(statement->defines, name, name_len, define, sizeof(php_oci_define), (void **)&tmp_define) == SUCCESS) {
78 if ((tmp_define = zend_hash_add_new_ptr(statement->defines, zend_string_init(name, name_len, 0), define)) != NULL) {
86 define->name = (text*) estrndup(name, name_len);
87 define->name_len = name_len;
102 size_t name_len; local
109 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rsz/|ll", &z_statement, &name, &name_len,
130 size_t name_len; local
[all...]
H A Doci8_statement.c394 } else if (((int) column->name_len == column_name_len) && (!strncmp(column->name, column_name, column_name_len))) {
672 PHP_OCI_CALL_RETURN(errstatus, OCIAttrGet, ((dvoid *)param, OCI_DTYPE_PARAM, (dvoid **)&colname, (ub4 *)&outcol->name_len, (ub4)OCI_ATTR_NAME, statement->err));
682 outcol->name = estrndup((char*) colname, outcol->name_len);
686 if ((outcol->define = zend_hash_str_find_ptr(statement->defines, outcol->name, outcol->name_len)) != NULL) {
1082 int php_oci_bind_by_name(php_oci_statement *statement, char *name, int name_len, zval *var, zend_long maxlength, ub2 type TSRMLS_DC) argument
1216 if ((old_bind = zend_hash_str_find_ptr(statement->binds, name, name_len)) != NULL) {
1220 bindp = zend_hash_update_ptr(statement->binds, zend_string_init(name, name_len + 1, 0), &bind);
1237 name_len, /* placeholder length */
1527 int php_oci_bind_array_by_name(php_oci_statement *statement, char *name, int name_len, zval *var, zend_long max_table_length, zend_long maxlength, zend_long type TSRMLS_DC) argument
1581 bindp = zend_hash_update_ptr(statement->binds, zend_string_init(name, name_len
[all...]
/PHP_TRUNK/ext/posix/
H A Dposix.c995 size_t name_len; local
1002 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) {
1114 size_t name_len; local
1121 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) {
1358 size_t 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_TRUNK/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
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 Durl_scanner_ex.c1026 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_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/sapi/apache2filter/
H A Dapache_config.c150 char *get_php_config(void *conf, char *name, size_t name_len) argument
155 if ((pe = zend_hash_find(&d->config, name, name_len)) != NULL) {
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_cmd.h94 size_t name_len; /* Command name length */ member in struct:_phpdbg_command_t
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_nonapi.c1081 size_t name_len = -1; local
1084 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O|ls", &mysql_link, mysqli_link_class_entry, &flags, &name, &name_len) == FAILURE) {
1092 if (!name_len) {
1134 size_t name_len = -1; local
1136 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &mysql_link, mysqli_link_class_entry, &name, &name_len) == FAILURE) {
1140 if (!name || !name_len) {
1163 size_t name_len = -1; local
1165 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &mysql_link, mysqli_link_class_entry, &name, &name_len) == FAILURE) {
1169 if (!name || !name_len) {
H A Dmysqli_api.c757 size_t name_len = 0; local
759 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O|ls", &mysql_link, mysqli_link_class_entry, &flags, &name, &name_len) == FAILURE) {
1981 size_t name_len = 0; local
1983 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O|ls", &mysql_link, mysqli_link_class_entry, &flags, &name, &name_len) == FAILURE) {

Completed in 48 milliseconds

12