Home
last modified time | relevance | path

Searched refs:argCount (Results 1 – 25 of 37) sorted by relevance

12

/external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/
DPluginObject.cpp106 static bool pluginInvoke(NPObject*, NPIdentifier name, const NPVariant* args, uint32_t argCount, NP…
439 static bool testIdentifierToString(PluginObject*, const NPVariant* args, uint32_t argCount, NPVaria… in testIdentifierToString() argument
441 if (argCount != 1) in testIdentifierToString()
453 static bool testIdentifierToInt(PluginObject*, const NPVariant* args, uint32_t argCount, NPVariant*… in testIdentifierToInt() argument
455 if (argCount != 1) in testIdentifierToInt()
465 static bool testPassTestObject(PluginObject* obj, const NPVariant* args, uint32_t argCount, NPVaria… in testPassTestObject() argument
467 if (argCount != 2 || !NPVARIANT_IS_STRING(args[0])) in testPassTestObject()
485 static bool testCallback(PluginObject* obj, const NPVariant* args, uint32_t argCount, NPVariant* re… in testCallback() argument
487 if (!argCount || !NPVARIANT_IS_STRING(args[0])) in testCallback()
507 static bool testCallbackReturn(PluginObject* obj, const NPVariant* args, uint32_t argCount, NPVaria… in testCallbackReturn() argument
[all …]
DTestObject.cpp34 static bool testInvoke(NPObject*, NPIdentifier name, const NPVariant* args, uint32_t argCount, NPVa…
39 static bool testConstruct(NPObject* obj, const NPVariant* args, uint32_t argCount, NPVariant* resul…
/external/webkit/Source/JavaScriptCore/jit/
DJITCall.cpp112 int argCount = instruction[2].u.operand; in compileOpCall() local
121 stubCall.addArgument(JIT::Imm32(argCount)); in compileOpCall()
135 move(Imm32(argCount), regT1); in compileOpCall()
147 int argCount = instruction[2].u.operand; in compileOpCallSlowCase() local
156 stubCall.addArgument(JIT::Imm32(argCount)); in compileOpCallSlowCase()
169 int argCount = instruction[2].u.operand; in compileOpCall() local
178 stubCall.addArgument(JIT::Imm32(argCount)); in compileOpCall()
206 store32(Imm32(argCount), intPayloadFor(registerOffset + RegisterFile::ArgumentCount)); in compileOpCall()
223 int argCount = instruction[2].u.operand; in compileOpCallSlowCase() local
235 move(Imm32(argCount), regT1); in compileOpCallSlowCase()
[all …]
DJITCall32_64.cpp193 int argCount = instruction[2].u.operand; in compileOpCall() local
201 stubCall.addArgument(JIT::Imm32(argCount)); in compileOpCall()
215 move(TrustedImm32(argCount), regT1); in compileOpCall()
228 int argCount = instruction[2].u.operand; in compileOpCallSlowCase() local
237 stubCall.addArgument(JIT::Imm32(argCount)); in compileOpCallSlowCase()
250 int argCount = instruction[2].u.operand; in compileOpCall() local
258 stubCall.addArgument(JIT::Imm32(argCount)); in compileOpCall()
286 store32(Imm32(argCount), payloadFor(registerOffset + RegisterFile::ArgumentCount)); in compileOpCall()
305 int argCount = instruction[2].u.operand; in compileOpCallSlowCase() local
319 move(Imm32(argCount), regT1); in compileOpCallSlowCase()
[all …]
DJITStubs.cpp1976 int argCount = callFrame->argumentCountIncludingThis(); in DEFINE_STUB_FUNCTION() local
1979 ASSERT(argCount != newCodeBlock->m_numParameters); in DEFINE_STUB_FUNCTION()
1984 if (argCount > newCodeBlock->m_numParameters) { in DEFINE_STUB_FUNCTION()
1996 Register* argv = r - RegisterFile::CallFrameHeaderSize - numParameters - argCount; in DEFINE_STUB_FUNCTION()
1998 argv[i + argCount] = argv[i]; in DEFINE_STUB_FUNCTION()
2000 size_t omittedArgCount = newCodeBlock->m_numParameters - argCount; in DEFINE_STUB_FUNCTION()
2018 callFrame->setArgumentCountIncludingThis(argCount); in DEFINE_STUB_FUNCTION()
2035 int argCount = callFrame->argumentCountIncludingThis(); in DEFINE_STUB_FUNCTION() local
2038 ASSERT(argCount != newCodeBlock->m_numParameters); in DEFINE_STUB_FUNCTION()
2043 if (argCount > newCodeBlock->m_numParameters) { in DEFINE_STUB_FUNCTION()
[all …]
/external/webkit/Source/JavaScriptCore/runtime/
DArgList.h197 ArgList(JSValue* args, unsigned argCount) in ArgList() argument
199 , m_argCount(argCount) in ArgList()
202 for (size_t i = 0; i < argCount; i++) in ArgList()
207 ArgList(Register* args, int argCount) in ArgList() argument
209 , m_argCount(argCount) in ArgList()
211 ASSERT(argCount >= 0); in ArgList()
/external/webkit/Source/WebCore/bridge/
DNP_jsobject.cpp112 static void getListFromVariantArgs(ExecState* exec, const NPVariant* args, unsigned argCount, RootO… in getListFromVariantArgs() argument
114 for (unsigned i = 0; i < argCount; ++i) in getListFromVariantArgs()
168 bool _NPN_InvokeDefault(NPP, NPObject* o, const NPVariant* args, uint32_t argCount, NPVariant* resu… in _NPN_InvokeDefault() argument
191 getListFromVariantArgs(exec, args, argCount, rootObject, argList); in _NPN_InvokeDefault()
204 return o->_class->invokeDefault(o, args, argCount, result); in _NPN_InvokeDefault()
209 …, NPObject* o, NPIdentifier methodName, const NPVariant* args, uint32_t argCount, NPVariant* resul… in _NPN_Invoke() argument
220 if (argCount != 1) in _NPN_Invoke()
241 getListFromVariantArgs(exec, args, argCount, rootObject, argList); in _NPN_Invoke()
254 return o->_class->invoke(o, methodName, args, argCount, result); in _NPN_Invoke()
492 bool _NPN_Construct(NPP, NPObject* o, const NPVariant* args, uint32_t argCount, NPVariant* result) in _NPN_Construct() argument
[all …]
Dnpruntime_impl.h48 …PP, NPObject*, NPIdentifier methodName, const NPVariant* args, uint32_t argCount, NPVariant* resul…
49 extern bool _NPN_InvokeDefault(NPP, NPObject*, const NPVariant* args, uint32_t argCount, NPVariant*…
58 extern bool _NPN_Construct(NPP, NPObject*, const NPVariant* args, uint32_t argCount, NPVariant *res…
Dnpruntime.h252 const NPVariant *args, uint32_t argCount,
256 uint32_t argCount,
269 uint32_t argCount,
364 const NPVariant *args, uint32_t argCount, NPVariant *result);
366 uint32_t argCount, NPVariant *result);
379 uint32_t argCount, NPVariant *result);
Dtestbindings.cpp246 void myInvoke (MyObject *obj, NPIdentifier name, NPVariant *args, unsigned argCount, NPVariant *res… in myInvoke() argument
249 if (argCount == 1 && NPN_VariantIsString(&args[0])) in myInvoke()
254 if (argCount == 1 && NPN_VariantIsDouble (&args[0])) in myInvoke()
259 if (argCount == 1 && (NPN_VariantIsDouble (&args[0]) || NPN_VariantIsInt32 (&args[0]))) in myInvoke()
264 if (argCount == 1 && NPN_VariantIsString (&args[0])) in myInvoke()
269 if (argCount == 1 && NPN_VariantIsBool (&args[0])) in myInvoke()
/external/webkit/Source/WebCore/bridge/jni/v8/
DJavaNPObjectV8.cpp110 …NPObject* obj, NPIdentifier identifier, const NPVariant* args, uint32_t argCount, NPVariant* resul… in JavaNPObjectInvoke() argument
135 if (aMethod->numParameters() == static_cast<int>(argCount)) { in JavaNPObjectInvoke()
145 JavaValue* jArgs = new JavaValue[argCount]; in JavaNPObjectInvoke()
146 for (unsigned int i = 0; i < argCount; i++) in JavaNPObjectInvoke()
DJavaNPObjectV8.h50 …oke(NPObject*, NPIdentifier methodName, const NPVariant* args, uint32_t argCount, NPVariant* resul…
/external/webkit/Source/WebKit/chromium/src/
DWebBindings.cpp61 bool WebBindings::construct(NPP npp, NPObject* object, const NPVariant* args, uint32_t argCount, NP… in construct() argument
63 return _NPN_Construct(npp, object, args, argCount, result); in construct()
135 … NPObject* object, NPIdentifier method, const NPVariant* args, uint32_t argCount, NPVariant* resul… in invoke() argument
137 return _NPN_Invoke(npp, object, method, args, argCount, result); in invoke()
140 bool WebBindings::invokeDefault(NPP npp, NPObject* object, const NPVariant* args, uint32_t argCount in invokeDefault() argument
142 return _NPN_InvokeDefault(npp, object, args, argCount, result); in invokeDefault()
/external/clang/test/Sema/
Dblock-args.c27 ^(int argCount) { in main()
28 argCount = 3; in main()
/external/webkit/Source/WebKit/chromium/public/
DWebBindings.h53 …WEBKIT_API static bool construct(NPP, NPObject*, const NPVariant* args, uint32_t argCount, NPVaria…
95 …ke(NPP, NPObject*, NPIdentifier method, const NPVariant* args, uint32_t argCount, NPVariant* resul…
98 …WEBKIT_API static bool invokeDefault(NPP, NPObject*, const NPVariant* args, uint32_t argCount, NPV…
/external/webkit/Source/WebCore/xml/
DXPathFunctions.cpp383 if (argCount() > 0) { in evaluate()
397 if (argCount() > 0) { in evaluate()
411 if (argCount() > 0) { in evaluate()
432 if (!argCount()) in evaluate()
441 unsigned count = argCount(); in evaluate()
507 bool haveLength = argCount() == 3; in evaluate()
533 if (!argCount()) in evaluate()
540 if (!argCount()) { in evaluate()
627 if (!argCount()) in evaluate()
DXPathFunctions.h45 unsigned int argCount() const { return subExprCount(); } in argCount() function
/external/webkit/Source/JavaScriptCore/interpreter/
DCachedCall.h38 CachedCall(CallFrame* callFrame, JSFunction* function, int argCount) in CachedCall() argument
44 …er->prepareForRepeatCall(function->jsExecutable(), callFrame, function, argCount, function->scope(… in CachedCall()
DInterpreter.cpp794 int argCount = 1 + args.size(); // implicit "this" parameter in executeCall() local
795 size_t registerOffset = argCount + RegisterFile::CallFrameHeaderSize; in executeCall()
819 … slideRegisterWindowForCall(newCodeBlock, &m_registerFile, newCallFrame, registerOffset, argCount); in executeCall()
825 …->init(newCodeBlock, 0, callDataScopeChain, callFrame->addHostCallFrameFlag(), argCount, function); in executeCall()
855 newCallFrame->init(0, 0, scopeChain, callFrame->addHostCallFrameFlag(), argCount, function); in executeCall()
884 int argCount = 1 + args.size(); // implicit "this" parameter in executeConstruct() local
885 size_t registerOffset = argCount + RegisterFile::CallFrameHeaderSize; in executeConstruct()
908 … slideRegisterWindowForCall(newCodeBlock, &m_registerFile, newCallFrame, registerOffset, argCount); in executeConstruct()
914 …ewCodeBlock, 0, constructDataScopeChain, callFrame->addHostCallFrameFlag(), argCount, constructor); in executeConstruct()
947 newCallFrame->init(0, 0, scopeChain, callFrame->addHostCallFrameFlag(), argCount, constructor); in executeConstruct()
[all …]
DInterpreter.h120 … prepareForRepeatCall(FunctionExecutable*, CallFrame*, JSFunction*, int argCount, ScopeChainNode*);
/external/webkit/Source/JavaScriptGlue/
DJSValueWrapper.cpp157 CFIndex argCount = args ? CFArrayGetCount(args) : 0; in JSObjectCallFunction() local
158 for (CFIndex i = 0; i < argCount; i++) in JSObjectCallFunction()
DUserObjectImp.cpp59 CFIndex argCount = exec->argumentCount(); in callAsFunction() local
64 for (CFIndex i = 0; i < argCount; i++) { in callAsFunction()
/external/webkit/Source/WebCore/plugins/
Dnpfunctions.h90 …NPObject *obj, NPIdentifier methodName, const NPVariant *args, unsigned argCount, NPVariant *resul…
91 …efaultProcPtr) (NPP npp, NPObject *obj, const NPVariant *args, unsigned argCount, NPVariant *resul…
100 …nstructProcPtr)(NPP npp, NPObject* obj, const NPVariant *args, uint32_t argCount, NPVariant *resul…
/external/webkit/Tools/DumpRenderTree/chromium/
DCppBoundClass.h227 bool invoke(NPIdentifier, const NPVariant* args, size_t argCount,
/external/webkit/Source/JavaScriptCore/bytecode/
DCodeBlock.cpp1072 int argCount = (++it)->u.operand; in dump() local
1074 …[%4d] call\t\t %s, %d, %d\n", location, registerName(exec, func).data(), argCount, registerOffset); in dump()
1079 int argCount = (++it)->u.operand; in dump() local
1081 …d] call_eval\t %s, %d, %d\n", location, registerName(exec, func).data(), argCount, registerOffset); in dump()
1086 int argCount = (++it)->u.operand; in dump() local
1088 …s, %d\n", location, registerName(exec, func).data(), registerName(exec, argCount).data(), register… in dump()
1124 int argCount = (++it)->u.operand; in dump() local
1126 …d] construct\t %s, %d, %d\n", location, registerName(exec, func).data(), argCount, registerOffset); in dump()

12