/dports/devel/libvsgpt/libvsgpt-20210207/tests/ |
H A D | pyvsgpt_test_partition.py | 47 vsgpt_partition.seek_offset(0, os.SEEK_SET) 55 vsgpt_partition.seek_offset(0, os.SEEK_SET) 63 vsgpt_partition.seek_offset(-8, os.SEEK_END) 78 vsgpt_partition.seek_offset(0, os.SEEK_SET) 99 vsgpt_partition.seek_offset(0, os.SEEK_SET) 213 vsgpt_partition.seek_offset(16, os.SEEK_SET) 218 vsgpt_partition.seek_offset(16, os.SEEK_CUR) 223 vsgpt_partition.seek_offset(-16, os.SEEK_CUR) 234 vsgpt_partition.seek_offset(16, os.SEEK_END) 241 vsgpt_partition.seek_offset(-1, os.SEEK_SET) [all …]
|
/dports/devel/libsmraw/libsmraw-20210807/tests/ |
H A D | pysmraw_test_handle.py | 146 smraw_handle.seek_offset(0, os.SEEK_SET) 154 smraw_handle.seek_offset(0, os.SEEK_SET) 162 smraw_handle.seek_offset(-8, os.SEEK_END) 177 smraw_handle.seek_offset(0, os.SEEK_SET) 198 smraw_handle.seek_offset(0, os.SEEK_SET) 315 smraw_handle.seek_offset(16, os.SEEK_SET) 320 smraw_handle.seek_offset(16, os.SEEK_CUR) 325 smraw_handle.seek_offset(-16, os.SEEK_CUR) 336 smraw_handle.seek_offset(16, os.SEEK_END) 343 smraw_handle.seek_offset(-1, os.SEEK_SET) [all …]
|
/dports/devel/libmodi/libmodi-20210807/tests/ |
H A D | pymodi_test_handle.py | 145 modi_handle.seek_offset(0, os.SEEK_SET) 153 modi_handle.seek_offset(0, os.SEEK_SET) 161 modi_handle.seek_offset(-8, os.SEEK_END) 176 modi_handle.seek_offset(0, os.SEEK_SET) 197 modi_handle.seek_offset(0, os.SEEK_SET) 317 modi_handle.seek_offset(16, os.SEEK_SET) 322 modi_handle.seek_offset(16, os.SEEK_CUR) 327 modi_handle.seek_offset(-16, os.SEEK_CUR) 338 modi_handle.seek_offset(16, os.SEEK_END) 345 modi_handle.seek_offset(-1, os.SEEK_SET) [all …]
|
/dports/databases/postgresql96-server/postgresql-9.6.24/src/backend/utils/adt/ |
H A D | genfile.c | 94 if (seek_offset < 0) in read_binary_file() 95 bytes_to_read = -seek_offset; in read_binary_file() 110 bytes_to_read = fst.st_size - seek_offset; in read_binary_file() 131 if (fseeko(file, (off_t) seek_offset, in read_binary_file() 132 (seek_offset >= 0) ? SEEK_SET : SEEK_END) != 0) in read_binary_file() 163 buf = read_binary_file(filename, seek_offset, bytes_to_read, missing_ok); in read_text_file() 184 int64 seek_offset = 0; in pg_read_file() local 198 seek_offset = PG_GETARG_INT64(1); in pg_read_file() 225 int64 seek_offset = 0; in pg_read_binary_file() local 239 seek_offset = PG_GETARG_INT64(1); in pg_read_binary_file() [all …]
|
/dports/databases/postgresql96-plpython/postgresql-9.6.24/src/backend/utils/adt/ |
H A D | genfile.c | 94 if (seek_offset < 0) in read_binary_file() 95 bytes_to_read = -seek_offset; in read_binary_file() 110 bytes_to_read = fst.st_size - seek_offset; in read_binary_file() 131 if (fseeko(file, (off_t) seek_offset, in read_binary_file() 132 (seek_offset >= 0) ? SEEK_SET : SEEK_END) != 0) in read_binary_file() 163 buf = read_binary_file(filename, seek_offset, bytes_to_read, missing_ok); in read_text_file() 184 int64 seek_offset = 0; in pg_read_file() local 198 seek_offset = PG_GETARG_INT64(1); in pg_read_file() 225 int64 seek_offset = 0; in pg_read_binary_file() local 239 seek_offset = PG_GETARG_INT64(1); in pg_read_binary_file() [all …]
|
/dports/databases/postgresql96-pltcl/postgresql-9.6.24/src/backend/utils/adt/ |
H A D | genfile.c | 94 if (seek_offset < 0) in read_binary_file() 95 bytes_to_read = -seek_offset; in read_binary_file() 110 bytes_to_read = fst.st_size - seek_offset; in read_binary_file() 131 if (fseeko(file, (off_t) seek_offset, in read_binary_file() 132 (seek_offset >= 0) ? SEEK_SET : SEEK_END) != 0) in read_binary_file() 163 buf = read_binary_file(filename, seek_offset, bytes_to_read, missing_ok); in read_text_file() 184 int64 seek_offset = 0; in pg_read_file() local 198 seek_offset = PG_GETARG_INT64(1); in pg_read_file() 225 int64 seek_offset = 0; in pg_read_binary_file() local 239 seek_offset = PG_GETARG_INT64(1); in pg_read_binary_file() [all …]
|
/dports/databases/postgresql96-client/postgresql-9.6.24/src/backend/utils/adt/ |
H A D | genfile.c | 94 if (seek_offset < 0) in read_binary_file() 95 bytes_to_read = -seek_offset; in read_binary_file() 110 bytes_to_read = fst.st_size - seek_offset; in read_binary_file() 131 if (fseeko(file, (off_t) seek_offset, in read_binary_file() 132 (seek_offset >= 0) ? SEEK_SET : SEEK_END) != 0) in read_binary_file() 163 buf = read_binary_file(filename, seek_offset, bytes_to_read, missing_ok); in read_text_file() 184 int64 seek_offset = 0; in pg_read_file() local 198 seek_offset = PG_GETARG_INT64(1); in pg_read_file() 225 int64 seek_offset = 0; in pg_read_binary_file() local 239 seek_offset = PG_GETARG_INT64(1); in pg_read_binary_file() [all …]
|
/dports/databases/postgresql96-docs/postgresql-9.6.24/src/backend/utils/adt/ |
H A D | genfile.c | 94 if (seek_offset < 0) in read_binary_file() 95 bytes_to_read = -seek_offset; in read_binary_file() 110 bytes_to_read = fst.st_size - seek_offset; in read_binary_file() 131 if (fseeko(file, (off_t) seek_offset, in read_binary_file() 132 (seek_offset >= 0) ? SEEK_SET : SEEK_END) != 0) in read_binary_file() 163 buf = read_binary_file(filename, seek_offset, bytes_to_read, missing_ok); in read_text_file() 184 int64 seek_offset = 0; in pg_read_file() local 198 seek_offset = PG_GETARG_INT64(1); in pg_read_file() 225 int64 seek_offset = 0; in pg_read_binary_file() local 239 seek_offset = PG_GETARG_INT64(1); in pg_read_binary_file() [all …]
|
/dports/databases/postgresql96-contrib/postgresql-9.6.24/src/backend/utils/adt/ |
H A D | genfile.c | 94 if (seek_offset < 0) in read_binary_file() 95 bytes_to_read = -seek_offset; in read_binary_file() 110 bytes_to_read = fst.st_size - seek_offset; in read_binary_file() 131 if (fseeko(file, (off_t) seek_offset, in read_binary_file() 132 (seek_offset >= 0) ? SEEK_SET : SEEK_END) != 0) in read_binary_file() 163 buf = read_binary_file(filename, seek_offset, bytes_to_read, missing_ok); in read_text_file() 184 int64 seek_offset = 0; in pg_read_file() local 198 seek_offset = PG_GETARG_INT64(1); in pg_read_file() 225 int64 seek_offset = 0; in pg_read_binary_file() local 239 seek_offset = PG_GETARG_INT64(1); in pg_read_binary_file() [all …]
|
/dports/databases/postgresql96-plperl/postgresql-9.6.24/src/backend/utils/adt/ |
H A D | genfile.c | 94 if (seek_offset < 0) in read_binary_file() 95 bytes_to_read = -seek_offset; in read_binary_file() 110 bytes_to_read = fst.st_size - seek_offset; in read_binary_file() 131 if (fseeko(file, (off_t) seek_offset, in read_binary_file() 132 (seek_offset >= 0) ? SEEK_SET : SEEK_END) != 0) in read_binary_file() 163 buf = read_binary_file(filename, seek_offset, bytes_to_read, missing_ok); in read_text_file() 184 int64 seek_offset = 0; in pg_read_file() local 198 seek_offset = PG_GETARG_INT64(1); in pg_read_file() 225 int64 seek_offset = 0; in pg_read_binary_file() local 239 seek_offset = PG_GETARG_INT64(1); in pg_read_binary_file() [all …]
|
/dports/devel/libsmdev/libsmdev-20210418/tests/ |
H A D | pysmdev_test_handle.py | 113 smdev_handle.seek_offset(-16, os.SEEK_END) 178 smdev_handle.seek_offset(16, os.SEEK_SET) 183 smdev_handle.seek_offset(16, os.SEEK_CUR) 188 smdev_handle.seek_offset(-16, os.SEEK_CUR) 193 smdev_handle.seek_offset(-16, os.SEEK_END) 198 smdev_handle.seek_offset(16, os.SEEK_END) 205 smdev_handle.seek_offset(-1, os.SEEK_SET) 209 smdev_handle.seek_offset(-32 - file_size, os.SEEK_CUR) 213 smdev_handle.seek_offset(-32 - file_size, os.SEEK_END) 217 smdev_handle.seek_offset(0, -1) [all …]
|
/dports/devel/libluksde/libluksde-20200205/tests/ |
H A D | pyluksde_test_volume.py | 175 luksde_volume.seek_offset(0, os.SEEK_SET) 183 luksde_volume.seek_offset(0, os.SEEK_SET) 191 luksde_volume.seek_offset(-8, os.SEEK_END) 206 luksde_volume.seek_offset(0, os.SEEK_SET) 227 luksde_volume.seek_offset(0, os.SEEK_SET) 347 luksde_volume.seek_offset(16, os.SEEK_SET) 352 luksde_volume.seek_offset(16, os.SEEK_CUR) 357 luksde_volume.seek_offset(-16, os.SEEK_CUR) 368 luksde_volume.seek_offset(16, os.SEEK_END) 375 luksde_volume.seek_offset(-1, os.SEEK_SET) [all …]
|
/dports/devel/libvhdi/libvhdi-20210425/tests/ |
H A D | pyvhdi_test_file.py | 155 vhdi_file.seek_offset(0, os.SEEK_SET) 163 vhdi_file.seek_offset(0, os.SEEK_SET) 171 vhdi_file.seek_offset(-8, os.SEEK_END) 186 vhdi_file.seek_offset(0, os.SEEK_SET) 207 vhdi_file.seek_offset(0, os.SEEK_SET) 366 vhdi_file.seek_offset(16, os.SEEK_SET) 371 vhdi_file.seek_offset(16, os.SEEK_CUR) 376 vhdi_file.seek_offset(-16, os.SEEK_CUR) 387 vhdi_file.seek_offset(16, os.SEEK_END) 394 vhdi_file.seek_offset(-1, os.SEEK_SET) [all …]
|
/dports/devel/libvmdk/libvmdk-20210807/tests/ |
H A D | pyvmdk_test_handle.py | 145 vmdk_handle.seek_offset(0, os.SEEK_SET) 153 vmdk_handle.seek_offset(0, os.SEEK_SET) 161 vmdk_handle.seek_offset(-8, os.SEEK_END) 176 vmdk_handle.seek_offset(0, os.SEEK_SET) 197 vmdk_handle.seek_offset(0, os.SEEK_SET) 329 vmdk_handle.seek_offset(16, os.SEEK_SET) 334 vmdk_handle.seek_offset(16, os.SEEK_CUR) 339 vmdk_handle.seek_offset(-16, os.SEEK_CUR) 350 vmdk_handle.seek_offset(16, os.SEEK_END) 357 vmdk_handle.seek_offset(-1, os.SEEK_SET) [all …]
|
/dports/multimedia/kodi-addon-inputstream.adaptive/inputstream.adaptive-19.0.1-Matrix/lib/webm_parser/src/ |
H A D | file_reader.cc | 76 long seek_offset = std::numeric_limits<long>::max(); // NOLINT in Skip() local 77 if (num_to_skip < static_cast<unsigned long>(seek_offset)) { // NOLINT in Skip() 78 seek_offset = static_cast<long>(num_to_skip); // NOLINT in Skip() 81 if (!std::fseek(file_.get(), seek_offset, SEEK_CUR)) { in Skip() 82 *num_actually_skipped = static_cast<std::uint64_t>(seek_offset); in Skip() 83 position_ += static_cast<std::uint64_t>(seek_offset); in Skip() 84 if (static_cast<unsigned long>(seek_offset) == num_to_skip) { // NOLINT in Skip()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libwebm/source/webm_parser/src/ |
H A D | file_reader.cc | 76 long seek_offset = std::numeric_limits<long>::max(); // NOLINT in Skip() local 77 if (num_to_skip < static_cast<unsigned long>(seek_offset)) { // NOLINT in Skip() 78 seek_offset = static_cast<long>(num_to_skip); // NOLINT in Skip() 81 if (!std::fseek(file_.get(), seek_offset, SEEK_CUR)) { in Skip() 82 *num_actually_skipped = static_cast<std::uint64_t>(seek_offset); in Skip() 83 position_ += static_cast<std::uint64_t>(seek_offset); in Skip() 84 if (static_cast<unsigned long>(seek_offset) == num_to_skip) { // NOLINT in Skip()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/libwebm/source/webm_parser/src/ |
H A D | file_reader.cc | 76 long seek_offset = std::numeric_limits<long>::max(); // NOLINT in Skip() local 77 if (num_to_skip < static_cast<unsigned long>(seek_offset)) { // NOLINT in Skip() 78 seek_offset = static_cast<long>(num_to_skip); // NOLINT in Skip() 81 if (!std::fseek(file_.get(), seek_offset, SEEK_CUR)) { in Skip() 82 *num_actually_skipped = static_cast<std::uint64_t>(seek_offset); in Skip() 83 position_ += static_cast<std::uint64_t>(seek_offset); in Skip() 84 if (static_cast<unsigned long>(seek_offset) == num_to_skip) { // NOLINT in Skip()
|
/dports/devel/libqcow/libqcow-20210419/tests/ |
H A D | pyqcow_test_file.py | 178 qcow_file.seek_offset(0, os.SEEK_SET) 186 qcow_file.seek_offset(0, os.SEEK_SET) 194 qcow_file.seek_offset(-8, os.SEEK_END) 209 qcow_file.seek_offset(0, os.SEEK_SET) 230 qcow_file.seek_offset(0, os.SEEK_SET) 392 qcow_file.seek_offset(16, os.SEEK_SET) 397 qcow_file.seek_offset(16, os.SEEK_CUR) 402 qcow_file.seek_offset(-16, os.SEEK_CUR) 413 qcow_file.seek_offset(16, os.SEEK_END) 420 qcow_file.seek_offset(-1, os.SEEK_SET) [all …]
|
/dports/devel/libvshadow/libvshadow-20210425/tests/ |
H A D | pyvshadow_test_store.py | 177 vshadow_store.seek_offset(0, os.SEEK_SET) 185 vshadow_store.seek_offset(0, os.SEEK_SET) 193 vshadow_store.seek_offset(-8, os.SEEK_END) 208 vshadow_store.seek_offset(0, os.SEEK_SET) 229 vshadow_store.seek_offset(0, os.SEEK_SET) 334 vshadow_store.seek_offset(16, os.SEEK_SET) 339 vshadow_store.seek_offset(16, os.SEEK_CUR) 344 vshadow_store.seek_offset(-16, os.SEEK_CUR) 355 vshadow_store.seek_offset(16, os.SEEK_END) 362 vshadow_store.seek_offset(-1, os.SEEK_SET) [all …]
|
/dports/databases/postgresql10-plperl/postgresql-10.19/src/backend/utils/adt/ |
H A D | genfile.c | 95 if (seek_offset < 0) in read_binary_file() 96 bytes_to_read = -seek_offset; in read_binary_file() 111 bytes_to_read = fst.st_size - seek_offset; in read_binary_file() 132 if (fseeko(file, (off_t) seek_offset, in read_binary_file() 133 (seek_offset >= 0) ? SEEK_SET : SEEK_END) != 0) in read_binary_file() 164 buf = read_binary_file(filename, seek_offset, bytes_to_read, missing_ok); in read_text_file() 185 int64 seek_offset = 0; in pg_read_file() local 199 seek_offset = PG_GETARG_INT64(1); in pg_read_file() 226 int64 seek_offset = 0; in pg_read_binary_file() local 240 seek_offset = PG_GETARG_INT64(1); in pg_read_binary_file() [all …]
|
/dports/databases/postgresql10-server/postgresql-10.19/src/backend/utils/adt/ |
H A D | genfile.c | 95 if (seek_offset < 0) in read_binary_file() 96 bytes_to_read = -seek_offset; in read_binary_file() 111 bytes_to_read = fst.st_size - seek_offset; in read_binary_file() 132 if (fseeko(file, (off_t) seek_offset, in read_binary_file() 133 (seek_offset >= 0) ? SEEK_SET : SEEK_END) != 0) in read_binary_file() 164 buf = read_binary_file(filename, seek_offset, bytes_to_read, missing_ok); in read_text_file() 185 int64 seek_offset = 0; in pg_read_file() local 199 seek_offset = PG_GETARG_INT64(1); in pg_read_file() 226 int64 seek_offset = 0; in pg_read_binary_file() local 240 seek_offset = PG_GETARG_INT64(1); in pg_read_binary_file() [all …]
|
/dports/databases/postgresql10-pltcl/postgresql-10.19/src/backend/utils/adt/ |
H A D | genfile.c | 95 if (seek_offset < 0) in read_binary_file() 96 bytes_to_read = -seek_offset; in read_binary_file() 111 bytes_to_read = fst.st_size - seek_offset; in read_binary_file() 132 if (fseeko(file, (off_t) seek_offset, in read_binary_file() 133 (seek_offset >= 0) ? SEEK_SET : SEEK_END) != 0) in read_binary_file() 164 buf = read_binary_file(filename, seek_offset, bytes_to_read, missing_ok); in read_text_file() 185 int64 seek_offset = 0; in pg_read_file() local 199 seek_offset = PG_GETARG_INT64(1); in pg_read_file() 226 int64 seek_offset = 0; in pg_read_binary_file() local 240 seek_offset = PG_GETARG_INT64(1); in pg_read_binary_file() [all …]
|
/dports/databases/postgresql10-client/postgresql-10.19/src/backend/utils/adt/ |
H A D | genfile.c | 95 if (seek_offset < 0) in read_binary_file() 96 bytes_to_read = -seek_offset; in read_binary_file() 111 bytes_to_read = fst.st_size - seek_offset; in read_binary_file() 132 if (fseeko(file, (off_t) seek_offset, in read_binary_file() 133 (seek_offset >= 0) ? SEEK_SET : SEEK_END) != 0) in read_binary_file() 164 buf = read_binary_file(filename, seek_offset, bytes_to_read, missing_ok); in read_text_file() 185 int64 seek_offset = 0; in pg_read_file() local 199 seek_offset = PG_GETARG_INT64(1); in pg_read_file() 226 int64 seek_offset = 0; in pg_read_binary_file() local 240 seek_offset = PG_GETARG_INT64(1); in pg_read_binary_file() [all …]
|
/dports/databases/postgresql10-contrib/postgresql-10.19/src/backend/utils/adt/ |
H A D | genfile.c | 95 if (seek_offset < 0) in read_binary_file() 96 bytes_to_read = -seek_offset; in read_binary_file() 111 bytes_to_read = fst.st_size - seek_offset; in read_binary_file() 132 if (fseeko(file, (off_t) seek_offset, in read_binary_file() 133 (seek_offset >= 0) ? SEEK_SET : SEEK_END) != 0) in read_binary_file() 164 buf = read_binary_file(filename, seek_offset, bytes_to_read, missing_ok); in read_text_file() 185 int64 seek_offset = 0; in pg_read_file() local 199 seek_offset = PG_GETARG_INT64(1); in pg_read_file() 226 int64 seek_offset = 0; in pg_read_binary_file() local 240 seek_offset = PG_GETARG_INT64(1); in pg_read_binary_file() [all …]
|
/dports/databases/postgresql10-docs/postgresql-10.19/src/backend/utils/adt/ |
H A D | genfile.c | 95 if (seek_offset < 0) in read_binary_file() 96 bytes_to_read = -seek_offset; in read_binary_file() 111 bytes_to_read = fst.st_size - seek_offset; in read_binary_file() 132 if (fseeko(file, (off_t) seek_offset, in read_binary_file() 133 (seek_offset >= 0) ? SEEK_SET : SEEK_END) != 0) in read_binary_file() 164 buf = read_binary_file(filename, seek_offset, bytes_to_read, missing_ok); in read_text_file() 185 int64 seek_offset = 0; in pg_read_file() local 199 seek_offset = PG_GETARG_INT64(1); in pg_read_file() 226 int64 seek_offset = 0; in pg_read_binary_file() local 240 seek_offset = PG_GETARG_INT64(1); in pg_read_binary_file() [all …]
|