Home
last modified time | relevance | path

Searched refs:bytes_per_offset (Results 1 – 21 of 21) sorted by relevance

/dports/graphics/gimp-app/gimp-2.10.30/app/xcf/
H A Dxcf-write.c160 if (info->bytes_per_offset == 4) in xcf_write_offset()
177 return i * info->bytes_per_offset; in xcf_write_offset()
182 return count * info->bytes_per_offset; in xcf_write_offset()
195 tmp = g_try_malloc (count * info->bytes_per_offset); in xcf_write_zero_offset()
200 count * info->bytes_per_offset); in xcf_write_zero_offset()
204 memset (tmp, 0, count * info->bytes_per_offset); in xcf_write_zero_offset()
207 count * info->bytes_per_offset, error); in xcf_write_zero_offset()
H A Dxcf.c277 info.bytes_per_offset = 4; in xcf_load_stream()
308 info.bytes_per_offset = 8; in xcf_load_stream()
366 info.bytes_per_offset = 4; in xcf_save_stream()
381 info.bytes_per_offset = 8; in xcf_save_stream()
H A Dxcf-private.h105 gint bytes_per_offset; member
H A Dxcf-read.c128 if (info->bytes_per_offset == 4) in xcf_read_offset()
H A Dxcf-save.c321 saved_pos += info->bytes_per_offset; in xcf_save_image()
718 size = info->bytes_per_offset; in xcf_save_prop()
1395 offset = info->cp + 2 * info->bytes_per_offset; in xcf_save_layer()
1463 offset = info->cp + info->bytes_per_offset; in xcf_save_channel()
/dports/games/libretro-dosbox/dosbox-libretro-aa71b67/src/ints/
H A Dint10_vesa.cpp344 Bitu bytes_per_offset = 8; in VESA_ScanLineLength() local
354 bytes_per_offset = 4; // 2 characters + 2 attributes in VESA_ScanLineLength()
388 new_offset = val / bytes_per_offset; in VESA_ScanLineLength()
389 if (val % bytes_per_offset) new_offset++; in VESA_ScanLineLength()
401 if ((new_offset * bytes_per_offset * screen_height) > vmemsize) in VESA_ScanLineLength()
402 new_offset = vmemsize / (bytes_per_offset * screen_height); in VESA_ScanLineLength()
410 bytes = (Bit16u)(new_offset * bytes_per_offset); in VESA_ScanLineLength()
/dports/emulators/dosbox-staging/dosbox-staging-0.78.0/src/ints/
H A Dint10_vesa.cpp422 uint8_t bytes_per_offset = 8; in VESA_ScanLineLength() local
437 bytes_per_offset = 4; // 2 characters + 2 attributes in VESA_ScanLineLength()
441 bytes_per_offset = 2; in VESA_ScanLineLength()
463 const auto max_offset = std::min(UINT16_MAX / bytes_per_offset, in VESA_ScanLineLength()
483 new_offset = ceil_udivide(val, bytes_per_offset); in VESA_ScanLineLength()
494 if ((new_offset * bytes_per_offset * screen_height) > in VESA_ScanLineLength()
496 new_offset = usable_vmem_bytes / (bytes_per_offset * screen_height); in VESA_ScanLineLength()
504 bytes = check_cast<uint16_t>(new_offset * bytes_per_offset); in VESA_ScanLineLength()
/dports/databases/percona56-client/percona-server-5.6.51-91.0/storage/tokudb/
H A Dtokudb_update_fun.cc1024 uint32_t bytes_per_offset, in init_var_fields() argument
1028 bytes_per_offset == 0 || in init_var_fields()
1029 bytes_per_offset == 1 || in init_var_fields()
1030 bytes_per_offset == 2); in init_var_fields()
1033 m_bytes_per_offset = bytes_per_offset; in init_var_fields()
1034 if (bytes_per_offset > 0) { in init_var_fields()
1035 m_num_fields = offset_bytes / bytes_per_offset; in init_var_fields()
1247 uint32_t bytes_per_offset) { in init_var_fields() argument
1252 bytes_per_offset, in init_var_fields()
1513 bytes_per_offset); in tokudb_expand_blobs()
[all …]
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/storage/tokudb/
H A Dtokudb_update_fun.cc1024 uint32_t bytes_per_offset, in init_var_fields() argument
1028 bytes_per_offset == 0 || in init_var_fields()
1029 bytes_per_offset == 1 || in init_var_fields()
1030 bytes_per_offset == 2); in init_var_fields()
1033 m_bytes_per_offset = bytes_per_offset; in init_var_fields()
1034 if (bytes_per_offset > 0) { in init_var_fields()
1035 m_num_fields = offset_bytes / bytes_per_offset; in init_var_fields()
1247 uint32_t bytes_per_offset) { in init_var_fields() argument
1252 bytes_per_offset, in init_var_fields()
1513 bytes_per_offset); in tokudb_expand_blobs()
[all …]
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/tokudb/
H A Dtokudb_update_fun.cc1024 uint32_t bytes_per_offset, in init_var_fields() argument
1028 bytes_per_offset == 0 || in init_var_fields()
1029 bytes_per_offset == 1 || in init_var_fields()
1030 bytes_per_offset == 2); in init_var_fields()
1033 m_bytes_per_offset = bytes_per_offset; in init_var_fields()
1034 if (bytes_per_offset > 0) { in init_var_fields()
1035 m_num_fields = offset_bytes / bytes_per_offset; in init_var_fields()
1247 uint32_t bytes_per_offset) { in init_var_fields() argument
1252 bytes_per_offset, in init_var_fields()
1513 bytes_per_offset); in tokudb_expand_blobs()
[all …]
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/tokudb/
H A Dtokudb_update_fun.cc1024 uint32_t bytes_per_offset, in init_var_fields() argument
1028 bytes_per_offset == 0 || in init_var_fields()
1029 bytes_per_offset == 1 || in init_var_fields()
1030 bytes_per_offset == 2); in init_var_fields()
1033 m_bytes_per_offset = bytes_per_offset; in init_var_fields()
1034 if (bytes_per_offset > 0) { in init_var_fields()
1035 m_num_fields = offset_bytes / bytes_per_offset; in init_var_fields()
1247 uint32_t bytes_per_offset) { in init_var_fields() argument
1252 bytes_per_offset, in init_var_fields()
1513 bytes_per_offset); in tokudb_expand_blobs()
[all …]
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/tokudb/
H A Dtokudb_update_fun.cc1024 uint32_t bytes_per_offset, in init_var_fields() argument
1028 bytes_per_offset == 0 || in init_var_fields()
1029 bytes_per_offset == 1 || in init_var_fields()
1030 bytes_per_offset == 2); in init_var_fields()
1033 m_bytes_per_offset = bytes_per_offset; in init_var_fields()
1034 if (bytes_per_offset > 0) { in init_var_fields()
1035 m_num_fields = offset_bytes / bytes_per_offset; in init_var_fields()
1247 uint32_t bytes_per_offset) { in init_var_fields() argument
1252 bytes_per_offset, in init_var_fields()
1513 bytes_per_offset); in tokudb_expand_blobs()
[all …]
/dports/databases/percona56-server/percona-server-5.6.51-91.0/storage/tokudb/
H A Dtokudb_update_fun.cc1024 uint32_t bytes_per_offset, in init_var_fields() argument
1028 bytes_per_offset == 0 || in init_var_fields()
1029 bytes_per_offset == 1 || in init_var_fields()
1030 bytes_per_offset == 2); in init_var_fields()
1033 m_bytes_per_offset = bytes_per_offset; in init_var_fields()
1034 if (bytes_per_offset > 0) { in init_var_fields()
1035 m_num_fields = offset_bytes / bytes_per_offset; in init_var_fields()
1247 uint32_t bytes_per_offset) { in init_var_fields() argument
1252 bytes_per_offset, in init_var_fields()
1513 bytes_per_offset); in tokudb_expand_blobs()
[all …]
/dports/databases/mariadb104-server/mariadb-10.4.24/storage/tokudb/
H A Dtokudb_update_fun.cc1024 uint32_t bytes_per_offset, in init_var_fields() argument
1028 bytes_per_offset == 0 || in init_var_fields()
1029 bytes_per_offset == 1 || in init_var_fields()
1030 bytes_per_offset == 2); in init_var_fields()
1033 m_bytes_per_offset = bytes_per_offset; in init_var_fields()
1034 if (bytes_per_offset > 0) { in init_var_fields()
1035 m_num_fields = offset_bytes / bytes_per_offset; in init_var_fields()
1247 uint32_t bytes_per_offset) { in init_var_fields() argument
1252 bytes_per_offset, in init_var_fields()
1513 bytes_per_offset); in tokudb_expand_blobs()
[all …]
/dports/databases/mariadb104-client/mariadb-10.4.24/storage/tokudb/
H A Dtokudb_update_fun.cc1024 uint32_t bytes_per_offset, in init_var_fields() argument
1028 bytes_per_offset == 0 || in init_var_fields()
1029 bytes_per_offset == 1 || in init_var_fields()
1030 bytes_per_offset == 2); in init_var_fields()
1033 m_bytes_per_offset = bytes_per_offset; in init_var_fields()
1034 if (bytes_per_offset > 0) { in init_var_fields()
1035 m_num_fields = offset_bytes / bytes_per_offset; in init_var_fields()
1247 uint32_t bytes_per_offset) { in init_var_fields() argument
1252 bytes_per_offset, in init_var_fields()
1513 bytes_per_offset); in tokudb_expand_blobs()
[all …]
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/tokudb/
H A Dtokudb_update_fun.cc1024 uint32_t bytes_per_offset, in init_var_fields() argument
1028 bytes_per_offset == 0 || in init_var_fields()
1029 bytes_per_offset == 1 || in init_var_fields()
1030 bytes_per_offset == 2); in init_var_fields()
1033 m_bytes_per_offset = bytes_per_offset; in init_var_fields()
1034 if (bytes_per_offset > 0) { in init_var_fields()
1035 m_num_fields = offset_bytes / bytes_per_offset; in init_var_fields()
1247 uint32_t bytes_per_offset) { in init_var_fields() argument
1252 bytes_per_offset, in init_var_fields()
1513 bytes_per_offset); in tokudb_expand_blobs()
[all …]
/dports/databases/mariadb103-server/mariadb-10.3.34/storage/tokudb/
H A Dtokudb_update_fun.cc1024 uint32_t bytes_per_offset, in init_var_fields() argument
1028 bytes_per_offset == 0 || in init_var_fields()
1029 bytes_per_offset == 1 || in init_var_fields()
1030 bytes_per_offset == 2); in init_var_fields()
1033 m_bytes_per_offset = bytes_per_offset; in init_var_fields()
1034 if (bytes_per_offset > 0) { in init_var_fields()
1035 m_num_fields = offset_bytes / bytes_per_offset; in init_var_fields()
1247 uint32_t bytes_per_offset) { in init_var_fields() argument
1252 bytes_per_offset, in init_var_fields()
1513 bytes_per_offset); in tokudb_expand_blobs()
[all …]
/dports/databases/mariadb103-client/mariadb-10.3.34/storage/tokudb/
H A Dtokudb_update_fun.cc1024 uint32_t bytes_per_offset, in init_var_fields() argument
1028 bytes_per_offset == 0 || in init_var_fields()
1029 bytes_per_offset == 1 || in init_var_fields()
1030 bytes_per_offset == 2); in init_var_fields()
1033 m_bytes_per_offset = bytes_per_offset; in init_var_fields()
1034 if (bytes_per_offset > 0) { in init_var_fields()
1035 m_num_fields = offset_bytes / bytes_per_offset; in init_var_fields()
1247 uint32_t bytes_per_offset) { in init_var_fields() argument
1252 bytes_per_offset, in init_var_fields()
1513 bytes_per_offset); in tokudb_expand_blobs()
[all …]
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/tokudb/
H A Dtokudb_update_fun.cc1024 uint32_t bytes_per_offset, in init_var_fields() argument
1028 bytes_per_offset == 0 || in init_var_fields()
1029 bytes_per_offset == 1 || in init_var_fields()
1030 bytes_per_offset == 2); in init_var_fields()
1033 m_bytes_per_offset = bytes_per_offset; in init_var_fields()
1034 if (bytes_per_offset > 0) { in init_var_fields()
1035 m_num_fields = offset_bytes / bytes_per_offset; in init_var_fields()
1247 uint32_t bytes_per_offset) { in init_var_fields() argument
1252 bytes_per_offset, in init_var_fields()
1513 bytes_per_offset); in tokudb_expand_blobs()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/media/formats/mp4/
H A Dbox_definitions.cc191 int bytes_per_offset = reader->version() == 1 ? 8 : 4; in Parse() local
195 base::CheckMul(bytes_per_offset, static_cast<size_t>(count)); in Parse()
/dports/www/chromium-legacy/chromium-88.0.4324.182/media/formats/mp4/
H A Dbox_definitions.cc229 int bytes_per_offset = reader->version() == 1 ? 8 : 4; in Parse() local
233 base::CheckMul(bytes_per_offset, static_cast<size_t>(count)); in Parse()