/external/skia/tests/ |
ReadWriteAlphaTest.cpp | 24 GrContext* context = factory->get(glType); local 25 if (NULL == context) { 43 GrTexture* texture = context->createUncachedTexture(desc, textureData, 0); 84 SkAutoTUnref<SkBaseDevice> device(new SkGpuDevice(context, texture->asRenderTarget()));
|
/external/tcpdump/ |
signature.c | 56 MD5_CTX context; local 101 MD5_Init(&context); /* init context for 1st pass */ 102 MD5_Update(&context, k_ipad, 64); /* start with inner pad */ 103 MD5_Update(&context, text, text_len); /* then text of datagram */ 104 MD5_Final(digest, &context); /* finish up 1st pass */ 109 MD5_Init(&context); /* init context for 2nd pass */ 110 MD5_Update(&context, k_opad, 64); /* start with outer pad */ 111 MD5_Update(&context, digest, 16); /* then results of 1st hash * [all...] |
/external/wpa_supplicant_8/src/crypto/ |
fips_prf_openssl.c | 18 SHA_CTX context; local 19 os_memset(&context, 0, sizeof(context)); 20 os_memcpy(&context.h0, state, 5 * 4); 21 SHA1_Transform(&context, data); 22 os_memcpy(state, &context.h0, 5 * 4);
|
/frameworks/base/core/java/android/text/style/ |
URLSpan.java | 19 import android.content.Context; 59 Context context = widget.getContext(); local 61 intent.putExtra(Browser.EXTRA_APPLICATION_ID, context.getPackageName()); 62 context.startActivity(intent);
|
/frameworks/base/core/jni/ |
android_media_ToneGenerator.cpp | 37 jfieldID context; member in struct:fields_t 45 fields.context); 58 fields.context); 70 fields.context); 80 fields.context); 83 env->SetLongField(thiz, fields.context, 0); 92 env->SetLongField(thiz, fields.context, 0); 106 env->SetLongField(thiz, fields.context, (jlong)lpToneGen); 108 ALOGV("ToneGenerator fields.context: %p", (void*) env->GetLongField(thiz, fields.context)); [all...] |
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
RemoteReceiver.java | 19 import android.content.Context; 32 public void onReceive(Context context, Intent intent) 37 context.sendOrderedBroadcast(newIntent, null);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListItemISVAndButton.java | 19 import android.content.Context; 43 Context context = parent.getContext(); local 45 final LinearLayout ll = new LinearLayout(context); 48 final InternalSelectionView isv = new InternalSelectionView(context, 8, "ISV postion " + position); 58 final Button topButton = new Button(context); 64 final TextView filler = new TextView(context);
|
/frameworks/base/libs/hwui/ |
AnimationContext.h | 47 AnimationContext& context() { return mContext; } function in class:android::uirenderer::AnimationHandle 60 AnimationHandle(AnimationContext& context); 61 AnimationHandle(RenderNode& animatingNode, AnimationContext& context);
|
/frameworks/base/services/core/java/com/android/server/am/ |
FactoryErrorDialog.java | 19 import android.content.Context; 26 public FactoryErrorDialog(Context context, CharSequence msg) { 27 super(context); 29 setTitle(context.getText(com.android.internal.R.string.factorytest_failed)); 32 context.getText(com.android.internal.R.string.factorytest_reboot),
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
AttachInfo_Accessor.java | 22 import android.content.Context; 32 Context context = view.getContext(); local 33 WindowManager wm = (WindowManager)context.getSystemService(Context.WINDOW_SERVICE); 35 ViewRootImpl root = new ViewRootImpl(context, display);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/internal/view/menu/ |
BridgeMenuItemImpl.java | 21 import android.content.Context; 44 Context context = menu.getContext(); local 45 while (context instanceof ContextThemeWrapper) { 46 context = ((ContextThemeWrapper) context).getBaseContext(); 48 if (context instanceof BridgeContext) { 49 mContext = ((BridgeContext) context);
|
/frameworks/compile/mclinker/lib/MC/ |
InputBuilder.cpp | 111 // archive needs a individual context. We identify the object files in an 113 LDContext* context = NULL; local 115 // pInput is an object in an archive file. Produce a new context in this 117 context = m_pContextFactory->produce(); 120 // Using pInput.path() to avoid from creating context for identical file 122 context = m_pContextFactory->produce(pInput.path()); 125 pInput.setContext(context);
|
/frameworks/native/opengl/tests/finish/ |
finish.cpp | 43 EGLContext context; local 63 context = eglCreateContext(dpy, config, NULL, NULL); 64 eglMakeCurrent(dpy, surface, surface, context);
|
/frameworks/native/opengl/tests/gl_perf/ |
gl2_perf.cpp | 70 EGLContext context; local 106 context = eglCreateContext(dpy, myConfig, EGL_NO_CONTEXT, context_attribs); 108 if (context == EGL_NO_CONTEXT) { 112 returnValue = eglMakeCurrent(dpy, surface, surface, context);
|
/frameworks/native/opengl/tests/linetex/ |
linetex.cpp | 41 EGLContext context; local 61 context = eglCreateContext(dpy, config, NULL, NULL); 62 eglMakeCurrent(dpy, surface, surface, context);
|
/frameworks/native/opengl/tests/textures/ |
textures.cpp | 39 EGLContext context; local 59 context = eglCreateContext(dpy, config, NULL, NULL); 60 eglMakeCurrent(dpy, surface, surface, context);
|
/frameworks/support/v4/jellybean/android/support/v4/app/ |
ActivityCompatJB.java | 20 import android.content.Context; 25 public static void startActivity(Context context, Intent intent, Bundle options) { 26 context.startActivity(intent, options);
|
/frameworks/support/v4/jellybean-mr2/android/support/v4/app/ |
ActionBarDrawerToggleJellybeanMR2.java | 23 import android.content.Context; 56 final Context context; local 58 context = actionBar.getThemedContext(); 60 context = activity; 63 final TypedArray a = context.obtainStyledAttributes(null, THEME_ATTRS,
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
ActionBarActivityDelegateHC.java | 20 import android.content.Context; 59 Context context = originalView.getContext(); local 63 new SupportActionModeWrapper.CallbackWrapper(context, callback));
|
/hardware/intel/common/libva/test/basic/ |
test.c | 97 VAContextID context; local 117 va_status = vaCreateContext(va_dpy, config_id, 720, 480, 0 /* flag */, surfaces, 20, &context); 120 va_status = vaDestroyContext(va_dpy, context);
|
/libcore/dex/src/main/java/com/android/dex/util/ |
ExceptionWithContext.java | 23 * Exception which carries around structured context. 26 /** {@code non-null;} human-oriented context of the exception */ 27 private StringBuffer context; field in class:ExceptionWithContext 30 * Augments the given exception with the given context, and return the 36 * @param str {@code non-null;} context to add 82 String ctx = ((ExceptionWithContext) cause).context.toString(); 83 context = new StringBuffer(ctx.length() + 200); 84 context.append(ctx); 86 context = new StringBuffer(200); 94 out.println(context); [all...] |
/libcore/luni/src/main/java/javax/net/ssl/ |
SSLServerSocketFactory.java | 70 SSLContext context; local 72 context = SSLContext.getDefault(); 74 context = null; 76 if (context != null) { 77 defaultServerSocketFactory = context.getServerSocketFactory();
|
SSLSocketFactory.java | 81 SSLContext context; local 83 context = SSLContext.getDefault(); 85 context = null; 87 if (context != null) { 88 defaultSocketFactory = context.getSocketFactory();
|
/ndk/sources/android/crazy_linker/tests/ |
test_load_library_callbacks.cpp | 47 crazy_context_t* context = crazy_context_create(); local 51 crazy_context_set_load_address(context, 0x20000000); 57 crazy_context_set_callback_poster(context, &PostCallback, &callback); 63 crazy_context_get_callback_poster(context, &poster, &poster_opaque); 69 if (!crazy_library_open(&library, "libfoo.so", context)) { 70 Panic("Could not open library: %s\n", crazy_context_get_error(context)); 85 crazy_library_close_with_context(library, context); 88 crazy_context_destroy(context);
|
test_relocated_shared_relro.cpp | 30 crazy_context_t* context = crazy_context_create(); local 44 crazy_context_set_load_address(context, CHILD_ADDRESS); 45 foo.Init("libfoo_with_relro.so", context); 50 foo.UseSharedRelro(context); 72 crazy_context_set_load_address(context, PARENT_ADDRESS); 73 foo.Init("libfoo_with_relro.so", context); 79 foo.CreateSharedRelro(context, CHILD_ADDRESS); 102 crazy_context_destroy(context);
|