Searched refs:ConstRef (Results 1 - 11 of 11) sorted by relevance

/external/chromium_org/mojo/public/bindings/lib/
H A Darray_internal.h25 typedef T const& ConstRef; typedef in struct:mojo::internal::ArrayDataTraits
33 static ConstRef ToConstRef(const StorageType* storage, size_t offset) {
43 typedef P* const& ConstRef; typedef in struct:mojo::internal::ArrayDataTraits
51 static ConstRef ToConstRef(const StorageType* storage, size_t offset) {
82 typedef bool ConstRef; typedef in struct:mojo::internal::ArrayDataTraits
102 typedef typename Traits::ConstRef ConstRef; typedef in class:mojo::internal::Array_Data
118 ConstRef at(size_t offset) const {
155 typedef const T& ConstRef;
164 static ConstRef ToConstRe
[all...]
H A Darray.h24 typedef typename Traits_::ConstRef ConstRef; typedef in class:mojo::Array
54 ConstRef at(size_t offset) const {
57 ConstRef operator[](size_t offset) const { return at(offset); }
/external/chromium/base/
H A Dbind_unittest.cc474 // 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));
H A Dbind_helpers.h9 // 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) { function in namespace:base
/external/chromium_org/base/
H A Dbind_unittest.cc645 // 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);
H A Dbind_helpers.h16 // 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
502 static inline internal::ConstRefWrapper<T> ConstRef(const T& o) { function in namespace:base
/external/chromium_org/sync/engine/
H A Dsyncer.cc69 base::ConstRef(nudge_tracker)))) {
/external/chromium_org/chrome/browser/media_galleries/
H A Dmedia_file_system_registry_unittest.cc488 base::ConstRef(empty_names),
489 base::ConstRef(empty_expectation)));
498 base::ConstRef(compare_names_read_),
499 base::ConstRef(regular_extension_galleries)));
508 base::ConstRef(compare_names_all_),
509 base::ConstRef(all_extension_galleries)));
/external/chromium_org/chrome/browser/net/
H A Ddns_probe_browsertest.cc44 using base::ConstRef;
/external/chromium_org/chrome/browser/ui/webui/
H A Dbidi_checker_web_ui_test.cc76 base::Bind(&ReloadLocaleResourcesOnIOThread, base::ConstRef(new_locale)),
/external/clang/lib/Sema/
H A DSemaDeclCXX.cpp5929 const char *ConstRef local
5933 << FixItHint::CreateInsertion(ParamLoc, ConstRef);

Completed in 585 milliseconds