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

/PHP_TRUNK/ext/com_dotnet/
H A Dcom_wrapper.c178 size_t namelen; local
181 name = php_com_olestring_to_string(rgszNames[i], &namelen, COMG(code_page));
184 if ((tmp = zend_hash_str_find(disp->name_to_dispid, name, namelen)) == NULL) {
222 size_t namelen; local
226 name = php_com_olestring_to_string(bstrName, &namelen, COMG(code_page));
228 trace("Looking for %s, namelen=%d in %p\n", name, namelen, disp->name_to_dispid);
231 if ((tmp = zend_hash_str_find(disp->name_to_dispid, name, namelen)) != NULL) {
H A Dcom_com.c417 size_t namelen, DISPID *dispid)
423 if (namelen == -1) {
424 namelen = strlen(name);
427 if (obj->id_of_name_cache && NULL != (tmp = zend_hash_str_find(obj->id_of_name_cache, name, namelen))) {
432 olename = php_com_string_to_olestring(name, namelen, obj->code_page);
458 zend_hash_str_update(obj->id_of_name_cache, name, namelen, &tmp);
638 int php_com_do_invoke(php_com_dotnet_object *obj, char *name, size_t namelen, argument
646 hr = php_com_get_id_of_name(obj, name, namelen, &dispid);
818 size_t namelen; local
824 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "s|b", &name, &namelen,
416 php_com_get_id_of_name(php_com_dotnet_object *obj, char *name, size_t namelen, DISPID *dispid) argument
[all...]
/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)
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
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)) {
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 ) 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 ) argument
[all...]
/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_compile.c6502 int i, namelen; local
6510 namelen = (int)(ptr - name);
6538 if (namelen == verbs[i].len &&
6539 STRNCMP_UC_C8(name, vn, namelen) == 0)
6632 int i, set, unset, namelen; local
6701 namelen = -1; /* => not a name; must set to avoid warning */
6769 namelen = (int)(ptr - name);
6815 if (STRNCMP_UC_UC(name, slot+IMM2_SIZE, namelen) == 0) break;
6833 if (STRNCMP_UC_UC(name, slot+IMM2_SIZE, namelen) != 0 ||
6834 (slot+IMM2_SIZE)[namelen] !
[all...]
/PHP_TRUNK/ext/pdo/
H A Dpdo_dbh.c948 size_t namelen; local
950 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "|s!", &name, &namelen)) {
1271 size_t namelen; local
1323 namelen = strlen(funcs->fname);
1324 lc_name = emalloc(namelen+1);
1325 zend_str_tolower_copy(lc_name, funcs->fname, namelen);
1326 zend_hash_str_add_mem(dbh->cls_methods[kind], lc_name, namelen, &func, sizeof(func));
H A Dpdo.c201 pdo_driver_t *pdo_find_driver(const char *name, int namelen) /* {{{ */ argument
203 return zend_hash_str_find_ptr(&pdo_driver_hash, (char*)name, namelen);
/PHP_TRUNK/ext/standard/
H A Dpack.c584 int namelen; local
614 namelen = format - name;
616 if (namelen > 200)
617 namelen = 200;
710 /* Space for name + number, safe as namelen is ensured <= 200 */
713 if (arg != 1 || namelen == 0) {
715 snprintf(n, sizeof(n), "%.*s%d", namelen, name, i + 1);
718 snprintf(n, sizeof(n), "%.*s", namelen, name);
/PHP_TRUNK/ext/soap/
H A Dphp_http.c168 zend_long namelen; local
229 namelen = spprintf(&name, 0, "%s://%s:%d", protocol, host, port);
231 stream = php_stream_xport_create(name, namelen,
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1005 static void sxe_properties_add(HashTable *rv, char *name, int namelen, zval *value) /* {{{ */ argument
1011 key = zend_string_init(name, namelen, 0);
1128 int namelen; local
1164 namelen = xmlStrlen(attr->name);
1169 add_assoc_zval_ex(&zattr, (char*)attr->name, namelen, &value);
1221 namelen = xmlStrlen(node->name);
1229 sxe_properties_add(rv, name, namelen, &value);
1646 int namelen; local
1653 namelen = xmlStrlen(node->name);
1654 RETURN_STRINGL((char*)node->name, namelen);
[all...]
/PHP_TRUNK/ext/session/
H A Dsession.c921 int namelen; local
929 namelen = ((unsigned char)(*p)) & (~PS_BIN_UNDEF);
931 if (namelen < 0 || namelen > PS_BIN_MAX || (p + namelen) >= endptr) {
937 name = zend_string_init(p + 1, namelen, 0);
939 p += namelen + 1;
1007 ptrdiff_t namelen; local
1028 namelen = q - p;
1029 name = zend_string_init(p, namelen,
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_watch.c617 static int phpdbg_watchpoint_parse_wrapper(char *name, size_t namelen, char *key, size_t keylen, HashTable *parent, zval *zv, int (*callback)(phpdbg_watchpoint_t *)) { argument
620 watch->str = zend_string_init(name, namelen, 0);
644 static int phpdbg_watchpoint_parse_step(char *name, size_t namelen, char *key, size_t keylen, HashTable *parent, zval *zv, int (*callback)(phpdbg_watchpoint_t *)) { argument
647 if ((watch = zend_hash_str_find_ptr(&PHPDBG_G(watchpoints), name, namelen))) {
655 watch->str = zend_string_init(name, namelen, 0);
H A Dphpdbg_utils.c457 size_t namelen, keylen; local
468 namelen = sprintf(name, "%.*s%.*s%s", (int) i, input, keylen - (propkey - key), propkey, input[len - 1] == ']'?"]":"");
473 ret = callback(name, namelen, keyname, index_len, parent, zv, arg) == SUCCESS || ret == SUCCESS?SUCCESS:FAILURE;
/PHP_TRUNK/win32/
H A Dsendmail.c753 int res, namelen; local
780 namelen = (int)strlen(ent->h_name);
788 if (namelen + 2 >= HOST_NAME_LEN) {
795 strcpy(PW32G(mail_local_host) + namelen + 1, "]");
797 if (namelen >= HOST_NAME_LEN) {
/PHP_TRUNK/ext/pdo_oci/
H A Doci_statement.c531 ub4 namelen; local
556 (param, OCI_DTYPE_PARAM, &colname, &namelen, OCI_ATTR_NAME, S->err));
560 col->name = zend_string_init((char *)colname, namelen, 0);

Completed in 38 milliseconds