Searched refs:namelen (Results 1 - 25 of 29) sorted by relevance

12

/PHP_5_3/win32/
H A Dsendmail.c769 int res, namelen; local
793 namelen = strlen(ent->h_name);
801 if (namelen + 2 >= HOST_NAME_LEN) {
807 strcpy(LocalHost + namelen + 1, "]");
809 if (namelen >= HOST_NAME_LEN) {
/PHP_5_3/ext/com_dotnet/
H A Dcom_com.c419 int namelen, DISPID *dispid TSRMLS_DC)
425 if (namelen == -1) {
426 namelen = strlen(name);
429 if (obj->id_of_name_cache && SUCCESS == zend_hash_find(obj->id_of_name_cache, name, namelen, (void**)&dispid_ptr)) {
434 olename = php_com_string_to_olestring(name, namelen, obj->code_page TSRMLS_CC);
457 zend_hash_update(obj->id_of_name_cache, name, namelen, dispid, sizeof(*dispid), NULL);
464 int php_com_do_invoke_byref(php_com_dotnet_object *obj, char *name, int namelen, argument
479 hr = php_com_get_id_of_name(obj, name, namelen, &dispid TSRMLS_CC);
632 int php_com_do_invoke(php_com_dotnet_object *obj, char *name, int namelen, argument
640 hr = php_com_get_id_of_name(obj, name, namelen,
418 php_com_get_id_of_name(php_com_dotnet_object *obj, char *name, int namelen, DISPID *dispid TSRMLS_DC) argument
808 int namelen; local
[all...]
H A Dcom_wrapper.c185 unsigned int namelen; local
188 name = php_com_olestring_to_string(rgszNames[i], &namelen, COMG(code_page) TSRMLS_CC);
191 if (zend_hash_find(disp->name_to_dispid, name, namelen+1, (void**)&tmp) == FAILURE) {
229 unsigned int namelen; local
233 name = php_com_olestring_to_string(bstrName, &namelen, COMG(code_page) TSRMLS_CC);
235 trace("Looking for %s, namelen=%d in %p\n", name, namelen, disp->name_to_dispid);
238 if (zend_hash_find(disp->name_to_dispid, name, namelen+1, (void**)&tmp) == SUCCESS) {
462 int namelen; local
478 &namelen,
596 int namelen; local
[all...]
H A Dphp_com_dotnet_internal.h108 int namelen, DISPID *dispid TSRMLS_DC);
111 int php_com_do_invoke(php_com_dotnet_object *obj, char *name, int namelen,
113 int php_com_do_invoke_byref(php_com_dotnet_object *obj, char *name, int namelen,
/PHP_5_3/ext/dom/
H A Ddom_iterators.c166 int namelen; local
185 namelen = xmlStrlen(curnode->name);
186 *str_key = estrndup(curnode->name, namelen);
187 *str_key_len = namelen + 1;
/PHP_5_3/ext/pdo/
H A Dpdo.c206 pdo_driver_t *pdo_find_driver(const char *name, int namelen) argument
210 zend_hash_find(&pdo_driver_hash, (char*)name, namelen, (void**)&driver);
H A Dpdo_dbh.c979 int namelen; local
981 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!", &name, &namelen)) {
1285 int namelen; local
1329 namelen = strlen(funcs->fname);
1330 lc_name = emalloc(namelen+1);
1331 zend_str_tolower_copy(lc_name, funcs->fname, namelen);
1332 zend_hash_add(dbh->cls_methods[kind], lc_name, namelen+1, &func, sizeof(func), NULL);
H A Dpdo_stmt.c142 param->namelen = strlen(param->name);
244 stmt->columns[col].namelen, (void**)&param)) {
253 stmt->columns[col].namelen, (void**)&param)) {
364 char *temp = emalloc(++param->namelen + 1);
366 memmove(temp+1, param->name, param->namelen);
369 param->name = estrndup(param->name, param->namelen);
405 zend_hash_update(hash, param->name, param->namelen, param,
419 zend_hash_del(hash, pparam->name, pparam->namelen);
465 param.namelen = str_length - 1;
1121 stmt->columns[i].name, stmt->columns[i].namelen,
[all...]
H A Dphp_pdo_driver.h517 int namelen; member in struct:pdo_column_data
530 int namelen; member in struct:pdo_bound_param_data
H A Dphp_pdo_int.h56 extern pdo_driver_t *pdo_find_driver(const char *name, int namelen);
/PHP_5_3/ext/pdo_dblib/
H A Ddblib_stmt.c262 col->namelen = strlen(S->cols[colno].name);
/PHP_5_3/ext/pdo_mysql/
H A Dmysql_statement.c701 int namelen; local
704 namelen = spprintf(&cols[i].name, 0, "%s.%s", S->fields[i].table, S->fields[i].name);
705 cols[i].namelen = namelen;
707 namelen = strlen(S->fields[i].name);
708 cols[i].namelen = namelen;
709 cols[i].name = estrndup(S->fields[i].name, namelen);
/PHP_5_3/ext/pdo_oci/
H A Doci_statement.c308 param->namelen, 0, value_sz, P->oci_type,
504 ub4 namelen; local
529 (param, OCI_DTYPE_PARAM, &colname, &namelen, OCI_ATTR_NAME, S->err));
533 col->namelen = namelen;
534 col->name = estrndup((char *)colname, namelen);
/PHP_5_3/ext/pdo_pgsql/
H A Dpgsql_statement.c261 param->name, param->namelen + 1, (void**)&nameptr)) {
441 cols[colno].namelen = strlen(cols[colno].name);
458 cols[colno].name, cols[colno].namelen,
/PHP_5_3/ext/pdo_sqlite/
H A Dsqlite_statement.c225 stmt->columns[colno].namelen = strlen(stmt->columns[colno].name);
/PHP_5_3/ext/session/
H A Dphp_session.h187 PHPAPI void php_add_session_var(char *name, size_t namelen TSRMLS_DC);
188 PHPAPI void php_set_session_var(char *name, size_t namelen, zval *state_val, php_unserialize_data_t *var_hash TSRMLS_DC);
189 PHPAPI int php_get_session_var(char *name, size_t namelen, zval ***state_var TSRMLS_DC);
203 #define PS_ADD_VARL(name,namelen) do { \
204 php_add_session_var(name, namelen TSRMLS_CC); \
209 #define PS_DEL_VARL(name,namelen) do { \
211 zend_hash_del(Z_ARRVAL_P(PS(http_session_vars)), name, namelen+1); \
H A Dsession.c125 PHPAPI void php_add_session_var(char *name, size_t namelen TSRMLS_DC) /* {{{ */
130 zend_hash_find(Z_ARRVAL_P(PS(http_session_vars)), name, namelen + 1, (void *) &sym_track);
140 if (zend_hash_find(&EG(symbol_table), name, namelen + 1, (void *) &sym_global) == SUCCESS) {
152 zend_set_hash_symbol(empty_var, name, namelen, 1, 2, Z_ARRVAL_P(PS(http_session_vars)), &EG(symbol_table));
155 zend_set_hash_symbol(*sym_track, name, namelen, 1, 1, &EG(symbol_table));
158 zend_set_hash_symbol(*sym_global, name, namelen, 1, 1, Z_ARRVAL_P(PS(http_session_vars)));
165 ZEND_SET_SYMBOL_WITH_LENGTH(Z_ARRVAL_P(PS(http_session_vars)), name, namelen+1, empty_var, 1, 0);
171 PHPAPI void php_set_session_var(char *name, size_t namelen, zval *state_val, php_unserialize_data_t *var_hash TSRMLS_DC) /* {{{ */ argument
175 if (zend_hash_find(&EG(symbol_table),name,namelen+1,(void *)&old_symbol) == SUCCESS) {
200 zend_set_hash_symbol(*old_symbol, name, namelen,
210 php_get_session_var(char *name, size_t namelen, zval ***state_var TSRMLS_DC) argument
864 int namelen; local
952 int namelen; local
[all...]
/PHP_5_3/ext/simplexml/
H A Dsimplexml.c1036 static void sxe_properties_add(HashTable *rv, char *name, int namelen, zval *value TSRMLS_DC) /* {{{ */ argument
1040 ulong h = zend_hash_func(name, namelen);
1042 if (zend_hash_quick_find(rv, name, namelen, h, (void **) &data_ptr) == SUCCESS) {
1053 zend_hash_quick_update(rv, name, namelen, h, &newptr, sizeof(zval *), NULL);
1056 zend_hash_quick_update(rv, name, namelen, h, &value, sizeof(zval *), NULL);
1070 int namelen; local
1110 namelen = xmlStrlen(attr->name) + 1;
1116 add_assoc_zval_ex(zattr, (char*)attr->name, namelen, value); local
1159 namelen = xmlStrlen(node->name) + 1;
1164 sxe_properties_add(rv, name, namelen, valu
1543 int namelen; local
2342 int namelen; local
[all...]
/PHP_5_3/ext/soap/
H A Dphp_http.c165 long namelen; local
192 namelen = spprintf(&name, 0, "%s://%s:%d", (use_ssl && !*use_proxy)? "ssl" : "tcp", host, port);
194 stream = php_stream_xport_create(name, namelen,
/PHP_5_3/ext/standard/
H A Dpack.c543 int namelen; local
573 namelen = format - name;
575 if (namelen > 200)
576 namelen = 200;
648 /* Space for name + number, safe as namelen is ensured <= 200 */
651 if (arg != 1 || namelen == 0) {
653 snprintf(n, sizeof(n), "%.*s%d", namelen, name, i + 1);
656 snprintf(n, sizeof(n), "%.*s", namelen, name);
/PHP_5_3/main/streams/
H A Dphp_stream_transport.h49 PHPAPI php_stream *_php_stream_xport_create(const char *name, long namelen, int options,
57 #define php_stream_xport_create(name, namelen, options, flags, persistent_id, timeout, context, estr, ecode) \
58 _php_stream_xport_create(name, namelen, options, flags, persistent_id, timeout, context, estr, ecode STREAMS_CC TSRMLS_CC)
62 const char *name, long namelen,
68 const char *name, long namelen,
144 long namelen; member in struct:_php_stream_xport_param::__anon267
H A Dtransports.c52 PHPAPI php_stream *_php_stream_xport_create(const char *name, long namelen, int options, argument
102 namelen -= n + 3;
133 (char*)name, namelen, persistent_id, options, flags, timeout,
143 if (-1 == php_stream_xport_connect(stream, name, namelen,
156 if (0 != php_stream_xport_bind(stream, name, namelen, &error_text TSRMLS_CC)) {
197 const char *name, long namelen,
207 param.inputs.namelen = namelen;
225 const char *name, long namelen,
238 param.inputs.namelen
196 php_stream_xport_bind(php_stream *stream, const char *name, long namelen, char **error_text TSRMLS_DC) argument
224 php_stream_xport_connect(php_stream *stream, const char *name, long namelen, int asynchronous, struct timeval *timeout, char **error_text, int *error_code TSRMLS_DC) argument
[all...]
H A Dxp_socket.c510 if (xparam->inputs.namelen >= sizeof(unix_addr->sun_path)) {
516 xparam->inputs.namelen = sizeof(unix_addr->sun_path) - 1;
522 memcpy(unix_addr->sun_path, xparam->inputs.name, xparam->inputs.namelen);
569 return parse_ip_address_ex(xparam->inputs.name, xparam->inputs.namelen, portno, xparam->want_errortext, &xparam->outputs.error_text TSRMLS_CC);
643 (const struct sockaddr *)&unix_addr, (socklen_t) XtOffsetOf(struct sockaddr_un, sun_path) + xparam->inputs.namelen,
/PHP_5_3/ext/pcre/pcrelib/
H A Dpcre_compile.c5597 int i, namelen; local
5605 namelen = (int)(ptr - name);
5633 if (namelen == verbs[i].len &&
5634 STRNCMP_UC_C8(name, vn, namelen) == 0)
5719 int i, set, unset, namelen; local
5828 namelen = (int)(ptr - name);
5873 if (STRNCMP_UC_UC(name, slot+IMM2_SIZE, namelen) == 0) break;
5888 else if ((i = find_parens(cd, name, namelen,
5913 for (i = 1; i < namelen; i++)
5930 else if (namelen
[all...]
/PHP_5_3/ext/pdo_firebird/
H A Dfirebird_statement.c202 col->namelen = colname_len;
472 if (SUCCESS == zend_hash_find(S->named_params, param->name, param->namelen+1, (void*)&index)) {
482 min(param->namelen, var->aliasname_length)))
484 min(param->namelen, var->sqlname_length)))) {

Completed in 47 milliseconds

12