Home
last modified time | relevance | path

Searched refs:Status (Results 1 – 25 of 1042) sorted by relevance

12345678910>>...42

/external/chromium_org/content/child/webcrypto/
Dstatus.cc11 bool Status::IsError() const { in IsError()
15 bool Status::IsSuccess() const { in IsSuccess()
19 Status Status::Success() { in Success()
20 return Status(TYPE_SUCCESS); in Success()
23 Status Status::OperationError() { in OperationError()
24 return Status(blink::WebCryptoErrorTypeOperation, ""); in OperationError()
27 Status Status::DataError() { in DataError()
28 return Status(blink::WebCryptoErrorTypeData, ""); in DataError()
31 Status Status::ErrorJwkNotDictionary() { in ErrorJwkNotDictionary()
32 return Status(blink::WebCryptoErrorTypeData, in ErrorJwkNotDictionary()
[all …]
Dstatus.h22 class CONTENT_EXPORT Status {
24 Status() : type_(TYPE_ERROR) {} in Status() function
38 static Status Success();
42 static Status OperationError();
46 static Status DataError();
55 static Status ErrorJwkNotDictionary();
58 static Status ErrorJwkPropertyMissing(const std::string& property);
61 static Status ErrorJwkPropertyWrongType(const std::string& property,
66 static Status ErrorJwkBase64Decode(const std::string& property);
70 static Status ErrorJwkExtInconsistent();
[all …]
Dplatform_crypto_openssl.cc86 Status AesCbcEncryptDecrypt(EncryptOrDecrypt mode, in AesCbcEncryptDecrypt()
98 return Status::ErrorDataTooLarge(); in AesCbcEncryptDecrypt()
106 return Status::OperationError(); in AesCbcEncryptDecrypt()
117 return Status::OperationError(); in AesCbcEncryptDecrypt()
139 return Status::OperationError(); in AesCbcEncryptDecrypt()
143 return Status::OperationError(); in AesCbcEncryptDecrypt()
153 return Status::Success(); in AesCbcEncryptDecrypt()
169 Status ConsumeWithStatus(const unsigned char* data, unsigned int size) { in ConsumeWithStatus()
171 Status error = Init(); in ConsumeWithStatus()
176 return Status::OperationError(); in ConsumeWithStatus()
[all …]
Dshared_crypto.cc54 Status EncryptDecryptAesCbc(EncryptOrDecrypt mode, in EncryptDecryptAesCbc()
60 Status status = ToPlatformSymKey(key, &sym_key); in EncryptDecryptAesCbc()
66 return Status::ErrorUnexpected(); in EncryptDecryptAesCbc()
70 return Status::ErrorIncorrectSizeAesCbcIv(); in EncryptDecryptAesCbc()
75 Status EncryptDecryptAesGcm(EncryptOrDecrypt mode, in EncryptDecryptAesGcm()
81 Status status = ToPlatformSymKey(key, &sym_key); in EncryptDecryptAesGcm()
87 return Status::ErrorUnexpected(); in EncryptDecryptAesGcm()
96 return Status::ErrorInvalidAesGcmTagLength(); in EncryptDecryptAesGcm()
108 Status EncryptRsaOaep(const blink::WebCryptoAlgorithm& algorithm, in EncryptRsaOaep()
113 Status status = ToPlatformPublicKey(key, &public_key); in EncryptRsaOaep()
[all …]
Dplatform_crypto_nss.cc193 static Status Create(crypto::ScopedPK11SymKey key, scoped_ptr<SymKey>* out) { in Create()
221 static Status Create(crypto::ScopedSECKEYPublicKey key, in Create()
250 static Status Create(crypto::ScopedSECKEYPrivateKey key, in Create()
280 Status NssSupportsAesGcm() { in NssSupportsAesGcm()
282 return Status::Success(); in NssSupportsAesGcm()
283 return Status::ErrorUnsupported( in NssSupportsAesGcm()
287 Status NssSupportsRsaOaep() { in NssSupportsRsaOaep()
289 return Status::Success(); in NssSupportsRsaOaep()
290 return Status::ErrorUnsupported( in NssSupportsRsaOaep()
296 Status ErrorRsaKeyImportNotSupported() { in ErrorRsaKeyImportNotSupported()
[all …]
/external/chromium_org/chrome/test/chromedriver/chrome/
Dstub_web_view.cc23 Status StubWebView::ConnectIfNecessary() { in ConnectIfNecessary()
24 return Status(kOk); in ConnectIfNecessary()
27 Status StubWebView::HandleReceivedEvents() { in HandleReceivedEvents()
28 return Status(kOk); in HandleReceivedEvents()
31 Status StubWebView::Load(const std::string& url) { in Load()
32 return Status(kOk); in Load()
35 Status StubWebView::Reload() { in Reload()
36 return Status(kOk); in Reload()
39 Status StubWebView::EvaluateScript(const std::string& frame, in EvaluateScript()
42 return Status(kOk); in EvaluateScript()
[all …]
Dweb_view_impl.cc32 Status GetContextIdForFrame(FrameTracker* tracker, in GetContextIdForFrame()
37 return Status(kOk); in GetContextIdForFrame()
39 Status status = tracker->GetContextIdForFrame(frame, context_id); in GetContextIdForFrame()
42 return Status(kOk); in GetContextIdForFrame()
144 Status WebViewImpl::ConnectIfNecessary() { in ConnectIfNecessary()
148 Status WebViewImpl::HandleReceivedEvents() { in HandleReceivedEvents()
152 Status WebViewImpl::Load(const std::string& url) { in Load()
156 return Status(kUnknownError, "unsupported protocol"); in Load()
162 Status WebViewImpl::Reload() { in Reload()
168 Status WebViewImpl::EvaluateScript(const std::string& frame, in EvaluateScript()
[all …]
Ddevtools_client_impl.cc25 Status ParseInspectorError(const std::string& error_json) { in ParseInspectorError()
29 return Status(kUnknownError, "inspector error with no error message"); in ParseInspectorError()
33 return Status(kNoSuchExecutionContext); in ParseInspectorError()
35 return Status(kUnknownError, "unhandled inspector error: " + error_json); in ParseInspectorError()
51 Status ConditionIsMet(bool* is_condition_met) { in ConditionIsMet()
53 return Status(kOk); in ConditionIsMet()
116 Status DevToolsClientImpl::ConnectIfNecessary() { in ConnectIfNecessary()
118 return Status(kUnknownError, "cannot connect when nested"); in ConnectIfNecessary()
121 return Status(kOk); in ConnectIfNecessary()
125 Status status = frontend_closer_func_.Run(); in ConnectIfNecessary()
[all …]
Dweb_view.h28 class Status; variable
41 virtual Status ConnectIfNecessary() = 0;
44 virtual Status HandleReceivedEvents() = 0;
47 virtual Status Load(const std::string& url) = 0;
50 virtual Status Reload() = 0;
57 virtual Status EvaluateScript(const std::string& frame,
67 virtual Status CallFunction(const std::string& frame,
77 virtual Status CallAsyncFunction(const std::string& frame,
87 virtual Status CallUserAsyncFunction(const std::string& frame,
96 virtual Status GetFrameByFunction(const std::string& frame,
[all …]
Dweb_view_impl.h34 class Status; variable
50 virtual Status ConnectIfNecessary() OVERRIDE;
51 virtual Status HandleReceivedEvents() OVERRIDE;
52 virtual Status Load(const std::string& url) OVERRIDE;
53 virtual Status Reload() OVERRIDE;
54 virtual Status EvaluateScript(const std::string& frame,
57 virtual Status CallFunction(const std::string& frame,
61 virtual Status CallAsyncFunction(const std::string& frame,
66 virtual Status CallUserAsyncFunction(
72 virtual Status GetFrameByFunction(const std::string& frame,
[all …]
Dstatus.cc69 Status::Status(StatusCode code) in Status() function in Status
72 Status::Status(StatusCode code, const std::string& details) in Status() function in Status
77 Status::Status(StatusCode code, const Status& cause) in Status() function in Status
82 Status::Status(StatusCode code, in Status() function in Status
84 const Status& cause) in Status()
90 Status::~Status() {} in ~Status()
92 void Status::AddDetails(const std::string& details) { in AddDetails()
96 bool Status::IsOk() const { in IsOk()
100 bool Status::IsError() const { in IsError()
104 StatusCode Status::code() const { in code()
[all …]
Dadb_impl.cc37 Status GetResponse( in GetResponse()
43 return Status(kTimeout, base::StringPrintf( in GetResponse()
49 return Status(kUnknownError, in GetResponse()
52 return Status(kOk); in GetResponse()
83 Status AdbImpl::GetDevices(std::vector<std::string>* devices) { in GetDevices()
85 Status status = ExecuteCommand("host:devices", &response); in GetDevices()
96 return Status(kOk); in GetDevices()
99 Status AdbImpl::ForwardPort( in ForwardPort()
103 Status status = ExecuteHostCommand( in ForwardPort()
111 return Status(kOk); in ForwardPort()
[all …]
Dstub_web_view.h23 virtual Status ConnectIfNecessary() OVERRIDE;
24 virtual Status HandleReceivedEvents() OVERRIDE;
25 virtual Status Load(const std::string& url) OVERRIDE;
26 virtual Status Reload() OVERRIDE;
27 virtual Status EvaluateScript(const std::string& frame,
30 virtual Status CallFunction(const std::string& frame,
34 virtual Status CallAsyncFunction(const std::string& frame,
39 virtual Status CallUserAsyncFunction(
45 virtual Status GetFrameByFunction(const std::string& frame,
49 virtual Status DispatchMouseEvents(
[all …]
/external/chromium_org/third_party/leveldatabase/src/include/leveldb/
Dstatus.h21 class Status {
24 Status() : state_(NULL) { } in Status() function
25 ~Status() { delete[] state_; } in ~Status()
28 Status(const Status& s);
29 void operator=(const Status& s);
32 static Status OK() { return Status(); } in OK()
35 static Status NotFound(const Slice& msg, const Slice& msg2 = Slice()) {
36 return Status(kNotFound, msg, msg2);
38 static Status Corruption(const Slice& msg, const Slice& msg2 = Slice()) {
39 return Status(kCorruption, msg, msg2);
[all …]
Denv.h49 virtual Status NewSequentialFile(const std::string& fname,
59 virtual Status NewRandomAccessFile(const std::string& fname,
69 virtual Status NewWritableFile(const std::string& fname,
78 virtual Status GetChildren(const std::string& dir,
82 virtual Status DeleteFile(const std::string& fname) = 0;
85 virtual Status CreateDir(const std::string& dirname) = 0;
88 virtual Status DeleteDir(const std::string& dirname) = 0;
91 virtual Status GetFileSize(const std::string& fname, uint64_t* file_size) = 0;
94 virtual Status RenameFile(const std::string& src,
111 virtual Status LockFile(const std::string& fname, FileLock** lock) = 0;
[all …]
/external/chromium_org/content/browser/service_worker/
Dservice_worker_database.h25 class Status; variable
43 enum Status { enum
81 Status GetNextAvailableIds(
89 Status GetOriginsWithRegistrations(std::set<GURL>* origins);
93 Status GetRegistrationsForOrigin(
99 Status GetAllRegistrations(std::vector<RegistrationData>* registrations);
109 Status ReadRegistration(
121 Status WriteRegistration(
128 Status UpdateVersionToActive(
134 Status UpdateLastCheckTime(
[all …]
/external/chromium_org/content/browser/indexed_db/
Dindexed_db_fake_backing_store.cc35 leveldb::Status* s) { in GetDatabaseNames()
36 *s = leveldb::Status::OK(); in GetDatabaseNames()
39 leveldb::Status IndexedDBFakeBackingStore::GetIDBDatabaseMetaData( in GetIDBDatabaseMetaData()
43 return leveldb::Status::OK(); in GetIDBDatabaseMetaData()
46 leveldb::Status IndexedDBFakeBackingStore::CreateIDBDatabaseMetaData( in CreateIDBDatabaseMetaData()
51 return leveldb::Status::OK(); in CreateIDBDatabaseMetaData()
58 leveldb::Status IndexedDBFakeBackingStore::DeleteDatabase( in DeleteDatabase()
60 return leveldb::Status::OK(); in DeleteDatabase()
63 leveldb::Status IndexedDBFakeBackingStore::CreateObjectStore( in CreateObjectStore()
70 return leveldb::Status::OK(); in CreateObjectStore()
[all …]
/external/pdfium/core/src/fxge/Microsoft SDK/include/
DGdiPlusHeaders.h41 Status MakeInfinite();
42 Status MakeEmpty();
51 Status GetData(OUT BYTE* buffer,
55 Status Intersect(IN const Rect& rect);
56 Status Intersect(IN const RectF& rect);
57 Status Intersect(IN const GraphicsPath* path);
58 Status Intersect(IN const Region* region);
59 Status Union(IN const Rect& rect);
60 Status Union(IN const RectF& rect);
61 Status Union(IN const GraphicsPath* path);
[all …]
/external/chromium_org/third_party/leveldatabase/src/helpers/memenv/
Dmemenv.cc52 Status Read(uint64_t offset, size_t n, Slice* result, char* scratch) const { in Read()
54 return Status::IOError("Offset greater than file size."); in Read()
62 return Status::OK(); in Read()
71 return Status::OK(); in Read()
91 return Status::OK(); in Read()
94 Status Append(const Slice& data) { in Append()
120 return Status::OK(); in Append()
158 virtual Status Read(size_t n, Slice* result, char* scratch) { in Read()
159 Status s = file_->Read(pos_, n, result, scratch); in Read()
166 virtual Status Skip(uint64_t n) { in Skip()
[all …]
/external/chromium_org/chrome/test/chromedriver/
Dcapabilities.cc27 typedef base::Callback<Status(const base::Value&, Capabilities*)> Parser;
29 Status ParseBoolean( in ParseBoolean()
34 return Status(kUnknownError, "must be a boolean"); in ParseBoolean()
35 return Status(kOk); in ParseBoolean()
38 Status ParseString(std::string* to_set, in ParseString()
43 return Status(kUnknownError, "must be a string"); in ParseString()
45 return Status(kUnknownError, "cannot be empty"); in ParseString()
47 return Status(kOk); in ParseString()
50 Status ParseFilePath(base::FilePath* to_set, in ParseFilePath()
55 return Status(kUnknownError, "must be a string"); in ParseFilePath()
[all …]
Dsession_commands.cc104 Status InitSessionHelper( in InitSessionHelper()
113 return Status(kUnknownError, "cannot find dict 'desiredCapabilities'"); in InitSessionHelper()
116 Status status = capabilities.Parse(*desired_caps); in InitSessionHelper()
149 Status(kUnknownError, "unable to discover open window in chrome"); in InitSessionHelper()
157 return Status(kOk); in InitSessionHelper()
162 Status ExecuteInitSession( in ExecuteInitSession()
167 Status status = InitSessionHelper(bound_params, session, params, value); in ExecuteInitSession()
176 Status ExecuteQuit( in ExecuteQuit()
183 return Status(kOk); in ExecuteQuit()
188 Status ExecuteGetSessionCapabilities( in ExecuteGetSessionCapabilities()
[all …]
Dwindow_commands.h19 class Status; variable
22 typedef base::Callback<Status(
29 Status ExecuteWindowCommand(
36 Status ExecuteGet(
43 Status ExecuteExecuteScript(
50 Status ExecuteExecuteAsyncScript(
57 Status ExecuteSwitchToFrame(
64 Status ExecuteSwitchToParentFrame(
71 Status ExecuteGetTitle(
78 Status ExecuteGetPageSource(
[all …]
Delement_util.cc78 Status CallAtomsJs( in CallAtomsJs()
88 Status VerifyElementClickable( in VerifyElementClickable()
97 Status status = CallAtomsJs( in VerifyElementClickable()
106 return Status(kUnknownError, in VerifyElementClickable()
114 return Status(kUnknownError, message); in VerifyElementClickable()
116 return Status(kOk); in VerifyElementClickable()
119 Status ScrollElementRegionIntoViewHelper( in ScrollElementRegionIntoViewHelper()
133 Status status = web_view->CallFunction( in ScrollElementRegionIntoViewHelper()
139 return Status(kUnknownError, in ScrollElementRegionIntoViewHelper()
151 return Status(kOk); in ScrollElementRegionIntoViewHelper()
[all …]
Dwindow_commands.cc33 Status GetMouseButton(const base::DictionaryValue& params, in GetMouseButton()
39 return Status(kUnknownError, in GetMouseButton()
43 return Status(kOk); in GetMouseButton()
46 Status GetUrl(WebView* web_view, const std::string& frame, std::string* url) { in GetUrl()
49 Status status = web_view->CallFunction( in GetUrl()
54 return Status(kUnknownError, "javascript failed to return the url"); in GetUrl()
55 return Status(kOk); in GetUrl()
92 Status GetVisibleCookies(WebView* web_view, in GetVisibleCookies()
95 Status status = web_view->GetCookies(&internal_cookies); in GetVisibleCookies()
102 return Status(kUnknownError, "DevTools returns a non-dictionary cookie"); in GetVisibleCookies()
[all …]
/external/clang/test/SemaCXX/
Dwarn-consumed-analysis.cpp683 Status {
687 static Status OK;
689 Status() RETURN_TYPESTATE(consumed);
690 Status(int c) RETURN_TYPESTATE(unconsumed);
692 Status(const Status &other);
693 Status(Status &&other);
695 Status& operator=(const Status &other) CALLABLE_WHEN("unknown", "consumed");
696 Status& operator=(Status &&other) CALLABLE_WHEN("unknown", "consumed");
698 bool operator==(const Status &other) const SET_TYPESTATE(consumed);
706 ~Status() CALLABLE_WHEN("unknown", "consumed");
[all …]

12345678910>>...42