Searched defs:code (Results 226 - 250 of 1408) sorted by path

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/core/testing/
H A DInternalSettings.cpp9 * 1. Redistributions of source code must retain the above copyright
222 UScriptCode code = scriptNameToCode(script); local
223 if (code == USCRIPT_INVALID_CODE)
225 if (settings()->genericFontFamilySettings().updateStandard(family, code))
232 UScriptCode code = scriptNameToCode(script); local
233 if (code == USCRIPT_INVALID_CODE)
235 if (settings()->genericFontFamilySettings().updateSerif(family, code))
242 UScriptCode code = scriptNameToCode(script); local
243 if (code == USCRIPT_INVALID_CODE)
245 if (settings()->genericFontFamilySettings().updateSansSerif(family, code))
252 UScriptCode code = scriptNameToCode(script); local
262 UScriptCode code = scriptNameToCode(script); local
272 UScriptCode code = scriptNameToCode(script); local
282 UScriptCode code = scriptNameToCode(script); local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/xml/
H A DXPathParser.cpp10 * 1. Redistributions of source code must retain the above copyright
143 Token Parser::makeTokenAndAdvance(int code, int advance) argument
146 return Token(code);
149 Token Parser::makeTokenAndAdvance(int code, NumericOp::Opcode val, int advance) argument
152 return Token(code, val);
155 Token Parser::makeTokenAndAdvance(int code, EqTestOp::Opcode val, int advance) argument
158 return Token(code, val);
272 char code = peekCurHelper(); local
273 switch (code) {
276 return makeTokenAndAdvance(code);
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/extensions/
H A DExtensionServer.js8 * * Redistributions of source code must retain the above copyright
1036 * @param {string} code
1040 function makeStatus(code, description)
1043 var status = { code: code, description: description, details: details };
1044 if (code !== "OK") {
1062 * @typedef {{code: string, description: string, details: !Array.<*>}}
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
H A DInspectorBackend.js8 * * Redistributions of source code must retain the above copyright
189 var code = InspectorBackendClass._generateCommands(schema);
190 eval(code);
570 var error = { message: "Connection is closed", code: InspectorBackendClass._DevToolsErrorCode, data: null}; property
838 if (messageObject.error && messageObject.error.code !== InspectorBackendClass._DevToolsErrorCode && !InspectorBackendClass.Options.suppressRequestErrors && !this._suppressErrorLogging)
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/closure/
H A Dcompiler.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/javascript/ com/google/javascript/jscomp/ ...
/external/chromium_org/third_party/WebKit/Source/modules/encryptedmedia/
H A DHTMLMediaElementEncryptedMedia.cpp2 // Use of this source code is governed by a BSD-style license that can be
97 virtual void completeWithError(blink::WebContentDecryptionModuleException code, unsigned long systemCode, const blink::WebString& message) OVERRIDE
99 m_failureCallback(WebCdmExceptionToExceptionCode(code), message);
216 void SetMediaKeysHandler::reportSetFailed(ExceptionCode code, const String& errorMessage) argument
227 reject(DOMException::create(code, errorMessage));
H A DMediaKeySession.cpp7 * 1. Redistributions of source code must retain the above copyright
198 void completeWithDOMException(ExceptionCode code, const String& errorMessage) argument
200 m_resolver->reject(DOMException::create(code, errorMessage));
576 // code = the appropriate MediaKeyError code
H A DSimpleContentDecryptionModuleResult.cpp2 // Use of this source code is governed by a BSD-style license that can be
75 void SimpleContentDecryptionModuleResult::completeWithDOMException(ExceptionCode code, const String& errorMessage) argument
77 m_resolver->reject(DOMException::create(code, errorMessage));
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/
H A DDirectoryReaderSync.h8 * * Redistributions of source code must retain the above copyright
64 void setError(FileError::ErrorCode code) argument
66 m_errorCode = code;
H A DFileSystemCallbacks.cpp8 * * Redistributions of source code must retain the above copyright
79 void FileSystemCallbacksBase::didFail(int code) argument
82 handleEventOrScheduleCallback(m_errorCallback.release(), FileError::create(static_cast<FileError::ErrorCode>(code)));
H A DFileWriter.cpp8 * * Redistributions of source code must retain the above copyright
231 void FileWriter::didFail(WebFileError code) argument
234 ASSERT(static_cast<FileError::ErrorCode>(code) != FileError::OK);
243 signalCompletion(static_cast<FileError::ErrorCode>(code));
292 void FileWriter::signalCompletion(FileError::ErrorCode code) argument
296 if (FileError::OK != code) {
297 m_error = FileError::create(code);
298 if (FileError::ABORT_ERR == code)
H A DSyncCallbackHelper.h9 * * Redistributions of source code must retain the above copyright
136 m_helper->setError(error->code());
147 void setError(FileError::ErrorCode code) argument
149 m_errorCode = code;
/external/chromium_org/third_party/WebKit/Source/modules/geolocation/
H A DGeolocation.cpp9 * 1. Redistributions of source code must retain the above copyright
66 PositionError::ErrorCode code = PositionError::POSITION_UNAVAILABLE; local
67 switch (error->code()) {
69 code = PositionError::PERMISSION_DENIED;
72 code = PositionError::POSITION_UNAVAILABLE;
76 return PositionError::create(code, error->message());
H A DGeolocationError.h7 * 1. Redistributions of source code must retain the above copyright
40 static GeolocationError* create(ErrorCode code, const String& message) argument
42 return new GeolocationError(code, message);
46 ErrorCode code() const { return m_code; } function in class:blink::GeolocationError
50 GeolocationError(ErrorCode code, const String& message) argument
51 : m_code(code)
H A DPositionError.h7 * 1. Redistributions of source code must retain the above copyright
44 static PositionError* create(ErrorCode code, const String& message) { return new PositionError(code, message); } argument
47 ErrorCode code() const { return m_code; } function in class:blink::PositionError
53 PositionError(ErrorCode code, const String& message) argument
54 : m_code(code)
/external/chromium_org/third_party/WebKit/Source/modules/screen_orientation/
H A DLockOrientationCallback.cpp2 // Use of this source code is governed by a BSD-style license that can be
31 ExceptionCode code = 0; local
36 code = NotSupportedError;
40 code = SecurityError;
44 code = AbortError;
49 m_resolver->reject(DOMException::create(code, msg));
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
H A DBody.cpp2 // Use of this source code is governed by a BSD-style license that can be
195 void Body::didFail(FileError::ErrorCode code) argument
/external/chromium_org/third_party/WebKit/Source/modules/speech/
H A DSpeechRecognitionError.cpp7 * * Redistributions of source code must retain the above copyright
32 static String ErrorCodeToString(SpeechRecognitionError::ErrorCode code) argument
34 switch (code) {
59 PassRefPtrWillBeRawPtr<SpeechRecognitionError> SpeechRecognitionError::create(ErrorCode code, const String& message) argument
61 return adoptRefWillBeNoop(new SpeechRecognitionError(ErrorCodeToString(code), message));
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/
H A DSQLError.h8 * 1. Redistributions of source code must retain the above copyright
40 static PassOwnPtr<SQLErrorData> create(unsigned code, const String& message) argument
42 return adoptPtr(new SQLErrorData(code, message));
45 static PassOwnPtr<SQLErrorData> create(unsigned code, const char* message, int sqliteCode, const char* sqliteMessage) argument
47 return create(code, String::format("%s (%d %s)", message, sqliteCode, sqliteMessage));
52 return create(data.code(), data.message());
57 unsigned code() const { return m_code; } function in class:blink::SQLErrorData
61 SQLErrorData(unsigned code, const String& message) : m_code(code), m_message(message.isolatedCopy()) { } argument
73 unsigned code() cons function in class:blink::SQLError
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
H A DCloseEvent.h8 * * Redistributions of source code must retain the above copyright
41 , code(0) { }
44 unsigned short code; member in struct:blink::CloseEventInit
56 static PassRefPtrWillBeRawPtr<CloseEvent> create(bool wasClean, unsigned short code, const String& reason) argument
58 return adoptRefWillBeNoop(new CloseEvent(wasClean, code, reason));
67 unsigned short code() const { return m_code; } function in class:blink::FINAL
81 CloseEvent(bool wasClean, int code, const String& reason) argument
84 , m_code(code)
90 , m_code(initializer.code)
H A DDOMWebSocket.cpp8 * * Redistributions of source code must retain the above copyright
449 void DOMWebSocket::close(unsigned short code, const String& reason, ExceptionState& exceptionState) argument
451 closeInternal(code, reason, exceptionState);
459 void DOMWebSocket::close(unsigned short code, ExceptionState& exceptionState) argument
461 closeInternal(code, String(), exceptionState);
464 void DOMWebSocket::closeInternal(int code, const String& reason, ExceptionState& exceptionState) argument
466 if (code == WebSocketChannel::CloseEventCodeNotSpecified) {
467 WTF_LOG(Network, "WebSocket %p close() without code and reason", this);
469 WTF_LOG(Network, "WebSocket %p close() code=%d reason='%s'", this, code, reaso
661 didClose(ClosingHandshakeCompletionStatus closingHandshakeCompletion, unsigned short code, const String& reason) argument
[all...]
H A DMainThreadWebSocketChannel.cpp8 * * Redistributions of source code must retain the above copyright
155 void MainThreadWebSocketChannel::close(int code, const String& reason) argument
157 WTF_LOG(Network, "MainThreadWebSocketChannel %p close() code=%d reason='%s'", this, code, reason.utf8().data());
161 startClosingHandshake(code, reason);
357 message = "WebSocket network error: error code " + String::number(error.errorCode());
359 message = "WebSocket network error: error code " + String::number(error.errorCode()) + ", " + error.localizedDescription();
404 failAsError("Failed to load Blob: error code = " + String::number(errorCode)); // FIXME: Generate human-friendly reason message.
495 void MainThreadWebSocketChannel::startClosingHandshake(int code, const String& reason) argument
497 WTF_LOG(Network, "MainThreadWebSocketChannel %p startClosingHandshake() code
[all...]
H A DNewWebSocketChannelImpl.cpp8 * * Redistributions of source code must retain the above copyright
230 void NewWebSocketChannelImpl::close(int code, const String& reason) argument
232 WTF_LOG(Network, "NewWebSocketChannelImpl %p close(%d, %s)", this, code, reason.utf8().data());
234 unsigned short codeToSend = static_cast<unsigned short>(code == CloseEventCodeNotSpecified ? CloseEventCodeNoStatusRcvd : code);
298 NewWebSocketChannelImpl::Message::Message(unsigned short code, const String& reason) argument
300 , code(code)
353 m_handle->close(message->code, message->reason);
384 void NewWebSocketChannelImpl::handleDidClose(bool wasClean, unsigned short code, cons argument
505 didClose(WebSocketHandle* handle, bool wasClean, unsigned short code, const WebString& reason) argument
[all...]
H A DNewWebSocketChannelImpl.h8 * * Redistributions of source code must retain the above copyright
80 // Start closing handshake. Use the CloseEventCodeNotSpecified for the code
82 virtual void close(int code, const String& reason) OVERRIDE;
105 Message(unsigned short code, const String& reason);
113 unsigned short code; member in struct:blink::FINAL::Message
129 void handleDidClose(bool wasClean, unsigned short code, const String& reason);
138 virtual void didClose(WebSocketHandle*, bool wasClean, unsigned short code, const WebString& reason) OVERRIDE;
H A DWorkerThreadableWebSocketChannel.cpp8 * * Redistributions of source code must retain the above copyright
149 void WorkerThreadableWebSocketChannel::close(int code, const String& reason) argument
152 m_bridge->close(code, reason);
248 void Peer::close(int code, const String& reason) argument
254 m_mainWebSocketChannel->close(code, reason);
342 static void workerGlobalScopeDidClose(ExecutionContext* context, Bridge* bridge, WebSocketChannelClient::ClosingHandshakeCompletionStatus closingHandshakeCompletion, unsigned short code, const String& reason) argument
346 bridge->client()->didClose(closingHandshakeCompletion, code, reason);
349 void Peer::didClose(ClosingHandshakeCompletionStatus closingHandshakeCompletion, unsigned short code, const String& reason) argument
356 m_loaderProxy.postTaskToWorkerGlobalScope(createCrossThreadTask(&workerGlobalScopeDidClose, m_bridge, closingHandshakeCompletion, code, reason));
436 void Bridge::close(int code, cons argument
[all...]

Completed in 340 milliseconds

1234567891011>>