Searched defs:namelen (Results 1 - 15 of 15) sorted by relevance

/PHP_5_6/win32/
H A Dsendmail.c770 int res, namelen; local
794 namelen = strlen(ent->h_name);
802 if (namelen + 2 >= HOST_NAME_LEN) {
808 strcpy(LocalHost + namelen + 1, "]");
810 if (namelen >= HOST_NAME_LEN) {
/PHP_5_6/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.c179 unsigned int namelen; local
182 name = php_com_olestring_to_string(rgszNames[i], &namelen, COMG(code_page) TSRMLS_CC);
185 if (zend_hash_find(disp->name_to_dispid, name, namelen+1, (void**)&tmp) == FAILURE) {
223 unsigned int namelen; local
227 name = php_com_olestring_to_string(bstrName, &namelen, COMG(code_page) TSRMLS_CC);
229 trace("Looking for %s, namelen=%d in %p\n", name, namelen, disp->name_to_dispid);
232 if (zend_hash_find(disp->name_to_dispid, name, namelen+1, (void**)&tmp) == SUCCESS) {
456 int namelen; local
472 &namelen,
588 int namelen; local
[all...]
/PHP_5_6/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 Dphp_pdo_driver.h515 int namelen; member in struct:pdo_column_data
528 int namelen; member in struct:pdo_bound_param_data
H A Dpdo_dbh.c976 int namelen; local
978 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!", &name, &namelen)) {
1282 int namelen; local
1330 namelen = strlen(funcs->fname);
1331 lc_name = emalloc(namelen+1);
1332 zend_str_tolower_copy(lc_name, funcs->fname, namelen);
1333 zend_hash_add(dbh->cls_methods[kind], lc_name, namelen+1, &func, sizeof(func), NULL);
/PHP_5_6/ext/pdo_mysql/
H A Dmysql_statement.c678 int namelen; local
681 namelen = spprintf(&cols[i].name, 0, "%s.%s", S->fields[i].table, S->fields[i].name);
682 cols[i].namelen = namelen;
684 namelen = strlen(S->fields[i].name);
685 cols[i].namelen = namelen;
686 cols[i].name = estrndup(S->fields[i].name, namelen);
/PHP_5_6/ext/pdo_oci/
H A Doci_statement.c314 param->namelen, 0, value_sz, P->oci_type,
510 ub4 namelen; local
535 (param, OCI_DTYPE_PARAM, &colname, &namelen, OCI_ATTR_NAME, S->err));
539 col->namelen = namelen;
540 col->name = estrndup((char *)colname, namelen);
/PHP_5_6/ext/soap/
H A Dphp_http.c166 long namelen; local
227 namelen = spprintf(&name, 0, "%s://%s:%d", protocol, host, port);
229 stream = php_stream_xport_create(name, namelen,
/PHP_5_6/ext/standard/
H A Dpack.c553 int namelen; local
583 namelen = format - name;
585 if (namelen > 200)
586 namelen = 200;
659 /* Space for name + number, safe as namelen is ensured <= 200 */
662 if (arg != 1 || namelen == 0) {
664 snprintf(n, sizeof(n), "%.*s%d", namelen, name, i + 1);
667 snprintf(n, sizeof(n), "%.*s", namelen, name);
/PHP_5_6/main/streams/
H A Dtransports.c52 PHPAPI php_stream *_php_stream_xport_create(const char *name, size_t 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, size_t namelen,
207 param.inputs.namelen = namelen;
225 const char *name, size_t namelen,
238 param.inputs.namelen
196 php_stream_xport_bind(php_stream *stream, const char *name, size_t namelen, char **error_text TSRMLS_DC) argument
224 php_stream_xport_connect(php_stream *stream, const char *name, size_t namelen, int asynchronous, struct timeval *timeout, char **error_text, int *error_code TSRMLS_DC) argument
[all...]
H A Dphp_stream_transport.h49 PHPAPI php_stream *_php_stream_xport_create(const char *name, size_t 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, size_t namelen,
68 const char *name, size_t namelen,
144 size_t namelen; member in struct:_php_stream_xport_param::__anon3
/PHP_5_6/ext/pcre/pcrelib/
H A Dpcre_compile.c6387 int i, namelen; local
6395 namelen = (int)(ptr - name);
6423 if (namelen == verbs[i].len &&
6424 STRNCMP_UC_C8(name, vn, namelen) == 0)
6509 int i, set, unset, namelen; local
6650 namelen = (int)(ptr - name);
6695 if (STRNCMP_UC_UC(name, slot+IMM2_SIZE, namelen) == 0) break;
6712 if (STRNCMP_UC_UC(name, slot+IMM2_SIZE, namelen) != 0) break;
6746 for (i = 1; i < namelen; i++)
6763 else if (namelen
[all...]
/PHP_5_6/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
1108 namelen = xmlStrlen(attr->name) + 1;
1114 add_assoc_zval_ex(zattr, (char*)attr->name, namelen, value); local
1168 namelen = xmlStrlen(node->name) + 1;
1176 sxe_properties_add(rv, name, namelen, valu
1589 int namelen; local
[all...]
/PHP_5_6/ext/session/
H A Dsession.c143 PHPAPI void php_add_session_var(char *name, size_t namelen TSRMLS_DC) /* {{{ */
148 zend_hash_find(Z_ARRVAL_P(PS(http_session_vars)), name, namelen + 1, (void *) &sym_track);
157 ZEND_SET_SYMBOL_WITH_LENGTH(Z_ARRVAL_P(PS(http_session_vars)), name, namelen+1, empty_var, 1, 0);
162 PHPAPI void php_set_session_var(char *name, size_t namelen, zval *state_val, php_unserialize_data_t *var_hash TSRMLS_DC) /* {{{ */ argument
165 zend_set_hash_symbol(state_val, name, namelen, PZVAL_IS_REF(state_val), 1, Z_ARRVAL_P(PS(http_session_vars)));
170 PHPAPI int php_get_session_var(char *name, size_t namelen, zval ***state_var TSRMLS_DC) /* {{{ */ argument
175 ret = zend_hash_find(Z_ARRVAL_P(PS(http_session_vars)), name, namelen + 1, (void **) state_var);
938 int namelen; local
946 namelen = ((unsigned char)(*p)) & (~PS_BIN_UNDEF);
948 if (namelen <
1026 int namelen; local
[all...]

Completed in 81 milliseconds