HomeSort by relevance Sort by last modified time
    Searched full:constref (Results 1 - 19 of 19) sorted by null

  /external/chromium_org/mojo/public/bindings/lib/
array_internal.h 25 typedef T const& ConstRef;
33 static ConstRef ToConstRef(const StorageType* storage, size_t offset) {
43 typedef P* const& ConstRef;
51 static ConstRef ToConstRef(const StorageType* storage, size_t offset) {
82 typedef bool ConstRef;
102 typedef typename Traits::ConstRef ConstRef;
118 ConstRef at(size_t offset) const {
155 typedef const T& ConstRef;
164 static ConstRef ToConstRef(typename T::Data* const& data)
    [all...]
array.h 24 typedef typename Traits_::ConstRef ConstRef;
54 ConstRef at(size_t offset) const {
57 ConstRef operator[](size_t offset) const { return at(offset); }
  /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));
callback.h.pump 97 // base::Bind(&Identity, base::ConstRef(value));
117 // 3) The arguments wrappers (eg., Unretained() and ConstRef()).
153 // (eg. Unretained(), and ConstRef()). These are simple container templates
162 // ConstRef() is similar to tr1::cref. Unretained() is specific to Chromium.
callback.h 94 // base::Bind(&Identity, base::ConstRef(value));
114 // 3) The arguments wrappers (eg., Unretained() and ConstRef()).
150 // (eg. Unretained(), and ConstRef()). These are simple container templates
159 // ConstRef() is similar to tr1::cref. Unretained() is specific to Chromium.
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
brw_wm_pass0.c 140 if (c->constref[i].constval == *constval)
141 return c->constref[i].ref;
151 c->constref[i].constval = *constval;
152 c->constref[i].ref = get_param_ref(c, constval);
154 return c->constref[i].ref;
brw_wm.h 248 struct brw_wm_constref constref[BRW_WM_MAX_CONST]; member in struct:brw_wm_compile
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_wm_pass0.c 140 if (c->constref[i].constval == *constval)
141 return c->constref[i].ref;
151 c->constref[i].constval = *constval;
152 c->constref[i].ref = get_param_ref(c, constval);
154 return c->constref[i].ref;
brw_wm.h 248 struct brw_wm_constref constref[BRW_WM_MAX_CONST]; member in struct:brw_wm_compile
  /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
502 static inline internal::ConstRefWrapper<T> ConstRef(const T& o) {
callback.h.pump 224 // base::Closure has_ref = base::Bind(&foo, base::ConstRef(n));
228 // Normally parameters are copied in the closure. DANGER: ConstRef stores a
249 // 3) The arguments wrappers (e.g., Unretained() and ConstRef()).
286 // (e.g., Unretained(), and ConstRef()). These are simple container templates
295 // ConstRef() is similar to tr1::cref. Unretained() is specific to Chromium.
callback.h 217 // Const references are *copied* unless ConstRef is used. Example:
222 // base::Closure has_ref = base::Bind(&foo, base::ConstRef(n));
228 // Normally parameters are copied in the closure. DANGER: ConstRef stores a
249 // 3) The arguments wrappers (e.g., Unretained() and ConstRef()).
286 // (e.g., Unretained(), and ConstRef()). These are simple container templates
295 // ConstRef() is similar to tr1::cref. Unretained() is specific to Chromium.
  /external/chromium_org/chrome/browser/media_galleries/
media_file_system_registry_unittest.cc 488 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)));
    [all...]
  /external/chromium_org/sync/engine/
syncer.cc 69 base::ConstRef(nudge_tracker)))) {
  /external/chromium_org/chrome/browser/net/
dns_probe_browsertest.cc 44 using base::ConstRef;
    [all...]
  /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 365 milliseconds