Lines Matching defs:pszType

177  * @param   pszType     The type string, doesn't need to be terminated.
178 * @param cchType The number of chars in @a pszType to compare.
181 DECLINLINE(int) rtstrFormatTypeCompare(const char *pszType, size_t cchType, PCRTSTRDYNFMT pType)
184 int iDiff = memcmp(pszType, pType->szType, cch);
199 * @param pszType The type to look up. This doesn't have to be terminated.
202 DECLINLINE(int32_t) rtstrFormatTypeLookup(const char *pszType, size_t cchType)
212 int iDiff = rtstrFormatTypeCompare(pszType, cchType, &g_aTypes[i]);
243 * @param pszType The type name.
248 RTDECL(int) RTStrFormatTypeRegister(const char *pszType, PFNRTSTRFORMATTYPE pfnHandler, void *pvUser)
258 AssertPtr(pszType);
259 cchType = strlen(pszType);
276 int iDiff = rtstrFormatTypeCompare(pszType, cchType, &g_aTypes[i]);
295 memcpy(&g_aTypes[i].szType[0], pszType, cchType + 1);
327 * @param pszType The type to deregister.
329 RTDECL(int) RTStrFormatTypeDeregister(const char *pszType)
336 AssertPtr(pszType);
342 i = rtstrFormatTypeLookup(pszType, strlen(pszType));
371 * @param pszType The type to update.
374 RTDECL(int) RTStrFormatTypeSetUser(const char *pszType, void *pvUser)
381 AssertPtr(pszType);
388 i = rtstrFormatTypeLookup(pszType, strlen(pszType));
424 char const *pszType;
432 pszType = *ppszFormat + 2;
433 *ppszFormat = pszType;
434 Assert(pszType[-1] == '[');
435 Assert(pszType[-2] == 'R');
436 pszTypeEnd = pszType;
451 i = rtstrFormatTypeLookup(pszType, pszTypeEnd - pszType);
470 cch += pfnOutput(pvArgOutput, pszType, pszTypeEnd - pszType);