Lines Matching refs:compare
317 int compare = CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues(string, str); in FindStringId() local
318 if (compare > 0) { in FindStringId()
320 } else if (compare < 0) { in FindStringId()
337 int compare = CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues(string, str); in FindTypeId() local
338 if (compare > 0) { in FindTypeId()
340 } else if (compare < 0) { in FindTypeId()
375 int compare = return_type_idx.index_ - proto.return_type_idx_.index_; in FindProtoId() local
376 if (compare == 0) { in FindProtoId()
379 while (it.HasNext() && i < signature_length && compare == 0) { in FindProtoId()
380 compare = signature_type_idxs[i].index_ - it.GetTypeIdx().index_; in FindProtoId()
384 if (compare == 0) { in FindProtoId()
386 compare = -1; in FindProtoId()
388 compare = 1; in FindProtoId()
392 if (compare > 0) { in FindProtoId()
394 } else if (compare < 0) { in FindProtoId()