Searched refs:exec (Results 1 - 25 of 707) sorted by relevance

1234567891011>>

/macosx-10.10.1/JavaScriptCore-7600.1.17/API/
H A DJSCTestRunnerUtils.cpp37 ExecState* exec= toJS(context); local
38 JSLockHolder holder(exec);
39 return toRef(exec, numberOfDFGCompiles(toJS(exec, theFunctionValueRef)));
44 ExecState* exec= toJS(context); local
45 JSLockHolder holder(exec);
46 return toRef(exec, setNeverInline(toJS(exec, theFunctionValueRef)));
H A DJSValueRef.cpp73 ExecState* exec = toJS(ctx); local
74 JSLockHolder locker(exec);
76 JSValue jsValue = toJS(exec, value);
98 ExecState* exec = toJS(ctx); local
99 JSLockHolder locker(exec);
101 JSValue jsValue = toJS(exec, value);
111 ExecState* exec = toJS(ctx); local
112 JSLockHolder locker(exec);
114 JSValue jsValue = toJS(exec, value);
124 ExecState* exec local
137 ExecState* exec = toJS(ctx); local
150 ExecState* exec = toJS(ctx); local
163 ExecState* exec = toJS(ctx); local
176 ExecState* exec = toJS(ctx); local
203 ExecState* exec = toJS(ctx); local
228 ExecState* exec = toJS(ctx); local
243 ExecState* exec = toJS(ctx); local
270 ExecState* exec = toJS(ctx); local
282 ExecState* exec = toJS(ctx); local
294 ExecState* exec = toJS(ctx); local
306 ExecState* exec = toJS(ctx); local
318 ExecState* exec = toJS(ctx); local
330 ExecState* exec = toJS(ctx); local
348 ExecState* exec = toJS(ctx); local
373 ExecState* exec = toJS(ctx); local
386 ExecState* exec = toJS(ctx); local
411 ExecState* exec = toJS(ctx); local
436 ExecState* exec = toJS(ctx); local
461 ExecState* exec = toJS(ctx); local
[all...]
H A DAPICallbackFunction.h45 EncodedJSValue JSC_HOST_CALL APICallbackFunction::call(ExecState* exec) argument
47 JSContextRef execRef = toRef(exec);
48 JSObjectRef functionRef = toRef(exec->callee());
49 JSObjectRef thisObjRef = toRef(jsCast<JSObject*>(exec->thisValue().toThis(exec, NotStrictMode)));
51 int argumentCount = static_cast<int>(exec->argumentCount());
55 arguments.uncheckedAppend(toRef(exec, exec->uncheckedArgument(i)));
60 JSLock::DropAllLocks dropAllLocks(exec);
64 exec
74 construct(ExecState* exec) argument
[all...]
/macosx-10.10.1/JavaScriptCore-7600.1.17/runtime/
H A DJSNotAnObject.cpp42 JSValue JSNotAnObject::defaultValue(const JSObject*, ExecState* exec, PreferredPrimitiveType) argument
44 ASSERT_UNUSED(exec, exec->hadException());
49 bool JSNotAnObject::getOwnPropertySlot(JSObject*, ExecState* exec, PropertyName, PropertySlot&) argument
51 ASSERT_UNUSED(exec, exec->hadException());
55 bool JSNotAnObject::getOwnPropertySlotByIndex(JSObject*, ExecState* exec, unsigned, PropertySlot&) argument
57 ASSERT_UNUSED(exec, exec->hadException());
61 void JSNotAnObject::put(JSCell*, ExecState* exec, PropertyNam argument
66 putByIndex(JSCell*, ExecState* exec, unsigned, JSValue, bool) argument
71 deleteProperty(JSCell*, ExecState* exec, PropertyName) argument
77 deletePropertyByIndex(JSCell*, ExecState* exec, unsigned) argument
83 getOwnPropertyNames(JSObject*, ExecState* exec, PropertyNameArray&, EnumerationMode) argument
[all...]
H A DRegExpPrototype.cpp57 exec regExpProtoFuncExec DontEnum|Function 1
68 bool RegExpPrototype::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot &slot) argument
70 return getStaticFunctionSlot<RegExpObject>(exec, ExecState::regExpPrototypeTable(exec->vm()), jsCast<RegExpPrototype*>(object), propertyName, slot);
75 EncodedJSValue JSC_HOST_CALL regExpProtoFuncTest(ExecState* exec) argument
77 JSValue thisValue = exec->thisValue();
79 return throwVMTypeError(exec);
80 return JSValue::encode(jsBoolean(asRegExpObject(thisValue)->test(exec, exec->argument(0).toString(exec))));
83 regExpProtoFuncExec(ExecState* exec) argument
91 regExpProtoFuncCompile(ExecState* exec) argument
129 regExpProtoFuncToString(ExecState* exec) argument
[all...]
H A DObjectConstructor.cpp96 bool ObjectConstructor::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot &slot) argument
98 return getStaticFunctionSlot<JSObject>(exec, ExecState::objectConstructorTable(exec->vm()), jsCast<ObjectConstructor*>(object), propertyName, slot);
101 static ALWAYS_INLINE JSObject* constructObject(ExecState* exec) argument
103 JSGlobalObject* globalObject = exec->callee()->globalObject();
104 ArgList args(exec);
107 return constructEmptyObject(exec, globalObject->objectPrototype());
108 return arg.toObject(exec, globalObject);
111 static EncodedJSValue JSC_HOST_CALL constructWithObjectConstructor(ExecState* exec) argument
113 return JSValue::encode(constructObject(exec));
122 callObjectConstructor(ExecState* exec) argument
162 objectConstructorGetPrototypeOf(ExecState* exec) argument
172 objectConstructorGetOwnPropertyDescriptor(ExecState* exec) argument
204 objectConstructorGetOwnPropertyNames(ExecState* exec) argument
218 objectConstructorKeys(ExecState* exec) argument
232 toPropertyDescriptor(ExecState* exec, JSValue in, PropertyDescriptor& desc) argument
314 objectConstructorDefineProperty(ExecState* exec) argument
331 defineProperties(ExecState* exec, JSObject* object, JSObject* properties) argument
334 asObject(properties)->methodTable(exec->vm())->getOwnPropertyNames(asObject(properties), exec, propertyNames, ExcludeDontEnumProperties); local
364 objectConstructorDefineProperties(ExecState* exec) argument
371 objectConstructorCreate(ExecState* exec) argument
386 objectConstructorSeal(ExecState* exec) argument
423 objectConstructorFreeze(ExecState* exec) argument
464 objectConstructorPreventExtensions(ExecState* exec) argument
473 objectConstructorIsSealed(ExecState* exec) argument
503 objectConstructorIsFrozen(ExecState* exec) argument
534 objectConstructorIsExtensible(ExecState* exec) argument
[all...]
H A DStrictEvalActivation.cpp38 StrictEvalActivation::StrictEvalActivation(ExecState* exec) argument
40 exec->vm(),
41 exec->lexicalGlobalObject()->strictEvalActivationStructure(),
42 exec->scope()
52 JSValue StrictEvalActivation::toThis(JSCell*, ExecState* exec, ECMAMode ecmaMode) argument
56 return exec->globalThisValue();
H A DArrayPrototype.cpp73 static inline bool isNumericCompareFunction(ExecState* exec, JSValue function, CallType callType, const CallData& callData) argument
81 JSObject* error = executable->prepareForExecution(exec, jsCast<JSFunction*>(function), &scope, CodeForCall);
144 bool ArrayPrototype::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot& slot) argument
146 return getStaticFunctionSlot<JSArray>(exec, ExecState::arrayPrototypeTable(exec->vm()), jsCast<ArrayPrototype*>(object), propertyName, slot);
152 static ALWAYS_INLINE JSValue getProperty(ExecState* exec, JSObject* obj, unsigned index) argument
155 if (!obj->getPropertySlot(exec, index, slot))
157 return slot.getValue(exec, index);
160 static ALWAYS_INLINE unsigned getLength(ExecState* exec, JSObject* obj) argument
164 return obj->get(exec, exe
167 putLength(ExecState* exec, JSObject* obj, JSValue value) argument
173 argumentClampedIndexFromStartOrEnd(ExecState* exec, int argument, unsigned length, unsigned undefinedValue = 0) argument
203 shift(ExecState* exec, JSObject* thisObj, unsigned header, unsigned currentCount, unsigned resultCount, unsigned length) argument
241 unshift(ExecState* exec, JSObject* thisObj, unsigned header, unsigned currentCount, unsigned resultCount, unsigned length) argument
279 arrayProtoFuncToString(ExecState* exec) argument
337 arrayProtoFuncToLocaleString(ExecState* exec) argument
380 arrayProtoFuncJoin(ExecState* exec) argument
428 arrayProtoFuncConcat(ExecState* exec) argument
483 arrayProtoFuncPop(ExecState* exec) argument
512 arrayProtoFuncPush(ExecState* exec) argument
545 arrayProtoFuncReverse(ExecState* exec) argument
583 arrayProtoFuncShift(ExecState* exec) argument
604 arrayProtoFuncSlice(ExecState* exec) argument
629 getOrHole(JSObject* obj, ExecState* exec, unsigned propertyName) argument
638 attemptFastSort(ExecState* exec, JSObject* thisObj, JSValue function, CallData& callData, CallType& callType) argument
654 performSlowSort(ExecState* exec, JSObject* thisObj, unsigned length, JSValue function, CallData& callData, CallType& callType) argument
713 arrayProtoFuncSort(ExecState* exec) argument
786 arrayProtoFuncSplice(ExecState* exec) argument
844 arrayProtoFuncUnShift(ExecState* exec) argument
869 arrayProtoFuncReduce(ExecState* exec) argument
946 arrayProtoFuncReduceRight(ExecState* exec) argument
1022 arrayProtoFuncIndexOf(ExecState* exec) argument
1045 arrayProtoFuncLastIndexOf(ExecState* exec) argument
1081 arrayProtoFuncValues(ExecState* exec) argument
1087 arrayProtoFuncEntries(ExecState* exec) argument
1093 arrayProtoFuncKeys(ExecState* exec) argument
[all...]
H A DPropertySlot.cpp29 JSValue PropertySlot::functionGetter(ExecState* exec) const
32 return callGetter(exec, m_thisValue, m_data.getter.getterSetter);
H A DReject.h34 inline bool reject(ExecState* exec, bool throwException, const char* message) argument
37 throwTypeError(exec, message);
H A DJSDataViewPrototype.cpp87 JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
90 exec, ExecState::dataViewTable(exec->vm()), jsCast<JSDataViewPrototype*>(object),
95 EncodedJSValue getData(ExecState* exec) argument
97 JSDataView* dataView = jsDynamicCast<JSDataView*>(exec->thisValue());
99 return throwVMError(exec, createTypeError(exec, "Receiver of DataView method must be a DataView"));
101 if (!exec->argumentCount())
102 return throwVMError(exec, createTypeError(exec, "Nee
86 getOwnPropertySlot( JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot& slot) argument
140 setData(ExecState* exec) argument
188 dataViewProtoFuncGetInt8(ExecState* exec) argument
193 dataViewProtoFuncGetInt16(ExecState* exec) argument
198 dataViewProtoFuncGetInt32(ExecState* exec) argument
203 dataViewProtoFuncGetUint8(ExecState* exec) argument
208 dataViewProtoFuncGetUint16(ExecState* exec) argument
213 dataViewProtoFuncGetUint32(ExecState* exec) argument
218 dataViewProtoFuncGetFloat32(ExecState* exec) argument
223 dataViewProtoFuncGetFloat64(ExecState* exec) argument
228 dataViewProtoFuncSetInt8(ExecState* exec) argument
233 dataViewProtoFuncSetInt16(ExecState* exec) argument
238 dataViewProtoFuncSetInt32(ExecState* exec) argument
243 dataViewProtoFuncSetUint8(ExecState* exec) argument
248 dataViewProtoFuncSetUint16(ExecState* exec) argument
253 dataViewProtoFuncSetUint32(ExecState* exec) argument
258 dataViewProtoFuncSetFloat32(ExecState* exec) argument
263 dataViewProtoFuncSetFloat64(ExecState* exec) argument
[all...]
H A DObjectPrototype.cpp79 EncodedJSValue JSC_HOST_CALL objectProtoFuncValueOf(ExecState* exec) argument
81 JSValue thisValue = exec->thisValue().toThis(exec, StrictMode);
82 return JSValue::encode(thisValue.toObject(exec));
85 EncodedJSValue JSC_HOST_CALL objectProtoFuncHasOwnProperty(ExecState* exec) argument
87 JSValue thisValue = exec->thisValue().toThis(exec, StrictMode);
88 return JSValue::encode(jsBoolean(thisValue.toObject(exec)->hasOwnProperty(exec, exec
91 objectProtoFuncIsPrototypeOf(ExecState* exec) argument
110 objectProtoFuncDefineGetter(ExecState* exec) argument
130 objectProtoFuncDefineSetter(ExecState* exec) argument
150 objectProtoFuncLookupGetter(ExecState* exec) argument
166 objectProtoFuncLookupSetter(ExecState* exec) argument
182 objectProtoFuncPropertyIsEnumerable(ExecState* exec) argument
193 objectProtoFuncToLocaleString(ExecState* exec) argument
213 objectProtoFuncToString(ExecState* exec) argument
[all...]
H A DCommonSlowPathsExceptions.cpp37 void interpreterThrowInCaller(ExecState* exec, JSObject* error) argument
39 VM* vm = &exec->vm();
40 NativeCallFrameTracer tracer(vm, exec);
41 vm->throwException(exec, error);
H A DStringConstructor.cpp63 bool StringConstructor::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot &slot) argument
65 return getStaticFunctionSlot<InternalFunction>(exec, ExecState::stringConstructorTable(exec->vm()), jsCast<StringConstructor*>(object), propertyName, slot);
70 static NEVER_INLINE JSValue stringFromCharCodeSlowCase(ExecState* exec) argument
72 unsigned length = exec->argumentCount();
76 buf[i] = static_cast<UChar>(exec->uncheckedArgument(i).toUInt32(exec));
77 return jsString(exec, impl);
80 static EncodedJSValue JSC_HOST_CALL stringFromCharCode(ExecState* exec) argument
82 if (LIKELY(exec
87 stringFromCharCode(ExecState* exec, int32_t arg) argument
92 constructWithStringConstructor(ExecState* exec) argument
109 callStringConstructor(ExecState* exec) argument
[all...]
H A DCompletion.cpp38 bool checkSyntax(ExecState* exec, const SourceCode& source, JSValue* returnedException) argument
40 JSLockHolder lock(exec);
41 RELEASE_ASSERT(exec->vm().atomicStringTable() == wtfThreadData().atomicStringTable());
43 ProgramExecutable* program = ProgramExecutable::create(exec, source);
44 JSObject* error = program->checkSyntax(exec);
62 JSValue evaluate(ExecState* exec, const SourceCode& source, JSValue thisValue, JSValue* returnedException) argument
64 JSLockHolder lock(exec);
65 RELEASE_ASSERT(exec->vm().atomicStringTable() == wtfThreadData().atomicStringTable());
66 RELEASE_ASSERT(!exec->vm().isCollectorBusy());
70 ProgramExecutable* program = ProgramExecutable::create(exec, sourc
[all...]
H A DExceptionHelpers.cpp49 JSValue TerminatedExecutionError::defaultValue(const JSObject*, ExecState* exec, PreferredPrimitiveType hint) argument
52 return jsNontrivialString(exec, String(ASCIILiteral("JavaScript execution terminated.")));
72 JSObject* createStackOverflowError(ExecState* exec) argument
74 return createRangeError(exec, ASCIILiteral("Maximum call stack size exceeded."));
82 JSObject* createUndefinedVariableError(ExecState* exec, const Identifier& ident) argument
86 String message(makeString("Can't find private variable: @", exec->propertyNames().getPublicName(ident).string()));
87 return createReferenceError(exec, message);
90 return createReferenceError(exec, message);
93 JSString* errorDescriptionForValue(ExecState* exec, JSValue v) argument
95 VM& vm = exec
123 createError(ExecState* exec, ErrorFactory errorFactory, JSValue value, const String& message) argument
132 createInvalidParameterError(ExecState* exec, const char* op, JSValue value) argument
137 createNotAConstructorError(ExecState* exec, JSValue value) argument
142 createNotAFunctionError(ExecState* exec, JSValue value) argument
147 createNotAnObjectError(ExecState* exec, JSValue value) argument
152 createErrorForInvalidGlobalAssignment(ExecState* exec, const String& propertyName) argument
162 throwOutOfMemoryError(ExecState* exec) argument
167 throwStackOverflowError(ExecState* exec) argument
174 throwTerminatedExecutionException(ExecState* exec) argument
[all...]
/macosx-10.10.1/JavaScriptCore-7600.1.17/profiler/
H A DProfilerBytecode.cpp35 JSValue Bytecode::toJS(ExecState* exec) const
37 JSObject* result = constructEmptyObject(exec);
38 result->putDirect(exec->vm(), exec->propertyNames().bytecodeIndex, jsNumber(m_bytecodeIndex));
39 result->putDirect(exec->vm(), exec->propertyNames().opcode, jsString(exec, String::fromUTF8(opcodeNames[m_opcodeID])));
40 result->putDirect(exec->vm(), exec->propertyNames().description, jsString(exec, Strin
[all...]
H A DProfilerOSRExit.cpp48 JSValue OSRExit::toJS(ExecState* exec) const
50 JSObject* result = constructEmptyObject(exec);
51 result->putDirect(exec->vm(), exec->propertyNames().id, jsNumber(m_id));
52 result->putDirect(exec->vm(), exec->propertyNames().origin, m_origin.toJS(exec));
53 result->putDirect(exec->vm(), exec->propertyNames().exitKind, jsString(exec, exitKindToStrin
[all...]
H A DProfilerCompiledBytecode.cpp45 JSValue CompiledBytecode::toJS(ExecState* exec) const
47 JSObject* result = constructEmptyObject(exec);
49 result->putDirect(exec->vm(), exec->propertyNames().origin, m_origin.toJS(exec));
50 result->putDirect(exec->vm(), exec->propertyNames().description, jsString(exec, String::fromUTF8(m_description)));
H A DProfilerBytecodes.cpp54 JSValue Bytecodes::toJS(ExecState* exec) const
56 JSObject* result = constructEmptyObject(exec);
58 result->putDirect(exec->vm(), exec->propertyNames().bytecodesID, jsNumber(m_id));
59 result->putDirect(exec->vm(), exec->propertyNames().inferredName, jsString(exec, String::fromUTF8(m_inferredName)));
60 result->putDirect(exec->vm(), exec->propertyNames().sourceCode, jsString(exec, Strin
[all...]
H A DProfilerOSRExitSite.cpp37 JSValue OSRExitSite::toJS(ExecState* exec) const
39 JSArray* result = constructEmptyArray(exec, 0);
41 result->putDirectIndex(exec, i, jsString(exec, toString(RawPointer(m_codeAddresses[i]))));
H A DProfilerProfiledBytecodes.cpp45 JSValue ProfiledBytecodes::toJS(ExecState* exec) const
47 JSObject* result = constructEmptyObject(exec);
49 result->putDirect(exec->vm(), exec->propertyNames().bytecodesID, jsNumber(m_bytecodes->id()));
50 addSequenceProperties(exec, result);
/macosx-10.10.1/JavaScriptCore-7600.1.17/llint/
H A DLLIntExceptions.cpp37 Instruction* returnToThrowForThrownException(ExecState* exec) argument
39 UNUSED_PARAM(exec);
43 Instruction* returnToThrow(ExecState* exec) argument
45 UNUSED_PARAM(exec);
47 VM* vm = &exec->vm();
53 void* callToThrow(ExecState* exec) argument
55 UNUSED_PARAM(exec);
57 VM* vm = &exec->vm();
/macosx-10.10.1/cxxfilt-11/cxxfilt/bfd/
H A Dfreebsd.h28 #define N_GETMAGIC_NET(exec) \
29 ((exec).a_info & 0xffff)
30 #define N_GETMID_NET(exec) \
31 (((exec).a_info >> 16) & 0x3ff)
33 (((exec).a_info >> 26) & 0x3f)
35 #define N_MACHTYPE(exec) \
37 ((N_GETMAGIC_NET (exec) == ZMAGIC) ? N_GETMID_NET (exec) : \
38 ((exec).a_info >> 16) & 0x3ff))
39 #define N_FLAGS(exec) \
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/sys/
H A Dexec.h66 * @(#)exec.h 8.3 (Berkeley) 1/21/94
76 * XXX software which includes <sys/exec.h> instead of the more correct
77 * XXX <machine/exec.h> and/or need the inclusion of <sys/appleapiopts.h>
80 #include <machine/exec.h>

Completed in 168 milliseconds

1234567891011>>