Lines Matching refs:FIRST_MID
42 # FIRST_MID Use this as the first midpoint, to avoid a midpoint that
154 FIRST_MID=`${REG_NEWMID} ${LATER_THAN} ${EARLIER_THAN}`
155 if [ ${FIRST_MID} -eq 0 ]; then
161 msg 1 "using ${FIRST_MID}, between ${LATER_THAN} and ${EARLIER_THAN}"
164 # Return with a valid LATER value or a new ID to try in FIRST_MID.
208 if [ ${FIRST_MID} -ne 0 ]; then
209 MID=${FIRST_MID}
210 FIRST_MID=0
223 # FIRST_MID being set is a signal that the build failed and we
226 test ${FIRST_MID} -ne 0 && return
288 msg 2 "FIRST_MID = ${FIRST_MID}"
304 # If FIRST_MID was defined, make sure it's in the range.
306 if [ "x${FIRST_MID}" != "x" ]; then
307 test ${FIRST_MID} -le ${LOW_PATCH} && \
308 error "FIRST_MID id is lower than LOW_PATCH"
309 test ${FIRST_MID} -ge ${HIGH_PATCH} && \
310 error "FIRST_MID is higher than HIGH_PATCH"
312 FIRST_MID=0
347 # If the build failed then FIRST_MID is set to a new patch to try.
352 test ${FIRST_MID} -eq 0 && break