| 341 | } |
| 342 | |
| 343 | UTF16* utf16() const |
| 344 | { |
| 345 | if( !mUTF16 ) |
| 346 | { |
| 347 | // Do this atomically to protect interned strings. |
| 348 | |
| 349 | UTF16* utf16 = createUTF16string( mData ); |
| 350 | if( !dCompareAndSwap( mUTF16,( UTF16* ) NULL, utf16 ) ) |
| 351 | delete [] utf16; |
| 352 | } |
| 353 | return mUTF16; |
| 354 | } |
| 355 | |
| 356 | U32 getHashCase() const |
| 357 | { |
nothing calls this directly
no test coverage detected