HomeSort by relevance Sort by last modified time
    Searched refs:id_str_size (Results 1 - 2 of 2) sorted by null

  /external/qemu/block/
qcow2-snapshot.c 34 uint16_t id_str_size; member in struct:QCowSnapshotHeader
68 int i, id_str_size, name_size; local
94 id_str_size = be16_to_cpu(h.id_str_size);
99 sn->id_str = g_malloc(id_str_size + 1);
100 if (bdrv_pread(bs->file, offset, sn->id_str, id_str_size) != id_str_size)
102 offset += id_str_size;
103 sn->id_str[id_str_size] = '\0';
124 int i, name_size, id_str_size, snapshots_size local
    [all...]
  /external/qemu/android/
snapshot.c 117 uint16_t id_str_size, name_size; local
121 read_or_die(fd, &id_str_size, sizeof(id_str_size));
130 be16_to_cpus(&id_str_size);
140 info->id_str = android_alloc(id_str_size + 1); // +1: manual null-termination
143 read_or_die(fd, info->id_str, id_str_size);
146 info->id_str[id_str_size] = '\0';

Completed in 236 milliseconds