Searched defs:code (Results 201 - 225 of 1408) sorted by path

1234567891011>>

/external/chromium_org/sandbox/win/src/
H A Dprocess_thread_interception.cc2 // Use of this source code is governed by a BSD-style license that can be
73 ResultCode code = CrossCall(ipc, IPC_NTOPENTHREAD_TAG, desired_access, local
75 if (SBOX_ALL_OK != code)
151 ResultCode code = CrossCall(ipc, IPC_NTOPENPROCESS_TAG, desired_access, local
153 if (SBOX_ALL_OK != code)
196 ResultCode code = CrossCall(ipc, IPC_NTOPENPROCESSTOKEN_TAG, process, local
198 if (SBOX_ALL_OK != code)
241 ResultCode code = CrossCall(ipc, IPC_NTOPENPROCESSTOKENEX_TAG, process, local
243 if (SBOX_ALL_OK != code)
305 ResultCode code local
383 ResultCode code = CrossCall(ipc, IPC_CREATEPROCESSW_TAG, app_name, local
[all...]
H A Dregistry_interception.cc2 // Use of this source code is governed by a BSD-style license that can be
62 ResultCode code = CrossCall(ipc, IPC_NTCREATEKEY_TAG, name, attributes, local
68 if (SBOX_ALL_OK != code)
120 ResultCode code = CrossCall(ipc, IPC_NTOPENKEY_TAG, name, attributes, local
125 if (SBOX_ALL_OK != code)
H A Dsync_interception.cc2 // Use of this source code is governed by a BSD-style license that can be
30 ResultCode code = CrossCall(ipc, IPC_CREATEEVENT_TAG, name, event_type, local
32 return code;
47 ResultCode code = CrossCall(ipc, IPC_OPENEVENT_TAG, name, desired_access, local
50 return code;
90 ResultCode code = ProxyCreateEvent(name, initial_state, event_type, memory, local
94 if (code != SBOX_ALL_OK) {
143 ResultCode code = ProxyOpenEvent(name, desired_access, memory, &answer); local
146 if (code != SBOX_ALL_OK) {
H A Dtarget_services.cc2 // Use of this source code is governed by a BSD-style license that can be
81 // If the client code as called RegOpenKey, advapi32.dll has cached some
82 // handles. The following code gets rid of them.
118 ResultCode code = CrossCall(ipc, IPC_PING1_TAG, cookie, &answer); local
120 if (SBOX_ALL_OK != code) {
144 ResultCode code = CrossCall(ipc, IPC_PING2_TAG, counted_buffer, &answer); local
146 if (SBOX_ALL_OK != code) {
/external/chromium_org/sandbox/win/tests/common/
H A Dcontroller.h2 // Use of this source code is governed by a BSD-style license that can be
48 unsigned int code = static_cast<unsigned int>(result); local
51 return (code > first) && (code < last);
/external/chromium_org/sandbox/win/wow_helper/
H A Dwow_helper.cc2 // Use of this source code is governed by a BSD-style license that can be
31 char* code = reinterpret_cast<char*>(thunk) + used; local
33 code, thunk, thunk_bytes, NULL);
44 if (!::WriteProcessMemory(child, code, &TargetNtMapViewOfSection, size,
/external/chromium_org/sync/engine/net/
H A Dserver_connection_manager.cc2 // Use of this source code is governed by a BSD-style license that can be
41 ServerConnectionCode code) {
42 switch (code) {
40 GetServerConnectionCodeString( ServerConnectionCode code) argument
H A Dserver_connection_manager.h2 // Use of this source code is governed by a BSD-style license that can be
39 // Depending on the value of the server_status code, response_code, and
52 // SYNC_SERVER_ERROR is returned when the HTTP status code indicates that
56 // SYNC_AUTH_ERROR is returned when the HTTP status code indicates that an
75 // The HTTP Status code.
90 ServerConnectionCode code);
98 explicit ServerConnectionEvent(HttpResponse::ServerConnectionCode code) : argument
99 connection_code(code) {}
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A DExceptionState.h8 * * Redistributions of source code must retain the above copyright
87 ExceptionCode code() const { return m_code; } function in class:blink::ExceptionState
H A DPrivateScriptRunner.cpp2 // Use of this source code is governed by a BSD-style license that can be
93 fprintf(stderr, "Private script error: Target source code was not found. (Class name = %s)\n", className.utf8().data());
109 fprintf(stderr, "Private script error: Target source code was not found. (Class name = %s)\n", className.utf8().data());
208 v8::Handle<v8::Value> code = exceptionObject->Get(v8String(isolate, "code")); local
209 RELEASE_ASSERT(!code.IsEmpty() && code->IsInt32());
212 exceptionState.throwDOMException(toInt32(code), messageString);
H A DPrivateScriptRunner.js2 // Use of this source code is governed by a BSD-style license that can be
19 function throwException(code, message)
26 exception.code = code;
106 var code = 1; variable
108 global.PrivateScriptDOMException[exception] = code;
109 ++code;
112 var code = 1000; variable
114 global.PrivateScriptJSError[exception] = code;
115 ++code;
[all...]
H A DScheduledAction.cpp8 * * Redistributions of source code must retain the above copyright
60 ScheduledAction::ScheduledAction(ScriptState* scriptState, const String& code, const KURL& url, v8::Isolate* isolate) argument
63 , m_code(code, url)
H A DScriptDebugServer.cpp8 * * Redistributions of source code must retain the above copyright
291 int code = static_cast<int>(resultTuple->Get(0)->ToInteger()->Value()); local
292 switch (code) {
H A DV8LazyEventListener.cpp8 * * Redistributions of source code must retain the above copyright
55 V8LazyEventListener::V8LazyEventListener(const AtomicString& functionName, const AtomicString& eventParameterName, const String& code, const String sourceURL, const TextPosition& position, Node* node, v8::Isolate* isolate) argument
59 , m_code(code)
153 // have the same numbers as in the original code.
160 String code = "(function() {" local
169 v8::Handle<v8::String> codeExternalString = v8String(isolate(), code);
197 // FIXME: Remove this code when we stop doing the 'with' hack above.
207 // argument wrapping the event source code. The reason for this is
222 // For the time being, we comment out the following code since the
H A DV8LazyEventListener.h8 * * Redistributions of source code must retain the above copyright
47 // V8LazyEventListener is a wrapper for a JavaScript code string that is compiled and evaluated when an event is fired.
51 static PassRefPtr<V8LazyEventListener> create(const AtomicString& functionName, const AtomicString& eventParameterName, const String& code, const String& sourceURL, const TextPosition& position, Node* node, v8::Isolate* isolate) argument
53 return adoptRef(new V8LazyEventListener(functionName, eventParameterName, code, sourceURL, position, node, isolate));
66 V8LazyEventListener(const AtomicString& functionName, const AtomicString& eventParameterName, const String& code, const String sourceURL, const TextPosition&, Node*, v8::Isolate*);
71 // the SVG code does not add the event handler in both
H A DV8ScriptRunner.cpp7 * 1. Redistributions of source code must retain the above copyright
66 v8::Local<v8::Script> compileAndProduceCache(v8::Isolate* isolate, v8::Handle<v8::String> code, v8::ScriptOrigin origin, ScriptResource* resource, v8::ScriptCompiler::CompileOptions options, unsigned cacheTag, Resource::MetadataCacheType cacheType) argument
68 v8::ScriptCompiler::Source source(code, origin);
82 v8::Local<v8::Script> compileAndConsumeCache(v8::Isolate* isolate, v8::Handle<v8::String> code, v8::ScriptOrigin origin, ScriptResource* resource, v8::ScriptCompiler::CompileOptions options, unsigned cacheTag) argument
90 v8::ScriptCompiler::Source source(code, origin, cachedData);
101 v8::Local<v8::Script> V8ScriptRunner::compileScript(v8::Handle<v8::String> code, const String& fileName, const TextPosition& scriptStartPosition, ScriptResource* resource, ScriptStreamer* streamer, v8::Isolate* isolate, AccessControlStatus corsStatus, V8CacheOptions cacheOptions) argument
123 script = v8::ScriptCompiler::Compile(isolate, streamer->source(), code, origin);
131 } else if (!resource || !resource->url().protocolIsInHTTPFamily() || code->Length() < 1024) {
132 v8::ScriptCompiler::Source source(code, origin);
139 ? compileAndConsumeCache(isolate, code, origi
[all...]
H A DV8ScriptRunnerTest.cpp2 // Use of this source code is governed by a BSD-style license that can be
26 // test and use it in code(), fielname() and url().
40 WTF::String code() const function in class:blink::__anon10909::V8ScriptRunnerTest
43 // - Add counter to trick V8 code cache.
67 v8String(isolate(), code()), filename(), WTF::TextPosition(),
140 // Enable EXPECT when code caching lands.
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DDOMException.cpp8 * 1. Redistributions of source code must retain the above copyright
39 const int code; member in struct:blink::CoreException
92 DOMException::DOMException(unsigned short code, const String& name, const String& sanitizedMessage, const String& unsanitizedMessage) argument
95 m_code = code;
105 return adoptRefWillBeNoop(new DOMException(entry->code,
H A DDOMException.h8 * 1. Redistributions of source code must retain the above copyright
47 unsigned short code() const { return m_code; } function in class:blink::FINAL
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DCompositionUnderlineRangeFilterTest.cpp2 // Use of this source code is governed by a BSD-style license that can be
48 int code = (*it).color.red(); local
49 ret.append(static_cast<char>('A' + code));
/external/chromium_org/third_party/WebKit/Source/core/fileapi/
H A DFileError.cpp8 * * Redistributions of source code must retain the above copyright
53 ExceptionCode errorCodeToExceptionCode(FileError::ErrorCode code) argument
55 switch (code) {
84 return code;
88 const char* errorCodeToMessage(FileError::ErrorCode code) argument
91 switch (code) {
126 void FileError::throwDOMException(ExceptionState& exceptionState, ErrorCode code) argument
128 if (code == FileError::OK)
132 if (code == FileError::SECURITY_ERR) {
137 exceptionState.throwDOMException(errorCodeToExceptionCode(code), errorCodeToMessag
140 FileError(ErrorCode code) argument
[all...]
H A DFileError.h8 * * Redistributions of source code must retain the above copyright
75 static PassRefPtrWillBeRawPtr<FileError> create(ErrorCode code) argument
77 return adoptRefWillBeNoop(new FileError(code));
80 ErrorCode code() const { return m_code; } function in class:blink::FileError
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLAppletElement.cpp143 const AtomicString& code = getAttribute(codeAttr); local
144 paramNames.append("code");
145 paramValues.append(code.string());
148 // plugin will load. If the 'code' attribute is set, and the 'archive' is not set, then we need
149 // to check the url generated by resolving 'code' against 'codebase'. If the 'archive'
150 // attribute is set, then 'code' points to a class inside the archive, so we need to check the
156 else if (!code.isNull())
157 urlToCheck = KURL(rootURL, code);
H A DMediaError.h7 * 1. Redistributions of source code must retain the above copyright
46 static PassRefPtrWillBeRawPtr<MediaError> create(Code code) argument
48 return adoptRefWillBeNoop(new MediaError(code));
51 Code code() const { return m_code; } function in class:blink::FINAL
56 MediaError(Code code) : m_code(code) { } argument
H A DMediaKeyError.h7 * 1. Redistributions of source code must retain the above copyright
49 static PassRefPtrWillBeRawPtr<MediaKeyError> create(Code code, unsigned long systemCode = 0) argument
51 return adoptRefWillBeNoop(new MediaKeyError(code, systemCode));
54 Code code() const { return m_code; } function in class:blink::FINAL
60 MediaKeyError(Code code, unsigned long systemCode) argument
61 : m_code(code), m_systemCode(systemCode) { }

Completed in 817 milliseconds

1234567891011>>