Lines Matching defs:cGroups
780 const char *pszEnvVarBase, unsigned cGroups, const char * const *papszGroups,
793 if ( (cGroups && !papszGroups)
809 offInternal = RT_OFFSETOF(RTLOGGER, afGroups[cGroups]);
813 cbLogger += cGroups * sizeof(uint32_t);
821 pLogger->cGroups = cGroups;
834 pLogger->pInt->cMaxGroups = cGroups;
1025 const char *pszEnvVarBase, unsigned cGroups, const char * const * papszGroups,
1032 rc = RTLogCreateExV(ppLogger, fFlags, pszGroupSettings, pszEnvVarBase, cGroups, papszGroups,
1042 const char *pszEnvVarBase, unsigned cGroups, const char * const * papszGroups,
1051 rc = RTLogCreateExV(ppLogger, fFlags, pszGroupSettings, pszEnvVarBase, cGroups, papszGroups,
1090 iGroup = pLogger->cGroups;
1193 pLoggerRC->cGroups = 1;
1209 if (cbLoggerRC < (size_t)RT_OFFSETOF(RTLOGGERRC, afGroups[pLogger->cGroups]))
1211 AssertMsgFailed(("%d req=%d cGroups=%d\n", cbLoggerRC, RT_OFFSETOF(RTLOGGERRC, afGroups[pLogger->cGroups]), pLogger->cGroups));
1214 memcpy(&pLoggerRC->afGroups[0], &pLogger->afGroups[0], pLogger->cGroups * sizeof(pLoggerRC->afGroups[0]));
1215 pLoggerRC->cGroups = pLogger->cGroups;
1315 pLogger->cGroups = 1;
1356 RTDECL(size_t) RTLogCalcSizeForR0(uint32_t cGroups, uint32_t fFlags)
1358 size_t cb = RT_OFFSETOF(RTLOGGER, afGroups[cGroups]);
1362 cb += sizeof(uint32_t) * cGroups;
1386 pDstLogger->cGroups = 1;
1399 uint32_t cGroups = pSrcLogger->cGroups;
1400 if (cGroups > pDstInt->cMaxGroups)
1402 AssertMsgFailed(("cMaxGroups=%zd cGroups=%zd (min size %d)\n", pDstInt->cMaxGroups,
1403 pSrcLogger->cGroups, RT_OFFSETOF(RTLOGGER, afGroups[pSrcLogger->cGroups]) + RTLOGGERINTERNAL_R0_SIZE));
1405 cGroups = pDstInt->cMaxGroups;
1407 memcpy(&pDstLogger->afGroups[0], &pSrcLogger->afGroups[0], cGroups * sizeof(pDstLogger->afGroups[0]));
1408 pDstLogger->cGroups = cGroups;
1731 for (i = 0; i < pLogger->cGroups; i++)
1744 for (i = 0; i < pLogger->cGroups; i++)
1931 uint32_t cGroups;
1950 cGroups = pLogger->cGroups;
1956 for (i = 1; i < cGroups; i++)
1959 if (i >= cGroups)
1967 for (i = 0; i < cGroups; i++)
2792 if (iGroup != ~0U && iGroup >= pLogger->cGroups)
2826 && iGroup < pLogger->cGroups