13 if( (size_src != 0) && (size_patt != 0) && (size_patt <= size_src) && (start != 0))
17 start = size_src - size_patt + 1;
18 else if( start > size_src )
20 else if(start > size_src - size_patt)
21 start = size_src - size_patt + 1;
28 for( i=0; i<start; ++i )
30 for( j=0; j!=size_patt; ++j )
32 if( src[start-i+j-1] != patt[j] )