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

/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/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 Dphp_pdo_driver.h534 int namelen; member in struct:pdo_column_data
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));
/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/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/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.c1018 static void sxe_properties_add(HashTable *rv, char *name, int namelen, zval *value TSRMLS_DC) /* {{{ */ argument
1023 if ((data_ptr = zend_hash_str_find(rv, name, namelen)) != NULL) {
1035 zend_hash_str_update(rv, name, namelen, &newptr);
1038 zend_hash_str_update(rv, name, namelen, value);
1052 int namelen; local
1088 namelen = xmlStrlen(attr->name);
1093 add_assoc_zval_ex(&zattr, (char*)attr->name, namelen, &value);
1145 namelen = xmlStrlen(node->name);
1153 sxe_properties_add(rv, name, namelen, &value TSRMLS_CC);
1565 int namelen; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dpack.c584 int namelen; local
614 namelen = format - name;
616 if (namelen > 200)
617 namelen = 200;
704 /* Space for name + number, safe as namelen is ensured <= 200 */
707 if (arg != 1 || namelen == 0) {
709 snprintf(n, sizeof(n), "%.*s%d", namelen, name, i + 1);
712 snprintf(n, sizeof(n), "%.*s", namelen, name);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_utils.c455 size_t namelen, keylen; local
466 namelen = sprintf(name, "%.*s%.*s%s", (int) i, input, keylen - (propkey - key), propkey, input[len - 1] == ']'?"]":"");
471 ret = callback(name, namelen, keyname, index_len, parent, zv, arg TSRMLS_CC) == SUCCESS || ret == SUCCESS?SUCCESS:FAILURE;
/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::__anon8
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...]
/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);
640 int php_com_do_invoke(php_com_dotnet_object *obj, char *name, size_t namelen, argument
648 hr = php_com_get_id_of_name(obj, name, namelen, &dispid TSRMLS_CC);
821 size_t namelen; local
827 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|b", &name, &namelen,
418 php_com_get_id_of_name(php_com_dotnet_object *obj, char *name, size_t namelen, DISPID *dispid TSRMLS_DC) argument
[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) {
/PHP_TRUNK/win32/
H A Dsendmail.c771 int res, namelen; local
795 namelen = (int)strlen(ent->h_name);
803 if (namelen + 2 >= HOST_NAME_LEN) {
809 strcpy(LocalHost + namelen + 1, "]");
811 if (namelen >= HOST_NAME_LEN) {

Completed in 37 milliseconds