Home
last modified time | relevance | path

Searched refs:imp (Results 1 – 25 of 75) sorted by relevance

123

/external/icu4c/test/intltest/
Dsimplethread.cpp166 Win32ThreadImplementation *imp = new Win32ThreadImplementation; in SimpleThread() local
167 imp->fHandle = 0; in SimpleThread()
168 fImplementation = imp; in SimpleThread()
176 Win32ThreadImplementation *imp = (Win32ThreadImplementation*)fImplementation; in ~SimpleThread() local
177 if (imp != 0) { in ~SimpleThread()
178 if (imp->fHandle != 0) { in ~SimpleThread()
179 CloseHandle(imp->fHandle); in ~SimpleThread()
180 imp->fHandle = 0; in ~SimpleThread()
188 Win32ThreadImplementation *imp = (Win32ThreadImplementation*)fImplementation; in start() local
189 if(imp->fHandle != NULL) { in start()
[all …]
/external/webkit/WebCore/bindings/js/
DJSCoordinatesCustom.cpp37 Coordinates* imp = impl(); in altitude() local
38 if (!imp->canProvideAltitude()) in altitude()
40 return jsNumber(exec, imp->altitude()); in altitude()
45 Coordinates* imp = impl(); in altitudeAccuracy() local
46 if (!imp->canProvideAltitudeAccuracy()) in altitudeAccuracy()
48 return jsNumber(exec, imp->altitudeAccuracy()); in altitudeAccuracy()
53 Coordinates* imp = impl(); in heading() local
54 if (!imp->canProvideHeading()) in heading()
56 return jsNumber(exec, imp->heading()); in heading()
61 Coordinates* imp = impl(); in speed() local
[all …]
DJSHTMLOptionsCollectionCustom.cpp40 HTMLOptionsCollection* imp = static_cast<HTMLOptionsCollection*>(impl()); in length() local
41 return jsNumber(exec, imp->length()); in length()
46 HTMLOptionsCollection* imp = static_cast<HTMLOptionsCollection*>(impl()); in setLength() local
59 imp->setLength(newLength, ec); in setLength()
65 HTMLOptionsCollection* imp = static_cast<HTMLOptionsCollection*>(impl()); in indexSetter() local
66 HTMLSelectElement* base = static_cast<HTMLSelectElement*>(imp->base()); in indexSetter()
72 HTMLOptionsCollection* imp = static_cast<HTMLOptionsCollection*>(impl()); in add() local
76 imp->add(option, ec); in add()
85 imp->add(option, index, ec); in add()
93 HTMLOptionsCollection* imp = static_cast<HTMLOptionsCollection*>(impl()); in remove() local
[all …]
DJSHTMLFrameElementCustom.cpp44 static inline bool allowSettingJavascriptURL(ExecState* exec, HTMLFrameElement* imp, const String& … in allowSettingJavascriptURL() argument
47 Document* contentDocument = imp->contentDocument(); in allowSettingJavascriptURL()
56 HTMLFrameElement* imp = static_cast<HTMLFrameElement*>(impl()); in setSrc() local
59 if (!allowSettingJavascriptURL(exec, imp, srcValue)) in setSrc()
62 imp->setAttribute(srcAttr, srcValue); in setSrc()
67 HTMLFrameElement* imp = static_cast<HTMLFrameElement*>(impl()); in setLocation() local
70 if (!allowSettingJavascriptURL(exec, imp, locationValue)) in setLocation()
73 imp->setLocation(locationValue); in setLocation()
DJSElementCustom.cpp82 Element* imp = impl(); in setAttribute() local
83 if (!allowSettingSrcToJavascriptURL(exec, imp, name, value)) in setAttribute()
86 imp->setAttribute(name, value, ec); in setAttribute()
100 Element* imp = impl(); in setAttributeNode() local
101 if (!allowSettingSrcToJavascriptURL(exec, imp, newAttr->name(), newAttr->value())) in setAttributeNode()
104 JSValue result = toJS(exec, globalObject(), WTF::getPtr(imp->setAttributeNode(newAttr, ec))); in setAttributeNode()
116 Element* imp = impl(); in setAttributeNS() local
117 if (!allowSettingSrcToJavascriptURL(exec, imp, qualifiedName, value)) in setAttributeNS()
120 imp->setAttributeNS(namespaceURI, qualifiedName, value, ec); in setAttributeNS()
134 Element* imp = impl(); in setAttributeNodeNS() local
[all …]
DJSSVGLengthCustom.cpp31 JSSVGPODTypeWrapper<SVGLength>* imp = impl(); in value() local
34 SVGLength podImp(*imp); in value()
40 JSSVGPODTypeWrapper<SVGLength>* imp = impl(); in convertToSpecifiedUnits() local
43 SVGLength podImp(*imp); in convertToSpecifiedUnits()
46 imp->commitChange(podImp, this); in convertToSpecifiedUnits()
DJSSVGMatrixCustom.cpp53 AffineTransform imp(*impl()); in inverse() local
56 …S(exec, globalObject(), JSSVGStaticPODTypeWrapper<AffineTransform>::create(imp.inverse()).get(), c… in inverse()
58 if (!imp.isInvertible()) in inverse()
66 AffineTransform imp(*impl()); in rotateFromVector() local
72 …S(exec, globalObject(), JSSVGStaticPODTypeWrapper<AffineTransform>::create(imp.rotateFromVector(x,… in rotateFromVector()
DJSAttrCustom.cpp45 Attr* imp = static_cast<Attr*>(impl()); in setValue() local
48 Element* ownerElement = imp->ownerElement(); in setValue()
50 …if (equalIgnoringCase(imp->name(), "src") && protocolIsJavaScript(deprecatedParseURL(attrValue))) { in setValue()
58 imp->setValue(attrValue, ec); in setValue()
/external/webkit/WebCore/bindings/v8/custom/
DV8HTMLInputElementCustom.cpp45 HTMLInputElement* imp = V8HTMLInputElement::toNative(holder); in selectionStartAccessorGetter() local
47 if (!imp->canHaveSelection()) in selectionStartAccessorGetter()
50 int v = imp->selectionStart(); in selectionStartAccessorGetter()
58 HTMLInputElement* imp = V8HTMLInputElement::toNative(holder); in selectionStartAccessorSetter() local
60 if (!imp->canHaveSelection()) { in selectionStartAccessorSetter()
64 imp->setSelectionStart(value->Int32Value()); in selectionStartAccessorSetter()
71 HTMLInputElement* imp = V8HTMLInputElement::toNative(holder); in selectionEndAccessorGetter() local
73 if (!imp->canHaveSelection()) in selectionEndAccessorGetter()
76 int v = imp->selectionEnd(); in selectionEndAccessorGetter()
84 HTMLInputElement* imp = V8HTMLInputElement::toNative(holder); in selectionEndAccessorSetter() local
[all …]
DV8LocationCustom.cpp66 Location* imp = V8Location::toNative(holder); in hashAccessorSetter() local
69 Frame* frame = imp->frame(); in hashAccessorSetter()
89 Location* imp = V8Location::toNative(holder); in hostAccessorSetter() local
92 Frame* frame = imp->frame(); in hostAccessorSetter()
109 Location* imp = V8Location::toNative(holder); in hostnameAccessorSetter() local
112 Frame* frame = imp->frame(); in hostnameAccessorSetter()
126 Location* imp = V8Location::toNative(holder); in hrefAccessorSetter() local
128 Frame* frame = imp->frame(); in hrefAccessorSetter()
146 Location* imp = V8Location::toNative(holder); in pathnameAccessorSetter() local
149 Frame* frame = imp->frame(); in pathnameAccessorSetter()
[all …]
DV8CoordinatesCustom.cpp39 Coordinates* imp = V8Coordinates::toNative(holder); in altitudeAccessorGetter() local
40 if (!imp->canProvideAltitude()) in altitudeAccessorGetter()
42 return v8::Number::New(imp->altitude()); in altitudeAccessorGetter()
49 Coordinates* imp = V8Coordinates::toNative(holder); in altitudeAccuracyAccessorGetter() local
50 if (!imp->canProvideAltitudeAccuracy()) in altitudeAccuracyAccessorGetter()
52 return v8::Number::New(imp->altitudeAccuracy()); in altitudeAccuracyAccessorGetter()
59 Coordinates* imp = V8Coordinates::toNative(holder); in headingAccessorGetter() local
60 if (!imp->canProvideHeading()) in headingAccessorGetter()
62 return v8::Number::New(imp->heading()); in headingAccessorGetter()
69 Coordinates* imp = V8Coordinates::toNative(holder); in speedAccessorGetter() local
[all …]
DV8XSLTProcessorCustom.cpp62 XSLTProcessor* imp = V8XSLTProcessor::toNative(args.Holder()); in importStylesheetCallback() local
65 imp->importStylesheet(node); in importStylesheetCallback()
76 XSLTProcessor* imp = V8XSLTProcessor::toNative(args.Holder()); in transformToFragmentCallback() local
80 RefPtr<DocumentFragment> result = imp->transformToFragment(source, owner); in transformToFragmentCallback()
92 XSLTProcessor* imp = V8XSLTProcessor::toNative(args.Holder()); in transformToDocumentCallback() local
98 RefPtr<Document> result = imp->transformToDocument(source); in transformToDocumentCallback()
112 XSLTProcessor* imp = V8XSLTProcessor::toNative(args.Holder()); in setParameterCallback() local
117 imp->setParameter(namespaceURI, localName, value); in setParameterCallback()
129 XSLTProcessor* imp = V8XSLTProcessor::toNative(args.Holder()); in getParameterCallback() local
133 String result = imp->getParameter(namespaceURI, localName); in getParameterCallback()
[all …]
DV8HTMLAllCollectionCustom.cpp90 HTMLAllCollection* imp = V8HTMLAllCollection::toNative(info.Holder()); in namedPropertyGetter() local
91 return getNamedItems(imp, v8StringToAtomicWebCoreString(name)); in namedPropertyGetter()
97 HTMLAllCollection* imp = V8HTMLAllCollection::toNative(args.Holder()); in itemCallback() local
98 return getItem(imp, args[0]); in itemCallback()
104 HTMLAllCollection* imp = V8HTMLAllCollection::toNative(args.Holder()); in namedItemCallback() local
105 v8::Handle<v8::Value> result = getNamedItems(imp, toWebCoreString(args[0])); in namedItemCallback()
119 HTMLAllCollection* imp = V8HTMLAllCollection::toNative(args.Holder()); in callAsFunctionCallback() local
122 return getItem(imp, args[0]); in callAsFunctionCallback()
131 Node* node = imp->namedItem(name); in callAsFunctionCallback()
136 node = imp->nextNamedItem(name); in callAsFunctionCallback()
DV8HTMLCollectionCustom.cpp90 HTMLCollection* imp = V8HTMLCollection::toNative(info.Holder()); in namedPropertyGetter() local
91 return getNamedItems(imp, v8StringToAtomicWebCoreString(name)); in namedPropertyGetter()
97 HTMLCollection* imp = V8HTMLCollection::toNative(args.Holder()); in itemCallback() local
98 return getItem(imp, args[0]); in itemCallback()
104 HTMLCollection* imp = V8HTMLCollection::toNative(args.Holder()); in namedItemCallback() local
105 v8::Handle<v8::Value> result = getNamedItems(imp, toWebCoreString(args[0])); in namedItemCallback()
119 HTMLCollection* imp = V8HTMLCollection::toNative(args.Holder()); in callAsFunctionCallback() local
122 return getItem(imp, args[0]); in callAsFunctionCallback()
131 Node* node = imp->namedItem(name); in callAsFunctionCallback()
136 node = imp->nextNamedItem(name); in callAsFunctionCallback()
DV8HTMLOptionsCollectionCustom.cpp50 HTMLOptionsCollection* imp = V8HTMLOptionsCollection::toNative(args.Holder()); in removeCallback() local
51 HTMLSelectElement* base = static_cast<HTMLSelectElement*>(imp->base()); in removeCallback()
62 HTMLOptionsCollection* imp = V8HTMLOptionsCollection::toNative(args.Holder()); in addCallback() local
67 imp->add(option, ec); in addCallback()
79 imp->add(option, index, ec); in addCallback()
91 HTMLOptionsCollection* imp = V8HTMLOptionsCollection::toNative(info.Holder()); in lengthAccessorGetter() local
92 int v = imp->length(); in lengthAccessorGetter()
99 HTMLOptionsCollection* imp = V8HTMLOptionsCollection::toNative(info.Holder()); in lengthAccessorSetter() local
112 imp->setLength(value->Uint32Value(), ec); in lengthAccessorSetter()
DV8HTMLDataGridElementCustom.cpp47 HTMLDataGridElement* imp = V8DOMWrapper::convertDOMWrapperToNode<HTMLDataGridElement>(holder); in ACCESSOR_GETTER() local
48 DataGridDataSource* dataSource = imp->dataSource(); in ACCESSOR_GETTER()
58 HTMLDataGridElement* imp = V8DOMWrapper::convertDOMWrapperToNode<HTMLDataGridElement>(holder); in ACCESSOR_SETTER() local
61 Frame *frame = imp->document()->frame(); in ACCESSOR_SETTER()
64 imp->setDataSource(dataSource.get()); in ACCESSOR_SETTER()
DV8DOMWindowCustom.cpp81 DOMWindow* imp = V8DOMWindow::toNative(args.Holder()); in WindowSetTimeoutImpl() local
82 ScriptExecutionContext* scriptContext = static_cast<ScriptExecutionContext*>(imp->document()); in WindowSetTimeoutImpl()
114 if (!V8BindingSecurity::canAccessFrame(V8BindingState::Only(), imp->frame(), true)) in WindowSetTimeoutImpl()
129 …ScheduledAction* action = new ScheduledAction(V8Proxy::context(imp->frame()), v8::Handle<v8::Funct… in WindowSetTimeoutImpl()
135 …id = DOMTimer::install(scriptContext, new ScheduledAction(V8Proxy::context(imp->frame()), function… in WindowSetTimeoutImpl()
219 DOMWindow* imp = V8DOMWindow::toNative(info.Holder()); in locationAccessorSetter() local
220 V8DOMWindowShell::setLocation(imp, toWebCoreString(value)); in locationAccessorSetter()
226 DOMWindow* imp = V8DOMWindow::toNative(info.Holder()); in openerAccessorSetter() local
228 if (!V8BindingSecurity::canAccessFrame(V8BindingState::Only(), imp->frame(), true)) in openerAccessorSetter()
237 ASSERT(imp->frame()); in openerAccessorSetter()
[all …]
DV8SVGLengthCustom.cpp47 SVGLength imp = *wrapper; in valueAccessorGetter() local
48 return v8::Number::New(imp.value(V8Proxy::svgContext(wrapper))); in valueAccessorGetter()
55 SVGLength imp = *wrapper; in convertToSpecifiedUnitsCallback() local
57 imp.convertToSpecifiedUnits(toInt32(args[0]), context); in convertToSpecifiedUnitsCallback()
58 wrapper->commitChange(imp, context); in convertToSpecifiedUnitsCallback()
DV8AttrCustom.cpp45 Attr* imp = V8Attr::toNative(info.Holder()); in valueAccessorSetter() local
47 Element* ownerElement = imp->ownerElement(); in valueAccessorSetter()
49 …rity::allowSettingSrcToJavascriptURL(V8BindingState::Only(), ownerElement, imp->name(), attrValue)) in valueAccessorSetter()
53 imp->setValue(attrValue, ec); in valueAccessorSetter()
DV8NodeCustom.cpp98 Node* imp = V8Node::toNative(holder); in insertBeforeCallback() local
102 bool success = imp->insertBefore(newChild, refChild, ec, true); in insertBeforeCallback()
117 Node* imp = V8Node::toNative(holder); in replaceChildCallback() local
121 bool success = imp->replaceChild(newChild, oldChild, ec, true); in replaceChildCallback()
135 Node* imp = V8Node::toNative(holder); in removeChildCallback() local
138 bool success = imp->removeChild(oldChild, ec); in removeChildCallback()
153 Node* imp = V8Node::toNative(holder); in appendChildCallback() local
156 bool success = imp->appendChild(newChild, ec, true ); in appendChildCallback()
DV8HTMLPlugInElementCustom.cpp50 HTMLPlugInElement* imp = C::toNative(info.Holder()); in npObjectNamedGetter() local
51 ScriptInstance scriptInstance = imp->getInstance(); in npObjectNamedGetter()
65 HTMLPlugInElement* imp = C::toNative(info.Holder()); in npObjectNamedSetter() local
66 ScriptInstance scriptInstance = imp->getInstance(); in npObjectNamedSetter()
135 HTMLPlugInElement* imp = C::toNative(info.Holder()); in npObjectIndexedGetter() local
136 ScriptInstance scriptInstance = imp->getInstance(); in npObjectIndexedGetter()
151 HTMLPlugInElement* imp = C::toNative(info.Holder()); in npObjectIndexedSetter() local
152 ScriptInstance scriptInstance = imp->getInstance(); in npObjectIndexedSetter()
DV8HTMLSelectElementCustom.cpp97 HTMLSelectElement* imp = V8HTMLSelectElement::toNative(args.Holder()); in removeCallback() local
98 return removeElement(imp, args); in removeCallback()
101 v8::Handle<v8::Value> removeElement(HTMLSelectElement* imp, const v8::Arguments& args) in removeElement() argument
105 imp->remove(element->index()); in removeElement()
109 imp->remove(toInt32(args[0])); in removeElement()
/external/chromium/third_party/icu/source/test/intltest/
Dtsmthred.cpp209 Win32ThreadImplementation *imp = new Win32ThreadImplementation; in SimpleThread() local
210 imp->fHandle = 0; in SimpleThread()
211 fImplementation = imp; in SimpleThread()
219 Win32ThreadImplementation *imp = (Win32ThreadImplementation*)fImplementation; in ~SimpleThread() local
220 if (imp != 0) { in ~SimpleThread()
221 if (imp->fHandle != 0) { in ~SimpleThread()
222 CloseHandle(imp->fHandle); in ~SimpleThread()
223 imp->fHandle = 0; in ~SimpleThread()
231 Win32ThreadImplementation *imp = (Win32ThreadImplementation*)fImplementation; in start() local
232 if(imp->fHandle != NULL) { in start()
[all …]
/external/webkit/WebCore/bridge/
DNP_jsobject.cpp70 obj->rootObject->gcUnprotect(obj->imp); in jsDeallocate()
84 NPObject* _NPN_CreateScriptObject(NPP npp, JSObject* imp, PassRefPtr<RootObject> rootObject) in _NPN_CreateScriptObject() argument
91 obj->rootObject->gcProtect(imp); in _NPN_CreateScriptObject()
92 obj->imp = imp; in _NPN_CreateScriptObject()
118 JSValue function = obj->imp; in _NPN_InvokeDefault()
167 JSValue function = obj->imp->get(exec, identifierFromNPIdentifier(i->string())); in _NPN_Invoke()
178 JSValue resultV = JSC::call(exec, function, callType, callData, obj->imp, argList); in _NPN_Invoke()
248 result = obj->imp->get(exec, identifierFromNPIdentifier(i->string())); in _NPN_GetProperty()
250 result = obj->imp->get(exec, i->number()); in _NPN_GetProperty()
282 …obj->imp->put(exec, identifierFromNPIdentifier(i->string()), convertNPVariantToValue(exec, variant… in _NPN_SetProperty()
[all …]
/external/webkit/WebCore/bindings/objc/
DWebScriptObject.mm136 - (void)_setImp:(JSObject*)imp originRootObject:(PassRefPtr<RootObject>)originRootObject rootObject…
139 ASSERT(!_private->imp);
142 ASSERT(imp);
144 _private->imp = imp;
148 WebCore::addJSWrapper(self, imp);
151 _private->rootObject->gcProtect(imp);
156 ASSERT(_private->imp);
159 rootObject->gcProtect(_private->imp);
162 _private->rootObject->gcUnprotect(_private->imp);
174 - (id)_initWithJSObject:(JSC::JSObject*)imp originRootObject:(PassRefPtr<JSC::Bindings::RootObject>…
[all …]

123