Searched refs:slot_id (Results 1 – 5 of 5) sorted by relevance
128 char* thread_name(int slot_id) const { in thread_name()130 (slot_id-1) * (StatsTable::kMaxThreadNameLength)]; in thread_name()132 PlatformThreadId* thread_tid(int slot_id) const { in thread_tid()133 return &(thread_tid_table_[slot_id-1]); in thread_tid()135 int* thread_pid(int slot_id) const { in thread_pid()136 return &(thread_pid_table_[slot_id-1]); in thread_pid()473 int* StatsTable::GetLocation(int counter_id, int slot_id) const { in GetLocation()476 if (slot_id > impl_->max_threads()) in GetLocation()480 return &(row[slot_id-1]); in GetLocation()496 for (int slot_id = 0; slot_id < impl_->max_threads(); slot_id++) { in GetRowValue() local[all …]
41 int slot_id = table.RegisterThread(thread_name); in TEST_F() local42 EXPECT_NE(slot_id, 0); in TEST_F()54 slot_id = table.RegisterThread("too many threads"); in TEST_F()55 EXPECT_EQ(slot_id, 0); in TEST_F()
95 int* GetLocation(int counter_id, int slot_id) const;
91 _dbus_assert (allocator->allocated_slots[slot].slot_id == slot); in _dbus_data_slot_allocator_alloc()105 if (allocator->allocated_slots[slot].slot_id < 0) in _dbus_data_slot_allocator_alloc()107 allocator->allocated_slots[slot].slot_id = slot; in _dbus_data_slot_allocator_alloc()131 allocator->allocated_slots[slot].slot_id = slot; in _dbus_data_slot_allocator_alloc()138 _dbus_assert (allocator->allocated_slots[slot].slot_id == slot); in _dbus_data_slot_allocator_alloc()169 _dbus_assert (allocator->allocated_slots[*slot_id_p].slot_id == *slot_id_p); in _dbus_data_slot_allocator_free()184 allocator->allocated_slots[*slot_id_p].slot_id = -1; in _dbus_data_slot_allocator_free()250 _dbus_assert (allocator->allocated_slots[slot].slot_id == slot); in _dbus_data_slot_list_set()308 _dbus_assert (allocator->allocated_slots[slot].slot_id == slot); in _dbus_data_slot_list_get()
48 dbus_int32_t slot_id; /**< ID of this slot */ member