Home
last modified time | relevance | path

Searched refs:JSContextRef (Results 1 – 25 of 120) sorted by relevance

12345

/external/webkit/Source/JavaScriptCore/API/
DJSValueRef.h66 JS_EXPORT JSType JSValueGetType(JSContextRef ctx, JSValueRef value);
75 JS_EXPORT bool JSValueIsUndefined(JSContextRef ctx, JSValueRef value);
84 JS_EXPORT bool JSValueIsNull(JSContextRef ctx, JSValueRef value);
93 JS_EXPORT bool JSValueIsBoolean(JSContextRef ctx, JSValueRef value);
102 JS_EXPORT bool JSValueIsNumber(JSContextRef ctx, JSValueRef value);
111 JS_EXPORT bool JSValueIsString(JSContextRef ctx, JSValueRef value);
120 JS_EXPORT bool JSValueIsObject(JSContextRef ctx, JSValueRef value);
130 JS_EXPORT bool JSValueIsObjectOfClass(JSContextRef ctx, JSValueRef value, JSClassRef jsClass);
143 JS_EXPORT bool JSValueIsEqual(JSContextRef ctx, JSValueRef a, JSValueRef b, JSValueRef* exception);
153 JS_EXPORT bool JSValueIsStrictEqual(JSContextRef ctx, JSValueRef a, JSValueRef b);
[all …]
DJSObjectRef.h92 (*JSObjectInitializeCallback) (JSContextRef ctx, JSObjectRef object);
130 (*JSObjectHasPropertyCallback) (JSContextRef ctx, JSObjectRef object, JSStringRef propertyName);
147 (*JSObjectGetPropertyCallback) (JSContextRef ctx, JSObjectRef object, JSStringRef propertyName, JSV…
165 (*JSObjectSetPropertyCallback) (JSContextRef ctx, JSObjectRef object, JSStringRef propertyName, JSV…
182 (*JSObjectDeletePropertyCallback) (JSContextRef ctx, JSObjectRef object, JSStringRef propertyName, …
199 (*JSObjectGetPropertyNamesCallback) (JSContextRef ctx, JSObjectRef object, JSPropertyNameAccumulato…
220 (*JSObjectCallAsFunctionCallback) (JSContextRef ctx, JSObjectRef function, JSObjectRef thisObject, …
240 (*JSObjectCallAsConstructorCallback) (JSContextRef ctx, JSObjectRef constructor, size_t argumentCou…
261 (*JSObjectHasInstanceCallback) (JSContextRef ctx, JSObjectRef constructor, JSValueRef possibleInst…
280 (*JSObjectConvertToTypeCallback) (JSContextRef ctx, JSObjectRef object, JSType type, JSValueRef* ex…
[all …]
DJSValueRef.cpp49 ::JSType JSValueGetType(JSContextRef ctx, JSValueRef value) in JSValueGetType()
70 bool JSValueIsUndefined(JSContextRef ctx, JSValueRef value) in JSValueIsUndefined()
79 bool JSValueIsNull(JSContextRef ctx, JSValueRef value) in JSValueIsNull()
88 bool JSValueIsBoolean(JSContextRef ctx, JSValueRef value) in JSValueIsBoolean()
97 bool JSValueIsNumber(JSContextRef ctx, JSValueRef value) in JSValueIsNumber()
106 bool JSValueIsString(JSContextRef ctx, JSValueRef value) in JSValueIsString()
115 bool JSValueIsObject(JSContextRef ctx, JSValueRef value) in JSValueIsObject()
124 bool JSValueIsObjectOfClass(JSContextRef ctx, JSValueRef value, JSClassRef jsClass) in JSValueIsObjectOfClass()
140 bool JSValueIsEqual(JSContextRef ctx, JSValueRef a, JSValueRef b, JSValueRef* exception) in JSValueIsEqual()
157 bool JSValueIsStrictEqual(JSContextRef ctx, JSValueRef a, JSValueRef b) in JSValueIsStrictEqual()
[all …]
DJSObjectRef.cpp76 JSObjectRef JSObjectMake(JSContextRef ctx, JSClassRef jsClass, void* data) in JSObjectMake()
91 JSObjectRef JSObjectMakeFunctionWithCallback(JSContextRef ctx, JSStringRef name, JSObjectCallAsFunc… in JSObjectMakeFunctionWithCallback()
101 JSObjectRef JSObjectMakeConstructor(JSContextRef ctx, JSClassRef jsClass, JSObjectCallAsConstructor… in JSObjectMakeConstructor()
115 JSObjectRef JSObjectMakeFunction(JSContextRef ctx, JSStringRef name, unsigned parameterCount, const… in JSObjectMakeFunction()
137 JSObjectRef JSObjectMakeArray(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[],… in JSObjectMakeArray()
162 JSObjectRef JSObjectMakeDate(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[], … in JSObjectMakeDate()
182 JSObjectRef JSObjectMakeError(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[],… in JSObjectMakeError()
201 JSObjectRef JSObjectMakeRegExp(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[]… in JSObjectMakeRegExp()
221 JSValueRef JSObjectGetPrototype(JSContextRef ctx, JSObjectRef object) in JSObjectGetPrototype()
230 void JSObjectSetPrototype(JSContextRef ctx, JSObjectRef object, JSValueRef value) in JSObjectSetPrototype()
[all …]
DJSWeakObjectMapRefPrivate.cpp44 JSWeakObjectMapRef JSWeakObjectMapCreate(JSContextRef context, void* privateData, JSWeakMapDestroye… in JSWeakObjectMapCreate()
53 void JSWeakObjectMapSet(JSContextRef ctx, JSWeakObjectMapRef map, void* key, JSObjectRef object) in JSWeakObjectMapSet()
64 JSObjectRef JSWeakObjectMapGet(JSContextRef ctx, JSWeakObjectMapRef map, void* key) in JSWeakObjectMapGet()
72 JS_EXPORT bool JSWeakObjectMapClear(JSContextRef, JSWeakObjectMapRef, void*, JSObjectRef);
73 bool JSWeakObjectMapClear(JSContextRef, JSWeakObjectMapRef, void*, JSObjectRef) in JSWeakObjectMapClear() argument
DJSBase.h39 typedef const struct OpaqueJSContext* JSContextRef; typedef
105 JS_EXPORT JSValueRef JSEvaluateScript(JSContextRef ctx, JSStringRef script, JSObjectRef thisObject,…
117 JS_EXPORT bool JSCheckScriptSyntax(JSContextRef ctx, JSStringRef script, JSStringRef sourceURL, int…
132 JS_EXPORT void JSGarbageCollect(JSContextRef ctx);
DJSObjectRefPrivate.h47 JS_EXPORT bool JSObjectSetPrivateProperty(JSContextRef ctx, JSObjectRef object, JSStringRef propert…
57 JS_EXPORT JSValueRef JSObjectGetPrivateProperty(JSContextRef ctx, JSObjectRef object, JSStringRef p…
68 JS_EXPORT bool JSObjectDeletePrivateProperty(JSContextRef ctx, JSObjectRef object, JSStringRef prop…
DJSWeakObjectMapRefPrivate.h57 JS_EXPORT JSWeakObjectMapRef JSWeakObjectMapCreate(JSContextRef ctx, void* data, JSWeakMapDestroyed…
67 JS_EXPORT void JSWeakObjectMapSet(JSContextRef ctx, JSWeakObjectMapRef map, void* key, JSObjectRef);
77 JS_EXPORT JSObjectRef JSWeakObjectMapGet(JSContextRef ctx, JSWeakObjectMapRef map, void* key);
DJSBase.cpp45 JSValueRef JSEvaluateScript(JSContextRef ctx, JSStringRef script, JSObjectRef thisObject, JSStringR… in JSEvaluateScript()
70 bool JSCheckScriptSyntax(JSContextRef ctx, JSStringRef script, JSStringRef sourceURL, int startingL… in JSCheckScriptSyntax()
86 void JSGarbageCollect(JSContextRef ctx) in JSGarbageCollect()
108 void JSReportExtraMemoryCost(JSContextRef ctx, size_t size) in JSReportExtraMemoryCost()
/external/webkit/Tools/DumpRenderTree/
DAccessibilityUIElement.cpp39 static JSValueRef allAttributesCallback(JSContextRef context, JSObjectRef function, JSObjectRef thi… in allAttributesCallback()
45 static JSValueRef attributesOfLinkedUIElementsCallback(JSContextRef context, JSObjectRef function, … in attributesOfLinkedUIElementsCallback()
51 static JSValueRef attributesOfDocumentLinksCallback(JSContextRef context, JSObjectRef function, JSO… in attributesOfDocumentLinksCallback()
57 static JSValueRef attributesOfChildrenCallback(JSContextRef context, JSObjectRef function, JSObject… in attributesOfChildrenCallback()
63 static JSValueRef parameterizedAttributeNamesCallback(JSContextRef context, JSObjectRef function, J… in parameterizedAttributeNamesCallback()
69 static JSValueRef attributesOfColumnHeadersCallback(JSContextRef context, JSObjectRef function, JSO… in attributesOfColumnHeadersCallback()
75 static JSValueRef attributesOfRowHeadersCallback(JSContextRef context, JSObjectRef function, JSObje… in attributesOfRowHeadersCallback()
81 static JSValueRef attributesOfColumnsCallback(JSContextRef context, JSObjectRef function, JSObjectR… in attributesOfColumnsCallback()
87 static JSValueRef attributesOfRowsCallback(JSContextRef context, JSObjectRef function, JSObjectRef … in attributesOfRowsCallback()
93 static JSValueRef attributesOfVisibleCellsCallback(JSContextRef context, JSObjectRef function, JSOb… in attributesOfVisibleCellsCallback()
[all …]
DLayoutTestController.cpp101 static JSValueRef dumpApplicationCacheDelegateCallbacksCallback(JSContextRef context, JSObjectRef f… in dumpApplicationCacheDelegateCallbacksCallback()
108 static JSValueRef dumpAsPDFCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObj… in dumpAsPDFCallback()
115 static JSValueRef dumpAsTextCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisOb… in dumpAsTextCallback()
126 static JSValueRef dumpBackForwardListCallback(JSContextRef context, JSObjectRef function, JSObjectR… in dumpBackForwardListCallback()
133 static JSValueRef dumpChildFramesAsTextCallback(JSContextRef context, JSObjectRef function, JSObjec… in dumpChildFramesAsTextCallback()
140 static JSValueRef dumpChildFrameScrollPositionsCallback(JSContextRef context, JSObjectRef function,… in dumpChildFrameScrollPositionsCallback()
147 static JSValueRef dumpConfigurationForViewportCallback(JSContextRef context, JSObjectRef function, … in dumpConfigurationForViewportCallback()
170 static JSValueRef dumpDatabaseCallbacksCallback(JSContextRef context, JSObjectRef function, JSObjec… in dumpDatabaseCallbacksCallback()
177 static JSValueRef dumpDOMAsWebArchiveCallback(JSContextRef context, JSObjectRef function, JSObjectR… in dumpDOMAsWebArchiveCallback()
184 static JSValueRef dumpEditingCallbacksCallback(JSContextRef context, JSObjectRef function, JSObject… in dumpEditingCallbacksCallback()
[all …]
DAccessibilityController.cpp34 static JSValueRef getFocusedElementCallback(JSContextRef context, JSObjectRef thisObject, JSStringR… in getFocusedElementCallback()
40 static JSValueRef getRootElementCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef … in getRootElementCallback()
48 void AccessibilityController::makeWindowObject(JSContextRef context, JSObjectRef windowObject, JSVa… in makeWindowObject()
59 static JSValueRef logFocusEventsCallback(JSContextRef ctx, JSObjectRef, JSObjectRef thisObject, siz… in logFocusEventsCallback()
66 static JSValueRef logValueChangeEventsCallback(JSContextRef ctx, JSObjectRef, JSObjectRef thisObjec… in logValueChangeEventsCallback()
73 static JSValueRef logScrollingStartEventsCallback(JSContextRef ctx, JSObjectRef, JSObjectRef thisOb… in logScrollingStartEventsCallback()
80 static JSValueRef logAccessibilityEventsCallback(JSContextRef ctx, JSObjectRef, JSObjectRef thisObj… in logAccessibilityEventsCallback()
87 static JSValueRef getElementAtPointCallback(JSContextRef context, JSObjectRef function, JSObjectRef… in getElementAtPointCallback()
DLayoutTestController.h46 void makeWindowObject(JSContextRef context, JSObjectRef windowObject, JSValueRef* exception);
65 bool findString(JSContextRef, JSStringRef, JSObjectRef optionsArray);
66 JSValueRef originsWithApplicationCache(JSContextRef);
69 JSValueRef computedStyleIncludingVisitedInfo(JSContextRef, JSValueRef);
70 …JSValueRef nodesFromRect(JSContextRef, JSValueRef, int x, int y, unsigned top, unsigned right, uns…
79 JSStringRef pathToLocalResource(JSContextRef, JSStringRef url);
95 void setAutofilled(JSContextRef, JSValueRef nodeObject, bool autofilled);
118 void setValueForUser(JSContextRef, JSValueRef nodeObject, JSStringRef value);
125 JSValueRef shadowRoot(JSContextRef, JSValueRef);
321 … JSRetainPtr<JSStringRef> markerTextForListItem(JSContextRef context, JSValueRef nodeObject) const;
[all …]
DGCController.cpp45 static JSValueRef collectCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObjec… in collectCallback()
52 static JSValueRef collectOnAlternateThreadCallback(JSContextRef context, JSObjectRef function, JSOb… in collectOnAlternateThreadCallback()
64 static JSValueRef getJSObjectCountCallback(JSContextRef context, JSObjectRef function, JSObjectRef … in getJSObjectCountCallback()
74 void GCController::makeWindowObject(JSContextRef context, JSObjectRef windowObject, JSValueRef* exc… in makeWindowObject()
/external/webkit/Tools/WebKitTestRunner/InjectedBundle/Bindings/
DJSWrapper.h37 static JSValueRef wrap(JSContextRef context, JSWrappable* object);
38 static JSWrappable* unwrap(JSContextRef context, JSValueRef value);
40 static void initialize(JSContextRef, JSObjectRef);
44 inline JSValueRef toJS(JSContextRef context, JSWrappable* impl) in toJS()
49 inline void setProperty(JSContextRef context, JSObjectRef object, const char* propertyName, JSWrapp… in setProperty()
/external/webkit/Source/JavaScriptCore/API/tests/
DJSNode.c36 static JSValueRef JSNode_appendChild(JSContextRef context, JSObjectRef function, JSObjectRef thisOb… in JSNode_appendChild()
59 static JSValueRef JSNode_removeChild(JSContextRef context, JSObjectRef function, JSObjectRef thisOb… in JSNode_removeChild()
78 static JSValueRef JSNode_replaceChild(JSContextRef context, JSObjectRef function, JSObjectRef thisO… in JSNode_replaceChild()
106 static JSValueRef JSNode_getNodeType(JSContextRef context, JSObjectRef object, JSStringRef property… in JSNode_getNodeType()
122 static JSValueRef JSNode_getChildNodes(JSContextRef context, JSObjectRef thisObject, JSStringRef pr… in JSNode_getChildNodes()
132 static JSValueRef JSNode_getFirstChild(JSContextRef context, JSObjectRef object, JSStringRef proper… in JSNode_getFirstChild()
148 static void JSNode_initialize(JSContextRef context, JSObjectRef object) in JSNode_initialize()
166 JSClassRef JSNode_class(JSContextRef context) in JSNode_class()
183 JSObjectRef JSNode_new(JSContextRef context, Node* node) in JSNode_new()
188 JSObjectRef JSNode_construct(JSContextRef context, JSObjectRef object, size_t argumentCount, const … in JSNode_construct()
DJSNodeList.c33 static JSValueRef JSNodeList_item(JSContextRef context, JSObjectRef object, JSObjectRef thisObject,… in JSNodeList_item()
53 static JSValueRef JSNodeList_length(JSContextRef context, JSObjectRef thisObject, JSStringRef prope… in JSNodeList_length()
68 static JSValueRef JSNodeList_getProperty(JSContextRef context, JSObjectRef thisObject, JSStringRef … in JSNodeList_getProperty()
83 static void JSNodeList_initialize(JSContextRef context, JSObjectRef thisObject) in JSNodeList_initialize()
101 static JSClassRef JSNodeList_class(JSContextRef context) in JSNodeList_class()
120 JSObjectRef JSNodeList_new(JSContextRef context, NodeList* nodeList) in JSNodeList_new()
DJSNode.h33 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,…
Dtestapi.c141 static bool MyObject_hasProperty(JSContextRef context, JSObjectRef object, JSStringRef propertyName) in MyObject_hasProperty()
158 static JSValueRef MyObject_getProperty(JSContextRef context, JSObjectRef object, JSStringRef proper… in MyObject_getProperty()
191 static bool MyObject_setProperty(JSContextRef context, JSObjectRef object, JSStringRef propertyName… in MyObject_setProperty()
208 static bool MyObject_deleteProperty(JSContextRef context, JSObjectRef object, JSStringRef propertyN… in MyObject_deleteProperty()
224 static void MyObject_getPropertyNames(JSContextRef context, JSObjectRef object, JSPropertyNameAccum… in MyObject_getPropertyNames()
240 static JSValueRef MyObject_callAsFunction(JSContextRef context, JSObjectRef object, JSObjectRef thi… in MyObject_callAsFunction()
258 static JSObjectRef MyObject_callAsConstructor(JSContextRef context, JSObjectRef object, size_t argu… in MyObject_callAsConstructor()
274 static bool MyObject_hasInstance(JSContextRef context, JSObjectRef constructor, JSValueRef possible… in MyObject_hasInstance()
291 static JSValueRef MyObject_convertToType(JSContextRef context, JSObjectRef object, JSType type, JSV… in MyObject_convertToType()
347 static JSClassRef MyObject_class(JSContextRef context) in MyObject_class()
[all …]
/external/webkit/Source/WebKit/gtk/WebCoreSupport/
DDumpRenderTreeSupportGtk.h57 …static JSValueRef nodesFromRect(JSContextRef context, JSValueRef value, int x, int y, unsigned top…
62 static JSValueRef shadowRoot(JSContextRef, JSValueRef);
63 static WebKitDOMRange* jsValueToDOMRange(JSContextRef, JSValueRef);
80 static WTF::CString markerTextForListItem(WebKitWebFrame*, JSContextRef, JSValueRef nodeObject);
88 static void setAutofilled(JSContextRef, JSValueRef, bool);
89 static void setValueForUser(JSContextRef, JSValueRef, JSStringRef);
/external/webkit/Tools/DumpRenderTree/wx/
DLayoutTestControllerWx.cpp89 JSStringRef LayoutTestController::pathToLocalResource(JSContextRef context, JSStringRef url) in pathToLocalResource()
138 void LayoutTestController::setValueForUser(JSContextRef context, JSValueRef element, JSStringRef va… in setValueForUser()
210 void LayoutTestController::setAutofilled(JSContextRef, JSValueRef element, bool isAutofilled) in setAutofilled() argument
261 JSValueRef LayoutTestController::originsWithApplicationCache(JSContextRef context) in originsWithApplicationCache()
506 JSRetainPtr<JSStringRef> LayoutTestController::markerTextForListItem(JSContextRef context, JSValueR… in markerTextForListItem()
511 JSValueRef LayoutTestController::computedStyleIncludingVisitedInfo(JSContextRef, JSValueRef) in computedStyleIncludingVisitedInfo() argument
516 JSValueRef LayoutTestController::nodesFromRect(JSContextRef context, JSValueRef value, int x, int y… in nodesFromRect()
575 bool LayoutTestController::findString(JSContextRef context, JSStringRef target, JSObjectRef options… in findString()
605 JSValueRef LayoutTestController::originsWithLocalStorage(JSContextRef context) in originsWithLocalStorage()
/external/webkit/Tools/DumpRenderTree/gtk/
DEventSender.cpp93 static JSValueRef getDragModeCallback(JSContextRef context, JSObjectRef object, JSStringRef propert… in getDragModeCallback()
98 static bool setDragModeCallback(JSContextRef context, JSObjectRef object, JSStringRef propertyName,… in setDragModeCallback()
104 static JSValueRef leapForwardCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisO… in leapForwardCallback()
150 static JSValueRef getMenuItemTitleCallback(JSContextRef context, JSObjectRef object, JSStringRef pr… in getMenuItemTitleCallback()
162 static bool setMenuItemTitleCallback(JSContextRef context, JSObjectRef object, JSStringRef property… in setMenuItemTitleCallback()
167 static JSValueRef menuItemClickCallback(JSContextRef context, JSObjectRef function, JSObjectRef thi… in menuItemClickCallback()
202 static JSValueRef contextClickCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in contextClickCallback()
249 static JSValueRef scheduleAsynchronousClickCallback(JSContextRef context, JSObjectRef function, JSO… in scheduleAsynchronousClickCallback()
266 static guint gdkModifierFromJSValue(JSContextRef context, const JSValueRef value) in gdkModifierFromJSValue()
288 static guint gdkModifersFromJSValue(JSContextRef context, const JSValueRef modifiers) in gdkModifersFromJSValue()
[all …]
DTextInputController.cpp41 static JSValueRef setMarkedTextCallback(JSContextRef context, JSObjectRef function, JSObjectRef thi… in setMarkedTextCallback()
69 static JSValueRef insertTextCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisOb… in insertTextCallback()
91 static JSValueRef unmarkTextCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisOb… in unmarkTextCallback()
101 static JSValueRef firstRectForCharacterRangeCallback(JSContextRef context, JSObjectRef function, JS… in firstRectForCharacterRangeCallback()
131 static JSValueRef selectedRangeCallback(JSContextRef context, JSObjectRef function, JSObjectRef thi… in selectedRangeCallback()
159 static JSClassRef getClass(JSContextRef context) in getClass()
175 JSObjectRef makeTextInputController(JSContextRef context) in makeTextInputController()
/external/webkit/Tools/DumpRenderTree/win/
DEventSender.cpp63 static JSValueRef getDragModeCallback(JSContextRef context, JSObjectRef object, JSStringRef propert… in getDragModeCallback()
68 static bool setDragModeCallback(JSContextRef context, JSObjectRef object, JSStringRef propertyName,… in setDragModeCallback()
74 static JSValueRef getConstantCallback(JSContextRef context, JSObjectRef object, JSStringRef propert… in getConstantCallback()
96 static JSValueRef leapForwardCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisO… in leapForwardCallback()
131 static JSValueRef contextClickCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in contextClickCallback()
147 static WPARAM buildModifierFlags(JSContextRef context, const JSValueRef modifiers) in buildModifierFlags()
171 static JSValueRef mouseDownCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObj… in mouseDownCallback()
262 static JSValueRef mouseUpCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObjec… in mouseUpCallback()
329 static JSValueRef mouseMoveToCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisO… in mouseMoveToCallback()
433 static JSValueRef keyDownCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObjec… in keyDownCallback()
[all …]
/external/webkit/Source/WebKit/mac/WebView/
DWebSerializedJSValue.h27 typedef const struct OpaqueJSContext* JSContextRef; typedef
35 - (id)initWithValue:(JSValueRef)object context:(JSContextRef)sourceContext exception:(JSValueRef*)e…
36 - (JSValueRef)deserialize:(JSContextRef)destinationContext;

12345