Lines Matching refs:anotherString
2218 /* java.lang.String.compareTo(String anotherString) */
2221 /* $a1 holds address of "anotherString" */
2223 beq $a0, $a1, .Lstring_compareto_length_diff # this and anotherString are the same object
2228 lw $a5, MIRROR_STRING_COUNT_OFFSET($a1) # 'count' field of anotherString
2230 sra $a3, $a5, 1 # anotherString.length()
2233 lw $a3, MIRROR_STRING_COUNT_OFFSET($a1) # anotherString.length()
2237 # $t2 now holds min(this.length(),anotherString.length())
2239 # while min(this.length(),anotherString.length())-i != 0
2241 # return (this.length() - anotherString.length())
2261 subu $t2, $t2, 1 # new value of min(this.length(),anotherString.length())-i
2263 daddiu $a1, $a1, 2 # point at anotherString.charAt(i++) - uncompressed
2265 subu $v0, $a2, $a3 # return (this.length() - anotherString.length())
2272 subu $t2, $t2, 1 # new value of min(this.length(),anotherString.length())-i
2274 daddiu $a1, $a1, 1 # point at anotherString.charAt(i++) - compressed
2276 subu $v0, $a2, $a3 # return (this.length() - anotherString.length())
2283 subu $t2, $t2, 1 # new value of min(this.length(),anotherString.length())-i
2285 daddiu $a1, $a1, 1 # point at anotherString.charAt(i++) - compressed
2287 subu $v0, $a2, $a3 # return (this.length() - anotherString.length())
2291 lhu $t0, MIRROR_STRING_VALUE_OFFSET($a0) # while this.charAt(i) == anotherString.charAt(i)
2293 bnec $t0, $t1, .Lstring_compareto_char_diff # if this.charAt(i) != anotherString.charAt(i)
2294 # return (this.charAt(i) - anotherString.charAt(i))
2296 subu $t2, $t2, 1 # new value of min(this.length(),anotherString.length())-i
2298 daddiu $a1, $a1, 2 # point at anotherString.charAt(i++)
2302 subu $v0, $a2, $a3 # return (this.length() - anotherString.length())
2306 subu $v0, $t0, $t1 # return (this.charAt(i) - anotherString.charAt(i))