Lines Matching refs:parentState
1270 struct ParentState * parentState = data->parents->data;
1272 switch( parentState->bencType )
1276 const int i = parentState->childIndex++;
1280 const bool isLast = parentState->childIndex == parentState->childCount;
1291 const bool isLast = ++parentState->childIndex == parentState->childCount;
1309 struct ParentState * parentState = tr_new( struct ParentState, 1 );
1311 parentState->bencType = benc->type;
1312 parentState->childIndex = 0;
1313 parentState->childCount = benc->val.l.count;
1314 tr_list_prepend( &data->parents, parentState );