Lines Matching defs:p2
229 nsRefPtr<TestRefObject> p2( p1 );
237 nsRefPtr<TestRefObject> p2( p1 );
239 ((p1 == p2) && !(p1 != p2)) ? "OK" : "broken");
244 nsRefPtr<TestRefObject> p2( p1 );
246 ((p1 == p2) && !(p1 != p2)) ? "OK" : "broken");
251 const nsRefPtr<TestRefObject> p2( p1 );
253 ((p1 == p2) && !(p1 != p2)) ? "OK" : "broken");
258 const nsRefPtr<TestRefObject> p2( p1 );
260 ((p1 == p2) && !(p1 != p2)) ? "OK" : "broken");
265 TestRefObject * p2 = p1;
267 ((p1 == p2) && !(p1 != p2) && (p2 == p1) && !(p2 != p1)) ? "OK" : "broken");
272 TestRefObject * p2 = p1;
274 ((p1 == p2) && !(p1 != p2) && (p2 == p1) && !(p2 != p1)) ? "OK" : "broken");
280 TestRefObject * const p2 = p1;
282 ((p1 == p2) && !(p1 != p2) && (p2 == p1) && !(p2 != p1)) ? "OK" : "broken");
287 TestRefObject * const p2 = p1;
289 ((p1 == p2) && !(p1 != p2) && (p2 == p1) && !(p2 != p1)) ? "OK" : "broken");
295 const TestRefObject * p2 = p1;
297 ((p1 == p2) && !(p1 != p2) && (p2 == p1) && !(p2 != p1)) ? "OK" : "broken");
302 const TestRefObject * p2 = p1;
304 ((p1 == p2) && !(p1 != p2) && (p2 == p1) && !(p2 != p1)) ? "OK" : "broken");
309 const TestRefObject * const p2 = p1;
311 ((p1 == p2) && !(p1 != p2) && (p2 == p1) && !(p2 != p1)) ? "OK" : "broken");
316 const TestRefObject * const p2 = p1;
318 ((p1 == p2) && !(p1 != p2) && (p2 == p1) && !(p2 != p1)) ? "OK" : "broken");
345 TestObjectBaseB *p2 = p1;
347 ((NS_STATIC_CAST(void*, p1) != NS_STATIC_CAST(void*, p2)) &&
348 (p1 == p2) && !(p1 != p2) && (p2 == p1) && !(p2 != p1))
354 nsAutoPtr<TestObjectBaseB> p2(p1);
356 ((NS_STATIC_CAST(void*, p1) != NS_STATIC_CAST(void*, p2)) &&
357 (p1 == p2) && !(p1 != p2) && (p2 == p1) && !(p2 != p1))
364 nsRefPtr<TestRefObjectBaseB> p2 = p1.get();
366 ((NS_STATIC_CAST(void*, p1) != NS_STATIC_CAST(void*, p2)) &&
367 (p1 == p2) && !(p1 != p2) && (p2 == p1) && !(p2 != p1))
373 TestRefObjectBaseB *p2 = p1;
375 ((NS_STATIC_CAST(void*, p1) != NS_STATIC_CAST(void*, p2)) &&
376 (p1 == p2) && !(p1 != p2) && (p2 == p1) && !(p2 != p1))
382 nsRefPtr<TestRefObjectBaseB> p2 = p1;
384 ((NS_STATIC_CAST(void*, p1) != NS_STATIC_CAST(void*, p2)) &&
385 (p1 == p2) && !(p1 != p2) && (p2 == p1) && !(p2 != p1))