/external/webkit/Source/JavaScriptCore/API/tests/ |
H A D | JSNode.c | 36 static JSValueRef JSNode_appendChild(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) argument 43 *exception = JSValueMakeString(context, message); 47 *exception = JSValueMakeString(context, message); 59 static JSValueRef JSNode_removeChild(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) argument 68 Node* child = JSObjectGetPrivate(JSValueToObject(context, arguments[0], exception)); 78 static JSValueRef JSNode_replaceChild(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) argument 87 Node* newChild = JSObjectGetPrivate(JSValueToObject(context, arguments[0], exception)); 88 Node* oldChild = JSObjectGetPrivate(JSValueToObject(context, arguments[1], exception)); 106 static JSValueRef JSNode_getNodeType(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception) argument 109 UNUSED_PARAM(exception); 122 JSNode_getChildNodes(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception) argument 132 JSNode_getFirstChild(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception) argument 188 JSNode_construct(JSContextRef context, JSObjectRef object, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) argument [all...] |
H A D | minidom.c | 37 static JSValueRef print(JSContextRef context, JSObjectRef object, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception); 59 JSValueRef exception; local 60 JSValueRef result = JSEvaluateScript(context, script, NULL, NULL, 1, &exception); 64 printf("FAIL: Test script threw exception:\n"); 65 JSStringRef exceptionIString = JSValueToStringCopy(context, exception, NULL); 82 static JSValueRef print(JSContextRef context, JSObjectRef object, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) argument 88 JSStringRef string = JSValueToStringCopy(context, arguments[0], exception);
|
/external/webkit/Source/JavaScriptCore/qt/api/ |
H A D | qscriptengine_p.cpp | 53 JSValueRef exception; local 55 bool syntaxIsCorrect = JSCheckScriptSyntax(m_context, source, /* url */ 0, /* starting line */ 1, &exception); 60 JSValueProtect(m_context, exception); 61 return new QScriptSyntaxCheckResultPrivate(this, const_cast<JSObjectRef>(exception)); 132 JSValueRef exception = 0; local 133 JSObjectRef array = JSObjectMakeArray(m_context, /* argumentCount */ 0, /* arguments */ 0, &exception); 135 if (!exception) { 138 // array is an Array instance, so an exception should not occure here. 139 JSObjectSetProperty(m_context, array, lengthRef.get(), JSValueMakeNumber(m_context, length), kJSPropertyAttributeNone, /* exception */ 0); 142 setException(exception, NotNullExceptio 151 JSValueRef exception = 0; local [all...] |
H A D | qscriptengine_p.h | 60 inline void setException(JSValueRef exception, const /* SetExceptionFlags */ unsigned flags = IgnoreNullException); 112 JSValueRef exception; local 113 JSValueRef result = JSEvaluateScript(m_context, program, /* Global Object */ 0, fileName, lineNumber, &exception); 115 setException(exception, NotNullException); 116 return exception; // returns an exception 134 void QScriptEnginePrivate::setException(JSValueRef exception, const /* SetExceptionFlags */ unsigned flags) argument 136 if (!((flags & NotNullException) || exception)) 138 Q_ASSERT(exception); 142 JSValueProtect(m_context, exception); [all...] |
H A D | qscriptoriginalglobalobject_p.h | 77 JSValueRef exception = 0; local 87 m_hasOwnPropertyFunction = const_cast<JSObjectRef>(JSObjectGetProperty(m_context, globalObject, propertyName.get(), &exception)); 91 Q_ASSERT(!exception); 95 = const_cast<JSObjectRef>(JSObjectGetProperty(m_context, globalObject, propertyName.get(), &exception)); 98 = const_cast<JSObjectRef>(JSObjectGetProperty(m_context, objectConstructor, propertyName.get(), &exception)); 102 Q_ASSERT(!exception); 108 JSValueRef exception = 0; local 111 JSValueRef typeConstructor = JSObjectGetProperty(m_context, globalObject, typeName.get(), &exception); 113 constructor = JSValueToObject(m_context, typeConstructor, &exception); 119 prototype = JSObjectGetProperty(m_context, constructor, prototypeName, &exception); 143 JSValueRef exception = 0; local 155 JSValueRef exception = 0; local 203 JSValueRef exception = 0; local [all...] |
/external/webkit/Source/WebCore/inspector/ |
H A D | InspectorDOMStorageAgent.cpp | 103 ExceptionCode exception = 0; local 104 storageResource->domStorage()->setItem(key, value, exception); 105 *success = !exception;
|
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/ |
H A D | ServerSocketChannelTest.java | 395 if (writeThread.exception != null) { 396 throw writeThread.exception; 403 IOException exception; field in class:ServerSocketChannelTest.WriteChannelThread 415 exception = e; 440 if (writeThread.exception != null) { 441 throw writeThread.exception; 463 if (writeThread.exception != null) { 464 throw writeThread.exception; 471 IOException exception; field in class:ServerSocketChannelTest.WriteSocketThread 484 exception [all...] |
/external/guava/guava/src/com/google/common/util/concurrent/ |
H A D | Futures.java | 74 * {@link ExecutionException} with the actual cause of the exception. 117 * Returns a {@code ListenableFuture} which has an exception set immediately 136 * Returns a {@code CheckedFuture} which has an exception set immediately upon 143 * provided exception itself. 148 immediateFailedCheckedFuture(final X exception) { argument 149 checkNotNull(exception); 150 return makeChecked(Futures.<V>immediateFailedFuture(exception), 154 return exception; 724 // Set the cause of the exception as this future's exception [all...] |
/external/qemu/target-mips/ |
H A D | helper.c | 207 int exception = 0, error_code = 0; local 215 exception = EXCP_AdES; 217 exception = EXCP_AdEL; 222 exception = EXCP_TLBS; 224 exception = EXCP_TLBL; 230 exception = EXCP_TLBS; 232 exception = EXCP_TLBL; 236 exception = EXCP_LTLBL; 240 /* Raise exception */ 252 env->exception_index = exception; [all...] |
/external/webkit/Source/JavaScriptCore/API/ |
H A D | JSCallbackObjectFunctions.h | 133 JSValueRef exception = 0; local 137 value = getProperty(ctx, thisRef, propertyNameRef.get(), &exception); 139 if (exception) { 140 throwError(exec, toJS(exec, exception)); 199 JSValueRef exception = 0; local 203 result = setProperty(ctx, thisRef, propertyNameRef.get(), valueRef, &exception); 205 if (exception) 206 throwError(exec, toJS(exec, exception)); 207 if (result || exception) 218 JSValueRef exception local 257 JSValueRef exception = 0; local 320 JSValueRef exception = 0; local 345 JSValueRef exception = 0; local 384 JSValueRef exception = 0; local 451 JSValueRef exception = 0; local 478 JSValueRef exception = 0; local 531 JSValueRef exception = 0; local 586 JSValueRef exception = 0; local [all...] |
H A D | JSValueRef.cpp | 140 bool JSValueIsEqual(JSContextRef ctx, JSValueRef a, JSValueRef b, JSValueRef* exception) argument 148 bool result = JSValue::equal(exec, jsA, jsB); // false if an exception is thrown 150 if (exception) 151 *exception = toRef(exec, exec->exception()); 168 bool JSValueIsInstanceOfConstructor(JSContextRef ctx, JSValueRef value, JSObjectRef constructor, JSValueRef* exception) argument 178 bool result = jsConstructor->hasInstance(exec, jsValue, jsConstructor->get(exec, exec->propertyNames().prototype)); // false if an exception is thrown 180 if (exception) 181 *exception = toRef(exec, exec->exception()); 241 JSValueCreateJSONString(JSContextRef ctx, JSValueRef apiValue, unsigned indent, JSValueRef* exception) argument 267 JSValueToNumber(JSContextRef ctx, JSValueRef value, JSValueRef* exception) argument 284 JSValueToStringCopy(JSContextRef ctx, JSValueRef value, JSValueRef* exception) argument 301 JSValueToObject(JSContextRef ctx, JSValueRef value, JSValueRef* exception) argument [all...] |
/external/webkit/Source/JavaScriptCore/interpreter/ |
H A D | CallFrame.h | 67 void clearException() { globalData().exception = JSValue(); } 68 JSValue exception() const { return globalData().exception; } function in class:JSC::ExecState 69 bool hadException() const { return globalData().exception; }
|
/external/webkit/Source/JavaScriptCore/runtime/ |
H A D | Executable.cpp | 102 JSObject* exception = 0; local 105 RefPtr<EvalNode> evalNode = globalData->parser->parse<EvalNode>(lexicalGlobalObject, lexicalGlobalObject->debugger(), exec, m_source, 0, isStrictMode() ? JSParseStrict : JSParseNormal, &exception); 107 ASSERT(exception); 108 return exception; 117 if ((exception = generator->generate())) { 120 return exception; 147 JSObject* exception = 0; local 150 RefPtr<ProgramNode> programNode = globalData->parser->parse<ProgramNode>(lexicalGlobalObject, lexicalGlobalObject->debugger(), exec, m_source, 0, JSParseNormal, &exception); 153 ASSERT(exception); 154 return exception; 161 JSObject* exception = 0; local 233 JSObject* exception = 0; local 281 JSObject* exception = 0; local 345 fromGlobalCode(const Identifier& functionName, ExecState* exec, Debugger* debugger, const SourceCode& source, JSObject** exception) argument [all...] |
/external/webkit/Source/WebCore/bindings/v8/ |
H A D | V8Proxy.h | 243 // If the exception code is different from zero, a DOM exception is 406 inline v8::Handle<v8::Primitive> throwError(v8::Local<v8::Value> exception) argument 409 v8::ThrowException(exception);
|
/external/webkit/Source/WebCore/bridge/c/ |
H A D | c_instance.cpp | 65 void CInstance::setGlobalException(UString exception) argument 67 globalExceptionString() = exception;
|
/external/webkit/Source/WebKit/gtk/tests/ |
H A D | testcopyandpaste.c | 138 static JSValueRef runPasteTestCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) argument 168 JSStringRef actual = JSValueToStringCopy(context, value, exception); 169 g_assert(!exception || !*exception);
|
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/API/c/ |
H A D | WKBundle.cpp | 141 void WKBundleReportException(JSContextRef context, JSValueRef exception) argument 143 InjectedBundle::reportException(context, exception);
|
/external/webkit/Tools/DumpRenderTree/win/ |
H A D | FrameLoadDelegate.cpp | 357 JSValueRef exception = 0; local 359 ::gLayoutTestController->makeWindowObject(context, windowObject, &exception); 360 ASSERT(!exception); 362 m_gcController->makeWindowObject(context, windowObject, &exception); 363 ASSERT(!exception); 365 m_accessibilityController->makeWindowObject(context, windowObject, &exception); 366 ASSERT(!exception);
|
/external/webkit/Tools/DumpRenderTree/wx/ |
H A D | DumpRenderTreeWx.cpp | 135 JSValueRef exception = 0; local 136 gLayoutTestController->makeWindowObject(event.GetJSContext(), event.GetWindowObject(), &exception);
|
/external/webkit/Tools/WebKitTestRunner/InjectedBundle/ |
H A D | EventSendingController.cpp | 77 JSValueRef exception = 0; local 78 JSValueRef value = JSObjectGetPropertyAtIndex(context, array, i, &exception); 79 if (exception) 81 JSRetainPtr<JSStringRef> string(Adopt, JSValueToStringCopy(context, value, &exception)); 82 if (exception) 203 void EventSendingController::makeWindowObject(JSContextRef context, JSObjectRef windowObject, JSValueRef* exception) argument 205 setProperty(context, windowObject, "eventSender", this, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete, exception);
|
/external/apache-harmony/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/ |
H A D | PreferencesTest.java | 225 stream.setResult(MockInputStream.exception); 246 static final int exception = 1; field in class:PreferencesTest.MockInputStream 262 case exception:
|
/external/chromium/chrome/browser/ui/webui/options/ |
H A D | content_settings_handler.cc | 126 DictionaryValue* exception = new DictionaryValue(); local 127 exception->Set( 130 exception->Set( 133 return exception; 142 DictionaryValue* exception = new DictionaryValue(); local 143 exception->Set( 146 exception->Set( 149 exception->Set( 152 exception->Set( 155 return exception; 164 DictionaryValue* exception = new DictionaryValue(); local [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
H A D | AbstractIteratorTester.java | 54 * throws an exception. 59 * next, even if a subsequent next() call threw an exception; however 65 * throws an exception in next(). 77 * Don't verify iterator behavior after a call to add() throws an exception. 85 * stimulus sequence after the iterator under test throws an exception in 105 * Meta-exception thrown by 107 * throwing any particular exception type. 124 boolean isPermitted(RuntimeException exception) { argument 126 if (Platform.checkIsInstance(clazz, exception)) { 134 void assertPermitted(RuntimeException exception) { argument [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
H A D | CacheLoadingTest.java | 1584 final Exception e = new IllegalStateException("exception to trigger failure on first load()"); 1871 // subsequent calls should call the loader again, not get the old exception 1881 * On a concurrent computation that throws an unchecked exception, all threads should get the 1882 * (wrapped) exception, with the loader called only once. The result should not be cached (a later 1907 // exception thrown by the loader is always wrapped as an UncheckedExecutionException. 1912 // subsequent calls should call the loader again, not get the old exception 1922 * On a concurrent computation that throws a checked exception, all threads should get the 1923 * (wrapped) exception, with the loader called only once. The result should not be cached (a later 1960 // subsequent calls should call the loader again, not get the old exception 1973 * returned, or the exception throw 2312 throwing(final Exception exception) argument [all...] |
/external/icu4c/test/intltest/ |
H A D | callimts.cpp | 55 UErrorCode exception = U_ZERO_ERROR; local 58 cal->setTime(millis, exception); 59 if (U_SUCCESS(exception)) {
|