Home
last modified time | relevance | path

Searched refs:id_str_size (Results 1 – 20 of 20) sorted by relevance

/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/block/
H A Dqcow2-snapshot.c53 int i, id_str_size, name_size; in qcow2_read_snapshots() local
85 id_str_size = be16_to_cpu(h.id_str_size); in qcow2_read_snapshots()
107 sn->id_str = g_malloc(id_str_size + 1); in qcow2_read_snapshots()
112 offset += id_str_size; in qcow2_read_snapshots()
113 sn->id_str[id_str_size] = '\0'; in qcow2_read_snapshots()
146 int i, name_size, id_str_size, snapshots_size; in qcow2_write_snapshots() local
213 id_str_size = strlen(sn->id_str); in qcow2_write_snapshots()
216 h.id_str_size = cpu_to_be16(id_str_size); in qcow2_write_snapshots()
236 offset += id_str_size; in qcow2_write_snapshots()
282 char *id_str, int id_str_size) in find_new_snapshot_id() argument
[all …]
H A Dqcow2.h138 uint16_t id_str_size; member
/dports/emulators/qemu42/qemu-4.2.1/block/
H A Dqcow2-snapshot.c87 int i, id_str_size, name_size; in qcow2_do_read_snapshots() local
125 id_str_size = be16_to_cpu(h.id_str_size); in qcow2_do_read_snapshots()
190 sn->id_str = g_malloc(id_str_size + 1); in qcow2_do_read_snapshots()
196 offset += id_str_size; in qcow2_do_read_snapshots()
197 sn->id_str[id_str_size] = '\0'; in qcow2_do_read_snapshots()
268 int i, name_size, id_str_size, snapshots_size; in qcow2_write_snapshots() local
336 id_str_size = strlen(sn->id_str); in qcow2_write_snapshots()
339 h.id_str_size = cpu_to_be16(id_str_size); in qcow2_write_snapshots()
375 offset += id_str_size; in qcow2_write_snapshots()
566 char *id_str, int id_str_size) in find_new_snapshot_id() argument
[all …]
H A Dqcow2.h156 uint16_t id_str_size; member
/dports/emulators/qemu/qemu-6.2.0/block/
H A Dqcow2-snapshot.c88 int i, id_str_size, name_size; in qcow2_do_read_snapshots() local
126 id_str_size = be16_to_cpu(h.id_str_size); in qcow2_do_read_snapshots()
197 sn->id_str = g_malloc(id_str_size + 1); in qcow2_do_read_snapshots()
203 offset += id_str_size; in qcow2_do_read_snapshots()
204 sn->id_str[id_str_size] = '\0'; in qcow2_do_read_snapshots()
275 int i, name_size, id_str_size, snapshots_size; in qcow2_write_snapshots() local
344 id_str_size = strlen(sn->id_str); in qcow2_write_snapshots()
347 h.id_str_size = cpu_to_be16(id_str_size); in qcow2_write_snapshots()
383 offset += id_str_size; in qcow2_write_snapshots()
574 char *id_str, int id_str_size) in find_new_snapshot_id() argument
[all …]
H A Dqcow2.h190 uint16_t id_str_size; member
/dports/emulators/qemu60/qemu-6.0.0/block/
H A Dqcow2-snapshot.c88 int i, id_str_size, name_size; in qcow2_do_read_snapshots() local
126 id_str_size = be16_to_cpu(h.id_str_size); in qcow2_do_read_snapshots()
197 sn->id_str = g_malloc(id_str_size + 1); in qcow2_do_read_snapshots()
203 offset += id_str_size; in qcow2_do_read_snapshots()
204 sn->id_str[id_str_size] = '\0'; in qcow2_do_read_snapshots()
275 int i, name_size, id_str_size, snapshots_size; in qcow2_write_snapshots() local
344 id_str_size = strlen(sn->id_str); in qcow2_write_snapshots()
347 h.id_str_size = cpu_to_be16(id_str_size); in qcow2_write_snapshots()
383 offset += id_str_size; in qcow2_write_snapshots()
574 char *id_str, int id_str_size) in find_new_snapshot_id() argument
[all …]
H A Dqcow2.h191 uint16_t id_str_size; member
/dports/emulators/qemu5/qemu-5.2.0/block/
H A Dqcow2-snapshot.c88 int i, id_str_size, name_size; in qcow2_do_read_snapshots() local
126 id_str_size = be16_to_cpu(h.id_str_size); in qcow2_do_read_snapshots()
197 sn->id_str = g_malloc(id_str_size + 1); in qcow2_do_read_snapshots()
203 offset += id_str_size; in qcow2_do_read_snapshots()
204 sn->id_str[id_str_size] = '\0'; in qcow2_do_read_snapshots()
275 int i, name_size, id_str_size, snapshots_size; in qcow2_write_snapshots() local
344 id_str_size = strlen(sn->id_str); in qcow2_write_snapshots()
347 h.id_str_size = cpu_to_be16(id_str_size); in qcow2_write_snapshots()
383 offset += id_str_size; in qcow2_write_snapshots()
574 char *id_str, int id_str_size) in find_new_snapshot_id() argument
[all …]
H A Dqcow2.h191 uint16_t id_str_size; member
/dports/emulators/qemu-utils/qemu-4.2.1/block/
H A Dqcow2-snapshot.c87 int i, id_str_size, name_size; in qcow2_do_read_snapshots() local
125 id_str_size = be16_to_cpu(h.id_str_size); in qcow2_do_read_snapshots()
190 sn->id_str = g_malloc(id_str_size + 1); in qcow2_do_read_snapshots()
196 offset += id_str_size; in qcow2_do_read_snapshots()
197 sn->id_str[id_str_size] = '\0'; in qcow2_do_read_snapshots()
268 int i, name_size, id_str_size, snapshots_size; in qcow2_write_snapshots() local
336 id_str_size = strlen(sn->id_str); in qcow2_write_snapshots()
339 h.id_str_size = cpu_to_be16(id_str_size); in qcow2_write_snapshots()
375 offset += id_str_size; in qcow2_write_snapshots()
566 char *id_str, int id_str_size) in find_new_snapshot_id() argument
[all …]
H A Dqcow2.h156 uint16_t id_str_size; member
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/block/
H A Dqcow2-snapshot.c87 int i, id_str_size, name_size; in qcow2_do_read_snapshots() local
125 id_str_size = be16_to_cpu(h.id_str_size); in qcow2_do_read_snapshots()
190 sn->id_str = g_malloc(id_str_size + 1); in qcow2_do_read_snapshots()
196 offset += id_str_size; in qcow2_do_read_snapshots()
197 sn->id_str[id_str_size] = '\0'; in qcow2_do_read_snapshots()
268 int i, name_size, id_str_size, snapshots_size; in qcow2_write_snapshots() local
336 id_str_size = strlen(sn->id_str); in qcow2_write_snapshots()
339 h.id_str_size = cpu_to_be16(id_str_size); in qcow2_write_snapshots()
375 offset += id_str_size; in qcow2_write_snapshots()
566 char *id_str, int id_str_size) in find_new_snapshot_id() argument
[all …]
H A Dqcow2.h156 uint16_t id_str_size; member
/dports/emulators/qemu-guest-agent/qemu-5.0.1/block/
H A Dqcow2-snapshot.c87 int i, id_str_size, name_size; in qcow2_do_read_snapshots() local
125 id_str_size = be16_to_cpu(h.id_str_size); in qcow2_do_read_snapshots()
190 sn->id_str = g_malloc(id_str_size + 1); in qcow2_do_read_snapshots()
196 offset += id_str_size; in qcow2_do_read_snapshots()
197 sn->id_str[id_str_size] = '\0'; in qcow2_do_read_snapshots()
268 int i, name_size, id_str_size, snapshots_size; in qcow2_write_snapshots() local
336 id_str_size = strlen(sn->id_str); in qcow2_write_snapshots()
339 h.id_str_size = cpu_to_be16(id_str_size); in qcow2_write_snapshots()
375 offset += id_str_size; in qcow2_write_snapshots()
566 char *id_str, int id_str_size) in find_new_snapshot_id() argument
[all …]
H A Dqcow2.h156 uint16_t id_str_size;
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/block/
H A Dqcow2-snapshot.c88 int i, id_str_size, name_size; in qcow2_do_read_snapshots() local
126 id_str_size = be16_to_cpu(h.id_str_size); in qcow2_do_read_snapshots()
197 sn->id_str = g_malloc(id_str_size + 1); in qcow2_do_read_snapshots()
203 offset += id_str_size; in qcow2_do_read_snapshots()
204 sn->id_str[id_str_size] = '\0'; in qcow2_do_read_snapshots()
275 int i, name_size, id_str_size, snapshots_size; in qcow2_write_snapshots() local
344 id_str_size = strlen(sn->id_str); in qcow2_write_snapshots()
347 h.id_str_size = cpu_to_be16(id_str_size); in qcow2_write_snapshots()
383 offset += id_str_size; in qcow2_write_snapshots()
574 char *id_str, int id_str_size) in find_new_snapshot_id() argument
[all …]
H A Dqcow2.h190 uint16_t id_str_size; member
/dports/sysutils/afflib/AFFLIBv3-3.7.16/lib/qemu/
H A Dblock-qcow2.c87 uint16_t id_str_size; member
1384 int i, id_str_size, name_size; in qcow_read_snapshots() local
1406 id_str_size = be16_to_cpu(h.id_str_size); in qcow_read_snapshots()
1411 sn->id_str = qemu_malloc(id_str_size + 1); in qcow_read_snapshots()
1414 if (bdrv_pread(s->hd, offset, sn->id_str, id_str_size) != id_str_size) in qcow_read_snapshots()
1416 offset += id_str_size; in qcow_read_snapshots()
1417 sn->id_str[id_str_size] = '\0'; in qcow_read_snapshots()
1469 id_str_size = strlen(sn->id_str); in qcow_write_snapshots()
1471 h.id_str_size = cpu_to_be16(id_str_size); in qcow_write_snapshots()
1477 if (bdrv_pwrite(s->hd, offset, sn->id_str, id_str_size) != id_str_size) in qcow_write_snapshots()
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/python/intern/
H A Dbpy_props.c1510 Py_ssize_t id_str_size; in enum_items_from_py() local
1518 (tmp.identifier = _PyUnicode_AsStringAndSize(PyTuple_GET_ITEM(item, 0), &id_str_size)) && in enum_items_from_py()
1558 totbuf += id_str_size + name_str_size + desc_str_size + 3; /* 3 is for '\0's */ in enum_items_from_py()