Home
last modified time | relevance | path

Searched refs:exception (Results 1 – 25 of 444) sorted by relevance

12345678910>>...18

/external/webkit/WebKitTools/DumpRenderTree/
DLayoutTestController.cpp74 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in dumpAsTextCallback() argument
81 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in dumpAsPDFCallback() argument
88 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in dumpBackForwardListCallback() argument
95 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in dumpChildFramesAsTextCallback() argument
102 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in dumpChildFrameScrollPositionsCallback() argument
109 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in dumpDatabaseCallbacksCallback() argument
116 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in dumpDOMAsWebArchiveCallback() argument
123 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in dumpEditingCallbacksCallback() argument
130 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in dumpResourceLoadCallbacksCallback() argument
137 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in dumpResourceResponseMIMETypesCallback() argument
[all …]
DAccessibilityUIElement.cpp39 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in allAttributesCallback() argument
45 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in attributesOfLinkedUIElementsCallback() argument
51 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in attributesOfDocumentLinksCallback() argument
57 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in attributesOfChildrenCallback() argument
63 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in parameterizedAttributeNamesCallback() argument
69 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in attributesOfColumnHeadersCallback() argument
75 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in attributesOfRowHeadersCallback() argument
81 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in attributesOfColumnsCallback() argument
87 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in attributesOfRowsCallback() argument
93 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in attributesOfVisibleCellsCallback() argument
[all …]
/external/webkit/JavaScriptCore/API/tests/
Dtestapi.c152 …Property(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception) in MyObject_getProperty() argument
170 …tring("throw 'an exception'"), object, JSStringCreateWithUTF8CString("test script"), 1, exception); in MyObject_getProperty()
174 *exception = JSValueMakeNumber(context, 1); in MyObject_getProperty()
181 …Ref context, JSObjectRef object, JSStringRef propertyName, JSValueRef value, JSValueRef* exception) in MyObject_setProperty() argument
186 UNUSED_PARAM(exception); in MyObject_setProperty()
192 …tring("throw 'an exception'"), object, JSStringCreateWithUTF8CString("test script"), 1, exception); in MyObject_setProperty()
198 …Property(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception) in MyObject_deleteProperty() argument
207 …tring("throw 'an exception'"), object, JSStringCreateWithUTF8CString("test script"), 1, exception); in MyObject_deleteProperty()
230 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in MyObject_callAsFunction() argument
235 UNUSED_PARAM(exception); in MyObject_callAsFunction()
[all …]
DJSNode.c36 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in JSNode_appendChild() argument
43 *exception = JSValueMakeString(context, message); in JSNode_appendChild()
47 *exception = JSValueMakeString(context, message); in JSNode_appendChild()
59 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in JSNode_removeChild() argument
68 Node* child = JSObjectGetPrivate(JSValueToObject(context, arguments[0], exception)); in JSNode_removeChild()
78 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in JSNode_replaceChild() argument
87 … Node* newChild = JSObjectGetPrivate(JSValueToObject(context, arguments[0], exception)); in JSNode_replaceChild()
88 … Node* oldChild = JSObjectGetPrivate(JSValueToObject(context, arguments[1], exception)); in JSNode_replaceChild()
106 …NodeType(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception) in JSNode_getNodeType() argument
109 UNUSED_PARAM(exception); in JSNode_getNodeType()
[all …]
DJSNodeList.c33 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in JSNodeList_item() argument
40 … Node* node = NodeList_item(nodeList, (unsigned)JSValueToNumber(context, arguments[0], exception)); in JSNodeList_item()
53 …ngth(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception) in JSNodeList_length() argument
56 UNUSED_PARAM(exception); in JSNodeList_length()
68 …erty(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception) in JSNodeList_getProperty() argument
72 double index = JSValueToNumber(context, JSValueMakeString(context, propertyName), exception); in JSNodeList_getProperty()
/external/webkit/JavaScriptCore/API/
DJSObjectRef.cpp117 …terNames[], JSStringRef body, JSStringRef sourceURL, int startingLineNumber, JSValueRef* exception) in JSObjectMakeFunction() argument
132 if (exception) in JSObjectMakeFunction()
133 *exception = toRef(exec, exec->exception()); in JSObjectMakeFunction()
140 …Array(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in JSObjectMakeArray() argument
157 if (exception) in JSObjectMakeArray()
158 *exception = toRef(exec, exec->exception()); in JSObjectMakeArray()
166 …eDate(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in JSObjectMakeDate() argument
178 if (exception) in JSObjectMakeDate()
179 *exception = toRef(exec, exec->exception()); in JSObjectMakeDate()
187 …Error(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in JSObjectMakeError() argument
[all …]
DJSObjectRef.h147 …yCallback) (JSContextRef ctx, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception);
165 …extRef ctx, JSObjectRef object, JSStringRef propertyName, JSValueRef value, JSValueRef* exception);
182 …yCallback) (JSContextRef ctx, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception);
220 …JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception);
240 …SObjectRef constructor, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception);
261 …) (JSContextRef ctx, JSObjectRef constructor, JSValueRef possibleInstance, JSValueRef* exception);
280 …tConvertToTypeCallback) (JSContextRef ctx, JSObjectRef object, JSType type, JSValueRef* exception);
444 …ef ctx, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) AVAILABLE_IN_WE…
455 …ef ctx, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) AVAILABLE_IN_WE…
466 …ef ctx, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) AVAILABLE_IN_WE…
[all …]
DJSCallbackObjectFunctions.h128 JSValueRef exception = 0; in getOwnPropertySlot() local
132 value = getProperty(ctx, thisRef, propertyNameRef.get(), &exception); in getOwnPropertySlot()
134 exec->setException(toJS(exec, exception)); in getOwnPropertySlot()
139 if (exception) { in getOwnPropertySlot()
181 JSValueRef exception = 0; in put() local
185 result = setProperty(ctx, thisRef, propertyNameRef.get(), valueRef, &exception); in put()
187 exec->setException(toJS(exec, exception)); in put()
188 if (result || exception) in put()
199 JSValueRef exception = 0; in put() local
203 … result = setProperty(ctx, thisRef, propertyNameRef.get(), valueRef, &exception); in put()
[all …]
DJSValueRef.cpp145 bool JSValueIsEqual(JSContextRef ctx, JSValueRef a, JSValueRef b, JSValueRef* exception) in JSValueIsEqual() argument
156 if (exception) in JSValueIsEqual()
157 *exception = toRef(exec, exec->exception()); in JSValueIsEqual()
175 …ceOfConstructor(JSContextRef ctx, JSValueRef value, JSObjectRef constructor, JSValueRef* exception) in JSValueIsInstanceOfConstructor() argument
188 if (exception) in JSValueIsInstanceOfConstructor()
189 *exception = toRef(exec, exec->exception()); in JSValueIsInstanceOfConstructor()
250 double JSValueToNumber(JSContextRef ctx, JSValueRef value, JSValueRef* exception) in JSValueToNumber() argument
260 if (exception) in JSValueToNumber()
261 *exception = toRef(exec, exec->exception()); in JSValueToNumber()
268 JSStringRef JSValueToStringCopy(JSContextRef ctx, JSValueRef value, JSValueRef* exception) in JSValueToStringCopy() argument
[all …]
DJSBase.cpp43 …ript, JSObjectRef thisObject, JSStringRef sourceURL, int startingLineNumber, JSValueRef* exception) in JSEvaluateScript() argument
57 if (exception) in JSEvaluateScript()
58 *exception = toRef(exec, completion.value()); in JSEvaluateScript()
69 …tRef ctx, JSStringRef script, JSStringRef sourceURL, int startingLineNumber, JSValueRef* exception) in JSCheckScriptSyntax() argument
78 if (exception) in JSCheckScriptSyntax()
79 *exception = toRef(exec, completion.value()); in JSCheckScriptSyntax()
/external/webkit/WebKit/qt/Api/
Dqwebelement.cpp201 ExceptionCode exception = 0; // ### in findAll() local
202 RefPtr<NodeList> nodes = m_element->querySelectorAll(selectorQuery, exception); in findAll()
226 ExceptionCode exception = 0; // ### in findFirst() local
227 return QWebElement(m_element->querySelector(selectorQuery, exception).get()); in findFirst()
239 ExceptionCode exception = 0; in setPlainText() local
240 static_cast<HTMLElement*>(m_element)->setInnerText(text, exception); in setPlainText()
268 ExceptionCode exception = 0; in setOuterXml() local
270 static_cast<HTMLElement*>(m_element)->setOuterHTML(markup, exception); in setOuterXml()
299 ExceptionCode exception = 0; in setInnerXml() local
301 static_cast<HTMLElement*>(m_element)->setInnerHTML(markup, exception); in setInnerXml()
[all …]
/external/webkit/JavaScriptCore/runtime/
DJSNotAnObject.cpp42 ASSERT_UNUSED(exec, exec->hadException() && exec->exception() == m_exception); in toPrimitive()
48 ASSERT_UNUSED(exec, exec->hadException() && exec->exception() == m_exception); in getPrimitiveNumber()
54 ASSERT_UNUSED(exec, exec->hadException() && exec->exception() == m_exception); in toBoolean()
60 ASSERT_UNUSED(exec, exec->hadException() && exec->exception() == m_exception); in toNumber()
66 ASSERT_UNUSED(exec, exec->hadException() && exec->exception() == m_exception); in toString()
72 ASSERT_UNUSED(exec, exec->hadException() && exec->exception() == m_exception); in toObject()
86 ASSERT_UNUSED(exec, exec->hadException() && exec->exception() == m_exception); in getOwnPropertySlot()
92 ASSERT_UNUSED(exec, exec->hadException() && exec->exception() == m_exception); in getOwnPropertySlot()
98 ASSERT_UNUSED(exec, exec->hadException() && exec->exception() == m_exception); in put()
103 ASSERT_UNUSED(exec, exec->hadException() && exec->exception() == m_exception); in put()
[all …]
DExceptionHelpers.cpp77 …JSObject* exception = Error::create(exec, ReferenceError, message, line, codeBlock->ownerNode()->s… in createUndefinedVariableError() local
78exception->putWithAttributes(exec, Identifier(exec, expressionBeginOffsetPropertyName), jsNumber(e… in createUndefinedVariableError()
79exception->putWithAttributes(exec, Identifier(exec, expressionCaretOffsetPropertyName), jsNumber(e… in createUndefinedVariableError()
80exception->putWithAttributes(exec, Identifier(exec, expressionEndOffsetPropertyName), jsNumber(exe… in createUndefinedVariableError()
81 return exception; in createUndefinedVariableError()
139 …JSObject* exception = Error::create(exec, TypeError, errorMessage, line, codeBlock->ownerNode()->s… in createInvalidParamError() local
140exception->putWithAttributes(exec, Identifier(exec, expressionBeginOffsetPropertyName), jsNumber(e… in createInvalidParamError()
141exception->putWithAttributes(exec, Identifier(exec, expressionCaretOffsetPropertyName), jsNumber(e… in createInvalidParamError()
142exception->putWithAttributes(exec, Identifier(exec, expressionEndOffsetPropertyName), jsNumber(exe… in createInvalidParamError()
143 return exception; in createInvalidParamError()
[all …]
DJSValue.cpp65 JSNotAnObjectErrorStub* exception = createNotAnObjectErrorStub(exec, isNull()); in toObjectSlowCase() local
66 exec->setException(exception); in toObjectSlowCase()
67 return new (exec) JSNotAnObject(exec, exception); in toObjectSlowCase()
90 JSNotAnObjectErrorStub* exception = createNotAnObjectErrorStub(exec, isNull()); in synthesizeObject() local
91 exec->setException(exception); in synthesizeObject()
92 return new (exec) JSNotAnObject(exec, exception); in synthesizeObject()
103 JSNotAnObjectErrorStub* exception = createNotAnObjectErrorStub(exec, isNull()); in synthesizePrototype() local
104 exec->setException(exception); in synthesizePrototype()
105 return new (exec) JSNotAnObject(exec, exception); in synthesizePrototype()
DCompletion.cpp66 JSValue exception; in evaluate() local
67 …lt = exec->interpreter()->execute(programNode.get(), exec, scopeChain.node(), thisObj, &exception); in evaluate()
69 if (exception) { in evaluate()
70 if (exception.isObject() && asObject(exception)->isWatchdogException()) in evaluate()
71 return Completion(Interrupted, exception); in evaluate()
72 return Completion(Throw, exception); in evaluate()
/external/webkit/WebKitTools/DumpRenderTree/win/
DEventSender.cpp63 …Callback(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception) in getDragModeCallback() argument
68 …Ref context, JSObjectRef object, JSStringRef propertyName, JSValueRef value, JSValueRef* exception) in setDragModeCallback() argument
74 …Callback(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception) in getConstantCallback() argument
96 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in leapForwardCallback() argument
99 msgQueue[endOfQueue].delay = JSValueToNumber(context, arguments[0], exception); in leapForwardCallback()
100 ASSERT(!exception || !*exception); in leapForwardCallback()
131 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in contextClickCallback() argument
147 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in mouseDownCallback() argument
208 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in mouseUpCallback() argument
248 … JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) in mouseMoveToCallback() argument
[all …]
/external/webkit/WebCore/inspector/
DJavaScriptProfileNode.cpp140 …SValueRef getChildren(JSContextRef ctx, JSObjectRef thisObject, JSStringRef, JSValueRef* exception) in getChildren() argument
154 JSValueRef arrayProperty = JSObjectGetProperty(ctx, global, arrayString.get(), exception); in getChildren()
155 if (exception && *exception) in getChildren()
158 JSObjectRef arrayConstructor = JSValueToObject(ctx, arrayProperty, exception); in getChildren()
159 if (exception && *exception) in getChildren()
162 JSObjectRef result = JSObjectCallAsConstructor(ctx, arrayConstructor, 0, 0, exception); in getChildren()
163 if (exception && *exception) in getChildren()
168 JSValueRef pushProperty = JSObjectGetProperty(ctx, result, pushString.get(), exception); in getChildren()
169 if (exception && *exception) in getChildren()
172 JSObjectRef pushFunction = JSValueToObject(ctx, pushProperty, exception); in getChildren()
[all …]
/external/apache-http/src/org/apache/commons/logging/impl/
DJdk14Logger.java124 public void debug(Object message, Throwable exception) { in debug() argument
125 log(Level.FINE, String.valueOf(message), exception); in debug()
147 public void error(Object message, Throwable exception) { in error() argument
148 log(Level.SEVERE, String.valueOf(message), exception); in error()
170 public void fatal(Object message, Throwable exception) { in fatal() argument
171 log(Level.SEVERE, String.valueOf(message), exception); in fatal()
204 public void info(Object message, Throwable exception) { in info() argument
205 log(Level.INFO, String.valueOf(message), exception); in info()
275 public void trace(Object message, Throwable exception) { in trace() argument
276 log(Level.FINEST, String.valueOf(message), exception); in trace()
[all …]
/external/webkit/WebKit/mac/WebView/
DWebDelegateImplementationCaching.mm82 } @catch(id exception) {
83 ReportDiscardedDelegateException(selector, exception);
96 } @catch(id exception) {
97 ReportDiscardedDelegateException(selector, exception);
110 } @catch(id exception) {
111 ReportDiscardedDelegateException(selector, exception);
124 } @catch(id exception) {
125 ReportDiscardedDelegateException(selector, exception);
138 } @catch(id exception) {
139 ReportDiscardedDelegateException(selector, exception);
[all …]
/external/webkit/WebCore/bindings/v8/
DWorkerScriptController.cpp68 …tValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode, ScriptValue* exception) in evaluate() argument
79 if (exception) in evaluate()
80 *exception = state.exception; in evaluate()
95 void WorkerScriptController::setException(ScriptValue exception) in setException() argument
97 throwError(*exception.v8Value()); in setException()
/external/webkit/WebCore/bindings/js/
DWorkerScriptController.cpp103 ScriptValue exception; in evaluate() local
104 ScriptValue result = evaluate(sourceCode, &exception); in evaluate()
105 if (exception.jsValue()) { in evaluate()
107 reportException(m_workerContextWrapper->globalExec(), exception.jsValue()); in evaluate()
112 …tValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode, ScriptValue* exception) in evaluate() argument
132 *exception = comp.value(); in evaluate()
136 void WorkerScriptController::setException(ScriptValue exception) in setException() argument
138 m_workerContextWrapper->globalExec()->setException(exception.jsValue()); in setException()
/external/apache-http/src/org/apache/http/impl/client/
DDefaultHttpRequestRetryHandler.java79 final IOException exception, in retryRequest() argument
82 if (exception == null) { in retryRequest()
92 if (exception instanceof NoHttpResponseException) { in retryRequest()
96 if (exception instanceof InterruptedIOException) { in retryRequest()
100 if (exception instanceof UnknownHostException) { in retryRequest()
104 if (exception instanceof SSLHandshakeException) { in retryRequest()
/external/junit/src/junit/framework/
DTestCase.java127 Throwable exception= null; in runBare() local
132 exception= running; in runBare()
138 if (exception == null) exception= tearingDown; in runBare()
141 if (exception != null) throw exception; in runBare()
/external/webkit/WebKitTools/Scripts/
Dextract-localizable-strings80 my %exception;
87 if ($exception{$_}) {
89 print "$exceptionsFile:$exception{$_}:first appearance\n";
91 $exception{$_} = $.;
189 } elsif ($exception{$file}) {
191 } elsif ($exception{"\"$string\""}) {
193 } elsif ($exception{"$file:\"$string\""}) {
355 my @unusedExceptions = sort grep { !$usedException{$_} } keys %exception;
358 print "$exceptionsFile:$exception{$unused}:exception $unused not used\n";
/external/webkit/JavaScriptCore/interpreter/
DCallFrame.h77 void setException(JSValue exception) { globalData().exception = exception; } in setException() argument
78 void clearException() { globalData().exception = JSValue(); } in clearException()
79 JSValue exception() const { return globalData().exception; } in exception() function
80 JSValue* exceptionSlot() { return &globalData().exception; } in exceptionSlot()
81 bool hadException() const { return globalData().exception; } in hadException()

12345678910>>...18