Searched refs:portArray (Results 1 – 8 of 8) sorted by relevance
/external/webkit/Source/WebCore/bindings/v8/custom/ |
D | V8MessagePortCustom.cpp | 53 MessagePortArray portArray; in postMessageCallback() local 55 if (!getMessagePortArray(args[1], portArray)) in postMessageCallback() 59 messagePort->postMessage(message.release(), &portArray, ec); in postMessageCallback() 63 bool getMessagePortArray(v8::Local<v8::Value> value, MessagePortArray& portArray) in getMessagePortArray() argument 66 portArray.resize(0); in getMessagePortArray() 89 portArray.resize(length); in getMessagePortArray() 103 portArray[i] = V8MessagePort::toNative(v8::Handle<v8::Object>::Cast(port)); in getMessagePortArray()
|
D | V8MessageEventCustom.cpp | 54 v8::Local<v8::Array> portArray = v8::Array::New(ports->size()); in portsAccessorGetter() local 56 portArray->Set(v8::Integer::New(i), toV8((*ports)[i].get())); in portsAccessorGetter() 58 return portArray; in portsAccessorGetter() 79 OwnPtr<MessagePortArray> portArray; in initMessageEventCallback() local 82 portArray = new MessagePortArray(); in initMessageEventCallback() 83 if (!getMessagePortArray(args[7], *portArray)) in initMessageEventCallback() 86 …eArg, cancelableArg, dataArg.release(), originArg, lastEventIdArg, sourceArg, portArray.release()); in initMessageEventCallback()
|
D | V8DedicatedWorkerContextCustom.cpp | 53 MessagePortArray portArray; in postMessageCallback() local 55 if (!getMessagePortArray(args[1], portArray)) in postMessageCallback() 59 workerContext->postMessage(message.release(), &portArray, ec); in postMessageCallback()
|
D | V8WorkerCustom.cpp | 98 MessagePortArray portArray; in postMessageCallback() local 100 if (!getMessagePortArray(args[1], portArray)) in postMessageCallback() 104 worker->postMessage(message.release(), &portArray, ec); in postMessageCallback()
|
D | V8DOMWindowCustom.cpp | 328 MessagePortArray portArray; in postMessageCallback() local 337 if (!getMessagePortArray(args[1], portArray)) in postMessageCallback() 348 window->postMessage(message.release(), &portArray, targetOrigin, source, ec); in postMessageCallback()
|
/external/webkit/Source/WebCore/bindings/js/ |
D | JSMessagePortCustom.cpp | 60 void fillMessagePortArray(JSC::ExecState* exec, JSC::JSValue value, MessagePortArray& portArray) in fillMessagePortArray() argument 65 portArray.resize(0); in fillMessagePortArray() 75 portArray.resize(length); in fillMessagePortArray() 92 portArray[i] = port.release(); in fillMessagePortArray()
|
D | JSMessagePortCustom.h | 52 MessagePortArray portArray; in handlePostMessage() local 53 fillMessagePortArray(exec, exec->argument(1), portArray); in handlePostMessage() 58 impl->postMessage(message, &portArray, ec); in handlePostMessage()
|
/external/webkit/Source/WebCore/dom/ |
D | MessagePort.cpp | 222 MessagePortChannelArray* portArray = new MessagePortChannelArray(ports->size()); in disentanglePorts() local 226 (*portArray)[i] = channel.release(); in disentanglePorts() 228 return portArray; in disentanglePorts() 236 MessagePortArray* portArray = new MessagePortArray(channels->size()); in entanglePorts() local 240 (*portArray)[i] = port.release(); in entanglePorts() 242 return portArray; in entanglePorts()
|