| 352 | } |
| 353 | |
| 354 | UTF16* utf16() const |
| 355 | { |
| 356 | if( !mUTF16 ) |
| 357 | { |
| 358 | // Do this atomically to protect interned strings. |
| 359 | |
| 360 | UTF16* utf16 = createUTF16string( mData ); |
| 361 | if( !dCompareAndSwap( mUTF16,( UTF16* ) NULL, utf16 ) ) |
| 362 | delete [] utf16; |
| 363 | } |
| 364 | return mUTF16; |
| 365 | } |
| 366 | |
| 367 | U32 getHashCase() const |
| 368 | { |
nothing calls this directly
no test coverage detected