/dports/net-p2p/vuze/vuze-5.7.4.0_2/com/aelitis/azureus/core/diskmanager/file/impl/ |
H A D | FMFileAccessController.java | 56 private FMFileAccess file_access; field in FMFileAccessController 132 file_access = in FMFileAccessController() 140 file_access = in FMFileAccessController() 217 long length = file_access.getLength( raf ); in convert() 287 file_access = target_access; in convert() 403 file_access.aboutToOpen(); in aboutToOpen() 412 return( file_access.getLength( raf )); in getLength() 422 file_access.setLength( raf, length ); in setLength() 451 file_access.read( raf, buffers, offset ); in read() 462 file_access.write( raf, buffers, position ); in write() [all …]
|
H A D | FMFileImpl.java | 78 private FMFileAccessController file_access; field in FMFileImpl 181 file_access = new FMFileAccessController( this, basis.file_access.getStorageType()); in FMFileImpl() 260 return( file_access.getStorageType()); in getStorageType() 492 return( file_access.getLength( raf )); in getLengthSupport() 517 file_access.setLength( raf, length ); in setLengthSupport() 526 file_access.setLength( raf, length ); in setLengthSupport() 561 file_access.aboutToOpen(); in reopen() 582 file_access.aboutToOpen(); in openSupport() 588 int st = file_access.getStorageType(); in openSupport() 678 file_access.flush(); in flush() [all …]
|
/dports/sysutils/R-cran-fs/fs/tests/testthat/ |
H A D | test-access.R | 6 expect_error(file_access(NA), class = "invalid_argument") 9 expect_equal(file_access("foo", "exists"), c(foo = TRUE)) 15 expect_equal(file_access("foo/bar", "read"), c("foo/bar" = FALSE)) 16 expect_equal(file_access("foo/bar", "write"), c("foo/bar" = FALSE)) 19 expect_equal(file_access("foo/bar", "read"), c("foo/bar" = TRUE)) 20 expect_equal(file_access("foo/bar", "write"), c("foo/bar" = TRUE)) 25 expect_equal(file_access("foo/bar", "execute"), c("foo/bar" = FALSE)) 27 expect_equal(file_access("foo/bar", "execute"), c("foo/bar" = TRUE))
|
/dports/sysutils/R-cran-fs/fs/man/ |
H A D | file_access.Rd | 3 \name{file_access} 4 \alias{file_access} 10 file_access(path, mode = "exists") 28 \code{file_exists(path)} is a shortcut for \code{file_access(x, "exists")}; 36 \code{file_access(x, "execute")} will always return \code{TRUE}. 39 file_access("/") 40 file_access("/", "read") 41 file_access("/", "write")
|
/dports/devel/openocd/openocd-0.11.0/src/helper/ |
H A D | fileio.c | 58 char file_access[4]; in fileio_open_local() local 63 strcpy(file_access, "r"); in fileio_open_local() 66 strcpy(file_access, "w"); in fileio_open_local() 69 strcpy(file_access, "w+"); in fileio_open_local() 72 strcpy(file_access, "a"); in fileio_open_local() 75 strcpy(file_access, "a+"); in fileio_open_local() 86 strcat(file_access, "b"); in fileio_open_local() 88 fileio->file = open_file_from_path(fileio->url, file_access); in fileio_open_local()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/ |
H A D | fpdf_dataavail_embeddertest.cpp | 58 FPDF_FILEACCESS* file_access() { return &file_access_; } in file_access() function in __anonfe1468ac0111::TestAsyncLoader 178 avail_ = FPDFAvail_Create(loader.file_avail(), loader.file_access()); in TEST_F() 192 avail_ = FPDFAvail_Create(loader.file_avail(), loader.file_access()); in TEST_F() 213 avail_ = FPDFAvail_Create(loader.file_avail(), loader.file_access()); in TEST_F() 221 EXPECT_GT(loader.file_access()->m_FileLen, in TEST_F() 240 EXPECT_GT(loader.file_access()->m_FileLen, in TEST_F() 251 avail_ = FPDFAvail_Create(loader.file_avail(), loader.file_access()); in TEST_F() 279 avail_ = FPDFAvail_Create(loader.file_avail(), loader.file_access()); in TEST_F() 308 avail_ = FPDFAvail_Create(loader.file_avail(), loader.file_access()); in TEST_F() 335 avail_ = FPDFAvail_Create(loader.file_avail(), loader.file_access()); in TEST_F() [all …]
|
H A D | fpdf_editimg.cpp | 64 FPDF_FILEACCESS* file_access, in LoadJpegHelper() argument 70 if (!file_access) in LoadJpegHelper() 81 RetainPtr<IFX_SeekableReadStream> pFile = MakeSeekableReadStream(file_access); in LoadJpegHelper() 109 FPDF_FILEACCESS* file_access) { in FPDFImageObj_LoadJpegFile() argument 110 return LoadJpegHelper(pages, count, image_object, file_access, false); in FPDFImageObj_LoadJpegFile() 117 FPDF_FILEACCESS* file_access) { in FPDFImageObj_LoadJpegFileInline() argument 118 return LoadJpegHelper(pages, count, image_object, file_access, true); in FPDFImageObj_LoadJpegFileInline()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/fpdfsdk/ |
H A D | fpdf_dataavail_embeddertest.cpp | 58 FPDF_FILEACCESS* file_access() { return &file_access_; } in file_access() function in __anonc5ba33110111::TestAsyncLoader 178 avail_ = FPDFAvail_Create(loader.file_avail(), loader.file_access()); in TEST_F() 192 avail_ = FPDFAvail_Create(loader.file_avail(), loader.file_access()); in TEST_F() 213 avail_ = FPDFAvail_Create(loader.file_avail(), loader.file_access()); in TEST_F() 221 EXPECT_GT(loader.file_access()->m_FileLen, in TEST_F() 240 EXPECT_GT(loader.file_access()->m_FileLen, in TEST_F() 251 avail_ = FPDFAvail_Create(loader.file_avail(), loader.file_access()); in TEST_F() 279 avail_ = FPDFAvail_Create(loader.file_avail(), loader.file_access()); in TEST_F() 308 avail_ = FPDFAvail_Create(loader.file_avail(), loader.file_access()); in TEST_F() 335 avail_ = FPDFAvail_Create(loader.file_avail(), loader.file_access()); in TEST_F() [all …]
|
H A D | fpdf_editimg.cpp | 68 FPDF_FILEACCESS* file_access, in LoadJpegHelper() argument 74 if (!file_access) in LoadJpegHelper() 85 RetainPtr<IFX_SeekableReadStream> pFile = MakeSeekableReadStream(file_access); in LoadJpegHelper() 113 FPDF_FILEACCESS* file_access) { in FPDFImageObj_LoadJpegFile() argument 114 return LoadJpegHelper(pages, count, image_object, file_access, false); in FPDFImageObj_LoadJpegFile() 121 FPDF_FILEACCESS* file_access) { in FPDFImageObj_LoadJpegFileInline() argument 122 return LoadJpegHelper(pages, count, image_object, file_access, true); in FPDFImageObj_LoadJpegFileInline()
|
/dports/print/ghostscript7-base/ghostscript-7.07/src/ |
H A D | zfile.c | 66 const char *file_access, stream **ps, 215 char file_access[4]; in zfile() local 239 if (strcmp(file_access, "r")) in zfile() 256 file_access, &s, imemory); in zfile() 270 make_stream_file(op - 1, s, file_access); in zfile() 801 file_access[1] = '+'; in parse_file_access_string() 802 file_access[2] = 0; in parse_file_access_string() 805 file_access[1] = 0; in parse_file_access_string() 818 file_access[0] = astr[0]; in parse_file_access_string() 1065 strcpy(fmode, file_access); in file_open_stream() [all …]
|
/dports/print/ghostscript7-x11/ghostscript-7.07/src/ |
H A D | zfile.c | 66 const char *file_access, stream **ps, 215 char file_access[4]; in zfile() local 239 if (strcmp(file_access, "r")) in zfile() 256 file_access, &s, imemory); in zfile() 270 make_stream_file(op - 1, s, file_access); in zfile() 801 file_access[1] = '+'; in parse_file_access_string() 802 file_access[2] = 0; in parse_file_access_string() 805 file_access[1] = 0; in parse_file_access_string() 818 file_access[0] = astr[0]; in parse_file_access_string() 1065 strcpy(fmode, file_access); in file_open_stream() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/testing/fuzzers/ |
H A D | pdfium_fuzzer_helper.cc | 136 FPDF_FILEACCESS file_access; in RenderPdf() local 137 memset(&file_access, '\0', sizeof(file_access)); in RenderPdf() 138 file_access.m_FileLen = static_cast<unsigned long>(len); in RenderPdf() 139 file_access.m_GetBlock = FuzzerTestLoader::GetBlock; in RenderPdf() 140 file_access.m_Param = &loader; in RenderPdf() 152 ScopedFPDFAvail pdf_avail(FPDFAvail_Create(&file_avail, &file_access)); in RenderPdf() 173 doc.reset(FPDF_LoadCustomDocument(&file_access, nullptr)); in RenderPdf()
|
/dports/print/ghostscript8-x11/ghostscript-8.71/psi/ |
H A D | zfile.c | 223 char file_access[4]; in zfile() local 247 if (strcmp(file_access, "r")) in zfile() 256 make_stream_file(op - 3, ins, file_access); in zfile() 264 file_access, &s, imemory); in zfile() 278 make_stream_file(op - 1, s, file_access); in zfile() 811 file_access[1] = '+'; in parse_file_access_string() 812 file_access[2] = 0; in parse_file_access_string() 815 file_access[1] = 0; in parse_file_access_string() 828 file_access[0] = astr[0]; in parse_file_access_string() 872 return file_open_stream(fname, len, file_access, in iodev_os_open_file() [all …]
|
/dports/print/ghostscript8-base/ghostscript-8.71/psi/ |
H A D | zfile.c | 223 char file_access[4]; in zfile() local 247 if (strcmp(file_access, "r")) in zfile() 256 make_stream_file(op - 3, ins, file_access); in zfile() 264 file_access, &s, imemory); in zfile() 278 make_stream_file(op - 1, s, file_access); in zfile() 811 file_access[1] = '+'; in parse_file_access_string() 812 file_access[2] = 0; in parse_file_access_string() 815 file_access[1] = 0; in parse_file_access_string() 828 file_access[0] = astr[0]; in parse_file_access_string() 872 return file_open_stream(fname, len, file_access, in iodev_os_open_file() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/modules/pdfium/pdfium/fpdfsdk/ |
H A D | fpdfedit_embeddertest.cpp | 140 FPDF_FILEACCESS file_access; in TEST_F() local 141 memset(&file_access, 0, sizeof(file_access)); in TEST_F() 142 file_access.m_FileLen = new_file.size(); in TEST_F() 143 file_access.m_GetBlock = GetBlockFromString; in TEST_F() 144 file_access.m_Param = &new_file; in TEST_F() 225 FPDF_FILEACCESS file_access; in TEST_F() local 226 memset(&file_access, 0, sizeof(file_access)); in TEST_F() 227 file_access.m_FileLen = new_file.size(); in TEST_F() 228 file_access.m_GetBlock = GetBlockFromString; in TEST_F() 229 file_access.m_Param = &new_file; in TEST_F() [all …]
|
H A D | fpdf_dataavail_embeddertest.cpp | 42 FPDF_FILEACCESS* file_access() { return &file_access_; } in file_access() function in __anone64d0c730111::TestAsyncLoader 189 avail_ = FPDFAvail_Create(loader.file_avail(), loader.file_access()); in TEST_F() 205 avail_ = FPDFAvail_Create(loader.file_avail(), loader.file_access()); in TEST_F() 213 EXPECT_GT(loader.file_access()->m_FileLen, in TEST_F() 223 EXPECT_GT(loader.file_access()->m_FileLen, loader.max_requested_bound()); in TEST_F() 232 EXPECT_GT(loader.file_access()->m_FileLen, in TEST_F()
|
/dports/print/ghostscript9-x11/ghostscript-9.06/psi/ |
H A D | zfile.c | 205 char file_access[4]; in zfile() local 207 int code = parse_file_access_string(op, file_access); in zfile() 230 if (strcmp(file_access, "r")) in zfile() 239 make_stream_file(op - 3, ins, file_access); in zfile() 261 make_stream_file(op - 1, s, file_access); in zfile() 804 file_access[1] = '+'; in parse_file_access_string() 805 file_access[2] = 0; in parse_file_access_string() 808 file_access[1] = 0; in parse_file_access_string() 821 file_access[0] = astr[0]; in parse_file_access_string() 865 return file_open_stream(fname, len, file_access, in iodev_os_open_file() [all …]
|
/dports/print/ghostscript9-base/ghostscript-9.06/psi/ |
H A D | zfile.c | 205 char file_access[4]; in zfile() local 207 int code = parse_file_access_string(op, file_access); in zfile() 230 if (strcmp(file_access, "r")) in zfile() 239 make_stream_file(op - 3, ins, file_access); in zfile() 261 make_stream_file(op - 1, s, file_access); in zfile() 804 file_access[1] = '+'; in parse_file_access_string() 805 file_access[2] = 0; in parse_file_access_string() 808 file_access[1] = 0; in parse_file_access_string() 821 file_access[0] = astr[0]; in parse_file_access_string() 865 return file_open_stream(fname, len, file_access, in iodev_os_open_file() [all …]
|
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/base/ |
H A D | sfxcommon.c | 62 file_open_stream(const char *fname, uint len, const char *file_access, in file_open_stream() argument 72 if (strchr(file_access, gp_fmode_binary_suffix[0]) != NULL) in file_open_stream() 74 assert(strchr(file_access, gp_fmode_binary_suffix[0]) == NULL); in file_open_stream() 80 code = file_prepare_stream(fname, len, file_access, buffer_size, ps, fmode, mem); in file_open_stream() 180 file_prepare_stream(const char *fname, uint len, const char *file_access, in file_prepare_stream() argument 187 strcpy(fmode, file_access); in file_prepare_stream()
|
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/base/ |
H A D | sfxcommon.c | 62 file_open_stream(const char *fname, uint len, const char *file_access, in file_open_stream() argument 72 if (strchr(file_access, gp_fmode_binary_suffix[0]) != NULL) in file_open_stream() 74 assert(strchr(file_access, gp_fmode_binary_suffix[0]) == NULL); in file_open_stream() 80 code = file_prepare_stream(fname, len, file_access, buffer_size, ps, fmode, mem); in file_open_stream() 180 file_prepare_stream(const char *fname, uint len, const char *file_access, in file_prepare_stream() argument 187 strcpy(fmode, file_access); in file_prepare_stream()
|
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/psi/ |
H A D | zfile.c | 234 char file_access[4]; in zfile() local 236 int code = parse_file_access_string(op, file_access); in zfile() 259 if (strcmp(file_access, "r")) in zfile() 268 make_stream_file(op - 3, ins, file_access); in zfile() 292 make_stream_file(op - 1, s, file_access); in zfile() 1013 file_access[1] = '+'; in parse_file_access_string() 1014 file_access[2] = 0; in parse_file_access_string() 1017 file_access[1] = 0; in parse_file_access_string() 1030 file_access[0] = astr[0]; in parse_file_access_string() 1079 return file_open_stream(fname, len, file_access, in iodev_os_open_file() [all …]
|
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/psi/ |
H A D | zfile.c | 234 char file_access[4]; in zfile() local 236 int code = parse_file_access_string(op, file_access); in zfile() 259 if (strcmp(file_access, "r")) in zfile() 268 make_stream_file(op - 3, ins, file_access); in zfile() 292 make_stream_file(op - 1, s, file_access); in zfile() 1013 file_access[1] = '+'; in parse_file_access_string() 1014 file_access[2] = 0; in parse_file_access_string() 1017 file_access[1] = 0; in parse_file_access_string() 1030 file_access[0] = astr[0]; in parse_file_access_string() 1079 return file_open_stream(fname, len, file_access, in iodev_os_open_file() [all …]
|
/dports/print/ghostscript8-x11/ghostscript-8.71/base/ |
H A D | sfxcommon.c | 59 file_open_stream(const char *fname, uint len, const char *file_access, in file_open_stream() argument 69 code = file_prepare_stream(fname, len, file_access, buffer_size, ps, fmode, mem); in file_open_stream() 160 file_prepare_stream(const char *fname, uint len, const char *file_access, in file_prepare_stream() argument 167 strcpy(fmode, file_access); in file_prepare_stream()
|
/dports/print/ghostscript8-base/ghostscript-8.71/base/ |
H A D | sfxcommon.c | 59 file_open_stream(const char *fname, uint len, const char *file_access, in file_open_stream() argument 69 code = file_prepare_stream(fname, len, file_access, buffer_size, ps, fmode, mem); in file_open_stream() 160 file_prepare_stream(const char *fname, uint len, const char *file_access, in file_prepare_stream() argument 167 strcpy(fmode, file_access); in file_prepare_stream()
|
/dports/print/ghostscript9-x11/ghostscript-9.06/base/ |
H A D | sfxcommon.c | 61 file_open_stream(const char *fname, uint len, const char *file_access, in file_open_stream() argument 71 code = file_prepare_stream(fname, len, file_access, buffer_size, ps, fmode, mem); in file_open_stream() 162 file_prepare_stream(const char *fname, uint len, const char *file_access, in file_prepare_stream() argument 169 strcpy(fmode, file_access); in file_prepare_stream()
|