Home | History | Annotate | Download | only in native

Lines Matching refs:interned

38  * Wrapper around an interned string.
41 InternedString() : interned(NULL), bytes(NULL) {
48 /** The interned string itself. */
49 jstring interned;
51 /** UTF-8 equivalent of the interned string. */
54 /** Hash code of the interned string. */
114 // Free interned string cache.
120 // Free the interned string reference.
121 env->DeleteGlobalRef(current->interned);
191 /** Cache of interned strings. */
247 * Creates a new interned string wrapper. Looks up the interned string
252 * @returns wrapper of interned Java string
276 // intern() on it. We then keep a global reference to the interned string.
283 ScopedLocalRef<jstring> interned(env,
289 // Create a global reference to the interned string.
290 wrapper->interned = reinterpret_cast<jstring>(env->NewGlobalRef(interned.get()));
314 * Expands an interned string bucket and adds the given entry. Frees the
341 * Returns an interned string for the given UTF-8 string.
346 * @returns interned Java string equivalent of s or null if not found
352 if (!strcmp(s, current->bytes)) return current->interned;
358 * Returns an interned string for the given UTF-8 string.
361 * @returns interned Java string equivelent of s or NULL if s is null
396 return internedString->interned;
412 return internedString->interned;
1097 * @returns interned Java string containing attribute's URI
1110 * @returns interned Java string containing attribute's local name
1123 * @returns interned Java string containing attribute's local name