/external/chromium_org/gpu/command_buffer/service/ |
D | id_manager_unittest.cc | 37 GLuint client_id = 0; in TEST_F() local 38 EXPECT_TRUE(manager_.GetClientId(kServiceId1, &client_id)); in TEST_F() 39 EXPECT_EQ(kClientId1, client_id); in TEST_F() 42 client_id = 0; in TEST_F() 44 EXPECT_FALSE(manager_.GetClientId(kServiceId2, &client_id)); in TEST_F() 46 EXPECT_EQ(0u, client_id); in TEST_F() 55 client_id = 0; in TEST_F() 56 EXPECT_TRUE(manager_.GetClientId(kServiceId1, &client_id)); in TEST_F() 57 EXPECT_EQ(kClientId1, client_id); in TEST_F() 58 EXPECT_TRUE(manager_.GetClientId(kServiceId2, &client_id)); in TEST_F() [all …]
|
D | id_manager.cc | 15 bool IdManager::AddMapping(GLuint client_id, GLuint service_id) { in AddMapping() argument 17 std::make_pair(client_id, service_id)); in AddMapping() 21 bool IdManager::RemoveMapping(GLuint client_id, GLuint service_id) { in RemoveMapping() argument 22 MapType::iterator iter = id_map_.find(client_id); in RemoveMapping() 30 bool IdManager::GetServiceId(GLuint client_id, GLuint* service_id) { in GetServiceId() argument 32 MapType::iterator iter = id_map_.find(client_id); in GetServiceId() 40 bool IdManager::GetClientId(GLuint service_id, GLuint* client_id) { in GetClientId() argument 41 DCHECK(client_id); in GetClientId() 47 *client_id = iter->first; in GetClientId()
|
D | gles2_cmd_decoder_unittest_base.h | 42 void GenHelper(GLuint client_id) { in GenHelper() argument 43 int8 buffer[sizeof(T) + sizeof(client_id)]; in GenHelper() 45 cmd.Init(1, &client_id); in GenHelper() 47 ExecuteImmediateCmd(cmd, sizeof(client_id))); in GenHelper() 117 TextureRef* GetTexture(GLuint client_id) { in GetTexture() argument 118 return group_->texture_manager()->GetTexture(client_id); in GetTexture() 121 Shader* GetShader(GLuint client_id) { in GetShader() argument 122 return group_->shader_manager()->GetShader(client_id); in GetShader() 125 Program* GetProgram(GLuint client_id) { in GetProgram() argument 126 return group_->program_manager()->GetProgram(client_id); in GetProgram() [all …]
|
D | vertex_array_manager.cc | 32 GLuint client_id, GLuint service_id, uint32 num_vertex_attribs) { in CreateVertexAttribManager() argument 37 std::make_pair(client_id, vertex_attrib_manager)); in CreateVertexAttribManager() 42 GLuint client_id) { in GetVertexAttribManager() argument 43 VertexAttribManagerMap::iterator it = vertex_attrib_managers_.find(client_id); in GetVertexAttribManager() 47 void VertexArrayManager::RemoveVertexAttribManager(GLuint client_id) { in RemoveVertexAttribManager() argument 48 VertexAttribManagerMap::iterator it = vertex_attrib_managers_.find(client_id); in RemoveVertexAttribManager() 67 GLuint service_id, GLuint* client_id) const { in GetClientId() 73 *client_id = it->first; in GetClientId()
|
D | renderbuffer_manager.cc | 57 GLuint client_id, in Renderbuffer() argument 60 client_id_(client_id), in Renderbuffer() 128 GLuint client_id, GLuint service_id) { in CreateRenderbuffer() argument 130 new Renderbuffer(this, client_id, service_id)); in CreateRenderbuffer() 132 renderbuffers_.insert(std::make_pair(client_id, renderbuffer)); in CreateRenderbuffer() 140 GLuint client_id) { in GetRenderbuffer() argument 141 RenderbufferMap::iterator it = renderbuffers_.find(client_id); in GetRenderbuffer() 145 void RenderbufferManager::RemoveRenderbuffer(GLuint client_id) { in RemoveRenderbuffer() argument 146 RenderbufferMap::iterator it = renderbuffers_.find(client_id); in RemoveRenderbuffer()
|
D | id_manager.h | 27 bool AddMapping(GLuint client_id, GLuint service_id); 30 bool RemoveMapping(GLuint client_id, GLuint service_id); 34 bool GetServiceId(GLuint client_id, GLuint* service_id); 38 bool GetClientId(GLuint service_id, GLuint* client_id);
|
D | vertex_array_manager.h | 32 void CreateVertexAttribManager(GLuint client_id, GLuint service_id, 36 VertexAttribManager* GetVertexAttribManager(GLuint client_id); 39 void RemoveVertexAttribManager(GLuint client_id); 42 bool GetClientId(GLuint service_id, GLuint* client_id) const;
|
/external/chromium_org/content/common/gpu/ |
D | gpu_channel_manager.cc | 70 void GpuChannelManager::RemoveChannel(int client_id) { in RemoveChannel() argument 71 Send(new GpuHostMsg_DestroyChannel(client_id)); in RemoveChannel() 72 gpu_channels_.erase(client_id); in RemoveChannel() 88 GpuChannel* GpuChannelManager::LookupChannel(int32 client_id) { in LookupChannel() argument 89 GpuChannelMap::const_iterator iter = gpu_channels_.find(client_id); in LookupChannel() 116 void GpuChannelManager::OnEstablishChannel(int client_id, bool share_context) { in OnEstablishChannel() argument 135 client_id, in OnEstablishChannel() 138 gpu_channels_[client_id] = channel; in OnEstablishChannel() 167 int32 client_id, in OnCreateViewCommandBuffer() argument 172 GpuChannelMap::const_iterator iter = gpu_channels_.find(client_id); in OnCreateViewCommandBuffer() [all …]
|
D | gpu_channel_manager.h | 72 void RemoveChannel(int client_id); 99 GpuChannel* LookupChannel(int32 client_id); 117 void OnEstablishChannel(int client_id, bool share_context); 120 int32 render_view_id, int32 client_id, bool visible); 124 int32 client_id, 127 gfx::PluginWindowHandle window, int32 client_id, int32 image_id); 129 gfx::PluginWindowHandle window, int32 client_id, int32 image_id); 130 void DeleteImage(int32 client_id, int32 image_id); 131 void OnDeleteImage(int32 client_id, int32 image_id, int32 sync_point);
|
/external/chromium_org/remoting/host/ |
D | pairing_registry_delegate_win_unittest.cc | 65 EXPECT_EQ(delegate->Load(pairing1.client_id()), pairing1); in TEST_F() 66 EXPECT_EQ(delegate->Load(pairing2.client_id()), pairing2); in TEST_F() 69 EXPECT_TRUE(delegate->Delete(pairing1.client_id())); in TEST_F() 72 EXPECT_EQ(delegate->Load(pairing1.client_id()), PairingRegistry::Pairing()); in TEST_F() 73 EXPECT_EQ(delegate->Load(pairing2.client_id()), pairing2); in TEST_F() 98 EXPECT_EQ(load_delegate->Load(pairing.client_id()), pairing); in TEST_F() 108 EXPECT_EQ(delegate->Load(pairing.client_id()), pairing); in TEST_F() 116 delegate->Load(pairing.client_id()); in TEST_F() 117 EXPECT_EQ(pairing.client_id(), unprivileged_pairing.client_id()); in TEST_F()
|
D | pairing_registry_delegate_linux_unittest.cc | 53 EXPECT_EQ(delegate->Load(pairing1.client_id()), pairing1); in TEST_F() 54 EXPECT_EQ(delegate->Load(pairing2.client_id()), pairing2); in TEST_F() 57 EXPECT_TRUE(delegate->Delete(pairing1.client_id())); in TEST_F() 60 EXPECT_EQ(delegate->Load(pairing1.client_id()), PairingRegistry::Pairing()); in TEST_F() 61 EXPECT_EQ(delegate->Load(pairing2.client_id()), pairing2); in TEST_F() 86 EXPECT_EQ(load_delegate->Load(pairing.client_id()), pairing); in TEST_F()
|
D | pairing_registry_delegate_linux.cc | 83 const std::string& client_id) { in Load() argument 86 base::StringPrintf(kPairingFilenameFormat, client_id.c_str())); in Load() 121 << pairing.client_id(); in Save() 126 base::StringPrintf(kPairingFilenameFormat, pairing.client_id().c_str())); in Save() 129 LOG(ERROR) << "Could not save pairing data for " << pairing.client_id(); in Save() 136 bool PairingRegistryDelegateLinux::Delete(const std::string& client_id) { in Delete() argument 139 base::StringPrintf(kPairingFilenameFormat, client_id.c_str())); in Delete()
|
D | pairing_registry_delegate_win.cc | 169 const std::string& client_id) { in Load() argument 171 std::wstring value_name = UTF8ToWide(client_id); in Load() 195 LOG(ERROR) << "Cannot save pairing entry '" << pairing.client_id() in Save() 210 std::wstring value_name = UTF8ToWide(pairing.client_id()); in Save() 221 bool PairingRegistryDelegateWin::Delete(const std::string& client_id) { in Delete() argument 223 LOG(ERROR) << "Cannot delete pairing entry '" << client_id in Delete() 229 std::wstring value_name = UTF8ToWide(client_id); in Delete() 235 PLOG(ERROR) << "Cannot delete pairing entry '" << client_id << "'"; in Delete() 244 PLOG(ERROR) << "Cannot delete pairing entry '" << client_id << "'"; in Delete()
|
/external/chromium_org/remoting/protocol/ |
D | pairing_registry.cc | 34 const std::string& client_id, in Pairing() argument 38 client_id_(client_id), in Pairing() 48 std::string client_id = base::GenerateGUID(); in Create() local 54 return Pairing(created_time, client_name, client_id, shared_secret); in Create() 59 std::string client_name, client_id; in CreateFromValue() local 63 pairing.GetString(kClientIdKey, &client_id)) { in CreateFromValue() 68 return Pairing(created_time, client_name, client_id, shared_secret); in CreateFromValue() 79 pairing->SetString(kClientIdKey, client_id()); in ToValue() 114 void PairingRegistry::GetPairing(const std::string& client_id, in GetPairing() argument 122 &PairingRegistry::DoLoad, this, client_id, wrapped_callback); in GetPairing() [all …]
|
D | pairing_registry_unittest.cc | 53 EXPECT_EQ(expected.client_id(), value); in VerifyPairing() 100 registry->GetPairing(pairing_1.client_id(), in TEST_F() 107 registry->GetPairing(pairing_2.client_id(), in TEST_F() 134 if (actual_client_id != pairing_1.client_id()) { in TEST_F() 149 pairing_1.client_id(), in TEST_F() 164 EXPECT_EQ(pairing_2.client_id(), actual_client_id); in TEST_F() 224 pairing_1.client_id(), in TEST_F() 228 pairing_2.client_id(), in TEST_F() 232 pairing_2.client_id(), in TEST_F() 236 pairing_1.client_id(), in TEST_F() [all …]
|
D | pairing_registry.h | 47 const std::string& client_id, 61 std::string client_id() const { return client_id_; } in client_id() function 98 virtual Pairing Load(const std::string& client_id) = 0; 104 virtual bool Delete(const std::string& client_id) = 0; 121 void GetPairing(const std::string& client_id, 130 void DeletePairing(const std::string& client_id, 159 const std::string& client_id, 165 const std::string& client_id,
|
/external/chromium_org/google_apis/gaia/ |
D | oauth2_token_service.cc | 23 const std::string& client_id, in RequestParameters() argument 26 : client_id(client_id), in RequestParameters() 36 if (client_id < p.client_id) in operator <() 38 else if (p.client_id < client_id) in operator <() 113 const std::string& client_id, 147 const std::string& client_id, 192 const std::string& client_id, in CreateAndStart() argument 201 client_id, in CreateAndStart() 214 const std::string& client_id, in Fetcher() argument 226 client_id_(client_id), in Fetcher() [all …]
|
D | fake_gaia.cc | 70 std::string client_id; in HandleRequest() local 75 GetQueryParameter(request.content, "client_id", &client_id) && in HandleRequest() 76 (token_info = GetAccessTokenInfo(refresh_token, client_id, scope))) { in HandleRequest() 123 std::string client_id; in HandleRequest() local 126 GetQueryParameter(request.content, "client_id", &client_id) && in HandleRequest() 127 (token_info = GetAccessTokenInfo(access_token, client_id, scope))) { in HandleRequest() 160 const std::string& client_id, in GetAccessTokenInfo() argument 162 if (auth_token.empty() || client_id.empty()) in GetAccessTokenInfo() 173 if (entry->second.audience == client_id && in GetAccessTokenInfo()
|
D | oauth2_token_service.h | 124 const std::string& client_id, 158 const std::string& client_id, 168 const std::string& client_id, 210 virtual void RegisterCacheEntry(const std::string& client_id, 247 const std::string& client_id, 255 const std::string& client_id, 265 RequestParameters(const std::string& client_id, 272 std::string client_id; member 297 const std::string& client_id,
|
/external/chromium_org/content/renderer/media/ |
D | midi_message_filter.cc | 80 int client_id = next_available_id_++; in StartSession() local 81 clients_[client] = client_id; in StartSession() 85 client_id)); in StartSession() 89 void MIDIMessageFilter::StartSessionOnIOThread(int client_id) { in StartSessionOnIOThread() argument 90 Send(new MIDIHostMsg_StartSession(client_id)); in StartSessionOnIOThread() 102 int client_id, in OnSessionStarted() argument 110 client_id, success, inputs, outputs)); in OnSessionStarted() 114 int client_id, in HandleSessionStarted() argument 118 blink::WebMIDIAccessorClient* client = GetClientFromId(client_id); in HandleSessionStarted() 144 MIDIMessageFilter::GetClientFromId(int client_id) { in GetClientFromId() argument [all …]
|
/external/chromium_org/content/browser/renderer_host/media/ |
D | video_capture_manager_unittest.cc | 106 VideoCaptureControllerID client_id(next_client_id_++); in StartClient() local 112 client_id, in StartClient() 116 client_id, in StartClient() 120 return client_id; in StartClient() 123 void StopClient(VideoCaptureControllerID client_id) { in StopClient() argument 124 ASSERT_TRUE(1 == controllers_.count(client_id)); in StopClient() 125 vcm_->StopCaptureForClient(controllers_[client_id], client_id, in StopClient() 127 controllers_.erase(client_id); in StopClient() 160 VideoCaptureControllerID client_id = StartClient(video_session_id, true); in TEST_F() local 162 StopClient(client_id); in TEST_F() [all …]
|
/external/chromium_org/content/browser/loader/ |
D | resource_scheduler.cc | 115 ScheduledResourceRequest(const ClientId& client_id, in ScheduledResourceRequest() argument 119 client_id_(client_id), in ScheduledResourceRequest() 141 const ClientId& client_id() const { return client_id_; } in client_id() function in content::ResourceScheduler::ScheduledResourceRequest 202 ClientId client_id = MakeClientId(child_id, route_id); in ScheduleRequest() local 204 new ScheduledResourceRequest(client_id, url_request, this)); in ScheduleRequest() 206 ClientMap::iterator it = client_map_.find(client_id); in ScheduleRequest() 233 ClientMap::iterator client_it = client_map_.find(request->client_id()); in RemoveRequest() 254 ClientId client_id = MakeClientId(child_id, route_id); in OnClientCreated() local 255 DCHECK(!ContainsKey(client_map_, client_id)); in OnClientCreated() 257 client_map_[client_id] = new Client; in OnClientCreated() [all …]
|
/external/chromium_org/base/ios/ |
D | device_util.mm | 41 NSString* client_id = [defaults stringForKey:kLegacyClientIdPreferenceKey]; 46 if (!client_id || [client_id isEqualToString:kZeroUUID]) { 48 client_id = [[[UIDevice currentDevice] identifierForVendor] UUIDString]; 49 if ([client_id isEqualToString:kZeroUUID]) 50 client_id = base::SysUTF8ToNSString(ios::device_util::GetRandomId()); 52 client_id = base::SysUTF8ToNSString(ios::device_util::GetRandomId()); 55 return client_id; 141 NSString* client_id = [defaults stringForKey:kClientIdPreferenceKey]; 143 if (!client_id || ![last_seen_hardware isEqualToString:current_hardware]) { 144 client_id = GenerateClientId(); [all …]
|
/external/chromium_org/win8/metro_driver/ime/ |
D | text_service.cc | 96 TfClientId client_id) { in InitializeSentenceMode() argument 114 hr = sentence_compartment->SetValue(client_id, &sentence_variant); in InitializeSentenceMode() 123 bool InitializeDisabledContext(ITfContext* context, TfClientId client_id) { in InitializeDisabledContext() argument 141 hr = disabled_compartment->SetValue(client_id, &variant); in InitializeDisabledContext() 157 hr = empty_context->SetValue(client_id, &empty_context_variant); in InitializeDisabledContext() 228 TfClientId client_id, in Create() argument 256 client_id, in Create() 269 !InitializeDisabledContext(context, client_id)) { in Create() 320 TfClientId client_id, in TextServiceImpl() argument 323 : client_id_(client_id), in TextServiceImpl() [all …]
|
/external/chromium_org/sandbox/win/src/ |
D | process_thread_interception.cc | 25 PCLIENT_ID client_id) { in TargetNtOpenThread() argument 27 client_id); in TargetNtOpenThread() 34 if (!client_id) in TargetNtOpenThread() 41 if (NULL != client_id->UniqueProcess) in TargetNtOpenThread() 56 reinterpret_cast<ULONG_PTR>(client_id->UniqueThread)); in TargetNtOpenThread() 107 PCLIENT_ID client_id) { in TargetNtOpenProcess() argument 109 client_id); in TargetNtOpenProcess() 116 if (!client_id) in TargetNtOpenProcess() 134 reinterpret_cast<ULONG_PTR>(client_id->UniqueProcess)); in TargetNtOpenProcess() 424 CLIENT_ID client_id; in TargetCreateThread() local [all …]
|