/external/libunwind/android/tests/ |
H A D | local_test.cpp | 27 unw_context_t* context; local 28 context = reinterpret_cast<unw_context_t*>(malloc(sizeof(unw_context_t) + EXTRA_CONTEXT_BYTES)); 29 ASSERT_TRUE(context != NULL); 30 uint8_t* extra = reinterpret_cast<uint8_t*>(reinterpret_cast<uintptr_t>(context) + sizeof(unw_context_t)); 34 ASSERT_TRUE(unw_getcontext(context) == 0); 40 free(context);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowMenuInflater.java | 18 private Context context; field in class:ShadowMenuInflater 20 public void __constructor__(Context context) { argument 21 this.context = context; 26 shadowOf(context.getApplicationContext()).getResourceLoader().inflateMenu(context, resource, root);
|
/external/chromium_org/third_party/android_crazy_linker/src/src/ |
H A D | crazy_linker_api.cpp | 70 const char* crazy_context_get_error(crazy_context_t* context) { argument 71 const char* error = context->error.c_str(); 75 // Clear error in a given context. 76 void crazy_context_clear_error(crazy_context_t* context) { argument 77 context->error = ""; 80 void crazy_context_set_load_address(crazy_context_t* context, argument 82 context->load_address = load_address; 85 size_t crazy_context_get_load_address(crazy_context_t* context) { argument 86 return context->load_address; 89 void crazy_context_set_file_offset(crazy_context_t* context, argument 94 crazy_context_get_file_offset(crazy_context_t* context) argument 98 crazy_context_add_search_path(crazy_context_t* context, const char* file_path) argument 104 crazy_context_add_search_path_for_address( crazy_context_t* context, void* address) argument 122 crazy_context_reset_search_paths(crazy_context_t* context) argument 126 crazy_context_set_java_vm(crazy_context_t* context, void* java_vm, int minimum_jni_version) argument 133 crazy_context_get_java_vm(crazy_context_t* context, void** java_vm, int* minimum_jni_version) argument 140 crazy_context_set_callback_poster(crazy_context_t* context, crazy_callback_poster_t poster, void* poster_opaque) argument 147 crazy_context_get_callback_poster(crazy_context_t* context, crazy_callback_poster_t* poster, void** poster_opaque) argument 158 crazy_context_destroy(crazy_context_t* context) argument 164 ScopedDelayedCallbackPoster(crazy_context_t* context) argument 184 crazy_context_t* context = static_cast<crazy_context_t*>(crazy_context); local 196 crazy_library_open(crazy_library_t** library, const char* lib_name, crazy_context_t* context) argument 226 crazy_library_open_in_zip_file(crazy_library_t** library, const char* zipfile_name, const char* lib_name, crazy_context_t* context) argument 258 crazy_library_get_info(crazy_library_t* library, crazy_context_t* context, crazy_library_info_t* info) argument 288 crazy_library_create_shared_relro(crazy_library_t* library, crazy_context_t* context, size_t load_address, size_t* relro_start, size_t* relro_size, int* relro_fd) argument 309 crazy_library_use_shared_relro(crazy_library_t* library, crazy_context_t* context, size_t relro_start, size_t relro_size, int relro_fd) argument 379 crazy_library_close_with_context(crazy_library_t* library, crazy_context_t* context) argument [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/ |
H A D | validationES2.cpp | 25 static bool ValidateSubImageParams2D(Context *context, bool compressed, GLsizei width, GLsizei height, argument 31 context->recordError(Error(GL_INVALID_OPERATION)); 37 context->recordError(Error(GL_INVALID_OPERATION)); 45 context->recordError(Error(GL_INVALID_OPERATION)); 55 context->recordError(Error(GL_INVALID_OPERATION)); 63 context->recordError(Error(GL_INVALID_VALUE)); 70 static bool ValidateSubImageParamsCube(Context *context, bool compressed, GLsizei width, GLsizei height, argument 76 context->recordError(Error(GL_INVALID_OPERATION)); 82 context->recordError(Error(GL_INVALID_OPERATION)); 90 context 115 ValidateES2TexImageParameters(Context *context, GLenum target, GLint level, GLenum internalformat, bool isCompressed, bool isSubImage, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) argument 510 ValidateES2CopyTexImageParameters(Context* context, GLenum target, GLint level, GLenum internalformat, bool isSubImage, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) argument 756 ValidateES2TexStorageParameters(Context *context, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) argument 935 ValidES2ReadFormatType(Context *context, GLenum format, GLenum type) argument [all...] |
/external/conscrypt/src/test/java/org/conscrypt/ |
H A D | ClientSessionContextTest.java | 29 ClientSessionContext context = new ClientSessionContext(); 33 context.putSession(a); 34 assertSessionContextContents(context, new SSLSession[] { a }, new SSLSession[] { b }); 36 context.putSession(b); 37 assertSessionContextContents(context, new SSLSession[] { a, b }, new SSLSession[0]); 41 ClientSessionContext context = new ClientSessionContext(); 47 context.putSession(a); 48 assertSessionContextContents(context, new SSLSession[] { a }, new SSLSession[] { b, c, d }); 50 context.putSession(b); 51 assertSessionContextContents(context, ne 84 assertSessionContextContents(ClientSessionContext context, SSLSession[] contains, SSLSession[] exludes) argument [all...] |
/external/deqp/modules/gles2/functional/ |
H A D | es2fAttribLocationTests.cpp | 47 TestCaseGroup* createAttributeLocationTests (Context& context) argument 61 TestCaseGroup* const root = new TestCaseGroup (context, "attribute_location", "Attribute location tests"); 65 TestCaseGroup* const bindAttributeGroup = new TestCaseGroup(context, "bind", "Basic attribute binding tests."); 72 bindAttributeGroup->addChild(new gls::BindAttributeTest(context.getTestContext(), context.getRenderContext(), type)); 78 TestCaseGroup* const bindMaxAttributeGroup = new TestCaseGroup(context, "bind_max_attributes", "Test using maximum attributes with bind."); 85 bindMaxAttributeGroup->addChild(new gls::BindMaxAttributesTest(context.getTestContext(), context.getRenderContext(), type)); 91 TestCaseGroup* const aliasingGroup = new TestCaseGroup(context, "bind_aliasing", "Test attribute location aliasing with bind."); 100 aliasingGroup->addChild(new gls::BindAliasingAttributeTest(context [all...] |
/external/chromium_org/tools/cr/ |
H A D | main.py | 21 plugins, creates the context and then activates and runs the specified 31 # Build the command context 32 with cr.base.context.Create( 35 ) as context: 42 cr.context.AddSubParser(command) 45 if cr.context.autocompleting: 50 cr.context.ParseArgs(True) 62 cr.context.ParseArgs() 68 if cr.context.verbose >= 3: 69 cr.context [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/ |
H A D | LifecycleContextTest.cpp | 43 template<> void observerContext(DummyContext* context, LifecycleObserver<DummyContext>* observer) argument 45 context->wasObservedBy(observer); 48 template<> void unobserverContext(DummyContext* context, LifecycleObserver<DummyContext>* observer) argument 50 context->wasUnobservedBy(observer); 60 TestingObserver(DummyContext* context) argument 61 : LifecycleObserver<DummyContext>(context) 78 OwnPtr<DummyContext> context = adoptPtr(new DummyContext()); local 79 OwnPtr<TestingObserver> observer = adoptPtr(new TestingObserver(context.get())); 81 EXPECT_EQ(observer->lifecycleContext(), context.get()); 84 context 91 OwnPtr<DummyContext> context = adoptPtr(new DummyContext()); local [all...] |
/external/chromium_org/chrome/browser/policy/ |
H A D | schema_registry_service_factory.cc | 30 DeviceLocalAccountPolicyBroker* GetBroker(content::BrowserContext* context) { argument 31 Profile* profile = Profile::FromBrowserContext(context); 66 content::BrowserContext* context) { 67 return GetInstance()->GetForContextInternal(context); 73 content::BrowserContext* context, 77 context, chrome_schema, global_registry); 88 content::BrowserContext* context) { 92 if (context->IsOffTheRecord()) 94 RegistryMap::const_iterator it = registries_.find(context); 101 content::BrowserContext* context, 65 GetForContext( content::BrowserContext* context) argument 72 CreateForContext( content::BrowserContext* context, const Schema& chrome_schema, CombinedSchemaRegistry* global_registry) argument 87 GetForContextInternal( content::BrowserContext* context) argument 100 CreateForContextInternal( content::BrowserContext* context, const Schema& chrome_schema, CombinedSchemaRegistry* global_registry) argument 129 BrowserContextShutdown( content::BrowserContext* context) argument 140 BrowserContextDestroyed( content::BrowserContext* context) argument 146 SetEmptyTestingFactory( content::BrowserContext* context) argument 149 HasTestingFactory( content::BrowserContext* context) argument 154 CreateServiceNow( content::BrowserContext* context) argument [all...] |
/external/chromium_org/chrome/browser/extensions/ |
H A D | menu_manager_factory.cc | 18 content::BrowserContext* context) { 20 GetInstance()->GetServiceForBrowserContext(context, true)); 30 content::BrowserContext* context) { 31 return GetInstance()->BuildServiceInstanceFor(context); 44 content::BrowserContext* context) const { 45 Profile* profile = Profile::FromBrowserContext(context); 50 content::BrowserContext* context) const { 51 return ExtensionsBrowserClient::Get()->GetOriginalContext(context); 17 GetForBrowserContext( content::BrowserContext* context) argument 29 BuildServiceInstanceForTesting( content::BrowserContext* context) argument
|
/external/chromium_org/chrome/browser/profiles/ |
H A D | incognito_helpers.h | 14 // Returns the original browser context even for Incognito contexts. 16 content::BrowserContext* context); 19 // instance of a service is created for the Incognito context. 21 content::BrowserContext* context);
|
/external/chromium_org/chrome/browser/signin/ |
H A D | fake_profile_oauth2_token_service_builder.h | 18 content::BrowserContext* context); 25 content::BrowserContext* context);
|
H A D | test_signin_client_builder.cc | 19 content::BrowserContext* context) { 21 new TestSigninClient(static_cast<Profile*>(context)->GetPrefs()); 18 BuildTestSigninClient( content::BrowserContext* context) argument
|
/external/chromium_org/extensions/browser/ |
H A D | extension_system.cc | 20 ExtensionSystem* ExtensionSystem::Get(content::BrowserContext* context) { argument 23 ->GetForBrowserContext(context);
|
/external/chromium_org/mojo/public/platform/native/ |
H A D | gles2_thunks.cc | 24 void MojoGLES2DestroyContext(MojoGLES2Context context) { argument 26 g_control_thunks.GLES2DestroyContext(context); 29 void MojoGLES2MakeCurrent(MojoGLES2Context context) { argument 31 g_control_thunks.GLES2MakeCurrent(context); 39 void* MojoGLES2GetGLES2Interface(MojoGLES2Context context) { argument 41 return g_control_thunks.GLES2GetGLES2Interface(context); 44 void* MojoGLES2GetContextSupport(MojoGLES2Context context) { argument 46 return g_control_thunks.GLES2GetContextSupport(context);
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
H A D | WebGLExtension.cpp | 32 WebGLExtension::WebGLExtension(WebGLRenderingContextBase* context) argument 33 : m_context(context)
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
H A D | r300_resource.c | 43 r300->context.get_transfer = u_get_transfer_vtbl; 44 r300->context.transfer_map = u_transfer_map_vtbl; 45 r300->context.transfer_flush_region = u_default_transfer_flush_region; 46 r300->context.transfer_unmap = u_transfer_unmap_vtbl; 47 r300->context.transfer_destroy = u_transfer_destroy_vtbl; 48 r300->context.transfer_inline_write = u_default_transfer_inline_write; 49 r300->context.create_surface = r300_create_surface; 50 r300->context.surface_destroy = r300_surface_destroy;
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/ |
H A D | preemption.c | 35 void vlVdpPreemptionCallback(VdpDevice device, void *context) argument 45 void *context) 43 vlVdpPreemptionCallbackRegister(VdpDevice device, VdpPreemptionCallback callback, void *context) argument
|
/external/chromium_org/third_party/mesa/src/src/mapi/glapi/ |
H A D | glapi.c | 56 _glapi_set_context(void *context) argument 58 u_current_set_user((const void *) context);
|
/external/deqp/modules/gles2/performance/ |
H A D | es2pShaderCompilerTests.cpp | 35 ShaderCompilerTests::ShaderCompilerTests (Context& context) argument 36 : TestCaseGroup(context, "compiler", "Shader Compiler Performance Tests")
|
/external/deqp/modules/gles3/performance/ |
H A D | es3pShaderCompilerTests.cpp | 35 ShaderCompilerTests::ShaderCompilerTests (Context& context) argument 36 : TestCaseGroup(context, "compiler", "Shader Compiler Performance Tests")
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fFboNoAttachmentTests.hpp | 36 tcu::TestCaseGroup* createFboNoAttachmentTests(Context& context); 37 tcu::TestCaseGroup* createFboNoAttachmentCompletenessTests(Context& context);
|
/external/libunwind/src/unwind/ |
H A D | GetBSP.c | 29 _Unwind_GetBSP (struct _Unwind_Context *context) argument 34 unw_get_reg (&context->cursor, UNW_IA64_BSP, &val);
|
H A D | GetCFA.c | 29 _Unwind_GetCFA (struct _Unwind_Context *context) argument 33 unw_get_reg (&context->cursor, UNW_REG_SP, &val);
|
H A D | GetDataRelBase.c | 29 _Unwind_GetDataRelBase (struct _Unwind_Context *context) argument 34 unw_get_proc_info (&context->cursor, &pi);
|