Home
last modified time | relevance | path

Searched refs:slot_id (Results 1 – 6 of 6) sorted by relevance

/external/chromium/base/metrics/
Dstats_table.cc119 char* thread_name(int slot_id) const { in thread_name()
121 (slot_id-1) * (StatsTable::kMaxThreadNameLength)]; in thread_name()
123 PlatformThreadId* thread_tid(int slot_id) const { in thread_tid()
124 return &(thread_tid_table_[slot_id-1]); in thread_tid()
126 int* thread_pid(int slot_id) const { in thread_pid()
127 return &(thread_pid_table_[slot_id-1]); in thread_pid()
373 int* StatsTable::GetLocation(int counter_id, int slot_id) const { in GetLocation()
376 if (slot_id > impl_->max_threads()) in GetLocation()
380 return &(row[slot_id-1]); in GetLocation()
400 for (int slot_id = 0; slot_id < impl_->max_threads(); slot_id++) { in GetRowValue() local
[all …]
Dstats_table_unittest.cc38 int slot_id = table.RegisterThread(thread_name); in TEST_F() local
39 EXPECT_NE(slot_id, 0); in TEST_F()
51 slot_id = table.RegisterThread("too many threads"); in TEST_F()
52 EXPECT_EQ(slot_id, 0); in TEST_F()
Dstats_table.h94 int* GetLocation(int counter_id, int slot_id) const;
/external/dbus/dbus/
Ddbus-dataslot.c93 _dbus_assert (allocator->allocated_slots[slot].slot_id == slot); in _dbus_data_slot_allocator_alloc()
107 if (allocator->allocated_slots[slot].slot_id < 0) in _dbus_data_slot_allocator_alloc()
109 allocator->allocated_slots[slot].slot_id = slot; in _dbus_data_slot_allocator_alloc()
133 allocator->allocated_slots[slot].slot_id = slot; in _dbus_data_slot_allocator_alloc()
140 _dbus_assert (allocator->allocated_slots[slot].slot_id == slot); in _dbus_data_slot_allocator_alloc()
171 _dbus_assert (allocator->allocated_slots[*slot_id_p].slot_id == *slot_id_p); in _dbus_data_slot_allocator_free()
186 allocator->allocated_slots[*slot_id_p].slot_id = -1; in _dbus_data_slot_allocator_free()
252 _dbus_assert (allocator->allocated_slots[slot].slot_id == slot); in _dbus_data_slot_list_set()
310 _dbus_assert (allocator->allocated_slots[slot].slot_id == slot); in _dbus_data_slot_list_get()
Ddbus-dataslot.h48 dbus_int32_t slot_id; /**< ID of this slot */ member
/external/openssh/
Dpkcs11.h140 #define slot_id slotID macro
299 ck_slot_id_t slot_id; member
736 (ck_slot_id_t slot_id, struct ck_slot_info *info));
738 (ck_slot_id_t slot_id, struct ck_token_info *info));
742 (ck_slot_id_t slot_id,
746 (ck_slot_id_t slot_id, ck_mechanism_type_t type,
749 (ck_slot_id_t slot_id, unsigned char *pin,
760 (ck_slot_id_t slot_id, ck_flags_t flags,
764 _CK_DECLARE_FUNCTION (C_CloseAllSessions, (ck_slot_id_t slot_id));
1302 #undef slot_id