/external/webkit/JavaScriptCore/API/tests/ |
testapi.c | 45 static JSGlobalContextRef context; variable 49 if (JSValueToBoolean(context, value) != expectedValue) { 57 double number = JSValueToNumber(context, value, NULL); 70 JSStringRef valueAsString = JSValueToStringCopy(context, value, NULL); 95 JSStringRef valueAsString = JSValueToStringCopy(context, value, NULL); 136 static bool MyObject_hasProperty(JSContextRef context, JSObjectRef object, JSStringRef propertyName) 138 UNUSED_PARAM(context); 153 static JSValueRef MyObject_getProperty(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception) 155 UNUSED_PARAM(context); 159 return JSValueMakeNumber(context, 1) [all...] |
JSNode.h | 33 extern JSObjectRef JSNode_new(JSContextRef context, Node* node); 34 extern JSClassRef JSNode_class(JSContextRef context); 35 extern JSObjectRef JSNode_construct(JSContextRef context, JSObjectRef object, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception);
|
/external/webkit/WebCore/storage/ |
IDBRequest.cpp | 38 IDBRequest::IDBRequest(ScriptExecutionContext* context) 39 : ActiveDOMObject(context, this)
|
/frameworks/base/core/java/android/view/ |
OrientationListener.java | 19 import android.content.Context; 43 * @param context for the OrientationListener. 45 public OrientationListener(Context context) { 46 mOrientationEventLis = new OrientationEventListenerInternal(context); 52 * @param context for the OrientationListener. 58 public OrientationListener(Context context, int rate) { 59 mOrientationEventLis = new OrientationEventListenerInternal(context, rate); 63 OrientationEventListenerInternal(Context context) [all...] |
/frameworks/base/core/java/android/webkit/ |
PluginStub.java | 18 import android.content.Context; 33 * @param context The current application's Context. 36 public abstract View getEmbeddedView(int NPP, Context context); 43 * @param context The current application's Context. 46 public abstract View getFullScreenView(int NPP, Context context);
|
/external/v8/test/cctest/ |
test-decls.cc | 44 // A DeclarationContext holds a reference to a v8::Context and keeps 93 Persistent<Context> context_; 120 context_ = Context::New(0, function->InstanceTemplate(), Local<Value>()); 158 DeclarationContext* context = GetInstance(info); local 159 context->get_count_++; 160 return context->Get(key); 167 DeclarationContext* context = GetInstance(info); local 168 context->set_count_++; 169 return context->Set(key, value); 175 DeclarationContext* context = GetInstance(info) local 207 { DeclarationContext context; local 215 { DeclarationContext context; local 223 { DeclarationContext context; local 231 { DeclarationContext context; local 239 { DeclarationContext context; local 262 { PresentPropertyContext context; local 270 { PresentPropertyContext context; local 278 { PresentPropertyContext context; local 286 { PresentPropertyContext context; local 294 { PresentPropertyContext context; local 316 { AbsentPropertyContext context; local 324 { AbsentPropertyContext context; local 332 { AbsentPropertyContext context; local 340 { AbsentPropertyContext context; local 348 { AbsentPropertyContext context; local 356 { AbsentPropertyContext context; local 406 { AppearingPropertyContext context; local 414 { AppearingPropertyContext context; local 422 { AppearingPropertyContext context; local 430 { AppearingPropertyContext context; local 438 { AppearingPropertyContext context; local 496 { ReappearingPropertyContext context; local 526 { ExistsInPrototypeContext context; local 534 { ExistsInPrototypeContext context; local 542 { ExistsInPrototypeContext context; local 550 { ExistsInPrototypeContext context; local 558 { ExistsInPrototypeContext context; local 586 { AbsentInPrototypeContext context; local [all...] |
/external/webkit/WebCore/bindings/js/ |
JSSVGPathSegCustom.cpp | 61 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, SVGPathSeg* object, SVGElement* context) 67 ASSERT(JSSVGContextCache::svgContextForDOMObject(wrapper) == context); 73 return CREATE_SVG_OBJECT_WRAPPER(exec, globalObject, SVGPathSegClosePath, object, context); 75 return CREATE_SVG_OBJECT_WRAPPER(exec, globalObject, SVGPathSegMovetoAbs, object, context); 77 return CREATE_SVG_OBJECT_WRAPPER(exec, globalObject, SVGPathSegMovetoRel, object, context); 79 return CREATE_SVG_OBJECT_WRAPPER(exec, globalObject, SVGPathSegLinetoAbs, object, context); 81 return CREATE_SVG_OBJECT_WRAPPER(exec, globalObject, SVGPathSegLinetoRel, object, context); 83 return CREATE_SVG_OBJECT_WRAPPER(exec, globalObject, SVGPathSegCurvetoCubicAbs, object, context); 85 return CREATE_SVG_OBJECT_WRAPPER(exec, globalObject, SVGPathSegCurvetoCubicRel, object, context); 87 return CREATE_SVG_OBJECT_WRAPPER(exec, globalObject, SVGPathSegCurvetoQuadraticAbs, object, context); [all...] |
/frameworks/base/core/jni/ |
android_message_digest_sha1.cpp | 33 jfieldID context; member in struct:fields_t 39 SHA_CTX* context; local 45 context = (SHA_CTX *)malloc(sizeof(SHA_CTX)); 46 SHA1_Init(context); 48 env->SetIntField(clazz, fields.context, (int)context); 53 SHA_CTX *context = (SHA_CTX *)env->GetIntField(clazz, fields.context); local 54 if (context != NULL) { 56 printf("sha1.native_reset: free context\n") 71 SHA_CTX *context = (SHA_CTX *)env->GetIntField(clazz, fields.context); local 102 SHA_CTX *context = (SHA_CTX *)env->GetIntField(clazz, fields.context); local [all...] |
android_security_Md5MessageDigest.cpp | 28 jfieldID context; member in struct:android::fields_t 34 MD5_CTX* context = (MD5_CTX *)malloc(sizeof(MD5_CTX)); local 35 MD5_Init(context); 37 env->SetIntField(clazz, fields.context, (int)context); 42 MD5_CTX *context = (MD5_CTX *)env->GetIntField(clazz, fields.context); local 43 if (context != NULL) { 44 free(context); 45 env->SetIntField(clazz, fields.context, 0 ) 53 MD5_CTX *context = (MD5_CTX *)env->GetIntField(clazz, fields.context); local 78 MD5_CTX *context = (MD5_CTX *)env->GetIntField(clazz, fields.context); local [all...] |
/libcore/luni/src/main/java/java/security/ |
AccessControlContext.java | 46 // - 'context' can not be null 49 ProtectionDomain[] context; field in class:AccessControlContext 84 this.context = acc.context; 92 * @param context 94 * checks in the context of this {@code AccessControlContext} 96 * if {@code context} is {@code null} 98 public AccessControlContext(ProtectionDomain[] context) { 99 if (context == null) { 100 throw new NullPointerException("context can not be null") [all...] |
/external/webkit/WebKit/mac/Plugins/ |
WebNetscapeContainerCheckContextInfo.h | 39 - (id)initWithCheckRequestID:(uint32)checkRequestID callbackFunc:(void (*)(NPP npp, uint32 checkID, NPBool allowed, void* context))callbackFunc context:(void*)context; 42 - (void*)context;
|
/frameworks/base/core/java/com/android/internal/widget/ |
PasswordEntryKeyboardView.java | 19 import android.content.Context; 31 public PasswordEntryKeyboardView(Context context, AttributeSet attrs) { 32 super(context, attrs); 35 public PasswordEntryKeyboardView(Context context, AttributeSet attrs, int defStyle) { 36 super(context, attrs, defStyle);
|
/hardware/ril/mock-ril/src/cpp/ |
experiments.h | 22 void experiments(v8::Handle<v8::Context> context);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherAppWidgetHost.java | 22 import android.content.Context; 30 public LauncherAppWidgetHost(Context context, int hostId) { 31 super(context, hostId); 35 protected AppWidgetHostView onCreateView(Context context, int appWidgetId, 37 return new LauncherAppWidgetHostView(context);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/ |
AndroidTestPlugin.java | 44 public void start(BundleContext context) throws Exception { 45 super.start(context); 55 public void stop(BundleContext context) throws Exception { 57 super.stop(context);
|
/dalvik/dx/src/com/android/dx/util/ |
ExceptionWithContext.java | 23 * Exception which carries around structured context. 27 /** {@code non-null;} human-oriented context of the exception */ 28 private StringBuffer context; field in class:ExceptionWithContext 31 * Augments the given exception with the given context, and return the 37 * @param str {@code non-null;} context to add 83 String ctx = ((ExceptionWithContext) cause).context.toString(); 84 context = new StringBuffer(ctx.length() + 200); 85 context.append(ctx); 87 context = new StringBuffer(200); 95 out.println(context); [all...] |
/external/libvpx/ |
md5_utils.h | 37 void MD5Init(struct MD5Context *context); 38 void MD5Update(struct MD5Context *context, md5byte const *buf, unsigned len); 39 void MD5Final(unsigned char digest[16], struct MD5Context *context);
|
/external/webkit/WebCore/dom/ |
MessageChannel.cpp | 35 MessageChannel::MessageChannel(ScriptExecutionContext* context) 36 : m_port1(MessagePort::create(*context)) 37 , m_port2(MessagePort::create(*context))
|
/external/webkit/WebCore/notifications/ |
Notification.cpp | 45 Notification::Notification(const String& url, ScriptExecutionContext* context, ExceptionCode& ec, NotificationPresenter* provider) 46 : ActiveDOMObject(context, this) 52 Document* document = context->isDocument() ? static_cast<Document*>(context) : 0; 53 if (m_presenter->checkPermission(context->url(), document) != NotificationPresenter::PermissionAllowed) { 58 m_notificationURL = context->completeURL(url); 65 Notification::Notification(const NotificationContents& contents, ScriptExecutionContext* context, ExceptionCode& ec, NotificationPresenter* provider) 66 : ActiveDOMObject(context, this) 73 Document* document = context->isDocument() ? static_cast<Document*>(context) : 0 [all...] |
/external/webkit/WebCore/platform/graphics/ |
GeneratedImage.cpp | 37 void GeneratedImage::draw(GraphicsContext* context, const FloatRect& dstRect, const FloatRect& srcRect, ColorSpace, CompositeOperator compositeOp) 39 context->save(); 40 context->setCompositeOperation(compositeOp); 41 context->clip(dstRect); 42 context->translate(dstRect.x(), dstRect.y()); 44 context->scale(FloatSize(dstRect.width() / srcRect.width(), dstRect.height() / srcRect.height())); 45 context->translate(-srcRect.x(), -srcRect.y()); 46 context->fillRect(FloatRect(FloatPoint(), m_size), *m_generator.get()); 47 context->restore(); 50 void GeneratedImage::drawPattern(GraphicsContext* context, const FloatRect& srcRect, const AffineTransform& patternTransform [all...] |
/packages/apps/Email/src/com/android/email/activity/ |
ProgressListener.java | 19 import android.content.Context; 26 * @param context 33 void showProgress(Context context, String title, String message, long currentProgress, 37 * @param context 44 void updateProgress(Context context, String title, String message, long currentProgress, 48 * @param context 50 void hideProgress(Context context); [all...] |
/libcore/luni/src/main/java/org/apache/xml/dtm/ref/ |
DTMDefaultBaseTraversers.java | 206 * @param context The context node if this iteration. 211 public int next(int context, int current) 220 * @param context The context node of this iteration. 226 public int next(int context, int current, int expandedTypeID) 248 * By the nature of the stateless traversal, the context node can not be 252 * @param context The context node of this traversal. 256 public int first(int context) [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarAppWidgetProvider.java | 24 import android.content.Context; 71 public void onReceive(Context context, Intent intent) { 76 performUpdate(context, null /* all widgets */, 79 super.onReceive(context, intent); 87 public void onEnabled(Context context) { 89 PackageManager pm = context.getPackageManager(); 91 new ComponentName(context, TimeChangeReceiver.class), 100 public void onDisabled(Context context) [all...] |
/external/dbus/bus/ |
bus.c | 2 /* bus.c message bus context object 64 BusContext *context; member in struct:__anon3308 72 BusContext *context; local 85 context = bd->context; 89 return context; 110 BusContext *context; local 112 context = server_get_context (server); 114 return _dbus_loop_add_watch (context->loop, 124 BusContext *context; local 146 BusContext *context; local 159 BusContext *context; local 172 BusContext *context = data; local 524 context); local 536 BusContext *context; local [all...] |
/external/srec/srec/crec/ |
c47mulsp.c | 93 srec_context* context = grammar; local 95 context->max_searchable_nodes = recm->max_fsm_nodes; 96 context->max_searchable_arcs = recm->max_fsm_arcs; 98 if (context->max_searchable_nodes < context->num_nodes || context->max_searchable_arcs < context->num_arcs) 100 PLogError(L("Error: context switch failed due to search limitations [arcs max=%d, actual=%d], [nodes max=%d, actual=%d]\n"), 101 context->max_searchable_arcs, context->num_arcs [all...] |