Searched defs:local (Results 1 - 13 of 13) sorted by relevance

/PHP_TRUNK/ext/ftp/
H A Dphp_ftp.c898 Retrieves a file from the FTP server and writes it to a local file */
905 char *local, *remote; local
909 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rppl|l", &z_ftp, &local, &local_len, &remote, &remote_len, &mode, &resumepos) == FAILURE) {
928 outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt+" : "rb+", REPORT_ERRORS, NULL);
930 outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NULL);
942 outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NULL);
946 php_error_docref(NULL, E_WARNING, "Error opening %s", local);
952 VCWD_UNLINK(local);
963 Retrieves a file from the FTP server nbhronly and writes it to a local file */
970 char *local, *remot local
1186 char *remote, *local; local
1241 char *remote, *local; local
[all...]
/PHP_TRUNK/ext/zip/lib/
H A Dzip_dirent.c2 zip_dirent.c -- read directory entry (local or central), clean dirent
293 If local is true, it reads a local header instead of a central directory entry.
299 _zip_dirent_read(zip_dirent_t *zde, zip_source_t *src, zip_buffer_t *buffer, bool local, zip_error_t *error) argument
308 size = local ? LENTRYSIZE : CDENTRYSIZE;
322 if (memcmp(_zip_buffer_get(buffer, 4), (local ? LOCAL_MAGIC : CENTRAL_MAGIC), 4) != 0) {
333 if (!local)
353 if (local) {
427 if ((zde->extra_fields=_zip_ef_parse(ef, ef_len, local ? ZIP_EF_LOCAL : ZIP_EF_CENTRAL, error)) == NULL) {
435 if (local)
570 bool local = (flags & ZIP_EF_LOCAL) != 0; local
[all...]
H A Dzip_open.c410 directory entries with local headers and checking for plausible
474 compares a central directory entry and a local file header
478 _zip_headercomp(const zip_dirent_t *central, const zip_dirent_t *local) argument
480 if ((central->version_needed != local->version_needed)
482 /* some zip-files have different values in local
484 || (central->bitflags != local->bitflags)
486 || (central->comp_method != local->comp_method)
487 || (central->last_mod != local->last_mod)
488 || !_zip_string_equal(central->filename, local->filename))
491 if ((central->crc != local
[all...]
/PHP_TRUNK/ext/standard/
H A Dfilestat.c848 const char *local; local
855 if ((wrapper = php_stream_locate_url_wrapper(filename, &local, 0)) == &php_plain_files_wrapper && php_check_open_basedir(local)) {
865 RETURN_BOOL(VCWD_ACCESS(local, F_OK) == 0);
870 RETURN_BOOL(VCWD_ACCESS(local, W_OK) == 0);
875 RETURN_BOOL(VCWD_ACCESS(local, R_OK) == 0);
880 RETURN_BOOL(VCWD_ACCESS(local, X_OK) == 0);
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c15757 ** local time.
15833 sqlite3_result_error(pCtx, "local time unavailable", -1);
15893 ** show local time.
20558 ** State information local to the memory allocation subsystem.
33471 winceLock local; /* Locks obtained by this instance of winFile */ member in struct:winFile
[all...]
/PHP_TRUNK/ext/dom/
H A Delement.c637 xmlChar *local; local
647 local = xmlCharStrndup(name, name_len);
648 dom_namednode_iter(intern, 0, namednode, NULL, local, NULL);
1032 xmlChar *local, *nsuri; local
1042 local = xmlCharStrndup(name, name_len);
1044 dom_namednode_iter(intern, 0, namednode, NULL, local, nsuri);
H A Dphp_dom.h89 xmlChar *local; member in struct:_dom_nnodemap_object
116 xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int index);
123 void dom_namednode_iter(dom_object *basenode, int ntype, dom_object *intern, xmlHashTablePtr ht, xmlChar *local, xmlChar *ns);
H A Dphp_dom.c1055 void dom_namednode_iter(dom_object *basenode, int ntype, dom_object *intern, xmlHashTablePtr ht, xmlChar *local, xmlChar *ns) /* {{{ */ argument
1066 mapptr->local = local;
1129 if (objmap->local) {
1130 xmlFree(objmap->local);
1166 objmap->local = NULL;
1339 xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int index) /* {{{ */ argument
1345 if (xmlStrEqual(nodep->name, (xmlChar *)local) || xmlStrEqual((xmlChar *)"*", (xmlChar *)local)) {
1354 ret = dom_get_elements_by_tag_name_ns_raw(nodep->children, ns, local, cu
[all...]
H A Ddocument.c955 xmlChar *local; local
965 local = xmlCharStrndup(name, name_len);
966 dom_namednode_iter(intern, 0, namednode, NULL, local, NULL);
1166 xmlChar *local, *nsuri; local
1176 local = xmlCharStrndup(name, name_len);
1178 dom_namednode_iter(intern, 0, namednode, NULL, local, nsuri);
/PHP_TRUNK/ext/phar/
H A Dzip.c92 zip_dirent.c -- read directory entry (local or central), clean dirent
407 /* copy file contents + local headers and zip comment, if any, to be hashed for signature */
541 /* verify local file header */
542 phar_zip_file_header local; local
548 if (sizeof(local) != php_stream_read(fp, (char *) &local, sizeof(local))) {
550 PHAR_ZIP_FAIL("phar error: internal corruption of zip-based phar (cannot read local file header for alias)");
553 /* verify local header */
554 if (entry.filename_len != PHAR_GET_16(local
788 phar_zip_file_header local; local
[all...]
H A Dphar.c1264 spprintf(error, 0, "Cannot create a phar archive from a URL like \"%s\". Phar objects can only be created from local files", fname);
2341 /* verify local file header */
2342 phar_zip_file_header local; local
2346 spprintf(error, 0, "phar error: unable to open zip-based phar archive \"%s\" to verify local file header for file \"%s\"", idata->phar->fname, entry->filename);
2351 if (sizeof(local) != php_stream_read(phar_get_entrypfp(idata->internal_file), (char *) &local, sizeof(local))) {
2353 spprintf(error, 0, "phar error: internal corruption of zip-based phar \"%s\" (cannot read local file header for file \"%s\")", idata->phar->fname, entry->filename);
2358 if (((PHAR_ZIP_16(local.flags)) & 0x8) == 0x8) {
2360 entry->header_offset + sizeof(local)
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_wait.c348 struct sockaddr_un local, remote; local
355 local.sun_family = AF_UNIX;
356 strcpy(local.sun_path, PHPDBG_G(socket_path));
357 len = strlen(local.sun_path) + sizeof(local.sun_family);
358 if (bind(sl, (struct sockaddr *)&local, len) == -1) {
/PHP_TRUNK/ext/intl/timezone/
H A Dtimezone_methods.cpp444 zend_bool local; local
452 "Odbz/z/", &object, TimeZone_ce_ptr, &date, &local, &rawOffsetArg,
461 to->utimezone->getOffset(date, (UBool) local, rawOffset, dstOffset,

Completed in 177 milliseconds