Lines Matching defs:id
83 \param id the ID of the requested string
87 with ID \a id.
90 BResourceStrings::NewString(int32 id)
94 if (const char *str = FindString(id))
105 \param id the ID of the requested string
109 with ID \a id.
112 BResourceStrings::FindString(int32 id)
117 if (_string_id_hash *entry = _FindString(id))
161 int32 id;
164 while (fResources->GetResourceInfo(RESOURCE_TYPE, fStringCount, &id,
173 if (!fResources->GetResourceInfo(RESOURCE_TYPE, i, &id, &name,
179 = fResources->LoadResource(RESOURCE_TYPE, id, &length);
183 entry = _AddString(NULL, id, false);
185 entry = _AddString((char*)data, id, false);
248 /*! \brief Empties the id->string hash table.
265 /*! \brief Resizes the id->string hash table to the supplied size.
286 int32 newPos = entry->id % newSize;
303 /*! \brief Adds an entry to the id->string hash table.
306 \param id the id of the string
312 BResourceStrings::_AddString(char *str, int32 id, bool wasMalloced)
319 entry->id = id;
321 int32 pos = id % fHashTableSize;
330 \param id the ID
334 BResourceStrings::_FindString(int32 id)
338 int32 pos = id % fHashTableSize;
340 while (entry != NULL && entry->id != id)
363 id(0),