Lines Matching defs:pool
101 // Return the shared instance to this type's pool.
106 // Delete this type's pool.
111 // Register a new C++ object with the pool. This does not affect the Java
113 // assignments. Pass true to owns if the object pool owns the object.
122 // Return the object in the pool with the specified ID.
140 // object. Pass true to owns if the object pool owns the object.
150 // Remove the object with the given ID from this pool, and delete it. This
213 ObjectPool<T>* pool = ObjectPool<T>::Instance();
214 return pool ? pool->WrapObject(c_object, env, j_object, owns) : false;
222 ObjectPool<T>* pool = ObjectPool<T>::Instance();
223 if (pool) {
224 jobject result = pool->CreateJavaObject(env);
236 ObjectPool<T>* pool = ObjectPool<T>::Instance();
237 return pool && j_object
238 ? pool->ObjectWithID(pool->GetObjectID(env, j_object))
246 ObjectPool<T>* pool = ObjectPool<T>::Instance();
247 return pool && j_object
248 ? pool->DeleteObjectWithID(pool->GetObjectID(env, j_object))