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

12

/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_compile.c6424 int i, namelen; local
6432 namelen = (int)(ptr - name);
6460 if (namelen == verbs[i].len &&
6461 STRNCMP_UC_C8(name, vn, namelen) == 0)
6546 int i, set, unset, namelen; local
6621 namelen = -1; /* => not a name; must set to avoid warning */
6689 namelen = (int)(ptr - name);
6734 if (STRNCMP_UC_UC(name, slot+IMM2_SIZE, namelen) == 0) break;
6751 if (STRNCMP_UC_UC(name, slot+IMM2_SIZE, namelen) != 0) break;
6785 for (i = 1; i < namelen;
[all...]
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_com.c419 size_t namelen, DISPID *dispid TSRMLS_DC)
425 if (namelen == -1) {
426 namelen = strlen(name);
429 if (obj->id_of_name_cache && NULL != (tmp = zend_hash_str_find(obj->id_of_name_cache, name, namelen))) {
434 olename = php_com_string_to_olestring(name, namelen, obj->code_page TSRMLS_CC);
460 zend_hash_str_update(obj->id_of_name_cache, name, namelen, &tmp);
467 int php_com_do_invoke_byref(php_com_dotnet_object *obj, char *name, int namelen, argument
482 hr = php_com_get_id_of_name(obj, name, namelen, &dispid TSRMLS_CC);
635 int php_com_do_invoke(php_com_dotnet_object *obj, char *name, int namelen, argument
643 hr = php_com_get_id_of_name(obj, name, namelen,
418 php_com_get_id_of_name(php_com_dotnet_object *obj, char *name, size_t namelen, DISPID *dispid TSRMLS_DC) argument
816 size_t namelen; local
[all...]
H A Dcom_wrapper.c179 size_t namelen; local
182 name = php_com_olestring_to_string(rgszNames[i], &namelen, COMG(code_page) TSRMLS_CC);
185 if ((tmp = zend_hash_str_find(disp->name_to_dispid, name, namelen)) == NULL) {
223 size_t 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 ((tmp = zend_hash_str_find(disp->name_to_dispid, name, namelen)) != NULL) {
H A Dphp_com_dotnet_internal.h107 size_t namelen, DISPID *dispid TSRMLS_DC);
110 int php_com_do_invoke(php_com_dotnet_object *obj, char *name, int namelen,
112 int php_com_do_invoke_byref(php_com_dotnet_object *obj, char *name, int namelen,
/PHP_TRUNK/ext/pdo/
H A Dpdo.c205 pdo_driver_t *pdo_find_driver(const char *name, int namelen) /* {{{ */ argument
207 return zend_hash_str_find_ptr(&pdo_driver_hash, (char*)name, namelen);
H A Dpdo_dbh.c953 size_t namelen; local
955 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!", &name, &namelen)) {
1272 size_t namelen; local
1321 namelen = strlen(funcs->fname);
1322 lc_name = emalloc(namelen+1);
1323 zend_str_tolower_copy(lc_name, funcs->fname, namelen);
1324 zend_hash_str_add_mem(dbh->cls_methods[kind], lc_name, namelen, &func, sizeof(func));
H A Dpdo_stmt.c238 stmt->columns[col].namelen, (void**)&param)) {
247 stmt->columns[col].name, stmt->columns[col].namelen)) != NULL) {
1097 stmt->columns[i].name, stmt->columns[i].namelen,
1105 stmt->columns[i].name, stmt->columns[i].namelen,
2596 zend_hash_str_update(stmt->std.properties, stmt->columns[i].name, stmt->columns[i].namelen, &val);
H A Dphp_pdo_driver.h534 int namelen; member in struct:pdo_column_data
H A Dphp_pdo_int.h58 extern pdo_driver_t *pdo_find_driver(const char *name, int namelen);
/PHP_TRUNK/ext/pdo_dblib/
H A Ddblib_stmt.c209 col->namelen = strlen(col->name);
/PHP_TRUNK/ext/pdo_firebird/
H A Dfirebird_statement.c200 col->namelen = colname_len;
/PHP_TRUNK/ext/pdo_mysql/
H A Dmysql_statement.c699 int namelen; local
702 namelen = spprintf(&cols[i].name, 0, "%s.%s", S->fields[i].table, S->fields[i].name);
703 cols[i].namelen = namelen;
705 cols[i].namelen = S->fields[i].name_length;
/PHP_TRUNK/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_TRUNK/ext/pdo_odbc/
H A Dodbc_stmt.c597 col->namelen = colnamelen;
/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_statement.c452 cols[colno].namelen = strlen(cols[colno].name);
467 (param = zend_hash_str_find_ptr(stmt->bound_columns, cols[colno].name, cols[colno].namelen)) != NULL)) {
/PHP_TRUNK/ext/pdo_sqlite/
H A Dsqlite_statement.c244 stmt->columns[colno].namelen = strlen(stmt->columns[colno].name);
/PHP_TRUNK/ext/session/
H A Dsession.c905 int namelen; local
913 namelen = ((unsigned char)(*p)) & (~PS_BIN_UNDEF);
915 if (namelen < 0 || namelen > PS_BIN_MAX || (p + namelen) >= endptr) {
921 name = zend_string_init(p + 1, namelen, 0);
923 p += namelen + 1;
991 int namelen; local
1012 namelen = q - p;
1013 name = zend_string_init(p, namelen,
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1026 static void sxe_properties_add(HashTable *rv, char *name, int namelen, zval *value TSRMLS_DC) /* {{{ */ argument
1031 if ((data_ptr = zend_hash_str_find(rv, name, namelen)) != NULL) {
1043 zend_hash_str_update(rv, name, namelen, &newptr);
1046 zend_hash_str_update(rv, name, namelen, value);
1060 int namelen; local
1096 namelen = xmlStrlen(attr->name);
1101 add_assoc_zval_ex(&zattr, (char*)attr->name, namelen, &value);
1153 namelen = xmlStrlen(node->name);
1161 sxe_properties_add(rv, name, namelen, &value TSRMLS_CC);
1573 int namelen; local
[all...]
/PHP_TRUNK/ext/soap/
H A Dphp_http.c164 zend_long namelen; local
225 namelen = spprintf(&name, 0, "%s://%s:%d", protocol, host, port);
227 stream = php_stream_xport_create(name, namelen,
/PHP_TRUNK/ext/standard/
H A Dpack.c538 int namelen; local
568 namelen = format - name;
570 if (namelen > 200)
571 namelen = 200;
644 /* Space for name + number, safe as namelen is ensured <= 200 */
647 if (arg != 1 || namelen == 0) {
649 snprintf(n, sizeof(n), "%.*s%d", namelen, name, i + 1);
652 snprintf(n, sizeof(n), "%.*s", namelen, name);
/PHP_TRUNK/ext/sybase_ct/
H A Dphp_sybase_ct.c1395 if (result->datafmt[i].namelen>0) {
1396 result->fields[i].name = estrndup(result->datafmt[i].name, result->datafmt[i].namelen);
/PHP_TRUNK/main/streams/
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::__anon308
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, zend_string **error_text TSRMLS_DC) argument
224 php_stream_xport_connect(php_stream *stream, const char *name, size_t namelen, int asynchronous, struct timeval *timeout, zend_string **error_text, int *error_code TSRMLS_DC) argument
[all...]
H A Dxp_socket.c523 if (xparam->inputs.namelen >= sizeof(unix_addr->sun_path)) {
529 xparam->inputs.namelen = sizeof(unix_addr->sun_path) - 1;
535 memcpy(unix_addr->sun_path, xparam->inputs.name, xparam->inputs.namelen);
582 return parse_ip_address_ex(xparam->inputs.name, xparam->inputs.namelen, portno, xparam->want_errortext, &xparam->outputs.error_text TSRMLS_CC);
611 (socklen_t) XtOffsetOf(struct sockaddr_un, sun_path) + xparam->inputs.namelen);
680 (const struct sockaddr *)&unix_addr, (socklen_t) XtOffsetOf(struct sockaddr_un, sun_path) + xparam->inputs.namelen,
/PHP_TRUNK/win32/
H A Dsendmail.c771 int res, namelen; local
795 namelen = strlen(ent->h_name);
803 if (namelen + 2 >= HOST_NAME_LEN) {
809 strcpy(LocalHost + namelen + 1, "]");
811 if (namelen >= HOST_NAME_LEN) {

Completed in 51 milliseconds

12