Searched refs:context (Results 226 - 250 of 6625) sorted by relevance

1234567891011>>

/external/apache-http/src/org/apache/http/client/protocol/
H A DClientContextConfigurer.java50 private final HttpContext context; field in class:ClientContextConfigurer
52 public ClientContextConfigurer (final HttpContext context) { argument
53 if (context == null)
54 throw new IllegalArgumentException("HTTP context may not be null");
55 this.context = context;
59 this.context.setAttribute(COOKIESPEC_REGISTRY, registry);
63 this.context.setAttribute(AUTHSCHEME_REGISTRY, registry);
67 this.context.setAttribute(COOKIE_STORE, store);
71 this.context
[all...]
/external/chromium_org/chrome/browser/spellchecker/
H A Dspellcheck_factory.cc19 content::BrowserContext* context) {
21 GetInstance()->GetServiceForBrowserContext(context, true));
31 content::BrowserContext* context = host->GetBrowserContext();
32 if (!context)
34 return GetForContext(context);
53 content::BrowserContext* context) const {
54 // Many variables are initialized from the |context| in the SpellcheckService.
55 SpellcheckService* spellcheck = new SpellcheckService(context);
57 PrefService* prefs = user_prefs::UserPrefs::Get(context);
89 content::BrowserContext* context) cons
18 GetForContext( content::BrowserContext* context) argument
[all...]
/external/chromium_org/components/keyed_service/content/
H A Dbrowser_context_keyed_base_factory.h38 // |context|. This is the public interface and is safe to be called multiple
40 // attached to a single |context|. Only test code is allowed to call this
45 content::BrowserContext* context);
66 const content::BrowserContext* context,
71 // Finds which browser context (if any) to use.
73 content::BrowserContext* context) const;
104 virtual void BrowserContextShutdown(content::BrowserContext* context) = 0;
105 virtual void BrowserContextDestroyed(content::BrowserContext* context);
107 // Returns whether we've registered the preferences on this context.
108 bool ArePreferencesSetOn(content::BrowserContext* context) cons
[all...]
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DMainThreadTaskRunnerTest.cpp57 virtual void performTask(ExecutionContext* context) OVERRIDE
67 RefPtrWillBeRawPtr<NullExecutionContext> context = adoptRefWillBeNoop(new NullExecutionContext()); local
68 OwnPtr<MainThreadTaskRunner> runner = MainThreadTaskRunner::create(context.get());
79 RefPtrWillBeRawPtr<NullExecutionContext> context = adoptRefWillBeNoop(new NullExecutionContext()); local
80 OwnPtr<MainThreadTaskRunner> runner = MainThreadTaskRunner::create(context.get());
83 context->setTasksNeedSuspension(true);
89 context->setTasksNeedSuspension(false);
97 RefPtrWillBeRawPtr<NullExecutionContext> context = adoptRefWillBeNoop(new NullExecutionContext()); local
98 OwnPtr<MainThreadTaskRunner> runner = MainThreadTaskRunner::create(context.get());
101 context
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/bindings/
H A DContentScriptProjectDecorator.js16 * @param {!WebInspector.ExecutionContext} context
18 WebInspector.ContentScriptProjectDecorator._updateProjectWithExtensionName = function(project, context)
20 if (project.url().startsWith(context.origin))
21 project.setDisplayName(context.name);
30 var context = /** @type {!WebInspector.ExecutionContext} */(event.data);
31 if (!context.origin || !context.name)
38 WebInspector.ContentScriptProjectDecorator._updateProjectWithExtensionName(projects[i], context);
69 * @param {!WebInspector.ExecutionContext} context
72 function contextWithOriginAndName(context)
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
H A DAudioBasicInspectorNode.cpp37 AudioBasicInspectorNode::AudioBasicInspectorNode(AudioContext* context, float sampleRate, unsigned outputChannelCount) argument
38 : AudioNode(context, sampleRate)
58 AudioContext::AutoLocker locker(context());
68 AudioContext::AutoLocker locker(context());
76 ASSERT(context()->isAudioThread() && context()->isGraphOwner());
96 ASSERT(context()->isGraphOwner());
100 // downstream node, thus remove it from the context's automatic pull list.
102 context()->removeAutomaticPullNode(this);
109 // upstream node(s), add it to the context'
[all...]
/external/chromium_org/third_party/android_crazy_linker/src/tests/
H A Dtest_jni_hooks.cpp20 crazy_context_t* context = crazy_context_create(); local
24 crazy_context_add_search_path_for_address(context, (void*)&main);
26 crazy_context_set_java_vm(context, kJavaVM, JNI_VERSION_1_2);
31 if (!crazy_library_open(&library, kJniLibName, context))
32 Panic("Could not open library: %s\n", crazy_context_get_error(context));
45 crazy_context_set_java_vm(context, kJavaVM, JNI_VERSION_1_6);
48 if (crazy_library_open(&library, kJniLibName, context))
53 crazy_context_set_java_vm(context, NULL, 0);
56 if (!crazy_library_open(&library, kJniLibName, context))
69 crazy_context_destroy(context);
[all...]
/external/deqp/modules/gles3/performance/
H A Des3pPerformanceTests.cpp52 TextureTestGroup (Context& context) argument
53 : TestCaseGroup(context, "texture", "Texture Performance Tests")
70 ShadersTestGroup (Context& context) argument
71 : TestCaseGroup(context, "shader", "Shader Performance Tests")
87 APITests (Context& context) argument
88 : TestCaseGroup(context, "api", "API Performance Tests")
105 BufferTestGroup (Context& context) argument
106 : TestCaseGroup(context, "buffer", "Buffer Performance Tests")
118 PerformanceTests::PerformanceTests (Context& context) argument
119 : TestCaseGroup(context, "performanc
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/load/model/file_descriptor/
H A DFileDescriptorUriLoader.java22 public ModelLoader<Uri, ParcelFileDescriptor> build(Context context, GenericLoaderFactory factories) { argument
23 return new FileDescriptorUriLoader(context, factories.buildModelLoader(GlideUrl.class, ParcelFileDescriptor.class,
24 context));
31 public FileDescriptorUriLoader(Context context) { argument
32 this(context, Glide.buildFileDescriptorModelLoader(GlideUrl.class, context));
35 public FileDescriptorUriLoader(Context context, ModelLoader<GlideUrl, ParcelFileDescriptor> urlLoader) { argument
36 super(context, urlLoader);
40 protected DataFetcher<ParcelFileDescriptor> getLocalUriFetcher(Context context, Uri uri) { argument
41 return new FileDescriptorLocalUriFetcher(context, ur
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/load/model/stream/
H A DStreamUriLoader.java26 public ModelLoader<Uri, InputStream> build(Context context, GenericLoaderFactory factories) { argument
27 return new StreamUriLoader(context, factories.buildModelLoader(GlideUrl.class, InputStream.class, context));
34 public StreamUriLoader(Context context) { argument
35 this(context, Glide.buildStreamModelLoader(GlideUrl.class, context));
38 public StreamUriLoader(Context context, ModelLoader<GlideUrl, InputStream> urlLoader) { argument
39 super(context, urlLoader);
43 protected DataFetcher<InputStream> getLocalUriFetcher(Context context, Uri uri) { argument
44 return new StreamLocalUriFetcher(context, ur
[all...]
/external/ltrace/
H A Dfetch.h44 /* Make a clone of context. */
46 struct fetch_context *context);
51 int fetch_arg_next(struct fetch_context *context, enum tof type,
57 int fetch_retval(struct fetch_context *context, enum tof type,
61 /* Destroy fetch context. CONTEXT shall be the same memory location
63 void fetch_arg_done(struct fetch_context *context);
67 int fetch_param_pack_start(struct fetch_context *context,
71 void fetch_param_pack_end(struct fetch_context *context);
81 struct fetch_context *context);
88 void arch_fetch_arg_done(struct fetch_context *context);
[all...]
/external/chromium_org/third_party/angle/src/libGLESv2/
H A Dmain.cpp28 current->context = NULL;
97 void makeCurrent(Context *context, egl::Display *display, egl::Surface *surface) argument
101 current->context = context;
104 if (context && display && surface)
106 context->makeCurrent(surface);
114 return current->context;
119 Context *context = getContext(); local
121 if (context)
123 if (context
146 gl::Context *context = glGetCurrentContext(); local
[all...]
/external/deqp/modules/gles2/functional/
H A Des2fDepthTests.cpp58 void shadeFragments (rr::FragmentPacket* packets, const int numPackets, const rr::FragmentShadingContext& context) const;
94 void DepthShader::shadeFragments (rr::FragmentPacket* packets, const int numPackets, const rr::FragmentShadingContext& context) const
102 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color);
109 DepthCase (Context& context, const char* name, const char* description);
113 virtual void render (sglr::Context& context) = DE_NULL;
116 DepthCase::DepthCase (Context& context, const char* name, const char* description) argument
117 : TestCase(context, name, description)
129 // Position & size for context
144 sglr::GLContext context(renderCtx, log, sglr::GLCONTEXT_LOG_CALLS, tcu::IVec4(x, y, width, height));
146 context
194 DepthCompareCase(Context& context, const char* name, const char* description, deUint32 compareOp) argument
200 render(sglr::Context& context) argument
254 DepthTests(Context& context) argument
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fDepthTests.cpp58 void shadeFragments (rr::FragmentPacket* packets, const int numPackets, const rr::FragmentShadingContext& context) const;
97 void DepthShader::shadeFragments (rr::FragmentPacket* packets, const int numPackets, const rr::FragmentShadingContext& context) const
105 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color);
112 DepthCase (Context& context, const char* name, const char* description);
116 virtual void render (sglr::Context& context) = DE_NULL;
119 DepthCase::DepthCase (Context& context, const char* name, const char* description) argument
120 : TestCase(context, name, description)
132 // Position & size for context
147 sglr::GLContext context(renderCtx, log, sglr::GLCONTEXT_LOG_CALLS, tcu::IVec4(x, y, width, height));
149 context
197 DepthCompareCase(Context& context, const char* name, const char* description, deUint32 compareOp) argument
203 render(sglr::Context& context) argument
257 DepthTests(Context& context) argument
[all...]
/external/ipsec-tools/src/racoon/missing/crypto/sha2/
H A Dsha2.c334 void SHA256_Init(SHA256_CTX* context) { argument
335 if (context == (SHA256_CTX*)0) {
338 bcopy(sha256_initial_hash_value, context->state, SHA256_DIGEST_LENGTH);
339 bzero(context->buffer, SHA256_BLOCK_LENGTH);
340 context->bitcount = 0;
380 void SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) { argument
385 W256 = (sha2_word32*)context->buffer;
388 a = context->state[0];
389 b = context->state[1];
390 c = context
438 SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) argument
518 SHA256_Update(SHA256_CTX* context, const sha2_byte *data, size_t len) argument
566 SHA256_Final(sha2_byte digest[], SHA256_CTX* context) argument
629 SHA256_End(SHA256_CTX* context, char buffer[]) argument
653 SHA256_CTX context; local
662 SHA512_Init(SHA512_CTX* context) argument
707 SHA512_Transform(SHA512_CTX* context, const sha2_word64* data) argument
762 SHA512_Transform(SHA512_CTX* context, const sha2_word64* data) argument
840 SHA512_Update(SHA512_CTX* context, const sha2_byte *data, size_t len) argument
888 SHA512_Last(SHA512_CTX* context) argument
929 SHA512_Final(sha2_byte digest[], SHA512_CTX* context) argument
958 SHA512_End(SHA512_CTX* context, char buffer[]) argument
982 SHA512_CTX context; local
991 SHA384_Init(SHA384_CTX* context) argument
1000 SHA384_Update(SHA384_CTX* context, const sha2_byte* data, size_t len) argument
1004 SHA384_Final(sha2_byte digest[], SHA384_CTX* context) argument
1033 SHA384_End(SHA384_CTX* context, char buffer[]) argument
1057 SHA384_CTX context; local
[all...]
/external/qemu/distrib/sdl-1.2.15/src/file/
H A DSDL_rwops.c48 static int SDLCALL win32_file_open(SDL_RWops *context, const char *filename, const char *mode) argument
58 if (!context)
61 context->hidden.win32io.h = INVALID_HANDLE_VALUE; /* mark this as unusable */
62 context->hidden.win32io.buffer.data = NULL;
63 context->hidden.win32io.buffer.size = 0;
64 context->hidden.win32io.buffer.left = 0;
82 context->hidden.win32io.buffer.data = (char *)SDL_malloc(READAHEAD_BUFFER_SIZE);
83 if (!context->hidden.win32io.buffer.data) {
95 SDL_free(context->hidden.win32io.buffer.data);
96 context
186 win32_file_seek(SDL_RWops *context, int offset, int whence) argument
222 win32_file_read(SDL_RWops *context, void *ptr, int size, int maxnum) argument
269 win32_file_write(SDL_RWops *context, const void *ptr, int size, int num) argument
301 win32_file_close(SDL_RWops *context) argument
323 stdio_seek(SDL_RWops *context, int offset, int whence) argument
332 stdio_read(SDL_RWops *context, void *ptr, int size, int maxnum) argument
342 stdio_write(SDL_RWops *context, const void *ptr, int size, int num) argument
352 stdio_close(SDL_RWops *context) argument
367 mem_seek(SDL_RWops *context, int offset, int whence) argument
394 mem_read(SDL_RWops *context, void *ptr, int size, int maxnum) argument
414 mem_write(SDL_RWops *context, const void *ptr, int size, int num) argument
423 mem_writeconst(SDL_RWops *context, const void *ptr, int size, int num) argument
428 mem_close(SDL_RWops *context) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/pae/
H A Dieee802_1x_key.c34 static int aes_kdf_128(const u8 *kdk, const char *label, const u8 *context, argument
59 os_memcpy(buf + lab_len + 2, context, ctx_len);
85 u8 context[2 * ETH_ALEN]; local
87 joint_two_mac(mac1, mac2, context);
89 context, sizeof(context) * 8, 128, cak);
104 u8 *context; local
107 context = os_zalloc(ctx_len);
108 if (!context) {
112 os_memcpy(context, si
131 u8 context[16]; local
151 u8 context[16]; local
[all...]
/external/wpa_supplicant_8/src/pae/
H A Dieee802_1x_key.c34 static int aes_kdf_128(const u8 *kdk, const char *label, const u8 *context, argument
59 os_memcpy(buf + lab_len + 2, context, ctx_len);
85 u8 context[2 * ETH_ALEN]; local
87 joint_two_mac(mac1, mac2, context);
89 context, sizeof(context) * 8, 128, cak);
104 u8 *context; local
107 context = os_zalloc(ctx_len);
108 if (!context) {
112 os_memcpy(context, si
131 u8 context[16]; local
151 u8 context[16]; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/pae/
H A Dieee802_1x_key.c34 static int aes_kdf_128(const u8 *kdk, const char *label, const u8 *context, argument
59 os_memcpy(buf + lab_len + 2, context, ctx_len);
85 u8 context[2 * ETH_ALEN]; local
87 joint_two_mac(mac1, mac2, context);
89 context, sizeof(context) * 8, 128, cak);
104 u8 *context; local
107 context = os_zalloc(ctx_len);
108 if (!context) {
112 os_memcpy(context, si
131 u8 context[16]; local
151 u8 context[16]; local
[all...]
/external/chromium_org/skia/ext/
H A Dplatform_device_mac.cc34 void PlatformDevice::InitializeCGContext(CGContextRef context) { argument
39 void PlatformDevice::LoadPathToCGContext(CGContextRef context, argument
41 // instead of a persistent attribute of the context, CG specifies the fill
43 CGContextBeginPath(context);
51 CGContextMoveToPoint(context, points[0].fX, points[0].fY);
55 CGContextAddLineToPoint(context, points[1].fX, points[1].fY);
59 CGContextAddQuadCurveToPoint(context, points[1].fX, points[1].fY,
64 CGContextAddCurveToPoint(context, points[1].fX, points[1].fY,
79 CGContextClosePath(context);
83 void PlatformDevice::LoadTransformToCGContext(CGContextRef context, argument
116 LoadClippingRegionToCGContext( CGContextRef context, const SkRegion& region, const SkMatrix& transformation) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A DScriptState.cpp14 PassRefPtr<ScriptState> ScriptState::create(v8::Handle<v8::Context> context, PassRefPtr<DOMWrapperWorld> world) argument
16 RefPtr<ScriptState> scriptState = adoptRef(new ScriptState(context, world));
30 ScriptState::ScriptState(v8::Handle<v8::Context> context, PassRefPtr<DOMWrapperWorld> world) argument
31 : m_isolate(context->GetIsolate())
32 , m_context(m_isolate, context)
34 , m_perContextData(V8PerContextData::create(context))
39 context->SetAlignedPointerInEmbedderData(v8ContextPerContextDataIndex, this);
51 context()->DetachGlobal();
58 return context()->IsCodeGenerationFromStringsAllowed();
64 return context()
98 create(v8::Handle<v8::Context> context, PassRefPtr<DOMWrapperWorld> world) argument
107 ScriptStateForTesting(v8::Handle<v8::Context> context, PassRefPtr<DOMWrapperWorld> world) argument
[all...]
/external/libvpx/libvpx/third_party/nestegg/include/nestegg/
H A Dnestegg.h92 /** User supplied IO context. */
148 typedef void (* nestegg_log)(nestegg * context, unsigned int severity, char const * format, ...);
150 /** Initialize a nestegg context. During initialization the parser will
153 @param context Storage for the new nestegg context. @see nestegg_destroy
154 @param io User supplied IO context.
159 int nestegg_init(nestegg ** context, nestegg_io io, nestegg_log callback, int64_t max_offset);
161 /** Destroy a nestegg context and free associated memory.
162 @param context #nestegg context t
[all...]
/external/ltrace/sysdeps/linux-gnu/m68k/
H A Dfetch.c46 fetch_register_banks(struct process *proc, struct fetch_context *context, argument
49 if (ptrace(PTRACE_GETREGS, proc->pid, 0, &context->regs) < 0)
53 && ptrace(PTRACE_GETFPREGS, proc->pid, 0, &context->fpregs) < 0)
63 struct fetch_context *context = malloc(sizeof(*context)); local
64 if (context == NULL)
68 if (fetch_register_banks(proc, context, type == LT_TOF_FUNCTION) < 0) {
70 free(context);
74 context->arg_num = 0;
75 context
95 arch_fetch_arg_clone(struct process *proc, struct fetch_context *context) argument
105 arch_fetch_arg_next(struct fetch_context *context, enum tof type, struct process *proc, struct arg_type_info *info, struct value *valuep) argument
145 arch_fetch_retval(struct fetch_context *context, enum tof type, struct process *proc, struct arg_type_info *info, struct value *valuep) argument
235 arch_fetch_arg_done(struct fetch_context *context) argument
[all...]
/external/chromium_org/chrome/browser/extensions/api/networking_private/
H A Dnetworking_private_event_router_factory.cc19 content::BrowserContext* context) {
21 GetInstance()->GetServiceForBrowserContext(context, true));
44 content::BrowserContext* context) const {
46 Profile::FromBrowserContext(context));
51 content::BrowserContext* context) const {
52 return ExtensionsBrowserClient::Get()->GetOriginalContext(context);
18 GetForProfile( content::BrowserContext* context) argument
/external/chromium_org/chrome/browser/signin/
H A Deasy_unlock_service_factory.cc45 content::BrowserContext* context) const {
48 Profile::FromBrowserContext(context))) {
50 return new EasyUnlockServiceSignin(Profile::FromBrowserContext(context));
56 return new EasyUnlockServiceRegular(Profile::FromBrowserContext(context));
60 content::BrowserContext* context) const {
61 return chrome::GetBrowserContextRedirectedInIncognito(context);

Completed in 947 milliseconds

1234567891011>>