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

  /external/chromium/chrome/browser/profiles/
profile_keyed_service_factory.cc 22 DCHECK(mapping_.empty());
41 mapping_.find(profile);
42 if (it != mapping_.end()) {
48 mapping_.erase(it);
64 DCHECK(mapping_.find(profile) == mapping_.end());
65 mapping_.insert(std::make_pair(profile, service));
78 mapping_.find(profile);
79 if (it != mapping_.end() && it->second)
85 mapping_.find(profile)
    [all...]
profile_keyed_service_factory.h 88 // default implementation removes it from |mapping_| and deletes the pointer.
97 std::map<Profile*, ProfileKeyedService*> mapping_; member in class:ProfileKeyedServiceFactory
  /external/chromium_org/courgette/
memory_allocator.cc 65 FileMapping::FileMapping() : mapping_(NULL), view_(NULL) {
74 DCHECK(mapping_ != NULL);
75 view_ = ::MapViewOfFile(mapping_, FILE_MAP_WRITE, 0, 0, size);
86 mapping_ = ::CreateFileMapping(file, NULL, PAGE_READWRITE, 0, 0, NULL);
87 if (!mapping_)
96 if (mapping_)
97 ::CloseHandle(mapping_);
98 mapping_ = NULL;
125 !mapping_.Create(file_.handle(), size)) {
130 TempMapping** write = reinterpret_cast<TempMapping**>(mapping_.view())
    [all...]
memory_allocator.h 104 HANDLE mapping_; member in class:courgette::FileMapping
134 FileMapping mapping_; member in class:courgette::TempMapping
  /external/chromium_org/components/browser_context_keyed_service/
browser_context_keyed_service_factory.cc 50 DCHECK(mapping_.empty());
63 BrowserContextKeyedServices::const_iterator it = mapping_.find(context);
64 if (it != mapping_.end())
94 DCHECK(!ContainsKey(mapping_, context));
95 mapping_.insert(std::make_pair(context, service));
100 BrowserContextKeyedServices::iterator it = mapping_.find(context);
101 if (it != mapping_.end()) {
103 mapping_.erase(it);
109 BrowserContextKeyedServices::iterator it = mapping_.find(context);
110 if (it != mapping_.end() && it->second
    [all...]
refcounted_browser_context_keyed_service_factory.cc 52 DCHECK(mapping_.empty());
65 RefCountedStorage::const_iterator it = mapping_.find(context);
66 if (it != mapping_.end())
96 DCHECK(!ContainsKey(mapping_, context));
97 mapping_.insert(std::make_pair(context, service));
102 RefCountedStorage::iterator it = mapping_.find(context);
103 if (it != mapping_.end() && it->second.get())
111 mapping_.erase(context);
browser_context_keyed_service_factory.h 96 // and the default implementation removes it from |mapping_| and deletes
117 BrowserContextKeyedServices mapping_; member in class:BrowserContextKeyedServiceFactory
refcounted_browser_context_keyed_service_factory.h 92 RefCountedStorage mapping_; member in class:RefcountedBrowserContextKeyedServiceFactory
  /external/chromium_org/net/dns/
address_sorter_posix_unittest.cc 34 : mapping_(mapping), connected_(false) {}
68 AddressMapping::const_iterator it = mapping_->find(remote.address());
69 if (it == mapping_->end())
82 const AddressMapping* mapping_; member in class:net::__anon11746::TestUDPClientSocket
100 return scoped_ptr<DatagramClientSocket>(new TestUDPClientSocket(&mapping_));
122 mapping_[dst] = src;
126 AddressMapping mapping_; member in class:net::__anon11746::TestSocketFactory
  /external/chromium_org/chrome/installer/test/
alternate_version_generator.cc 152 MappedFile() : size_(), mapping_(), view_() { }
159 HANDLE mapping_; member in class:__anon9479::MappedFile
170 if (mapping_ != NULL) {
171 if (CloseHandle(mapping_) == 0) {
178 DCHECK(mapping_ == NULL);
185 mapping_ = CreateFileMapping(file, NULL, PAGE_READWRITE, 0,
187 if (mapping_ != NULL) {
188 view_ = MapViewOfFile(mapping_, FILE_MAP_WRITE, 0, 0,
  /external/chromium_org/components/variations/
entropy_provider_unittest.cc 107 : mapping_(kMaxLowEntropySize) {
113 &mapping_);
122 return mapping_[low_entropy_source] /
127 std::vector<uint16> mapping_; member in class:metrics::__anon10255::PermutedEntropyGenerator
  /external/chromium/chrome/browser/extensions/
extension_preference_api.cc 120 mapping_.find(extension_pref);
121 if (it != mapping_.end()) {
158 mapping_[kPrefMapping[i].extension_pref] =
167 DCHECK_EQ(arraysize(kPrefMapping), mapping_.size());
185 std::map<std::string, std::pair<std::string, std::string> > mapping_; member in class:__anon4557::PrefMapping
  /external/chromium_org/chrome/browser/extensions/api/preference/
preference_api.cc 154 PrefMap::iterator it = mapping_.find(extension_pref);
155 if (it != mapping_.end()) {
191 mapping_[kPrefMapping[i].extension_pref] =
200 DCHECK_EQ(arraysize(kPrefMapping), mapping_.size());
224 PrefMap mapping_; member in class:extensions::__anon7496::PrefMapping

Completed in 287 milliseconds