/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
AlignmentTest.java | 20 import android.content.Context; 37 private static Context CONTEXT; 45 Button result = new Button(CONTEXT); 59 TextView result = new TextView(CONTEXT); 68 EditText result = new EditText(CONTEXT); 77 public static ViewGroup create(Context context1) { 78 CONTEXT = context1;
|
/external/chromium_org/v8/src/ |
variables.h | 66 // An indexed slot in a heap context. index() is the variable index in 67 // the context object on the heap, starting at 0. scope() is the 69 CONTEXT, 71 // A named slot in a heap context. name() is the variable name in the 72 // context object on the heap, with lookup starting at the current 73 // context. index() is invalid. 93 // scope is only used to follow the context chain length. 119 bool IsContextSlot() const { return location_ == CONTEXT; }
|
/external/v8/src/ |
variables.h | 66 // An indexed slot in a heap context. index() is the variable index in 67 // the context object on the heap, starting at 0. scope() is the 69 CONTEXT, 71 // A named slot in a heap context. name() is the variable name in the 72 // context object on the heap, with lookup starting at the current 73 // context. index() is invalid. 93 // scope is only used to follow the context chain length. 119 bool IsContextSlot() const { return location_ == CONTEXT; }
|
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/ |
_bsdi.h | 81 #define _MD_GET_SP(_t) (_t)->md.context[2] 83 #define _MD_GET_SP(_t) (_t)->md.context[0].jb_esp 91 #define CONTEXT(_th) ((_th)->md.context) 96 if (setjmp(CONTEXT(_thread))) { \ 103 if (!setjmp(CONTEXT(_thread))) { \ 109 ** Restore a thread context, saved by _MD_SWITCH_CONTEXT 115 longjmp(CONTEXT(_thread), 1); \ 121 PR_CONTEXT_TYPE context; member in struct:_MDThread
|
_nec.h | 67 #define CONTEXT(_thread) (&(_thread)->md.context) 69 #define _MD_GET_SP(_t) (_t)->md.context.uc_mcontext.gregs[CXT_SP] 72 ** Initialize the thread context preparing it to execute "e(o,a)" 77 getcontext(CONTEXT(thread)); \ 78 CONTEXT(thread)->uc_stack.ss_sp = (char*) (thread)->stack->stackBottom; \ 79 CONTEXT(thread)->uc_stack.ss_size = (thread)->stack->stackSize; \ 81 makecontext(CONTEXT(thread), _main, 0); \ 85 if (!getcontext(CONTEXT(_thread))) { \ 91 ** Restore a thread context, saved by _MD_SWITCH_CONTEX 106 PR_CONTEXT_TYPE context; member in struct:_MDThread [all...] |
_nextstep.h | 86 #define CONTEXT(_th) ((_th)->md.context) 94 #define _MD_GET_SP(_th) (_th)->md.context[2] 96 #define _MD_GET_SP(_th) (_th)->md.context[2] 100 #define _MD_GET_SP(_th) (((struct sigcontext *) (_th)->md.context)->sc_onstack) 101 //#define _MD_GET_SP(_th) (_th)->md.context[0].sc_esp 109 ** Initialize a thread context to run "_main()" when started 114 if (setjmp(CONTEXT(_thread))) { \ 121 if (!setjmp(CONTEXT(_thread))) { \ 127 ** Restore a thread context, saved by _MD_SWITCH_CONTEX 139 PR_CONTEXT_TYPE context; member in struct:_MDThread [all...] |
_rhapsody.h | 72 #define CONTEXT(_th) ((_th)->md.context) 73 #define _MD_GET_SP(_th) (((struct sigcontext *) (_th)->md.context)->sc_onstack) 77 ** Initialize a thread context to run "_main()" when started 82 if (setjmp(CONTEXT(_thread))) { \ 89 if (!setjmp(CONTEXT(_thread))) { \ 95 ** Restore a thread context, saved by _MD_SWITCH_CONTEXT 101 longjmp(CONTEXT(_thread), 1); \ 107 PR_CONTEXT_TYPE context; member in struct:_MDThread
|
_sony.h | 58 #define CONTEXT(_thread) (&(_thread)->md.context) 60 #define _MD_GET_SP(_t) (_t)->md.context.uc_mcontext.gregs[CXT_SP] 63 ** Initialize the thread context preparing it to execute _main() 68 getcontext(CONTEXT(_thread)); \ 69 CONTEXT(_thread)->uc_stack.ss_sp = (char*) (_thread)->stack->stackBottom; \ 70 CONTEXT(_thread)->uc_stack.ss_size = (_thread)->stack->stackSize; \ 72 makecontext(CONTEXT(_thread), _main, 0); \ 76 if (!getcontext(CONTEXT(_thread))) { \ 82 ** Restore a thread context, saved by _MD_SWITCH_CONTEX 97 PR_CONTEXT_TYPE context; member in struct:_MDThread [all...] |
_aix.h | 118 #define CONTEXT(_th) ((_th)->md.jb) 119 #define SAVE_CONTEXT(_th) _setjmp(CONTEXT(_th)) 120 #define GOTO_CONTEXT(_th) _longjmp(CONTEXT(_th), 1) 127 ** Initialize the thread context preparing it to execute _main. 132 if (setjmp(CONTEXT(_thread))) { \ 139 if (!setjmp(CONTEXT(_thread))) { \ 145 ** Restore a thread context, saved by _MD_SWITCH_CONTEXT 151 longjmp(CONTEXT(_thread), 1); \
|
_darwin.h | 110 #define CONTEXT(_th) ((_th)->md.context) 111 #define _MD_GET_SP(_th) (((struct sigcontext *) (_th)->md.context)->sc_onstack) 115 ** Initialize a thread context to run "_main()" when started 120 if (setjmp(CONTEXT(_thread))) { \ 127 if (!setjmp(CONTEXT(_thread))) { \ 133 ** Restore a thread context, saved by _MD_SWITCH_CONTEXT 139 longjmp(CONTEXT(_thread), 1); \ 145 PR_CONTEXT_TYPE context; member in struct:_MDThread
|
_dgux.h | 75 #define _MD_GET_SP(_t) (_t)->md.context[4] 78 #define CONTEXT(_th) ((_th)->md.context) 81 ** Initialize the thread context preparing it to execute _main. 86 if(_SETJMP(CONTEXT(_thread))) (*_main)(); \ 91 if (!_SETJMP(CONTEXT(_thread))) { \ 97 ** Restore a thread context, saved by _MD_SWITCH_CONTEXT 103 _LONGJMP(CONTEXT(_thread), 1); \ 111 _PR_CONTEXT_TYPE context; member in struct:_MDThread
|
_freebsd.h | 108 #define CONTEXT(_th) ((_th)->md.context) 110 #define _MD_GET_SP(_th) (_th)->md.context[0]._sjb[2] 114 ** Initialize a thread context to run "_main()" when started 119 if (sigsetjmp(CONTEXT(_thread), 1)) { \ 126 if (!sigsetjmp(CONTEXT(_thread), 1)) { \ 132 ** Restore a thread context, saved by _MD_SWITCH_CONTEXT 138 siglongjmp(CONTEXT(_thread), 1); \ 144 PR_CONTEXT_TYPE context; member in struct:_MDThread
|
_hpux.h | 100 #define CONTEXT(_th) ((_th)->md.jb) 104 #define SAVE_CONTEXT(_th) _setjmp(CONTEXT(_th)) 105 #define GOTO_CONTEXT(_th) _longjmp(CONTEXT(_th), 1) 112 if (_setjmp(CONTEXT(_thread))) (*_main)(); \ 118 if (!_setjmp(CONTEXT(_thread))) { \ 124 ** Restore a thread context, saved by _MD_SWITCH_CONTEXT 130 _longjmp(CONTEXT(_thread), 1); \
|
_linux.h | 165 #define CONTEXT(_th) ((_th)->md.context) 175 #define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[JB_GPR1] 177 #define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[0].__misc[0] 189 #define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[JB_SP] 195 #define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[0].__sp 207 #define _MD_GET_SP(_t) ((long *)((_t)->md.context[0].__jmpbuf)[0]) 223 #define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[0].__sp 229 #define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[0].__sp 246 #define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[JB_SP 371 PR_CONTEXT_TYPE context; member in struct:_MDThread [all...] |
_ncr.h | 86 #define _MD_GET_SP(_t) (_t)->md.context[4] 89 #define CONTEXT(_th) ((_th)->md.context) 92 ** Initialize the thread context preparing it to execute _main. 97 if(_SETJMP(CONTEXT(_thread))) (*_main)(); \ 102 if (!_SETJMP(CONTEXT(_thread))) { \ 108 ** Restore a thread context, saved by _MD_SWITCH_CONTEXT 114 _LONGJMP(CONTEXT(_thread), 1); \ 122 _PR_CONTEXT_TYPE context; member in struct:_MDThread
|
_netbsd.h | 96 #define CONTEXT(_th) ((_th)->md.context) 99 ** Initialize a thread context to run "_main()" when started 104 sigsetjmp(CONTEXT(_thread), 1); \ 105 CONTEXT(_thread)[2] = (unsigned char*) ((_sp) - 128); \ 106 CONTEXT(_thread)[0] = (int) _main; \ 109 #define _MD_GET_SP(_thread) CONTEXT(_thread)[2] 114 sigsetjmp(CONTEXT(_thread), 1); \ 115 CONTEXT(_thread)[2] = (unsigned char*) ((_sp) - 128); \ 116 CONTEXT(_thread)[3] = (int) _main; 200 PR_CONTEXT_TYPE context; member in struct:_MDThread [all...] |
_nto.h | 91 #define _MD_GET_SP(_t) (_t)->md.context[7] 93 #define CONTEXT(_th) ((_th)->md.context) 97 ** Initialize the thread context preparing it to execute _main. 102 if(_SETJMP(CONTEXT(_thread))) (*_main)(); \ 107 if (!_SETJMP(CONTEXT(_thread))) { \ 113 ** Restore a thread context, saved by _MD_SWITCH_CONTEXT 119 _LONGJMP(CONTEXT(_thread), 1); \ 126 _PR_CONTEXT_TYPE context; member in struct:_MDThread
|
_openbsd.h | 87 #define CONTEXT(_th) ((_th)->md.context) 100 #define _MD_GET_SP(_th) (_th)->md.context[JB_SP_INDEX] 105 ** Initialize a thread context to run "_main()" when started 110 if (sigsetjmp(CONTEXT(_thread), 1)) { \ 117 if (!sigsetjmp(CONTEXT(_thread), 1)) { \ 123 ** Restore a thread context, saved by _MD_SWITCH_CONTEXT 129 siglongjmp(CONTEXT(_thread), 1); \ 135 PR_CONTEXT_TYPE context; member in struct:_MDThread
|
_qnx.h | 83 #define _MD_GET_SP(_t) (_t)->md.context[7] 85 #define CONTEXT(_th) ((_th)->md.context) 88 ** Initialize the thread context preparing it to execute _main. 93 if(_SETJMP(CONTEXT(_thread))) (*_main)(); \ 98 if (!_SETJMP(CONTEXT(_thread))) { \ 104 ** Restore a thread context, saved by _MD_SWITCH_CONTEXT 110 _LONGJMP(CONTEXT(_thread), 1); \ 117 _PR_CONTEXT_TYPE context; member in struct:_MDThread
|
_reliantunix.h | 72 * Mike Patnode indicated that it is possibly safe now to use context-switching 75 * will save us the getcontext/setcontext system calls at each context switch. 95 #define _MD_GET_SP(_t) (_t)->md.context.uc_mcontext.gpregs[CXT_SP] 99 #define CONTEXT(_thread) (&(_thread)->md.context) 107 _PR_CONTEXT_TYPE context; member in struct:_MDThread 182 ** Initialize the thread context preparing it to execute "_main()" 183 ** - get a nice, fresh context 190 _GETCONTEXT(CONTEXT(thread)); \ 192 CONTEXT(thread)->uc_stack.ss_sp = thread->stack->stackBottom; [all...] |
_scoos.h | 82 #define CONTEXT(_th) ((_th)->md.jb) 87 if (sigsetjmp(CONTEXT(_thread),1)) { \ 94 if (!sigsetjmp(CONTEXT(_thread), 1)) { \ 100 ** Restore a thread context, saved by _MD_SWITCH_CONTEXT 106 siglongjmp(CONTEXT(_thread), 1); \
|
_sunos4.h | 81 #define _MD_GET_SP(_t) (_t)->md.context[2] 85 #define CONTEXT(_th) ((_th)->md.context) 88 ** Initialize the thread context preparing it to execute _main. 92 int *context = (_thread)->md.context; \ 95 (void) setjmp(context); \ 96 (_thread)->md.context[2] = (int) ((_sp) - 64); \ 97 (_thread)->md.context[2] &= ~7; \ 98 (_thread)->md.context[3] = (int) _main; 141 jmp_buf context; member in struct:_MDThread [all...] |
_unixware.h | 75 #define _MD_GET_SP(_t) (_t)->md.context[4] 78 #define CONTEXT(_th) ((_th)->md.context) 81 ** Initialize the thread context preparing it to execute _main. 86 if(_SETJMP(CONTEXT(_thread))) (*_main)(); \ 91 if (!_SETJMP(CONTEXT(_thread))) { \ 97 ** Restore a thread context, saved by _MD_SWITCH_CONTEXT 103 _LONGJMP(CONTEXT(_thread), 1); \ 111 _PR_CONTEXT_TYPE context; member in struct:_MDThread
|
_openvms.h | 158 #define _MD_GET_SP(_t) (((struct sigcontext *) (_t)->md.context)->sc_sp) 160 #define CONTEXT(_th) ((_th)->md.context) 168 ** Initialize a thread context to run "_main()" when started 173 if (setjmp(CONTEXT(_thread))) { \ 181 if (!setjmp(CONTEXT(_thread))) { \ 187 ** Restore a thread context, saved by _MD_SWITCH_CONTEXT 193 longjmp(CONTEXT(_thread), 1); \ 201 jmp_buf context; member in struct:_MDThread
|
/frameworks/base/core/jni/ |
com_google_android_gles_jni_EGLImpl.cpp | 141 jobject context, jint attribute, jintArray value) { 142 if (display == NULL || context == NULL || value == NULL 148 EGLContext ctx = getContext(_env, context); 432 static jboolean jni_eglDestroyContext(JNIEnv *_env, jobject _this, jobject display, jobject context) { 433 if (display == NULL || context == NULL) { 438 EGLContext ctx = getContext(_env, context); 465 static jboolean jni_eglMakeCurrent(JNIEnv *_env, jobject _this, jobject display, jobject draw, jobject read, jobject context) { 466 if (display == NULL || draw == NULL || read == NULL || context == NULL) { 473 EGLContext ctx = getContext(_env, context); 528 #define CONTEXT "Ljavax/microedition/khronos/egl/EGLContext; [all...] |