Home
last modified time | relevance | path

Searched refs:namespace_ (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium_org/third_party/libjingle/source/talk/xmllite/
Dqname.cc36 : namespace_(qname.namespace_), in QName()
41 : namespace_(const_value.ns), in QName()
46 : namespace_(ns), in QName()
55 namespace_ = merged_or_local.substr(0, i); in QName()
64 if (namespace_[0] == '\0') in Merged()
68 result.reserve(namespace_.length() + 1 + local_part_.length()); in Merged()
69 result += namespace_; in Merged()
76 return namespace_.empty() && local_part_.empty(); in IsEmpty()
84 return namespace_.compare(other.ns); in Compare()
92 return namespace_.compare(other.namespace_); in Compare()
Dqname.h61 const std::string& Namespace() const { return namespace_; } in Namespace()
86 std::string namespace_;
/external/chromium_org/third_party/webrtc/libjingle/xmllite/
Dqname.cc19 : namespace_(qname.namespace_), in QName()
24 : namespace_(const_value.ns), in QName()
29 : namespace_(ns), in QName()
38 namespace_ = merged_or_local.substr(0, i); in QName()
47 if (namespace_[0] == '\0') in Merged()
51 result.reserve(namespace_.length() + 1 + local_part_.length()); in Merged()
52 result += namespace_; in Merged()
59 return namespace_.empty() && local_part_.empty(); in IsEmpty()
67 return namespace_.compare(other.ns); in Compare()
75 return namespace_.compare(other.namespace_); in Compare()
Dqname.h44 const std::string& Namespace() const { return namespace_; } in Namespace()
69 std::string namespace_;
/external/chromium_org/cc/test/
Dtest_web_graphics_context_3d.cc78 namespace_ = NULL; in ~TestWebGraphicsContext3D()
84 namespace_ = shared_namespace_; in CreateNamespace()
86 namespace_ = new Namespace; in CreateNamespace()
87 shared_namespace_ = namespace_.get(); in CreateNamespace()
179 base::AutoLock lock(namespace_->lock); in genTextures()
181 namespace_->textures.Append(ids[i], new TestTexture()); in genTextures()
204 base::AutoLock lock(namespace_->lock); in deleteTextures()
206 namespace_->textures.Remove(ids[i]); in deleteTextures()
264 base::AutoLock lock(namespace_->lock); in createExternalTexture()
265 namespace_->textures.Append(kExternalTextureId, new TestTexture()); in createExternalTexture()
[all …]
/external/chromium_org/content/browser/dom_storage/
Ddom_storage_host.cc24 it->second.namespace_->CloseStorageArea(it->second.area_.get()); in ~DOMStorageHost()
34 references.namespace_ = context_->GetStorageNamespace(namespace_id); in OpenStorageArea()
35 if (!references.namespace_.get()) in OpenStorageArea()
37 references.area_ = references.namespace_->OpenStorageArea(origin); in OpenStorageArea()
47 found->second.namespace_->CloseStorageArea(found->second.area_.get()); in CloseStorageArea()
161 *alias_namespace_id = it->second.namespace_->namespace_id(); in HasAreaOpen()
172 if (namespace_id == it->second.namespace_->namespace_id()) { in ResetOpenAreasForNamespace()
174 it->second.namespace_->CloseStorageArea(it->second.area_.get()); in ResetOpenAreasForNamespace()
175 it->second.area_ = it->second.namespace_->OpenStorageArea(origin); in ResetOpenAreasForNamespace()
193 return found->second.namespace_.get(); in GetNamespace()
Ddom_storage_host.h64 scoped_refptr<DOMStorageNamespace> namespace_; member
/external/chromium_org/content/browser/appcache/
Dappcache_database_unittest.cc471 record.namespace_.namespace_url = kFooNameSpace1; in TEST()
472 record.namespace_.target_url = kFooFallbackEntry; in TEST()
478 record.namespace_.namespace_url = kFooNameSpace2; in TEST()
479 record.namespace_.target_url = kFooFallbackEntry; in TEST()
487 EXPECT_EQ(kFooNameSpace1, fallbacks[0].namespace_.namespace_url); in TEST()
488 EXPECT_EQ(kFooFallbackEntry, fallbacks[0].namespace_.target_url); in TEST()
489 EXPECT_FALSE(fallbacks[0].namespace_.is_pattern); in TEST()
496 EXPECT_EQ(kFooNameSpace2, fallbacks[0].namespace_.namespace_url); in TEST()
497 EXPECT_EQ(kFooFallbackEntry, fallbacks[0].namespace_.target_url); in TEST()
498 EXPECT_FALSE(fallbacks[0].namespace_.is_pattern); in TEST()
[all …]
Dappcache_database.cc713 int type_with_executable_bit = record->namespace_.type; in InsertNamespace()
714 if (record->namespace_.is_executable) { in InsertNamespace()
724 statement.BindString(3, record->namespace_.namespace_url.spec()); in InsertNamespace()
725 statement.BindString(4, record->namespace_.target_url.spec()); in InsertNamespace()
726 statement.BindBool(5, record->namespace_.is_pattern); in InsertNamespace()
969 record->namespace_.namespace_url = GURL(statement->ColumnString(3)); in ReadNamespaceRecord()
970 record->namespace_.target_url = GURL(statement->ColumnString(4)); in ReadNamespaceRecord()
971 record->namespace_.is_pattern = statement->ColumnBool(5); in ReadNamespaceRecord()
975 record->namespace_.type = static_cast<AppCacheNamespaceType> in ReadNamespaceRecord()
977 record->namespace_.is_executable = in ReadNamespaceRecord()
[all …]
Dappcache.cc169 intercept_namespaces_.push_back(intercepts.at(i).namespace_); in InitializeWithDatabaseRecords()
172 fallback_namespaces_.push_back(fallbacks.at(i).namespace_); in InitializeWithDatabaseRecords()
226 record.namespace_ = intercept_namespaces_[i]; in ToDatabaseRecords()
234 record.namespace_ = fallback_namespaces_[i]; in ToDatabaseRecords()
Dappcache_storage_impl.cc836 return lhs.namespace_.namespace_url.spec().length() > in SortByLength()
837 rhs.namespace_.namespace_url.spec().length(); in SortByLength()
1035 if (!iter->namespace_.IsMatch(url_)) in FindNamespaceHelper()
1068 if (database_->FindEntry((*iter)->cache_id, (*iter)->namespace_.target_url, in FindFirstValidNamespace()
1078 namespace_entry_url_ = (*iter)->namespace_.target_url; in FindFirstValidNamespace()
1079 if ((*iter)->namespace_.type == APPCACHE_FALLBACK_NAMESPACE) in FindFirstValidNamespace()
Dappcache_storage_impl_unittest.cc812 fallback_namespace_record.namespace_.target_url = kEntryUrl; in MakeGroupObsolete()
813 fallback_namespace_record.namespace_.namespace_url = kFallbackNamespace; in MakeGroupObsolete()
1394 fallback_namespace_record.namespace_.target_url = entry_record.url; in MakeMultipleHitCacheAndGroup()
1395 fallback_namespace_record.namespace_.namespace_url = kFallbackNamespace; in MakeMultipleHitCacheAndGroup()
1537 fallback_namespace_record.namespace_.target_url = kEntryUrl2; in FindMainResponseExclusions()
1538 fallback_namespace_record.namespace_.namespace_url = kFallbackNamespace; in FindMainResponseExclusions()
Dappcache_database.h86 AppCacheNamespace namespace_; member
/external/chromium_org/extensions/browser/api/cast_channel/
Dcast_message_util.cc35 message_proto->set_namespace_(message.namespace_); in MessageInfoToCastMessage()
66 if (message_proto.namespace_().empty() || message_proto.source_id().empty() || in IsCastMessageValid()
81 message->namespace_ = message_proto.namespace_(); in CastMessageToMessageInfo()
110 out += "namespace = " + message_proto.namespace_(); in CastMessageToString()
156 return message.namespace_() == kAuthNamespace; in IsAuthMessage()
Dcast_transport.cc135 message.namespace_(), in SendMessage()
141 message.namespace_(), serialized_message, callback); in SendMessage()
147 message.namespace_(), in SendMessage()
156 const std::string& namespace_, in WriteRequest() argument
159 : message_namespace(namespace_), callback(callback) { in WriteRequest()
405 current_message_->namespace_(), in DoReadComplete()
430 current_message_->namespace_(), in DoReadCallback()
Dcast_socket.cc469 message.namespace_, in SendMessage()
478 message.namespace_, in SendMessage()
493 message.namespace_(), in SendCastMessageInternal()
503 message.namespace_(), in SendCastMessageInternal()
750 current_message_->namespace_(), in DoReadComplete()
792 message.namespace_(), in DoReadCallback()
873 message_namespace = message_proto.namespace_(); in SetContent()
Dcast_transport.h124 explicit WriteRequest(const std::string& namespace_,
Dcast_socket_unittest.cc53 static void CreateStringMessage(const std::string& namespace_, in CreateStringMessage() argument
58 message->namespace_ = namespace_; in CreateStringMessage()
65 static void CreateBinaryMessage(const std::string& namespace_, in CreateBinaryMessage() argument
70 message->namespace_ = namespace_; in CreateBinaryMessage()
Dcast_channel_apitest.cc54 message_info->namespace_ = "foo"; in FillMessageInfo()
Dcast_channel_api.cc396 if (params_->message.namespace_.empty()) { in Prepare()
/external/chromium-trace/trace-viewer/src/base/
Dsettings.js34 key = Settings.namespace_(key, opt_namespace);
45 storage_.removeItem(Settings.namespace_(key, opt_namespace));
63 storage_.setItem(Settings.namespace_(key, opt_namespace), v);
88 Settings.namespace_ = function(key, opt_namespace) { function in Settings
Dsettings_test.js22 storage.setItem(base.Settings.namespace_('key'), 'hello world');
/external/chromium_org/third_party/libjingle/source/talk/session/tunnel/
Dtunnelsessionclient.cc106 : jid_(jid), session_manager_(manager), namespace_(ns), shutdown_(false) { in TunnelSessionClientBase()
107 session_manager_->AddClient(namespace_, this); in TunnelSessionClientBase()
118 session_manager_->RemoveClient(namespace_); in ~TunnelSessionClientBase()
194 Session* session = session_manager_->CreateSession(jid_.Str(), namespace_); in OnMessage()
Dtunnelsessionclient.h103 std::string namespace_; variable
/external/chromium_org/cc/resources/
Dresource_provider_unittest.cc105 base::AutoLock lock(namespace_->lock); in NextTextureId()
106 return namespace_->next_texture_id++; in NextTextureId()
247 base::AutoLock lock_for_texture_access(namespace_->lock); in texSubImage2D()
267 base::AutoLock lock_for_texture_access(namespace_->lock); in produceTextureCHROMIUM()
275 base::AutoLock lock_for_texture_access(namespace_->lock); in consumeTextureCHROMIUM()
278 namespace_->textures.Replace(BoundTextureId(target), texture); in consumeTextureCHROMIUM()
285 base::AutoLock lock_for_texture_access(namespace_->lock); in GetPixels()
309 base::AutoLock lock_for_texture_access(namespace_->lock); in AllocateTexture()
319 base::AutoLock lock_for_texture_access(namespace_->lock); in SetPixels()
3621 base::AutoLock lock(namespace_->lock); in NextTextureId()
[all …]

12