/macosx-10.9.5/xnu-2422.115.4/osfmk/vm/ |
H A D | vm_init.c | 59 * File: vm/vm_init.c 71 #include <vm/vm_object.h> 72 #include <vm/vm_map.h> 73 #include <vm/vm_page.h> 74 #include <vm/vm_kern.h> 75 #include <vm/memory_object.h> 76 #include <vm/vm_fault.h> 77 #include <vm/vm_init.h> 81 #include <vm/vm_protos.h>
|
/macosx-10.9.5/JavaScriptCore-7537.78.1/debugger/ |
H A D | DebuggerActivation.h | 37 static DebuggerActivation* create(VM& vm, JSObject* object) argument 39 DebuggerActivation* activation = new (NotNull, allocateCell<DebuggerActivation>(vm.heap)) DebuggerActivation(vm); 40 activation->finishCreation(vm, object); 56 static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue prototype) argument 58 return Structure::create(vm, globalObject, prototype, TypeInfo(ObjectType, StructureFlags), &s_info);
|
/macosx-10.9.5/JavaScriptCore-7537.78.1/runtime/ |
H A D | ExecutionHarness.h | 44 LLInt::getEntrypoint(exec->vm(), codeBlock.get(), jitCode); 46 if (exec->vm().m_perBytecodeProfiler) 47 exec->vm().m_perBytecodeProfiler->ensureBytecodesFor(codeBlock.get()); 59 LLInt::getFunctionEntrypoint(exec->vm(), kind, jitCode, jitCodeWithArityCheck); 61 if (exec->vm().m_perBytecodeProfiler) 62 exec->vm().m_perBytecodeProfiler->ensureBytecodesFor(codeBlock.get());
|
H A D | GCActivityCallback.h | 55 GCActivityCallback(VM* vm, CFRunLoopRef runLoop) argument 56 : HeapTimer(vm, runLoop) 61 GCActivityCallback(VM* vm, bool flag) argument 62 : HeapTimer(vm) 67 GCActivityCallback(VM* vm) argument 68 : HeapTimer(vm)
|
H A D | JSAPIValueWrapper.h | 40 static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue prototype) argument 42 return Structure::create(vm, globalObject, prototype, TypeInfo(APIValueWrapperType, OverridesVisitChildren | OverridesGetPropertyNames), &s_info); 57 Base::finishCreation(exec->vm()); 58 m_value.set(exec->vm(), this, value); 64 : JSCell(exec->vm(), exec->vm().apiWrapperStructure.get())
|
H A D | JSWrapperObject.h | 44 static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue prototype) argument 46 return Structure::create(vm, globalObject, prototype, TypeInfo(ObjectType, StructureFlags), &s_info); 69 inline JSWrapperObject::JSWrapperObject(VM& vm, Structure* structure) argument 70 : JSDestructibleObject(vm, structure) 79 inline void JSWrapperObject::setInternalValue(VM& vm, JSValue value) argument 83 m_internalValue.set(vm, this, value);
|
H A D | ButterflyInlines.h | 38 inline Butterfly* Butterfly::createUninitialized(VM& vm, size_t preCapacity, size_t propertyCapacity, bool hasIndexingHeader, size_t indexingPayloadSizeInBytes) argument 42 RELEASE_ASSERT(vm.heap.tryAllocateStorage(size, &temp)); 47 inline Butterfly* Butterfly::create(VM& vm, size_t preCapacity, size_t propertyCapacity, bool hasIndexingHeader, const IndexingHeader& indexingHeader, size_t indexingPayloadSizeInBytes) argument 50 vm, preCapacity, propertyCapacity, hasIndexingHeader, indexingPayloadSizeInBytes); 56 inline Butterfly* Butterfly::create(VM& vm, Structure* structure) argument 58 return create(vm, 0, structure->outOfLineCapacity(), hasIndexingHeader(structure->indexingType()), IndexingHeader(), 0); 75 inline Butterfly* Butterfly::growPropertyStorage(VM& vm, size_t preCapacity, size_t oldPropertyCapacity, bool hasIndexingHeader, size_t indexingPayloadSizeInBytes, size_t newPropertyCapacity) argument 79 vm, preCapacity, newPropertyCapacity, hasIndexingHeader, indexingPayloadSizeInBytes); 87 inline Butterfly* Butterfly::growPropertyStorage(VM& vm, Structure* structure, size_t oldPropertyCapacity, size_t newPropertyCapacity) argument 90 vm, indexingHeade 95 growPropertyStorage(VM& vm, Structure* oldStructure, size_t newPropertyCapacity) argument 101 createOrGrowArrayRight(Butterfly* oldButterfly, VM& vm, Structure* oldStructure, size_t propertyCapacity, bool hadIndexingHeader, size_t oldIndexingPayloadSizeInBytes, size_t newIndexingPayloadSizeInBytes) argument 108 growArrayRight(VM& vm, Structure* oldStructure, size_t propertyCapacity, bool hadIndexingHeader, size_t oldIndexingPayloadSizeInBytes, size_t newIndexingPayloadSizeInBytes) argument 120 growArrayRight(VM& vm, Structure* oldStructure, size_t newIndexingPayloadSizeInBytes) argument 128 resizeArray(VM& vm, size_t propertyCapacity, bool oldHasIndexingHeader, size_t oldIndexingPayloadSizeInBytes, size_t newPreCapacity, bool newHasIndexingHeader, size_t newIndexingPayloadSizeInBytes) argument 143 resizeArray(VM& vm, Structure* structure, size_t newPreCapacity, size_t newIndexingPayloadSizeInBytes) argument [all...] |
H A D | JSArray.h | 42 explicit JSArray(VM& vm, Structure* structure, Butterfly* butterfly) argument 43 : JSNonFinalObject(vm, structure, butterfly) 87 return shiftCountWithArrayStorage(startIndex, count, ensureArrayStorage(exec->vm())); 109 return unshiftCountWithArrayStorage(exec, startIndex, count, ensureArrayStorage(exec->vm())); 132 static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue prototype, IndexingType indexingType) argument 134 return Structure::create(vm, globalObject, prototype, TypeInfo(ObjectType, StructureFlags), &s_info, indexingType); 177 inline Butterfly* createContiguousArrayButterfly(VM& vm, unsigned length, unsigned& vectorLength) argument 184 vm, 0, 0, true, header, vectorLength * sizeof(EncodedJSValue)); 188 inline Butterfly* createArrayButterfly(VM& vm, unsigned initialLength) argument 191 vm, 201 create(VM& vm, Structure* structure, unsigned initialLength) argument 228 tryCreateUninitialized(VM& vm, Structure* structure, unsigned initialLength) argument 287 VM& vm = exec->vm(); local 303 VM& vm = exec->vm(); local [all...] |
H A D | JSPropertyNameIterator.h | 55 static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue prototype) argument 57 return Structure::create(vm, globalObject, prototype, TypeInfo(CompoundType, OverridesVisitChildren), &s_info); 65 void setCachedStructure(VM& vm, Structure* structure) argument 69 m_cachedStructure.set(vm, this, structure); 73 void setCachedPrototypeChain(VM& vm, StructureChain* cachedPrototypeChain) { m_cachedPrototypeChain.set(vm, this, cachedPrototypeChain); } argument 81 Base::finishCreation(exec->vm()); 84 m_jsStrings[i].set(exec->vm(), this, jsOwnedString(exec, propertyNameVector[i].string())); 111 inline void StructureRareData::setEnumerationCache(VM& vm, const Structure* owner, JSPropertyNameIterator* value) argument 113 m_enumerationCache.set(vm, owne [all...] |
H A D | BooleanConstructor.cpp | 41 Base::finishCreation(exec->vm(), booleanPrototype->classInfo()->className); 42 putDirectWithoutTransition(exec->vm(), exec->propertyNames().prototype, booleanPrototype, DontEnum | DontDelete | ReadOnly); 45 putDirectWithoutTransition(exec->vm(), exec->propertyNames().length, jsNumber(1), ReadOnly | DontDelete | DontEnum); 51 BooleanObject* obj = BooleanObject::create(exec->vm(), asInternalFunction(exec->callee())->globalObject()->booleanObjectStructure()); 52 obj->setInternalValue(exec->vm(), jsBoolean(args.at(0).toBoolean(exec))); 82 BooleanObject* obj = BooleanObject::create(exec->vm(), globalObject->booleanObjectStructure()); 83 obj->setInternalValue(exec->vm(), immediateBooleanValue);
|
H A D | NativeErrorConstructor.h | 46 static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue prototype) argument 48 return Structure::create(vm, globalObject, prototype, TypeInfo(ObjectType, StructureFlags), &s_info); 56 Base::finishCreation(exec->vm(), name); 61 putDirect(exec->vm(), exec->propertyNames().length, jsNumber(1), DontDelete | ReadOnly | DontEnum); // ECMA 15.11.7.5 62 putDirect(exec->vm(), exec->propertyNames().prototype, prototype, DontDelete | ReadOnly | DontEnum); 63 m_errorStructure.set(exec->vm(), this, ErrorInstance::createStructure(exec->vm(), globalObject, prototype));
|
H A D | RegExpMatchesArray.cpp | 36 RegExpMatchesArray::RegExpMatchesArray(VM& vm, Butterfly* butterfly, JSGlobalObject* globalObject, JSString* input, RegExp* regExp, MatchResult result) argument 37 : JSArray(vm, globalObject->regExpMatchesArrayStructure(), butterfly) 41 m_input.set(vm, this, input); 42 m_regExp.set(vm, this, regExp); 48 VM& vm = exec->vm(); local 49 Butterfly* butterfly = createArrayButterfly(vm, regExp->numSubpatterns() + 1); 50 RegExpMatchesArray* array = new (NotNull, allocateCell<RegExpMatchesArray>(vm.heap)) RegExpMatchesArray(vm, butterfly, exec->lexicalGlobalObject(), input, regExp, result); 51 array->finishCreation(vm); 55 finishCreation(VM& vm) argument [all...] |
H A D | Operations.cpp | 59 JSValue jsTypeStringForValue(VM& vm, JSGlobalObject* globalObject, JSValue v) argument 62 return vm.smallStrings.undefinedString(); 64 return vm.smallStrings.booleanString(); 66 return vm.smallStrings.numberString(); 68 return vm.smallStrings.stringString(); 73 return vm.smallStrings.undefinedString(); 77 return vm.smallStrings.functionString(); 79 return vm.smallStrings.objectString(); 84 return jsTypeStringForValue(callFrame->vm(), callFrame->lexicalGlobalObject(), v);
|
H A D | SmallStrings.cpp | 84 void SmallStrings::initializeCommonStrings(VM& vm) argument 86 createEmptyString(&vm); 87 #define JSC_COMMON_STRINGS_ATTRIBUTE_INITIALIZE(name) initialize(&vm, m_##name, #name); 111 void SmallStrings::createEmptyString(VM* vm) argument 114 m_emptyString = JSString::createHasOtherOwner(*vm, StringImpl::empty()); 117 void SmallStrings::createSingleCharacterString(VM* vm, unsigned char character) argument 122 m_singleCharacterStrings[character] = JSString::createHasOtherOwner(*vm, PassRefPtr<StringImpl>(m_storage->rep(character))); 132 void SmallStrings::initialize(VM* vm, JSString*& string, const char* value) const argument 134 string = JSString::create(*vm, StringImpl::create(value));
|
H A D | JSNotAnObject.h | 42 : JSNonFinalObject(exec->vm(), exec->vm().notAnObjectStructure.get()) 52 object->finishCreation(exec->vm()); 56 static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue prototype) argument 58 return Structure::create(vm, globalObject, prototype, TypeInfo(ObjectType, StructureFlags), &s_info);
|
H A D | RegExpCachedResult.cpp | 45 m_reifiedInput.set(exec->vm(), owner, m_lastInput.get()); 46 m_reifiedResult.set(exec->vm(), owner, RegExpMatchesArray::create(exec, m_lastInput.get(), m_lastRegExp.get(), m_result)); 57 m_reifiedInput.set(exec->vm(), owner, input);
|
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/vmalloc/ |
H A D | vmopen.c | 56 reg Vmalloc_t* vm; local 72 if(!(vm = (Vmalloc_t*)vmalloc(Vmheap,sizeof(Vmalloc_t))) ) 74 vm->meth = *meth; 75 vm->disc = disc; 76 vm->file = NIL(char*); 77 vm->line = 0; 81 if((e = (*disc->exceptf)(vm,VM_OPEN,(Void_t*)(&addr),disc)) != 0) 92 { vm->data = vd; 97 vmfree(Vmheap,vm); 109 if(!(addr = (Vmuchar_t*)(*memoryf)(vm,NI [all...] |
H A D | vmlast.c | 36 static Void_t* lastalloc(Vmalloc_t* vm, size_t size) argument 38 static Void_t* lastalloc(vm, size) 39 Vmalloc_t* vm; 46 reg Vmdata_t* vd = vm->data; 75 if((tp = (*_Vmextend)(vm,size,NIL(Vmsearch_f))) ) 96 (*_Vmtrace)(vm, NIL(Vmuchar_t*), (Vmuchar_t*)tp, orgsize, 0); 100 ANNOUNCE(local, vm, VM_ALLOC, (Void_t*)tp, vm->disc); 106 static int lastfree(Vmalloc_t* vm, reg Void_t* data ) argument 108 static int lastfree(vm, dat 162 lastresize(Vmalloc_t* vm, reg Void_t* data, size_t size, int type ) argument 311 lastaddr(Vmalloc_t* vm, Void_t* addr) argument 328 lastsize(Vmalloc_t* vm, Void_t* addr) argument 347 lastcompact(Vmalloc_t* vm) argument 392 lastalign(Vmalloc_t* vm, size_t size, size_t align) argument [all...] |
/macosx-10.9.5/JavaScriptCore-7537.78.1/dfg/ |
H A D | DFGThunks.cpp | 39 MacroAssemblerCodeRef osrExitGenerationThunkGenerator(VM* vm) argument 44 ScratchBuffer* scratchBuffer = vm->scratchBufferForSize(scratchSize); 87 jit.jump(MacroAssembler::AbsoluteAddress(&vm->osrExitJumpDestination)); 89 LinkBuffer patchBuffer(*vm, &jit, GLOBAL_THUNK_ID); 111 MacroAssemblerCodeRef throwExceptionFromCallSlowPathGenerator(VM* vm) argument 113 CCallHelpers jit(vm); 140 LinkBuffer patchBuffer(*vm, &jit, GLOBAL_THUNK_ID); 145 CCallHelpers& jit, VM* vm, P_DFGOperation_E slowPathFunction) 154 jit.storePtr(GPRInfo::callFrameRegister, &vm->topCallFrame); 186 VM* vm, CodeSpecializationKin 144 slowPathFor( CCallHelpers& jit, VM* vm, P_DFGOperation_E slowPathFunction) argument 185 linkForThunkGenerator( VM* vm, CodeSpecializationKind kind) argument 206 linkCallThunkGenerator(VM* vm) argument 211 linkConstructThunkGenerator(VM* vm) argument 218 linkClosureCallThunkGenerator(VM* vm) argument 228 virtualForThunkGenerator( VM* vm, CodeSpecializationKind kind) argument 318 virtualCallThunkGenerator(VM* vm) argument 323 virtualConstructThunkGenerator(VM* vm) argument [all...] |
/macosx-10.9.5/JavaScriptCore-7537.78.1/interpreter/ |
H A D | CallFrame.h | 63 VM& vm() const; 70 void clearException() { vm().exception = JSValue(); } 73 vm().clearExceptionStack(); 76 JSValue exception() const { return vm().exception; } 77 bool hadException() const { return vm().exception; } 79 const CommonIdentifiers& propertyNames() const { return *vm().propertyNames; } 80 const MarkedArgumentBuffer& emptyList() const { return *vm().emptyList; } 81 Interpreter* interpreter() { return vm().interpreter; } 82 Heap* heap() { return &vm().heap; } 86 static const HashTable* arrayConstructorTable(CallFrame* callFrame) { return callFrame->vm() 115 abstractReturnPC(VM& vm) argument [all...] |
/macosx-10.9.5/JavaScriptCore-7537.78.1/jit/ |
H A D | ThunkGenerators.cpp | 40 static JSInterfaceJIT::Call generateSlowCaseFor(VM* vm, JSInterfaceJIT& jit) argument 51 jit.storePtr(JSInterfaceJIT::callFrameRegister, &vm->topCallFrame); 61 static MacroAssemblerCodeRef linkForGenerator(VM* vm, FunctionPtr lazyLink, FunctionPtr notJSFunction, const char* name) argument 83 jit.storePtr(JSInterfaceJIT::callFrameRegister, &vm->topCallFrame); 90 JSInterfaceJIT::Call callNotJSFunction = generateSlowCaseFor(vm, jit); 92 LinkBuffer patchBuffer(*vm, &jit, GLOBAL_THUNK_ID); 99 MacroAssemblerCodeRef linkCallGenerator(VM* vm) argument 101 return linkForGenerator(vm, FunctionPtr(cti_vm_lazyLinkCall), FunctionPtr(cti_op_call_NotJSFunction), "call"); 104 MacroAssemblerCodeRef linkConstructGenerator(VM* vm) argument 106 return linkForGenerator(vm, FunctionPt 109 linkClosureCallGenerator(VM* vm) argument 114 virtualForGenerator(VM* vm, FunctionPtr compile, FunctionPtr notJSFunction, const char* name, CodeSpecializationKind kind) argument 154 virtualCallGenerator(VM* vm) argument 159 virtualConstructGenerator(VM* vm) argument 164 stringLengthTrampolineGenerator(VM* vm) argument 224 nativeForGenerator(VM* vm, CodeSpecializationKind kind) argument 409 nativeCallGenerator(VM* vm) argument 414 nativeConstructGenerator(VM* vm) argument 419 stringCharLoad(SpecializedThunkJIT& jit, VM* vm) argument 449 charToString(SpecializedThunkJIT& jit, VM* vm, MacroAssembler::RegisterID src, MacroAssembler::RegisterID dst, MacroAssembler::RegisterID scratch) argument 457 charCodeAtThunkGenerator(VM* vm) argument 465 charAtThunkGenerator(VM* vm) argument 474 fromCharCodeThunkGenerator(VM* vm) argument 484 sqrtThunkGenerator(VM* vm) argument 586 floorThunkGenerator(VM* vm) argument 618 ceilThunkGenerator(VM* vm) argument 637 roundThunkGenerator(VM* vm) argument 671 expThunkGenerator(VM* vm) argument 684 logThunkGenerator(VM* vm) argument 697 absThunkGenerator(VM* vm) argument 717 powThunkGenerator(VM* vm) argument 769 imulThunkGenerator(VM* vm) argument [all...] |
/macosx-10.9.5/JavaScriptCore-7537.78.1/bytecode/ |
H A D | ObjectAllocationProfile.h | 50 void initialize(VM& vm, JSCell* owner, JSObject* prototype, unsigned inferredInlineCapacity) argument 58 inferredInlineCapacity += possibleDefaultPropertyCount(vm, prototype); 83 MarkedAllocator* allocator = &vm.heap.allocatorForObjectWithoutDestructor(allocationSize); 93 m_structure.set(vm, owner, 94 vm.prototypeMap.emptyObjectStructureForPrototype(prototype, inlineCapacity)); 114 unsigned possibleDefaultPropertyCount(VM& vm, JSObject* prototype) argument 120 PropertyNameArray propertyNameArray(&vm); 121 prototype->structure()->getPropertyNamesFromStructure(vm, propertyNameArray, ExcludeDontEnumProperties); 124 JSValue value = prototype->getDirect(vm, propertyNameVector[i]);
|
/macosx-10.9.5/JavaScriptCore-7537.78.1/profiler/ |
H A D | ProfilerBytecodes.cpp | 58 result->putDirect(exec->vm(), exec->propertyNames().bytecodesID, jsNumber(m_id)); 59 result->putDirect(exec->vm(), exec->propertyNames().inferredName, jsString(exec, m_inferredName)); 60 result->putDirect(exec->vm(), exec->propertyNames().sourceCode, jsString(exec, m_sourceCode)); 61 result->putDirect(exec->vm(), exec->propertyNames().hash, jsString(exec, String::fromUTF8(toCString(m_hash)))); 62 result->putDirect(exec->vm(), exec->propertyNames().instructionCount, jsNumber(m_instructionCount));
|
/macosx-10.9.5/WebCore-7537.78.1/bindings/js/ |
H A D | WorkerScriptDebugServer.cpp | 71 JSC::VM* vm = m_workerContext->script()->vm(); local 73 JSC::JSLockHolder lock(vm); 75 if (vm->dynamicGlobalObject) 78 JSC::Debugger::recompileAllJSFunctions(vm);
|
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/cdt/ |
H A D | dtnew.c | 25 * dtopen() with handle placed in specific vm region 34 Vmalloc_t* vm; member in struct:Dc_s 51 return vmresize(((Dc_t*)disc)->vm, addr, size, VM_RSMOVE); 55 * open a dictionary using disc->memoryf if set or vm otherwise 59 dtnew(Vmalloc_t* vm, Dtdisc_t* disc, Dtmethod_t* meth) argument 69 dc.vm = vm;
|