Home
last modified time | relevance | path

Searched refs:tagid (Results 1 – 13 of 13) sorted by relevance

/reactos/dll/appcompat/apphelp/
H A Dsdbread.c30 static DWORD WINAPI SdbpGetTagSize(PDB pdb, TAGID tagid) in SdbpGetTagSize() argument
35 type = SdbGetTagFromTagID(pdb, tagid) & TAG_TYPE_MASK; in SdbpGetTagSize()
39 size = SdbGetTagDataSize(pdb, tagid); in SdbpGetTagSize()
52 tag = SdbGetTagFromTagID(pdb, tagid); in SdbpGetString()
63 if (!SdbpReadData(pdb, &tagid, tagid + sizeof(TAG), sizeof(TAGID))) in SdbpGetString()
70 offset = tagid + sizeof(TAG) + sizeof(TAGID); in SdbpGetString()
93 TAG WINAPI SdbGetTagFromTagID(PDB pdb, TAGID tagid) in SdbGetTagFromTagID() argument
96 if (!SdbpReadData(pdb, &data, tagid, sizeof(data))) in SdbGetTagFromTagID()
109 DWORD WINAPI SdbGetTagDataSize(PDB pdb, TAGID tagid) in SdbGetTagDataSize() argument
268 string = SdbpGetString(pdb, tagid, &string_size); in SdbReadStringTag()
[all …]
H A Dsdbwrite.c29 BOOL WINAPI SdbWriteStringRefTag(PDB pdb, TAG tag, TAGID tagid);
32 BOOL WINAPI SdbEndWriteListTag(PDB pdb, TAGID tagid);
72 *tagid = buf->write_iter + sizeof(TAG) + sizeof(DWORD); in SdbpGetOrAddStringRef()
73 if (SdbpAddStringToTable(&pdb->string_lookup, string, tagid)) in SdbpGetOrAddStringRef()
226 TAGID tagid = 0; in SdbWriteStringTag() local
227 if (!SdbpGetOrAddStringRef(pdb, string, &tagid)) in SdbWriteStringTag()
230 return SdbWriteStringRefTag(pdb, tag, tagid); in SdbWriteStringTag()
259 SdbpWrite(pdb, &tagid, sizeof(tagid)); in SdbWriteStringRefTag()
343 BOOL WINAPI SdbEndWriteListTag(PDB pdb, TAGID tagid) in SdbEndWriteListTag() argument
347 if (!SdbpCheckTagIDType(pdb, tagid, TAG_TYPE_LIST)) in SdbEndWriteListTag()
[all …]
H A Dapphelp.h108 LPWSTR WINAPI SdbGetStringTagPtr(PDB pdb, TAGID tagid);
118 TAG WINAPI SdbGetTagFromTagID(PDB pdb, TAGID tagid);
122 DWORD WINAPI SdbReadDWORDTag(PDB pdb, TAGID tagid, DWORD ret);
123 QWORD WINAPI SdbReadQWORDTag(PDB pdb, TAGID tagid, QWORD ret);
126 DWORD WINAPI SdbGetTagDataSize(PDB pdb, TAGID tagid);
127 LPWSTR WINAPI SdbpGetString(PDB pdb, TAGID tagid, PDWORD size);
128 BOOL WINAPI SdbReadBinaryTag(PDB pdb, TAGID tagid, PBYTE buffer, DWORD size);
H A Dsdbstringtable.c147 …ng(struct SdbStringHashTable* table, struct SdbHashEntry** position, const WCHAR* str, TAGID tagid) in HashAddString() argument
163 entry->Tagid = tagid; in HashAddString()
169 BOOL SdbpAddStringToTable(struct SdbStringHashTable** table, const WCHAR* str, TAGID* tagid) in SdbpAddStringToTable() argument
186 *tagid = (*entry)->Tagid; in SdbpAddStringToTable()
189 return HashAddString(*table, entry, str, *tagid); in SdbpAddStringToTable()
H A Dsdbwrite.h24 BOOL WINAPI SdbWriteStringRefTag(PDB db, TAG tag, TAGID tagid);
28 BOOL WINAPI SdbEndWriteListTag(PDB db, TAGID tagid);
H A Dsdbpapi.h61 BOOL WINAPI SdbpCheckTagIDType(PDB pdb, TAGID tagid, WORD type);
H A Dsdbapi.c261 BOOL WINAPI SdbpCheckTagIDType(PDB pdb, TAGID tagid, WORD type) in SdbpCheckTagIDType() argument
263 TAG tag = SdbGetTagFromTagID(pdb, tagid); in SdbpCheckTagIDType()
/reactos/sdk/tools/xml2sdb/
H A Dxml2sdb.h186 BOOL EndWriteListTag(PDB pdb, TAGID tagid);
188 void InsertShimTagid(const sdbstring& name, TAGID tagid);
189 inline void InsertShimTagid(const std::string& name, TAGID tagid) in InsertShimTagid()
191 InsertShimTagid(sdbstring(name.begin(), name.end()), tagid); in InsertShimTagid()
200 void InsertPatchTagid(const sdbstring& name, TAGID tagid);
201 inline void InsertPatchTagid(const std::string& name, TAGID tagid) in InsertPatchTagid()
203 InsertPatchTagid(sdbstring(name.begin(), name.end()), tagid); in InsertPatchTagid()
211 void InsertFlagTagid(const sdbstring& name, TAGID tagid);
212 inline void InsertFlagTagid(const std::string& name, TAGID tagid) in InsertFlagTagid()
214 InsertFlagTagid(sdbstring(name.begin(), name.end()), tagid); in InsertFlagTagid()
H A Dxml2sdb.cpp258 TAGID tagid = db.BeginWriteListTag(pdb, TAG_INEXCLUD); in toSdb() local
262 return !!db.EndWriteListTag(pdb, tagid); in toSdb()
314 return !!db.EndWriteListTag(pdb, tagid); in toSdb()
337 return !!db.EndWriteListTag(pdb, tagid); in toSdb()
538 return !!db.EndWriteListTag(pdb, tagid); in toSdb()
629 BOOL Database::EndWriteListTag(PDB pdb, TAGID tagid) in EndWriteListTag() argument
631 return SdbEndWriteListTag(pdb, tagid); in EndWriteListTag()
721 lookup[nameLower] = tagid; in InsertTagid()
736 InsertTagid(name, tagid, KnownShims, "Shim"); in InsertShimTagid()
746 InsertTagid(name, tagid, KnownPatches, "Patch"); in InsertPatchTagid()
[all …]
H A Dmain.cpp114 TAG WINAPI SdbGetTagFromTagID(PDB pdb, TAGID tagid) in SdbGetTagFromTagID() argument
117 if (!SdbpReadData(pdb, &data, tagid, sizeof(data))) in SdbGetTagFromTagID()
122 BOOL WINAPI SdbpCheckTagIDType(PDB pdb, TAGID tagid, WORD type) in SdbpCheckTagIDType() argument
124 TAG tag = SdbGetTagFromTagID(pdb, tagid); in SdbpCheckTagIDType()
/reactos/modules/rostests/apitests/apphelp/
H A Ddb.cpp301 ok(tagid == _TAGID_ROOT, "unexpected tagid %u, expected %u\n", tagid, _TAGID_ROOT); in test_Sdb()
313 tagid = pSdbGetNextChild(pdb, TAGID_ROOT, tagid); in test_Sdb()
335 tagid = pSdbGetNextChild(pdb, TAGID_ROOT, tagid); in test_Sdb()
352 tagid = pSdbGetNextChild(pdb, ptagid, tagid); in test_Sdb()
357 tagid = pSdbGetNextChild(pdb, ptagid, tagid); in test_Sdb()
1214 TAGID tagid; in test_mode_generic() local
1304 tagid = 0x76543210; in test_mode_generic()
1332 tagid = 0x76543210; in test_mode_generic()
1358 tagid = 0x76543210; in test_mode_generic()
1361 ok(tagid == 0, "Expected tagid to be set to 0, was: 0x%x\n", tagid); in test_mode_generic()
[all …]
H A Denv.c278 TAGID tagid = 0xdeadbeef; in ValidateShim() local
284 ret = pSdbTagRefToTagID(hsdb, trLayer, &pdb, &tagid); in ValidateShim()
290 … ok(tagid != 0 && tagid != 0xdeadbeef, "Expected tagid to be a valid tag id, was: 0x%x\n", tagid); in ValidateShim()
291 tag = pSdbGetTagFromTagID(pdb, tagid); in ValidateShim()
/reactos/dll/3rdparty/libtiff/
H A Dtif_dirread.c156 …FDirEntry* TIFFReadDirectoryFindEntry(TIFF* tif, TIFFDirEntry* dir, uint16 dircount, uint16 tagid);
157 static void TIFFReadDirectoryFindFieldInfo(TIFF* tif, uint16 tagid, uint32* fii);
4344 TIFFReadDirectoryFindEntry(TIFF* tif, TIFFDirEntry* dir, uint16 dircount, uint16 tagid) in TIFFReadDirectoryFindEntry() argument
4351 if (m->tdir_tag==tagid) in TIFFReadDirectoryFindEntry()
4358 TIFFReadDirectoryFindFieldInfo(TIFF* tif, uint16 tagid, uint32* fii) in TIFFReadDirectoryFindFieldInfo() argument
4371 if (tif->tif_fields[mb]->field_tag==(uint32)tagid) in TIFFReadDirectoryFindFieldInfo()
4373 if (tif->tif_fields[mb]->field_tag<(uint32)tagid) in TIFFReadDirectoryFindFieldInfo()
4382 if (tif->tif_fields[mb-1]->field_tag!=(uint32)tagid) in TIFFReadDirectoryFindFieldInfo()