Lines Matching defs:Before
107 UniquePosition UniquePosition::Before(
112 const std::string& before = FindSmallerWithSuffix(
114 return UniquePosition(before + suffix, suffix);
130 const UniquePosition& before,
133 DCHECK(before.IsValid());
135 DCHECK(before.LessThan(after));
138 Uncompress(before.compressed_),
293 const std::string& before,
297 DCHECK_NE(before, after);
298 DCHECK_LT(before, after);
303 if (before < suffix && suffix < after) {
308 for ( ; i < std::min(before.length(), after.length()); ++i) {
309 uint8 a_digit = before[i];
320 if (before.substr(i+1) < suffix && suffix < after.substr(i+1)) {
333 // appending digits until |mid| > |before|.
336 mid_a.append(FindGreaterWithSuffix(before.substr(i+1), suffix));
338 // Option B: Round up the current digit. This makes our |mid| > |before|,
358 DCHECK_EQ(before.substr(0, i), after.substr(0, i));
359 DCHECK_EQ(before, mid);
360 DCHECK_LT(before.length(), after.length());
364 // value, will make |before| < |mid|. Therefore, the following will get us a