Searched refs:from_idx (Results 1 – 3 of 3) sorted by relevance
110 __s8 from_idx; member117 __s8 from_idx; member
45 static void cvTsSimpleSeqShiftAndCopy( CvTsSimpleSeq* seq, int from_idx, int to_idx, void* elem=0 ) in cvTsSimpleSeqShiftAndCopy() argument49 if( from_idx == to_idx ) in cvTsSimpleSeqShiftAndCopy()51 assert( (from_idx > to_idx && !elem) || (from_idx < to_idx && elem) ); in cvTsSimpleSeqShiftAndCopy()53 if( from_idx < seq->count ) in cvTsSimpleSeqShiftAndCopy()55 memmove( seq->array + to_idx*elem_size, seq->array + from_idx*elem_size, in cvTsSimpleSeqShiftAndCopy()56 (seq->count - from_idx)*elem_size ); in cvTsSimpleSeqShiftAndCopy()58 seq->count += to_idx - from_idx; in cvTsSimpleSeqShiftAndCopy()59 if( elem && to_idx > from_idx ) in cvTsSimpleSeqShiftAndCopy()60 memcpy( seq->array + from_idx*elem_size, elem, (to_idx - from_idx)*elem_size ); in cvTsSimpleSeqShiftAndCopy()
266 uptr from_idx = nodeToIndex(from_node); in findEdge() local269 if (edges_[i].from == from_idx && edges_[i].to == to_idx) { in findEdge()