Lines Matching full:statesize
199 // Basically (OneState*)(nodes + statesize*nodeindex)
201 static inline OneState* IndexToNode(volatile uint8* nodes, int statesize,
204 const_cast<uint8*>(nodes + statesize*nodeindex));
246 volatile uint32 statesize = onepass_statesize_;
264 state = IndexToNode(nodes, statesize, nextindex);
391 int statesize = sizeof(OneState) + (bytemap_range_-1)*sizeof(uint32);
392 if (maxnodes >= 65000 || dfa_mem_ / 4 / statesize < maxnodes)
404 uint8* nodes = new uint8[maxnodes*statesize];
410 nodep += statesize;
415 OneState* node = IndexToNode(nodes, statesize, nodeindex);
458 nodep += statesize;
576 OneState* node = IndexToNode(nodes, statesize, nodeindex);
593 nodep = new uint8[nalloc*statesize];
594 memmove(nodep, nodes, nalloc*statesize);
598 onepass_start_ = IndexToNode(nodes, statesize, nodebyid[start()]);
600 onepass_statesize_ = statesize;
601 dfa_mem_ -= nalloc*statesize;