Searched refs:service_id (Results 1 - 25 of 108) sorted by relevance

12345

/external/chromium_org/gpu/command_buffer/service/
H A Dimage_manager.cc26 void ImageManager::AddImage(gfx::GLImage* image, int32 service_id) { argument
27 DCHECK(images_.find(service_id) == images_.end());
28 images_[service_id] = image;
31 void ImageManager::RemoveImage(int32 service_id) { argument
32 GLImageMap::iterator iter = images_.find(service_id);
38 gfx::GLImage* ImageManager::LookupImage(int32 service_id) { argument
39 GLImageMap::const_iterator iter = images_.find(service_id);
H A Did_manager_unittest.cc34 GLuint service_id = 0; local
35 EXPECT_TRUE(manager_.GetServiceId(kClientId1, &service_id));
36 EXPECT_EQ(kServiceId1, service_id);
41 service_id = 0;
43 EXPECT_FALSE(manager_.GetServiceId(kClientId2, &service_id));
45 EXPECT_EQ(0u, service_id);
50 service_id = 0;
51 EXPECT_TRUE(manager_.GetServiceId(kClientId1, &service_id));
52 EXPECT_EQ(kServiceId1, service_id);
53 EXPECT_TRUE(manager_.GetServiceId(kClientId2, &service_id));
[all...]
H A Did_manager.cc15 bool IdManager::AddMapping(GLuint client_id, GLuint service_id) { argument
17 std::make_pair(client_id, service_id));
21 bool IdManager::RemoveMapping(GLuint client_id, GLuint service_id) { argument
23 if (iter != id_map_.end() && iter->second == service_id) {
30 bool IdManager::GetServiceId(GLuint client_id, GLuint* service_id) { argument
31 DCHECK(service_id);
34 *service_id = iter->second;
40 bool IdManager::GetClientId(GLuint service_id, GLuint* client_id) { argument
46 if (iter->second == service_id) {
H A Did_manager.h25 // Maps a client_id to a service_id. Return false if the client_id or
26 // service_id are already mapped to something else.
27 bool AddMapping(GLuint client_id, GLuint service_id);
30 bool RemoveMapping(GLuint client_id, GLuint service_id);
32 // Gets the corresponding service_id for the given client_id.
33 // Returns false if there is no corresponding service_id.
34 bool GetServiceId(GLuint client_id, GLuint* service_id);
36 // Gets the corresponding client_id for the given service_id.
38 bool GetClientId(GLuint service_id, GLuint* client_id);
H A Dimage_manager.h27 void AddImage(gfx::GLImage* image, int32 service_id);
28 void RemoveImage(int32 service_id);
29 gfx::GLImage* LookupImage(int32 service_id);
H A Dvertex_array_manager.cc33 GLuint service_id,
37 new VertexAttribManager(this, service_id, num_vertex_attribs));
75 GLuint service_id, GLuint* client_id) const {
80 if (it->second->service_id() == service_id) {
32 CreateVertexAttribManager(GLuint client_id, GLuint service_id, uint32 num_vertex_attribs, bool client_visible) argument
74 GetClientId( GLuint service_id, GLuint* client_id) const argument
H A Dvertex_array_manager.h35 GLuint service_id,
46 bool GetClientId(GLuint service_id, GLuint* client_id) const;
H A Dcontext_state.cc33 ? unit.bound_texture_2d->service_id() : 0;
38 ? unit.bound_texture_cube_map->service_id() : 0;
43 ? unit.bound_texture_external_oes->service_id() : 0;
48 ? unit.bound_texture_rectangle_arb->service_id() : 0;
158 element_array_buffer ? element_array_buffer->service_id() : 0);
161 bound_array_buffer.get() ? bound_array_buffer->service_id() : 0);
170 glUseProgram(current_program.get() ? current_program->service_id() : 0);
202 // This is expected to be called only for VAO with service_id 0,
203 // either to restore the default VAO or a virtual VAO with service_id 0.
204 GLuint vao_service_id = attrib_manager->service_id();
[all...]
H A Dgles2_cmd_decoder_unittest_base.h104 Buffer* GetBuffer(GLuint service_id) { argument
105 return group_->buffer_manager()->GetBuffer(service_id);
108 Framebuffer* GetFramebuffer(GLuint service_id) { argument
109 return group_->framebuffer_manager()->GetFramebuffer(service_id);
113 GLuint service_id) {
114 return group_->renderbuffer_manager()->GetRenderbuffer(service_id);
145 void DoCreateProgram(GLuint client_id, GLuint service_id);
146 void DoCreateShader(GLenum shader_type, GLuint client_id, GLuint service_id);
194 GLuint client_id, GLuint service_id,
217 void DoBindBuffer(GLenum target, GLuint client_id, GLuint service_id);
112 GetRenderbuffer( GLuint service_id) argument
[all...]
H A Dshader_manager.cc15 Shader::Shader(GLuint service_id, GLenum shader_type) argument
17 service_id_(service_id),
146 glDeleteShader(shader->service_id());
156 GLuint service_id,
161 new Shader(service_id, shader_type))));
171 bool ShaderManager::GetClientId(GLuint service_id, GLuint* client_id) const { argument
175 if (it->second->service_id() == service_id) {
154 CreateShader( GLuint client_id, GLuint service_id, GLenum shader_type) argument
H A Drenderbuffer_manager.cc58 GLuint service_id)
61 service_id_(service_id),
74 GLuint id = service_id();
128 GLuint client_id, GLuint service_id) {
130 new Renderbuffer(this, client_id, service_id));
56 Renderbuffer(RenderbufferManager* manager, GLuint client_id, GLuint service_id) argument
127 CreateRenderbuffer( GLuint client_id, GLuint service_id) argument
H A Drenderbuffer_manager.h28 GLuint service_id);
30 GLuint service_id() const { function in class:gpu::gles2::Renderbuffer
155 void CreateRenderbuffer(GLuint client_id, GLuint service_id);
H A Dshader_manager.h37 GLuint service_id() const { function in class:gpu::gles2::Shader
130 Shader(GLuint service_id, GLenum shader_type);
183 GLuint service_id,
191 bool GetClientId(GLuint service_id, GLuint* client_id) const;
H A Dvertex_array_manager_unittest.cc61 EXPECT_EQ(kService1Id, info1->service_id());
63 EXPECT_TRUE(manager_->GetClientId(info1->service_id(), &client_id));
/external/chromium_org/ppapi/c/private/
H A Dppb_platform_verification_private.h70 * @param[in] service_id A <code>PP_Var</code> of type
71 * <code>PP_VARTYPE_STRING</code> containing the service_id for the challenge.
86 * certificate for the requested service_id.
95 struct PP_Var service_id,
/external/chromium_org/ppapi/thunk/
H A Dppb_platform_verification_api.h22 const PP_Var& service_id,
H A Dppb_platform_verification_private_thunk.cc36 struct PP_Var service_id,
47 service_id,
35 ChallengePlatform(PP_Resource instance, struct PP_Var service_id, struct PP_Var challenge, struct PP_Var* signed_data, struct PP_Var* signed_data_signature, struct PP_Var* platform_key_certificate, struct PP_CompletionCallback callback) argument
/external/bluetooth/bluedroid/bta/gatt/
H A Dbta_gatts_utils.c133 tBTA_GATTS_SRVC_CB * bta_gatts_find_srvc_cb_by_srvc_id(tBTA_GATTS_CB *p_cb, UINT16 service_id) argument
136 APPL_TRACE_DEBUG("bta_gatts_find_srvc_cb_by_srvc_id service_id=%d", service_id);
140 p_cb->srvc_cb[i].service_id == service_id)
167 attr_id >= p_cb->srvc_cb[i].service_id &&
168 attr_id < p_cb->srvc_cb[i + 1].service_id) ||
173 attr_id >= p_cb->srvc_cb[i].service_id) ||
176 attr_id >= p_cb->srvc_cb[i].service_id)
H A Dbta_gatts_api.c184 ** Parameters service_id: service ID to which this included service is to
191 void BTA_GATTS_AddIncludeService(UINT16 service_id, UINT16 included_service_id) argument
201 p_buf->hdr.layer_specific = service_id;
215 ** Parameters service_id: service ID to which this included service is to
224 void BTA_GATTS_AddCharacteristic (UINT16 service_id, tBT_UUID *p_char_uuid, argument
234 p_buf->hdr.layer_specific = service_id;
255 ** Parameters service_id: service ID to which this charatceristic descriptor is to
263 void BTA_GATTS_AddCharDescriptor (UINT16 service_id, argument
276 p_buf->hdr.layer_specific = service_id;
296 ** Parameters service_id
301 BTA_GATTS_DeleteService(UINT16 service_id) argument
329 BTA_GATTS_StartService(UINT16 service_id, tBTA_GATT_TRANSPORT sup_transport) argument
356 BTA_GATTS_StopService(UINT16 service_id) argument
[all...]
/external/chromium_org/ppapi/api/private/
H A Dppb_platform_verification_private.idl53 * @param[in] service_id A <code>PP_Var</code> of type
54 * <code>PP_VARTYPE_STRING</code> containing the service_id for the challenge.
69 * certificate for the requested service_id.
79 [in] PP_Var service_id,
/external/chromium_org/ppapi/cpp/private/
H A Dplatform_verification.cc40 const Var& service_id,
50 pp_resource(), service_id.pp_var(), challenge.pp_var(),
39 ChallengePlatform( const Var& service_id, const Var& challenge, Var* signed_data, Var* signed_data_signature, Var* platform_key_certificate, const CompletionCallback& callback) argument
H A Dplatform_verification.h21 int32_t ChallengePlatform(const Var& service_id,
/external/chromium_org/sandbox/win/src/
H A Dservice_resolver_32.cc45 ULONG service_id; member in struct:__anon10627::ServiceEntry
65 ULONG service_id; member in struct:__anon10627::ServiceEntryW8
96 ULONG service_id; member in struct:__anon10627::Wow64Entry
115 ULONG service_id; member in struct:__anon10627::Wow64EntryW8
278 intercepted_code.service_id = full_local_thunk->original.service_id;
286 intercepted_code.service_id = relative_jump_;
333 ULONG relative = function_code.service_id;
338 function_code.service_id = relative;
/external/chromium_org/ppapi/proxy/
H A Dplatform_verification_private_resource.h38 const PP_Var& service_id,
/external/bluetooth/bluedroid/btif/include/
H A Dbtif_common.h179 bt_status_t btif_enable_service(tBTA_SERVICE_ID service_id);
180 bt_status_t btif_disable_service(tBTA_SERVICE_ID service_id);

Completed in 1332 milliseconds

12345