Home
last modified time | relevance | path

Searched refs:error_state (Results 1 – 25 of 39) sorted by relevance

12

/external/chromium_org/gpu/command_buffer/service/
Derror_state.h23 #define ERRORSTATE_SET_GL_ERROR(error_state, error, function_name, msg) \ argument
24 error_state->SetGLError(__FILE__, __LINE__, error, function_name, msg)
29 error_state, function_name, value, label) \ argument
30 error_state->SetGLErrorInvalidEnum( \
36 error_state, error, function_name, pname, param) \ argument
37 error_state->SetGLErrorInvalidParam( \
42 #define ERRORSTATE_COPY_REAL_GL_ERRORS_TO_WRAPPER(error_state, function_name) \ argument
43 error_state->CopyRealGLErrorsToWrapper(__FILE__, __LINE__, function_name)
45 #define ERRORSTATE_PEEK_GL_ERROR(error_state, function_name) \ argument
46 error_state->PeekGLError(__FILE__, __LINE__, function_name)
[all …]
Dbuffer_manager.cc265 ErrorState* error_state = context_state->GetErrorState(); in ValidateAndDoBufferData() local
268 error_state, "glBufferData", target, "target"); in ValidateAndDoBufferData()
273 error_state, "glBufferData", usage, "usage"); in ValidateAndDoBufferData()
278 error_state, GL_INVALID_VALUE, "glBufferData", "size < 0"); in ValidateAndDoBufferData()
285 error_state, GL_INVALID_VALUE, "glBufferData", "unknown buffer"); in ValidateAndDoBufferData()
291 error_state, GL_OUT_OF_MEMORY, "glBufferData", "out of memory"); in ValidateAndDoBufferData()
295 DoBufferData(error_state, buffer, size, usage, data); in ValidateAndDoBufferData()
300 ErrorState* error_state, in DoBufferData() argument
313 ERRORSTATE_COPY_REAL_GL_ERRORS_TO_WRAPPER(error_state, "glBufferData"); in DoBufferData()
320 GLenum error = ERRORSTATE_PEEK_GL_ERROR(error_state, "glBufferData"); in DoBufferData()
[all …]
Dtexture_manager.cc1111 const char* function_name, ErrorState* error_state, in SetParameter() argument
1113 DCHECK(error_state); in SetParameter()
1120 error_state, function_name, param, "param"); in SetParameter()
1123 error_state, result, function_name, pname, static_cast<GLint>(param)); in SetParameter()
1300 ErrorState* error_state, const char* function_name, in ValidateTextureParameters() argument
1304 error_state, GL_INVALID_OPERATION, function_name, in ValidateTextureParameters()
1314 error_state, GL_INVALID_OPERATION, function_name, in ValidateTextureParameters()
1369 ErrorState* error_state = state->GetErrorState(); in ValidateTexImage2D() local
1373 error_state, function_name, args.target, "target"); in ValidateTexImage2D()
1378 error_state, function_name, args.internal_format, in ValidateTexImage2D()
[all …]
Dvertex_attrib_manager.cc170 ErrorState* error_state = decoder->GetErrorState(); in ValidateBindings() local
192 error_state, GL_INVALID_OPERATION, function_name, in ValidateBindings()
237 error_state, GL_INVALID_OPERATION, function_name, in ValidateBindings()
259 error_state, GL_INVALID_OPERATION, function_name, in ValidateBindings()
Dtest_helper.cc504 ::gfx::MockGLInterface* gl, MockErrorState* error_state, in DoBufferData() argument
507 EXPECT_CALL(*error_state, CopyRealGLErrorsToWrapper(_, _, _)) in DoBufferData()
521 EXPECT_CALL(*error_state, PeekGLError(_, _, _)) in DoBufferData()
524 manager->DoBufferData(error_state, buffer, size, usage, data); in DoBufferData()
528 ::gfx::MockGLInterface* gl, MockErrorState* error_state, in SetTexParameterWithExpectations() argument
539 EXPECT_CALL(*error_state, SetGLErrorInvalidEnum(_, _, _, value, _)) in SetTexParameterWithExpectations()
543 EXPECT_CALL(*error_state, SetGLErrorInvalidParam(_, _, error, _, _, _)) in SetTexParameterWithExpectations()
547 manager->SetParameter("", error_state, texture_ref, pname, value); in SetTexParameterWithExpectations()
Dvertex_attrib_manager_unittest.cc145 MockErrorState error_state; in TEST_F() local
162 gl_.get(), &error_state, &buffer_manager, buffer, 15, GL_STATIC_DRAW, in TEST_F()
167 gl_.get(), &error_state, &buffer_manager, buffer, 16, GL_STATIC_DRAW, in TEST_F()
176 gl_.get(), &error_state, &buffer_manager, buffer, 32, GL_STATIC_DRAW, in TEST_F()
Dtest_helper.h96 ::gfx::MockGLInterface* gl, MockErrorState* error_state,
101 ::gfx::MockGLInterface* gl, MockErrorState* error_state,
Dbuffer_manager.h243 ErrorState* error_state,
252 ErrorState* error_state,
/external/chromium_org/chrome/browser/resources/chromeos/login/
Dscreen_error_message.js221 setErrorState_: function(error_state, network) { argument
222 this.classList.remove(this.error_state);
224 this.error_state = error_state;
225 this.classList.add(this.error_state);
270 setErrorState: function(error_state, network) { argument
271 this.setErrorState_(ERROR_STATES[error_state], network);
/external/chromium_org/chrome/browser/extensions/api/cast_channel/
Dcast_socket_unittest.cc281 EXPECT_EQ(cast_channel::CHANNEL_ERROR_NONE, socket_->error_state()); in ConnectHelper()
343 EXPECT_EQ(cast_channel::CHANNEL_ERROR_NONE, socket_->error_state()); in TEST_F()
366 EXPECT_EQ(cast_channel::CHANNEL_ERROR_NONE, socket_->error_state()); in TEST_F()
407 EXPECT_EQ(cast_channel::CHANNEL_ERROR_NONE, socket_->error_state()); in TEST_F()
449 EXPECT_EQ(cast_channel::CHANNEL_ERROR_CONNECT_ERROR, socket_->error_state()); in TEST_F()
474 EXPECT_EQ(cast_channel::CHANNEL_ERROR_CONNECT_ERROR, socket_->error_state()); in TEST_F()
522 EXPECT_EQ(cast_channel::CHANNEL_ERROR_NONE, socket_->error_state()); in TEST_F()
545 EXPECT_EQ(cast_channel::CHANNEL_ERROR_NONE, socket_->error_state()); in TEST_F()
569 EXPECT_EQ(cast_channel::CHANNEL_ERROR_NONE, socket_->error_state()); in TEST_F()
588 EXPECT_EQ(cast_channel::CHANNEL_ERROR_NONE, socket_->error_state()); in TEST_F()
[all …]
Dcast_channel_api.cc85 channel_info.error_state = error; in OnError()
152 error_ = socket->error_state(); in SetResultFromSocket()
161 channel_info.error_state = error; in SetResultFromError()
Dcast_channel_apitest.cc96 channel_info->error_state = cast_channel::CHANNEL_ERROR_NONE; in FillChannelInfoForOpenState()
103 channel_info->error_state = cast_channel::CHANNEL_ERROR_NONE; in FillChannelInfoForClosedState()
/external/chromium_org/chrome/browser/sync/
Dsync_global_error_unittest.cc103 GoogleServiceAuthError::State error_state, in VerifySyncGlobalErrorResult() argument
109 GoogleServiceAuthError auth_error(error_state); in VerifySyncGlobalErrorResult()
136 if (error_state != GoogleServiceAuthError::NONE) { in VerifySyncGlobalErrorResult()
/external/chromium_org/chrome/browser/chromeos/login/screens/
Derror_screen_actor.h41 ErrorScreen::ErrorState error_state() const { return error_state_; } in error_state() function
65 virtual void SetErrorState(ErrorScreen::ErrorState error_state,
Derror_screen.cc65 void ErrorScreen::SetErrorState(ErrorState error_state, in SetErrorState() argument
68 actor_->SetErrorState(error_state, network); in SetErrorState()
Dmock_error_screen.h32 MOCK_METHOD2(SetErrorState, void(ErrorScreen::ErrorState error_state,
Derror_screen.h64 void SetErrorState(ErrorState error_state, const std::string& network);
/external/chromium_org/content/common/gpu/
Dtexture_image_transport_surface.cc410 gpu::gles2::ErrorState* error_state = decoder->GetErrorState(); in CreateBackTexture() local
412 error_state, in CreateBackTexture()
417 error_state, in CreateBackTexture()
422 error_state, in CreateBackTexture()
427 error_state, in CreateBackTexture()
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
Derror_screen_handler.cc95 void ErrorScreenHandler::SetErrorState(ErrorScreen::ErrorState error_state, in SetErrorState() argument
97 error_state_ = error_state; in SetErrorState()
Dsignin_screen_handler.cc149 bool IsSigninScreenError(ErrorScreen::ErrorState error_state) { in IsSigninScreenError() argument
150 return error_state == ErrorScreen::ERROR_STATE_PORTAL || in IsSigninScreenError()
151 error_state == ErrorScreen::ERROR_STATE_OFFLINE || in IsSigninScreenError()
152 error_state == ErrorScreen::ERROR_STATE_PROXY || in IsSigninScreenError()
153 error_state == ErrorScreen::ERROR_STATE_AUTH_EXT_TIMEOUT; in IsSigninScreenError()
682 (error_screen_actor_->error_state() != in SetupAndShowOfflineMessage()
698 IsSigninScreenError(error_screen_actor_->error_state()); in SetupAndShowOfflineMessage()
702 IsSigninScreenError(error_screen_actor_->error_state()) && in SetupAndShowOfflineMessage()
703 error_screen_actor_->error_state() != in SetupAndShowOfflineMessage()
Derror_screen_handler.h41 virtual void SetErrorState(ErrorScreen::ErrorState error_state,
/external/chromium_org/chrome/browser/signin/
Dsignin_global_error_unittest.cc141 GoogleServiceAuthError::State error_state; in TEST_F() member
166 GoogleServiceAuthError(table[i].error_state)); in TEST_F()
/external/chromium_org/ppapi/proxy/
Dppb_graphics_3d_proxy.cc48 gpu::CommandBuffer::State error_state; in GetErrorState() local
49 error_state.error = gpu::error::kGenericError; in GetErrorState()
50 return error_state; in GetErrorState()
/external/chromium_org/chrome/browser/ui/webui/options/
Dcreate_profile_handler.cc346 GoogleServiceAuthError::State error_state) { in RecordSupervisedProfileCreationMetrics() argument
349 error_state, in RecordSupervisedProfileCreationMetrics()
357 error_state, in RecordSupervisedProfileCreationMetrics()
/external/chromium_org/google_apis/gaia/
Doauth2_token_service.cc303 GoogleServiceAuthError::State error_state = error.state(); in ShouldRetry() local
304 return error_state == GoogleServiceAuthError::CONNECTION_FAILED || in ShouldRetry()
305 error_state == GoogleServiceAuthError::REQUEST_CANCELED || in ShouldRetry()
306 error_state == GoogleServiceAuthError::SERVICE_UNAVAILABLE; in ShouldRetry()

12