HomeSort by relevance Sort by last modified time
    Searched refs:ConstRef (Results 1 - 9 of 9) sorted by null

  /external/chromium/base/
bind_helpers.h 9 // The public functions are base::Unretained() and base::ConstRef().
11 // ConstRef() allows binding a constant reference to an argument rather
32 // EXAMPLE OF ConstRef();
37 // Callback<void(void)> has_ref = Bind(&foo, ConstRef(n));
46 // Note that because ConstRef() takes a reference on |n|, |n| must outlive all
257 inline internal::ConstRefWrapper<T> ConstRef(const T& o) {
bind_unittest.cc 474 // ConstRef() wrapper support.
475 // - Binding w/o ConstRef takes a copy.
476 // - Binding a ConstRef takes a reference.
477 // - Binding ConstRef to a function ConstRef does not copy on invoke.
478 TEST_F(BindTest, ConstRef) {
482 Callback<int(void)> const_ref_cb = Bind(&Identity, ConstRef(n));
493 Bind(&GetCopies, ConstRef(counter));
  /external/chromium_org/sync/engine/
syncer.cc 75 base::ConstRef(nudge_tracker)))) {
  /external/chromium_org/base/
bind_unittest.cc 645 // ConstRef() wrapper support.
646 // - Binding w/o ConstRef takes a copy.
647 // - Binding a ConstRef takes a reference.
648 // - Binding ConstRef to a function ConstRef does not copy on invoke.
649 TEST_F(BindTest, ConstRef) {
653 Callback<int(void)> const_ref_cb = Bind(&Identity, ConstRef(n));
664 Bind(&GetCopies, ConstRef(counter));
681 Bind(&FunctionWithScopedRefptrFirstParam, base::ConstRef(refptr), 1);
bind_helpers.h 16 // base::ConstRef(), and base::IgnoreResult().
31 // ConstRef() allows binding a constant reference to an argument rather
75 // EXAMPLE OF ConstRef():
81 // Closure has_ref = Bind(&foo, ConstRef(n));
90 // Note that because ConstRef() takes a reference on |n|, |n| must outlive all
506 static inline internal::ConstRefWrapper<T> ConstRef(const T& o) {
  /external/chromium_org/chrome/browser/media_galleries/
media_file_system_registry_unittest.cc 495 base::ConstRef(empty_names),
496 base::ConstRef(empty_expectation)));
505 base::ConstRef(compare_names_read_),
506 base::ConstRef(regular_extension_galleries)));
515 base::ConstRef(compare_names_all_),
516 base::ConstRef(all_extension_galleries)));
    [all...]
  /external/chromium_org/chrome/browser/net/
dns_probe_browsertest.cc 36 using base::ConstRef;
  /external/chromium_org/chrome/browser/ui/webui/
bidi_checker_web_ui_test.cc 76 base::Bind(&ReloadLocaleResourcesOnIOThread, base::ConstRef(new_locale)),
  /external/clang/lib/Sema/
SemaDeclCXX.cpp     [all...]

Completed in 469 milliseconds