Lines Matching refs:compare
316 int compare = CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues(string, str); in FindStringId() local
317 if (compare > 0) { in FindStringId()
319 } else if (compare < 0) { in FindStringId()
336 int compare = CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues(string, str); in FindTypeId() local
337 if (compare > 0) { in FindTypeId()
339 } else if (compare < 0) { in FindTypeId()
374 int compare = return_type_idx.index_ - proto.return_type_idx_.index_; in FindProtoId() local
375 if (compare == 0) { in FindProtoId()
378 while (it.HasNext() && i < signature_length && compare == 0) { in FindProtoId()
379 compare = signature_type_idxs[i].index_ - it.GetTypeIdx().index_; in FindProtoId()
383 if (compare == 0) { in FindProtoId()
385 compare = -1; in FindProtoId()
387 compare = 1; in FindProtoId()
391 if (compare > 0) { in FindProtoId()
393 } else if (compare < 0) { in FindProtoId()