Searched refs:unit_id (Results 1 - 8 of 8) sorted by relevance

/external/qemu/
H A Dblockdev.c143 int bus_id, unit_id; local
173 unit_id = qemu_opt_get_number(opts, "unit", -1);
350 if (bus_id != 0 || unit_id != -1) {
357 unit_id = index;
360 unit_id = index % max_devs;
365 /* if user doesn't specify a unit_id,
369 if (unit_id == -1) {
370 unit_id = 0;
371 while (drive_get(type, bus_id, unit_id) != NULL) {
372 unit_id
[all...]
H A Dvl-android.c738 int bus_id, unit_id; local
764 unit_id = -1;
791 unit_id = strtol(buf, NULL, 0);
792 if (unit_id < 0) {
969 if (bus_id != 0 || unit_id != -1) {
976 unit_id = index;
979 unit_id = index % max_devs;
984 /* if user doesn't specify a unit_id,
988 if (unit_id == -1) {
989 unit_id
[all...]
/external/chromium_org/tools/deep_memory_profiler/subcommands/
H A Dcat.py112 root['units'][unit.unit_id] = [unit.committed, unit.reserved]
117 root['units'][unit.unit_id] = [
141 breakdown[found.name]['units'].append(unit.unit_id)
148 unit_id = 0
150 unit_id += 1
154 yield UnhookedUnit(unit_id, pageframe.size, pageframe.size,
157 yield UnhookedUnit(unit_id,
164 yield MMapUnit(unit_id,
169 yield MMapUnit(unit_id,
/external/chromium_org/tools/deep_memory_profiler/lib/
H A Dsorter.py41 def __init__(self, unit_id, size):
42 self._unit_id = unit_id
46 def unit_id(self): member in class:Unit
56 def __init__(self, unit_id, committed, reserved, mmap, region,
58 super(VMUnit, self).__init__(unit_id, committed)
92 def __init__(self, unit_id, committed, reserved, region, bucket_set,
94 super(MMapUnit, self).__init__(unit_id, committed, reserved, True,
108 def __init__(self, unit_id, committed, reserved, region,
110 super(UnhookedUnit, self).__init__(unit_id, committed, reserved, False,
119 def __init__(self, unit_id, siz
[all...]
/external/chromium_org/tools/deep_memory_profiler/
H A Daccumulate.py66 for unit_id in matched_units:
67 subtotal += units_dict[world][unit_id]
87 for unit_id in subremainder_units:
88 subremainder_total += units_dict[world][unit_id]
232 for unit_id, sizes in snapshot['worlds'][world_name]['units'].iteritems():
233 world_units[int(unit_id)] = sizes[0]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dbrw_wm.c447 int unit_id = prog->SamplerUnits[s]; local
448 const struct gl_texture_unit *unit = &ctx->Texture.Unit[unit_id];
453 struct gl_sampler_object *sampler = _mesa_get_samplerobj(ctx, unit_id);
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_wm.c447 int unit_id = prog->SamplerUnits[s]; local
448 const struct gl_texture_unit *unit = &ctx->Texture.Unit[unit_id];
453 struct gl_sampler_object *sampler = _mesa_get_samplerobj(ctx, unit_id);
/external/qemu/hw/i386/
H A Dpc.c1253 int unit_id = 0; local
1255 while ((index = drive_get_index(IF_VIRTIO, 0, unit_id)) != -1) {
1257 unit_id++;

Completed in 207 milliseconds