Lines Matching refs:pszState
126 static DECLCALLBACK(int) rtRandParkMillerSaveState(PRTRANDINT pThis, char *pszState, size_t *pcbState)
135 RTStrPrintf(pszState, *pcbState, "PM:%08RX32,%08RX32,%02x;",
144 static DECLCALLBACK(int) rtRandParkMillerRestoreState(PRTRANDINT pThis, char const *pszState)
147 if ( pszState[0] != 'P'
148 || pszState[1] != 'M'
149 || pszState[2] != ':')
151 pszState += 3;
156 int rc = RTStrToUInt32Ex(pszState, &pszNext, 16, &u32Ctx);
158 || pszNext != pszState + 8
161 pszState += 8 + 1;
165 rc = RTStrToUInt32Ex(pszState, &pszNext, 16, &u32Bits);
167 || pszNext != pszState + 8
170 pszState += 8 + 1;
174 rc = RTStrToUInt32Ex(pszState, &pszNext, 16, &cBits);
176 || pszNext != pszState + 2