Lines Matching refs:segmentIndex
485 unsigned segmentIndex = 0;
488 for(segmentIndex = 0; segmentIndex < theModule->mSegmentCount; segmentIndex++)
490 if(0 == strcmp(segment, theModule->mSegments[segmentIndex].mSegment))
496 if(segmentIndex == theModule->mSegmentCount)
505 memset(theModule->mSegments + segmentIndex, 0, sizeof(SegmentStats));
507 theModule->mSegments[segmentIndex].mClass = segmentClass;
508 theModule->mSegments[segmentIndex].mSegment = strdup(segment);
509 if(NULL == theModule->mSegments[segmentIndex].mSegment)
525 theSegment = (theModule->mSegments + segmentIndex);