Searched refs:from_upperleft (Results 1 – 2 of 2) sorted by relevance
1944 short from_upperleft; in dynamic_align() local1945 if (i>0 && j>0) from_upperleft = table[i-1][j-1] + is_matched_ij; in dynamic_align()1946 else from_upperleft = is_matched_ij; in dynamic_align()1947 if ((i ==0 || j ==0) && (i+j>0)) from_upperleft += DPALIGN_CREATEGAP_PENALTY; in dynamic_align()1949 if (from_upperleft <=from_left || from_upperleft <= from_upper) in dynamic_align()1952 table[i][j]=max(0,max(from_upper, max(from_left, from_upperleft))); in dynamic_align()
4663 short from_upperleft; in core_dynamic_align() local4665 if (i>0 && j>0) from_upperleft = table[i-1][j-1] + is_matched_ij; in core_dynamic_align()4666 else if(i==0 && j==0) from_upperleft = is_matched_ij; in core_dynamic_align()4667 else from_upperleft = -9999; in core_dynamic_align()4669 if (from_upperleft == from_upper && from_upperleft > from_left) in core_dynamic_align()4674 else if(from_upperleft == from_left && from_upperleft > from_upper) in core_dynamic_align()4679 else if(from_upperleft > from_left && from_upperleft > from_upper) in core_dynamic_align()4682 table[i][j] = from_upperleft; in core_dynamic_align()4684 else if(from_upperleft == from_left && from_upperleft == from_upper) in core_dynamic_align()4687 table[i][j] = from_upperleft; in core_dynamic_align()