/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/ |
_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...] |
_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...] |
_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...] |
_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...] |
_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); \
|
_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
|
_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
|
_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
|
_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
|
_osf1.h | 101 #define _MD_GET_SP(_t) (((struct sigcontext *) (_t)->md.context)->sc_sp) 103 #define CONTEXT(_th) ((_th)->md.context) 106 ** Initialize a thread context to run "_main()" when started 111 if (setjmp(CONTEXT(_thread))) { \ 119 if (!setjmp(CONTEXT(_thread))) { \ 125 ** Restore a thread context, saved by _MD_SWITCH_CONTEXT 131 longjmp(CONTEXT(_thread), 1); \ 137 jmp_buf 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
|
_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
|
_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); \
|
_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
|
_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); \
|
_solaris.h | 222 #define CONTEXT(_thread) (&(_thread)->md.context) 385 _PR_CONTEXT_TYPE context; member in struct:_MDThread 490 #define _MD_GET_SP(_t) (_t)->md.context[2] 492 #define _MD_GET_SP(_t) (_t)->md.context[4] 496 #define CONTEXT(_thread) (_thread)->md.context 502 #define _MD_GET_SP(_t) (_t)->md.context.uc_mcontext.gregs[REG_SP] 512 #define _MD_GET_SP(_t) (_t)->md.context.uc_mcontext.gregs[USP] 516 #define CONTEXT(_thread) (&(_thread)->md.context [all...] |
_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
|
_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
|
/external/libvpx/libvpx/test/ |
register_state_check.h | 48 static bool StoreRegisters(CONTEXT* const context) { 51 context->ContextFlags = CONTEXT_FLOATING_POINT; 52 const bool context_saved = GetThreadContext(this_thread, context) == TRUE; 60 CONTEXT post_context; 74 CONTEXT pre_context_;
|
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
TemplateTranslator.java | 93 public static final JavaExpression CONTEXT = symbol("context"); 98 public static final JavaExpression RESOURCE_LOADER = callOn(CONTEXT, "getResourceLoader"); 169 java.writeStatement(callOn(CONTEXT, "registerMacro", string(name), symbol)); 199 java.startMethod(RENDER_METHOD, "context"); 201 .writeStatement(declare(Type.DATA_CONTEXT, "dataContext", callOn(CONTEXT, "getDataContext"))); 202 java.writeStatement(callOn(CONTEXT, "pushExecutionContext", THIS_TEMPLATE)); 204 java.writeStatement(callOn(CONTEXT, "popExecutionContext")); 226 java.writeStatement(callOn(CONTEXT, "writeUnescaped", string(content))); 252 java.writeStatement(callOn(CONTEXT, "writeUnescaped", expressionTranslato [all...] |
/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/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
pthread_cancel.c | 39 #include "context.h" 65 CONTEXT context; local 67 context.ContextFlags = CONTEXT_CONTROL; 68 GetThreadContext (threadH, &context); 69 PTW32_PROGCTR (context) = (DWORD_PTR) ptw32_cancel_self; 70 SetThreadContext (threadH, &context);
|