Lines Matching refs:len2
1519 uint32 len2 = strlenAsUint32 (s); in EndsWith() local
1521 if (len1 < len2) in EndsWith()
1526 const char *t = Get () + (len1 - len2); in EndsWith()
1565 uint32 len2 = strlenAsUint32 (s); in Contains() local
1567 if (len1 < len2) in Contains()
1572 uint32 offsets = len1 - len2; in Contains()
1630 uint32 len2 = strlenAsUint32 (old_string); in Replace() local
1633 if (len2 == len3) in Replace()
1642 else if (len2 > len3) in Replace()
1649 const char *s = fData.Buffer_char () + match_offset + len2; in Replace()
1652 uint32 extra = len1 - match_offset - len2 + 1; // + 1 for NULL termination in Replace()
1667 SafeUint32Add (SafeUint32Add (len1 - len2, len3), 1)); in Replace()
1687 uint32 extra = len1 - match_offset - len2 + 1; // + 1 for NULL termination in Replace()
1690 fData .Buffer_char () + match_offset + len2, in Replace()
1729 uint32 len2 = strlenAsUint32 (s); in Append() local
1731 if (len2) in Append()
1736 dng_memory_data temp (SafeUint32Add (SafeUint32Add (len1, len2), 1)); in Append()
1745 memcpy (buffer + len1, s, len2 + 1); in Append()