• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/JavaScriptCore-7600.1.17/API/

Lines Matching refs:ctx

67 ::JSType JSValueGetType(JSContextRef ctx, JSValueRef value)
69 if (!ctx) {
73 ExecState* exec = toJS(ctx);
92 bool JSValueIsUndefined(JSContextRef ctx, JSValueRef value)
94 if (!ctx) {
98 ExecState* exec = toJS(ctx);
105 bool JSValueIsNull(JSContextRef ctx, JSValueRef value)
107 if (!ctx) {
111 ExecState* exec = toJS(ctx);
118 bool JSValueIsBoolean(JSContextRef ctx, JSValueRef value)
120 if (!ctx) {
124 ExecState* exec = toJS(ctx);
131 bool JSValueIsNumber(JSContextRef ctx, JSValueRef value)
133 if (!ctx) {
137 ExecState* exec = toJS(ctx);
144 bool JSValueIsString(JSContextRef ctx, JSValueRef value)
146 if (!ctx) {
150 ExecState* exec = toJS(ctx);
157 bool JSValueIsObject(JSContextRef ctx, JSValueRef value)
159 if (!ctx) {
163 ExecState* exec = toJS(ctx);
170 bool JSValueIsObjectOfClass(JSContextRef ctx, JSValueRef value, JSClassRef jsClass)
172 if (!ctx || !jsClass) {
176 ExecState* exec = toJS(ctx);
197 bool JSValueIsEqual(JSContextRef ctx, JSValueRef a, JSValueRef b, JSValueRef* exception)
199 if (!ctx) {
203 ExecState* exec = toJS(ctx);
222 bool JSValueIsStrictEqual(JSContextRef ctx, JSValueRef a, JSValueRef b)
224 if (!ctx) {
228 ExecState* exec = toJS(ctx);
237 bool JSValueIsInstanceOfConstructor(JSContextRef ctx, JSValueRef value, JSObjectRef constructor, JSValueRef* exception)
239 if (!ctx) {
243 ExecState* exec = toJS(ctx);
264 JSValueRef JSValueMakeUndefined(JSContextRef ctx)
266 if (!ctx) {
270 ExecState* exec = toJS(ctx);
276 JSValueRef JSValueMakeNull(JSContextRef ctx)
278 if (!ctx) {
282 ExecState* exec = toJS(ctx);
288 JSValueRef JSValueMakeBoolean(JSContextRef ctx, bool value)
290 if (!ctx) {
294 ExecState* exec = toJS(ctx);
300 JSValueRef JSValueMakeNumber(JSContextRef ctx, double value)
302 if (!ctx) {
306 ExecState* exec = toJS(ctx);
312 JSValueRef JSValueMakeString(JSContextRef ctx, JSStringRef string)
314 if (!ctx) {
318 ExecState* exec = toJS(ctx);
324 JSValueRef JSValueMakeFromJSONString(JSContextRef ctx, JSStringRef string)
326 if (!ctx) {
330 ExecState* exec = toJS(ctx);
342 JSStringRef JSValueCreateJSONString(JSContextRef ctx, JSValueRef apiValue, unsigned indent, JSValueRef* exception)
344 if (!ctx) {
348 ExecState* exec = toJS(ctx);
367 bool JSValueToBoolean(JSContextRef ctx, JSValueRef value)
369 if (!ctx) {
373 ExecState* exec = toJS(ctx);
380 double JSValueToNumber(JSContextRef ctx, JSValueRef value, JSValueRef* exception)
382 if (!ctx) {
386 ExecState* exec = toJS(ctx);
405 JSStringRef JSValueToStringCopy(JSContextRef ctx, JSValueRef value, JSValueRef* exception)
407 if (!ctx) {
411 ExecState* exec = toJS(ctx);
430 JSObjectRef JSValueToObject(JSContextRef ctx, JSValueRef value, JSValueRef* exception)
432 if (!ctx) {
436 ExecState* exec = toJS(ctx);
455 void JSValueProtect(JSContextRef ctx, JSValueRef value)
457 if (!ctx) {
461 ExecState* exec = toJS(ctx);
468 void JSValueUnprotect(JSContextRef ctx, JSValueRef value)
471 if ((!value || !ctx) && evernoteHackNeeded())
475 ExecState* exec = toJS(ctx);