Searched defs:link (Results 1 - 21 of 21) sorted by relevance

/PHP_TRUNK/main/
H A Dalloca.c321 long link; /* Address of trailer block of previous member in struct:stk_trailer
377 trailer = (struct stk_trailer *) trailer->link;
397 trailer = (struct stk_trailer *) trailer->link;
/PHP_TRUNK/ext/phar/
H A Dtar.h49 char link; /* indicator for links; member in struct:_old_tar_header
51 2 for a symbolic link,
76 2 Symbolic link
H A Dutil.c48 if (!entry->link) {
51 if (entry->link[0] == '/') {
52 return estrdup(entry->link + 1);
57 spprintf(&ret, 0, "%s/%s", entry->filename, entry->link);
60 return entry->link;
67 char *link; local
69 if (!entry->link) {
73 link = phar_get_link_location(entry TSRMLS_CC);
74 if (NULL != (link_entry = zend_hash_str_find_ptr(&(entry->phar->manifest), entry->link, strlen(entry->link))) ||
649 phar_entry_info *link; local
863 phar_entry_info *link; local
[all...]
H A Dphar_object.c1950 phar_entry_info *link; local
1967 link = phar_get_link_source(entry TSRMLS_CC);
1969 if (!link) {
1970 link = entry;
1973 if (SUCCESS != php_stream_copy_to_stream_ex(phar_get_efp(link, 0 TSRMLS_CC), fp, link->uncompressed_filesize, NULL)) {
2241 if (newentry.link) {
2242 newentry.link = estrdup(newentry.link);
4742 phar_entry_info *link; local
[all...]
H A Dphar_internal.h231 this entry stores the stream to open in link (normally used for tars, but we steal it here) */
263 char *link; /* symbolic link to another file */ member in struct:_phar_entry_info
/PHP_TRUNK/ext/interbase/
H A Dibase_blobs.c209 zval *link = NULL; local
216 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|r", &link)) {
220 PHP_IBASE_LINK_TRANS(link, ib_link, trans);
243 zval *link = NULL; local
259 if (FAILURE == zend_parse_parameters(2 TSRMLS_CC, "rs", &link, &blob_id, &blob_id_len)) {
265 PHP_IBASE_LINK_TRANS(link, ib_link, trans);
410 zval *link = NULL; local
427 if (FAILURE == zend_parse_parameters(2 TSRMLS_CC, "rs", &link, &blob_id, &blob_id_len)) {
433 PHP_IBASE_LINK_TRANS(link, ib_link, trans);
486 zval *link local
547 zval *link = NULL, *file; local
[all...]
H A Dibase_query.c48 ibase_db_link *link; member in struct:__anon86
59 ibase_db_link *link; member in struct:_ib_query
119 static void _php_ibase_free_stmt_handle(ibase_db_link *link, isc_stmt_handle stmt TSRMLS_DC) /* {{{ */ argument
127 if (SUCCESS == isc_database_info(IB_STATUS, &link->handle,
148 _php_ibase_free_stmt_handle(ib_result->link, ib_result->stmt TSRMLS_CC);
169 _php_ibase_free_stmt_handle(ib_query->link, ib_query->stmt TSRMLS_CC);
205 isc_db_handle link, isc_tr_handle trans, unsigned short *array_cnt TSRMLS_DC)
229 if (isc_array_lookup_bounds(IB_STATUS, &link, &trans, var->relname,
315 static int _php_ibase_alloc_query(ibase_query *ib_query, ibase_db_link *link, /* {{{ */ argument
327 ib_query->link
204 _php_ibase_alloc_array(ibase_array **ib_arrayp, XSQLDA *sqlda, isc_db_handle link, isc_tr_handle trans, unsigned short *array_cnt TSRMLS_DC) argument
[all...]
H A Dinterbase.c44 #define CHECK_LINK(link) { if (link==-1) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "A link to the server could not be established"); RETURN_FALSE; } }
551 /* Fill ib_link and trans with the correct database link and transaction. */
555 IBDEBUG("Transaction or database link?");
557 /* Transaction resource: make sure it refers to one link only, then
558 fetch it; database link is stored in ib_trans->db_link[]. */
569 IBDEBUG("Type is le_[p]link or id not found");
570 /* Database link resource, use default transaction. */
578 static void _php_ibase_commit_link(ibase_db_link *link TSRMLS_D
628 ibase_db_link *link = (ibase_db_link *) rsrc->ptr; local
636 ibase_db_link *link = (ibase_db_link *) rsrc->ptr; local
650 ibase_db_link *link = (ibase_db_link *) rsrc->ptr; local
941 zval *link = zend_hash_index_find(&EG(regular_list), IBG(default_link)); local
1026 zval *link = zend_hash_index_find(&EG(regular_list), IBG(default_link)); local
1426 zval *link = NULL; local
[all...]
H A Dphp_ibase_includes.h48 #define LE_LINK "Firebird/InterBase link"
49 #define LE_PLINK "Firebird/InterBase persistent link"
97 ibase_db_link *link; member in struct:event
156 /* determine if a resource is a link or transaction handle */
160 "InterBase link", le_link, le_plink) } \
/PHP_TRUNK/ext/mssql/
H A Dphp_mssql.h84 #define coltype(j) dbcoltype(mssql_ptr->link,j)
85 #define intcol(i) ((int) *(DBINT *) dbdata(mssql_ptr->link,i))
86 #define smallintcol(i) ((int) *(DBSMALLINT *) dbdata(mssql_ptr->link,i))
87 #define tinyintcol(i) ((int) *(DBTINYINT *) dbdata(mssql_ptr->link,i))
89 #define charcol(i) ((DBCHAR *) dbdata(mssql_ptr->link,i))
90 #define floatcol4(i) (*(DBFLT4 *) dbdata(mssql_ptr->link,i))
91 #define floatcol8(i) (*(DBFLT8 *) dbdata(mssql_ptr->link,i))
139 DBPROCESS *link; member in struct:mssql_link
145 mssql_link *link; member in struct:mssql_statement
H A Dphp_mssql.c213 #define CHECK_LINK(link) { if (link==-1) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "A link to the server could not be established"); RETURN_FALSE; } }
363 dbcancel(result->mssql_ptr->link);
388 dbclose(mssql_ptr->link);
401 dbclose(mssql_ptr->link);
443 le_link = zend_register_list_destructors_ex(_close_mssql_link, NULL, "mssql link", module_number);
444 le_plink = zend_register_list_destructors_ex(NULL, _close_mssql_plink, "mssql link persistent", module_number);
642 /* try to find if we already have this link in our persistent list */
658 /* create the link */
764 int type,link; local
[all...]
/PHP_TRUNK/ext/mysql/
H A Dphp_mysql.c366 #define CHECK_LINK(link) { if (link == NULL) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "A link to the server could not be established"); RETURN_FALSE; } }
427 static void php_mysql_set_default_link(zend_resource *link TSRMLS_DC)
432 ++GC_REFCOUNT(link);
433 MySG(default_link) = link;
455 php_mysql_conn *link = (php_mysql_conn *)rsrc->ptr; local
459 mysql_close(link->conn);
461 efree(link);
470 php_mysql_conn *link local
980 zend_resource *link; local
[all...]
/PHP_TRUNK/ext/pdo_dblib/
H A Dphp_pdo_dblib_int.h113 DBPROCESS *link; member in struct:__anon157
/PHP_TRUNK/ext/standard/
H A Dlink.c54 Return the target of a symbolic link */
57 char *link; local
62 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &link, &link_len) == FAILURE) {
66 if (php_check_open_basedir(link TSRMLS_CC)) {
70 ret = php_sys_readlink(link, buff, MAXPATHLEN-1);
84 Returns the st_dev field of the UNIX C stat structure describing the link */
87 char *link; local
93 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &link, &link_len) == FAILURE) {
97 dirname = estrndup(link, link_len);
105 ret = VCWD_LSTAT(link,
[all...]
H A Dlink_win32.c47 - Create php_readlink (done), php_link and php_symlink in win32/link.c
49 - define link/readlink/symlink to their php_ equivalent and use them in ext/standart/link.c
50 - this file is then useless and we have a portable link API
62 Return the target of a symbolic link */
65 char *link; local
69 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &link, &link_len) == FAILURE) {
73 if (OPENBASEDIR_CHECKPATH(link)) {
77 if (php_sys_readlink(link, target, MAXPATHLEN) == -1) {
78 php_error_docref(NULL TSRMLS_CC, E_WARNING, "readlink failed to read the symbolic link (
89 char *link; local
[all...]
H A Dphp_link.h26 PHP_FUNCTION(link); variable
/PHP_TRUNK/ext/sybase_ct/
H A Dphp_sybase_ct.c235 #define CHECK_LINK(link) { if (link==-1) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase: A link to the server could not be established"); RETURN_FALSE; } }
476 /* Retrieve sybase link */
497 /* Call link specific message handler */
584 le_link = zend_register_list_destructors_ex(_close_sybase_link, NULL, "sybase-ct link", module_number);
585 le_plink = zend_register_list_destructors_ex(NULL, _close_sybase_plink, "sybase-ct link persistent", module_number);
711 /* create the link */
764 /* try to find if we already have this link in our persistent list */
812 /* If the link ha
856 int type, link; local
[all...]
/PHP_TRUNK/ext/oci8/
H A Doci8.c1949 int type, link; local
2465 /* Cut the link between the connection structure and the time_t structure allocated within
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c89 #define CHECK_DEFAULT_LINK(x) if ((x) == -1) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PostgreSQL link opened yet"); }
931 PGconn *link = (PGconn *)rsrc->ptr; local
934 while ((res = PQgetResult(link))) {
937 PQfinish(link);
946 PGconn *link = (PGconn *)rsrc->ptr; local
949 while ((res = PQgetResult(link))) {
952 PQfinish(link);
994 PGconn *link; local
1002 link = (PGconn *) rsrc->ptr;
1004 if (PQ_SETNONBLOCKING(link,
1417 zend_resource *link; local
[all...]
/PHP_TRUNK/ext/ldap/
H A Dldap.c74 LDAP *link; member in struct:__anon1
99 ldap_unbind_s(ld->link);
210 le_link = zend_register_list_destructors_ex(_close_ldap_link, NULL, "ldap link", module_number);
364 ld->link = ldap;
408 /* {{{ proto bool ldap_bind(resource link [, string dn [, string password]])
412 zval *link; local
418 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|ss", &link, &ldap_bind_dn, &ldap_bind_dnlen, &ldap_bind_pw, &ldap_bind_pwlen) != SUCCESS) {
422 ZEND_FETCH_RESOURCE(ld, ldap_linkdata *, link, -1, "ldap link", le_link);
425 _set_lderrno(ld->link, LDAP_INVALID_CREDENTIAL
534 zval *link; local
574 zval *link; local
631 zval *link, *base_dn, *filter, *attrs = NULL, *attr; local
881 zval *link, *result; local
900 zval *link, *result; local
928 zval *link, *result_entry; local
956 zval *link, *result; local
1049 zval *link, *result_entry; local
1077 zval *link, *result_entry; local
1116 zval *link, *result_entry; local
1170 zval *link, *result_entry; local
1207 zval *link, *result_entry; local
1297 zval *link, *entry, *value, *ivalue; local
1453 zval *link; local
1522 zval *link, *mods, *mod, *modinfo, *modval; local
1817 zval *link; local
1848 zval *link; local
1868 zval *link; local
1901 zval *link, *result; local
1932 zval *link, *retval; local
2036 zval *link, *newval; local
2204 zval *link, *result, *errcode, *matcheddn, *errmsg, *referrals; local
2271 zval *link, *result; local
2299 zval *link, *result_entry; local
2328 zval *link, *result_entry, *referrals; local
2363 zval *link; local
2403 zval *link; local
2466 zval *link, *callback; local
2642 zval *link; local
2732 zval *link, *result, *cookie, *estimated; local
[all...]
/PHP_TRUNK/Zend/
H A Dzend_virtual_cwd.c232 CWD_API int php_sys_readlink(const char *link, char *target, size_t target_len){ /* {{{ */ argument
251 hFile = CreateFile(link, // file to open
1634 CWD_API int virtual_chown(const char *filename, uid_t owner, gid_t group, int link TSRMLS_DC) /* {{{ */
1645 if (link) {

Completed in 43 milliseconds