Searched defs:unit_id (Results 1 - 9 of 9) sorted by relevance

/external/marisa-trie/lib/marisa/
H A Dintvector.h37 std::size_t unit_id = pos / 32; local
39 units_[unit_id] &= ~(mask_ << unit_offset);
40 units_[unit_id] |= (value & mask_) << unit_offset;
42 units_[unit_id + 1] &= ~(mask_ >> (32 - unit_offset));
43 units_[unit_id + 1] |= (value & mask_) >> (32 - unit_offset);
50 std::size_t unit_id = pos / 32; local
53 return (units_[unit_id] >> unit_offset) & mask_;
55 return ((units_[unit_id] >> unit_offset)
56 | (units_[unit_id + 1] << (32 - unit_offset))) & mask_;
/external/marisa-trie/v0_1_5/lib/marisa_alpha/
H A Dintvector.h37 std::size_t unit_id = pos / 32; local
39 units_[unit_id] &= ~(mask_ << unit_offset);
40 units_[unit_id] |= (value & mask_) << unit_offset;
42 units_[unit_id + 1] &= ~(mask_ >> (32 - unit_offset));
43 units_[unit_id + 1] |= (value & mask_) >> (32 - unit_offset);
50 std::size_t unit_id = pos / 32; local
53 return (units_[unit_id] >> unit_offset) & mask_;
55 return ((units_[unit_id] >> unit_offset)
56 | (units_[unit_id + 1] << (32 - unit_offset))) & mask_;
/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/chromium_org/tools/deep_memory_profiler/lib/
H A Dsorter.py33 def __init__(self, unit_id, size):
34 self._unit_id = unit_id
38 def unit_id(self): member in class:Unit
48 def __init__(self, unit_id, committed, reserved, mmap, region,
50 super(VMUnit, self).__init__(unit_id, committed)
84 def __init__(self, unit_id, committed, reserved, region, bucket_set,
86 super(MMapUnit, self).__init__(unit_id, committed, reserved, True,
100 def __init__(self, unit_id, committed, reserved, region,
102 super(UnhookedUnit, self).__init__(unit_id, committed, reserved, False,
111 def __init__(self, unit_id, siz
[all...]
/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/
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.c1036 int bus_id, unit_id; local
1062 unit_id = -1;
1089 unit_id = strtol(buf, NULL, 0);
1090 if (unit_id < 0) {
1267 if (bus_id != 0 || unit_id != -1) {
1274 unit_id = index;
1277 unit_id = index % max_devs;
1282 /* if user doesn't specify a unit_id,
1286 if (unit_id == -1) {
1287 unit_id
[all...]
H A Dvl.c839 int bus_id, unit_id; local
865 unit_id = -1;
892 unit_id = strtol(buf, NULL, 0);
893 if (unit_id < 0) {
1070 if (bus_id != 0 || unit_id != -1) {
1077 unit_id = index;
1080 unit_id = index % max_devs;
1085 /* if user doesn't specify a unit_id,
1089 if (unit_id == -1) {
1090 unit_id
[all...]
/external/qemu/hw/
H A Dpc.c1262 int unit_id = 0; local
1264 while ((index = drive_get_index(IF_VIRTIO, 0, unit_id)) != -1) {
1266 unit_id++;

Completed in 196 milliseconds