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

12

/PHP_5_4/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_4/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_4/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_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.h515 int namelen; member in struct:pdo_column_data
528 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);
H A Dpdo_dbh.c988 int namelen; local
990 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!", &name, &namelen)) {
1294 int namelen; local
1346 namelen = strlen(funcs->fname);
1347 lc_name = emalloc(namelen+1);
1348 zend_str_tolower_copy(lc_name, funcs->fname, namelen);
1349 zend_hash_add(dbh->cls_methods[kind], lc_name, namelen+1, &func, sizeof(func), NULL);
/PHP_5_4/ext/pdo_dblib/
H A Ddblib_stmt.c209 col->namelen = strlen(col->name);
/PHP_5_4/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_4/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_4/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_4/ext/pdo_sqlite/
H A Dsqlite_statement.c231 stmt->columns[colno].namelen = strlen(stmt->columns[colno].name);
/PHP_5_4/ext/session/
H A Dphp_session.h216 PHPAPI void php_add_session_var(char *name, size_t namelen TSRMLS_DC);
217 PHPAPI void php_set_session_var(char *name, size_t namelen, zval *state_val, php_unserialize_data_t *var_hash TSRMLS_DC);
218 PHPAPI int php_get_session_var(char *name, size_t namelen, zval ***state_var TSRMLS_DC);
232 #define PS_ADD_VARL(name,namelen) do { \
233 php_add_session_var(name, namelen TSRMLS_CC); \
238 #define PS_DEL_VARL(name,namelen) do { \
240 zend_hash_del(Z_ARRVAL_P(PS(http_session_vars)), name, namelen+1); \
H A Dsession.c138 PHPAPI void php_add_session_var(char *name, size_t namelen TSRMLS_DC) /* {{{ */
143 zend_hash_find(Z_ARRVAL_P(PS(http_session_vars)), name, namelen + 1, (void *) &sym_track);
152 ZEND_SET_SYMBOL_WITH_LENGTH(Z_ARRVAL_P(PS(http_session_vars)), name, namelen+1, empty_var, 1, 0);
157 PHPAPI void php_set_session_var(char *name, size_t namelen, zval *state_val, php_unserialize_data_t *var_hash TSRMLS_DC) /* {{{ */ argument
160 zend_set_hash_symbol(state_val, name, namelen, PZVAL_IS_REF(state_val), 1, Z_ARRVAL_P(PS(http_session_vars)));
165 PHPAPI int php_get_session_var(char *name, size_t namelen, zval ***state_var TSRMLS_DC) /* {{{ */ argument
170 ret = zend_hash_find(Z_ARRVAL_P(PS(http_session_vars)), name, namelen + 1, (void **) state_var);
827 int namelen; local
835 namelen = ((unsigned char)(*p)) & (~PS_BIN_UNDEF);
837 if (namelen <
915 int namelen; local
[all...]
/PHP_5_4/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_4/ext/standard/
H A Dpack.c542 int namelen; local
572 namelen = format - name;
574 if (namelen > 200)
575 namelen = 200;
647 /* Space for name + number, safe as namelen is ensured <= 200 */
650 if (arg != 1 || namelen == 0) {
652 snprintf(n, sizeof(n), "%.*s%d", namelen, name, i + 1);
655 snprintf(n, sizeof(n), "%.*s", namelen, name);
/PHP_5_4/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::__anon312
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.c506 if (xparam->inputs.namelen >= sizeof(unix_addr->sun_path)) {
512 xparam->inputs.namelen = sizeof(unix_addr->sun_path) - 1;
518 memcpy(unix_addr->sun_path, xparam->inputs.name, xparam->inputs.namelen);
565 return parse_ip_address_ex(xparam->inputs.name, xparam->inputs.namelen, portno, xparam->want_errortext, &xparam->outputs.error_text TSRMLS_CC);
592 (socklen_t) XtOffsetOf(struct sockaddr_un, sun_path) + xparam->inputs.namelen);
640 (const struct sockaddr *)&unix_addr, (socklen_t) XtOffsetOf(struct sockaddr_un, sun_path) + xparam->inputs.namelen,
/PHP_5_4/ext/com_dotnet/
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...]
H A Dphp_com_dotnet_internal.h105 int namelen, DISPID *dispid TSRMLS_DC);
108 int php_com_do_invoke(php_com_dotnet_object *obj, char *name, int namelen,
110 int php_com_do_invoke_byref(php_com_dotnet_object *obj, char *name, int namelen,
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...]
/PHP_5_4/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_4/ext/pdo_firebird/
H A Dfirebird_statement.c200 col->namelen = colname_len;
470 if (SUCCESS == zend_hash_find(S->named_params, param->name, param->namelen+1, (void*)&index)) {
480 min(param->namelen, var->aliasname_length)))
482 min(param->namelen, var->sqlname_length)))) {
/PHP_5_4/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
2390 int namelen; local
[all...]

Completed in 45 milliseconds

12