HomeSort by relevance Sort by last modified time
    Searched refs:Error (Results 676 - 700 of 3219) sorted by null

<<21222324252627282930>>

  /system/connectivity/shill/
property_accessor_unittest.cc 28 #include "shill/error.h"
41 Error error; local
44 EXPECT_EQ(int_store, accessor->Get(&error));
47 EXPECT_TRUE(accessor->Set(expected_int32, &error));
48 EXPECT_TRUE(error.IsSuccess());
49 EXPECT_EQ(expected_int32, accessor->Get(&error));
51 // an error.
52 EXPECT_FALSE(accessor->Set(expected_int32, &error));
53 EXPECT_TRUE(error.IsSuccess())
63 Error error; local
77 Error error; local
83 Error error; local
90 Error error; local
108 Error error; local
122 Error error; local
144 Error error; local
158 Error error; local
164 Error error; local
172 Error error; local
190 Error error; local
204 Error error; local
226 Error error; local
240 Error error; local
246 Error error; local
253 Error error; local
271 Error error; local
284 Error error; local
307 Error error; local
321 Error error; local
327 Error error; local
334 Error error; local
355 Error error; local
394 Error error; local
419 Error error; local
436 Error error; local
445 Error error; local
461 Error error; local
472 Error error; local
488 Error error; local
504 Error error; local
514 Error error; local
529 Error error; local
547 Error error; local
553 Error error; local
560 Error error; local
567 Error error; local
604 Error error; local
614 Error error; local
631 Error error; local
    [all...]
mock_device.h 43 MOCK_METHOD2(Start, void(Error* error,
45 MOCK_METHOD2(Stop, void(Error* error,
49 Error* error,
52 Error* error,
54 MOCK_METHOD3(Scan, void(Device::ScanType scan_type, Error* error,
    [all...]
property_observer_unittest.cc 26 #include "shill/error.h"
39 MOCK_METHOD1(Clear, void(Error* error));
40 MOCK_METHOD1(Get, bool(Error* error));
41 MOCK_METHOD2(Set, bool(const bool& value, Error* error));
54 void SetError(Error* error) {
55 error->Populate(Error::kPermissionDenied)
    [all...]
testing.h 23 #include "shill/error.h"
94 SetErrorTypeInArgumentAction(Error::Type error_type, bool warn_default)
100 Error* error_arg = ::std::tr1::get<error_argument_index>(args);
108 LOG(WARNING) << "Default action taken: set error to "
114 Error::Type error_type_;
118 // Many functions in the the DBus proxy classes take a (shill::Error*) output
119 // argument that is set to shill::Error::kOperationFailed to notify the caller
120 // synchronously of error conditions.
122 // If an error is not returned synchronously, a callback (passed as another
123 // argument to the function) must eventually be called with the result/error
    [all...]
service.cc 39 #include "shill/error.h"
111 const char Service::kStorageError[] = "Error";
229 // TODO(ers): in flimflam clearing Error has the side-effect of
315 Error error; local
318 Connect(&error, __func__);
331 void Service::Connect(Error* /*error*/, const char* reason) {
339 void Service::Disconnect(Error* /*error*/, const char* reason)
595 Error error; \/\/ Ignored. local
828 Error error; local
1197 Error error; local
    [all...]
  /external/deqp/framework/egl/
egluDefs.cpp 51 throw Error(err, desc.str().c_str(), DE_NULL, file, line);
55 Error::Error (deUint32 errCode, const char* errStr)
61 Error::Error (deUint32 errCode, const char* message, const char* expr, const char* file, int line)
  /external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
ResourceBundlePerf.java 48 if (s.length != 0) throw new Error ("not zero");
57 if (s.length != 0) throw new Error ("not zero");
71 if (!s.equals(expected)) throw new Error("not equal");
84 if (!s.equals(expected)) throw new Error("not equal");
121 if (t.intValue() != expected) throw new Error("not equal");
135 if (t != expected) throw new Error("not equal");
183 if (t.intValue() != -1 ) throw new Error("not equal");
193 if (t != 0xFFFFFFF) throw new Error("not equal");
209 if (expected[i] != iv[i].intValue()) throw new Error("not equal");
225 if (expected[i] != iv[i]) throw new Error("not equal");
    [all...]
  /external/llvm/unittests/Support/
ProgramTest.cpp 35 #error sleep_for is not implemented on your platform.
43 << "error number: " << ASSERT_NO_ERROR_ec.value() << "\n" \
44 << "error message: " << ASSERT_NO_ERROR_ec.message() << "\n"; \
149 std::string Error;
153 /*secondsToWait=*/ 10, /*memoryLimit=*/ 0, &Error,
155 EXPECT_FALSE(ExecutionFailed) << Error;
186 std::string error; local
196 /*secondsToWait=*/ 10, /*memoryLimit=*/ 0, &error,
198 EXPECT_FALSE(ExecutionFailed) << error;
221 std::string Error;
    [all...]
  /system/connectivity/shill/dbus/
chromeos_dbus_adaptor.h 30 #include "shill/error.h"
65 // Adaptors call this method just before returning. If |error|
72 // Adaptors should always construct an Error initialized to the value
73 // Error::kOperationInitiated. A pointer to this Error is passed down
77 // to an external server, should call error.Reset() to indicate success,
78 // or to some error type to reflect the kind of failure that occurred.
79 // Otherwise, they should leave the Error alone.
84 // Error e(Error::kOperationInitiated)
    [all...]
chromeos_manager_dbus_adaptor.cc 26 #include "shill/error.h"
119 brillo::ErrorPtr* error, brillo::VariantDictionary* properties) {
123 error);
126 bool ChromeosManagerDBusAdaptor::SetProperty(brillo::ErrorPtr* error,
133 error);
136 bool ChromeosManagerDBusAdaptor::GetState(brillo::ErrorPtr* /*error*/,
143 bool ChromeosManagerDBusAdaptor::CreateProfile(brillo::ErrorPtr* error,
147 Error e;
150 if (e.ToChromeosError(error)) {
157 bool ChromeosManagerDBusAdaptor::RemoveProfile(brillo::ErrorPtr* error,
    [all...]
chromeos_mm1_modem_proxy.cc 53 Error* error,
70 Error* error,
87 Error* error,
102 void ChromeosModemProxy::Reset(Error* error,
117 Error* error,
237 Error error; local
251 Error error; local
266 Error error; local
    [all...]
  /art/test/401-optimizing-compiler/src/
Main.java 22 Error error = null; local
25 } catch (Error e) {
26 error = e;
28 System.out.println(error);
34 throw new Error("Different value returned: " + result);
43 throw new Error("Different object returned " + a + " " + b);
48 throw new Error("Unexpected result: " + result);
53 throw new Error("Unexpected result: " + result);
58 throw new Error("Unexpected result: " + result)
    [all...]
  /frameworks/compile/libbcc/bcinfo/BitReader_2_7/
BitcodeReader.cpp 251 std::error_code Error(BitcodeError E, const Twine &Message);
252 std::error_code Error(BitcodeError E);
253 std::error_code Error(const Twine &Message);
270 /// @returns true if an error occurred.
274 /// @returns true if an error occurred.
360 static std::error_code Error(DiagnosticHandlerFunction DiagnosticHandler,
367 static std::error_code Error(DiagnosticHandlerFunction DiagnosticHandler,
369 return Error(DiagnosticHandler, EC, EC.message());
372 std::error_code BitcodeReader::Error(BitcodeError E, const Twine &Message) {
373 return ::Error(DiagnosticHandler, make_error_code(E), Message)
    [all...]
  /external/giflib/
dgif_lib.c 50 DGifOpenFileName(const char *FileName, int *Error)
56 if (Error != NULL)
57 *Error = D_GIF_ERR_OPEN_FAILED;
61 GifFile = DGifOpenFileHandle(FileHandle, Error);
71 DGifOpenFileHandle(int FileHandle, int *Error)
80 if (Error != NULL)
81 *Error = D_GIF_ERR_NOT_ENOUGH_MEM;
94 if (Error != NULL)
95 *Error = D_GIF_ERR_NOT_ENOUGH_MEM;
118 if (Error != NULL
    [all...]
  /external/opencv3/modules/core/src/
directx.cpp 52 #define NO_DIRECTX_SUPPORT_ERROR CV_ErrorNoReturn(cv::Error::StsBadFunc, "OpenCV was build without DirectX support")
56 # define NO_OPENCL_SUPPORT_ERROR CV_ErrorNoReturn(cv::Error::StsBadFunc, "OpenCV was build without OpenCL support")
250 CV_Error(cv::Error::OpenCLInitError, "OpenCL: Can't get number of platforms");
252 CV_Error(cv::Error::OpenCLInitError, "OpenCL: No available platforms");
257 CV_Error(cv::Error::OpenCLInitError, "OpenCL: Can't get number of platforms");
337 CV_Error(cv::Error::OpenCLInitError, "OpenCL: Can't create context for DirectX interop");
358 CV_Error(cv::Error::OpenCLInitError, "OpenCL: Can't get number of platforms");
360 CV_Error(cv::Error::OpenCLInitError, "OpenCL: No available platforms");
365 CV_Error(cv::Error::OpenCLInitError, "OpenCL: Can't get number of platforms");
445 CV_Error(cv::Error::OpenCLInitError, "OpenCL: Can't create context for DirectX interop")
    [all...]
  /external/v8/test/js-perf-test/Collections/
map.js 89 throw new Error();
94 throw new Error();
103 throw new Error();
108 throw new Error();
133 throw new Error();
138 throw new Error();
147 throw new Error();
152 throw new Error();
177 throw new Error();
182 throw new Error();
    [all...]
  /art/tools/checker/common/
logger.py 22 NoOutput, Error, Info = range(3)
59 Logger.log("error: ", Logger.Level.Error, color=Logger.Color.Red, newLine=False, out=sys.stderr)
60 Logger.log(msg, Logger.Level.Error, out=sys.stderr)
70 Logger.log(loc, Logger.Level.Error, color=Logger.Color.Gray, newLine=False, out=sys.stderr)
71 Logger.log(lineText, Logger.Level.Error, out=sys.stderr)
80 Logger.log(var, Logger.Level.Error, color=Logger.Color.Green, newLine=False, out=sys.stderr)
81 Logger.log(padding, Logger.Level.Error, newLine=False, out=sys.stderr)
82 Logger.log(" = ", Logger.Level.Error, newLine=False, out=sys.stderr)
83 Logger.log(variables[var], Logger.Level.Error, out=sys.stderr
    [all...]
  /external/chromium-trace/catapult/telemetry/third_party/webpagereplay/
rules_parser.py 33 class Error(Exception):
134 raise Error('Expecting a list, not %s', type(entries))
137 raise Error('%s: Expecting a dict, not %s', i, type(entry))
139 raise Error('%s: Expecting 1 item, not %d', i, len(entry))
142 raise Error('%s: Expecting a string TYPE, not %s', i, type(name))
144 raise Error('%s: Expecting a classname TYPE, not %s', i, name)
148 raise Error('%s: Expecting a dict ARGS, not %s', i, type(args))
155 raise Error('%s: Package %r is not in allowed_imports', i, modulename)
162 raise Error('%s: %s lacks %s', i, clazz.__name__, ' and '.join(missing))
  /external/clang/unittests/ASTMatchers/Dynamic/
RegistryTest.cpp 43 Diagnostics *Error = nullptr) {
45 if (!Error) Error = &DummyError;
49 Out = Registry::constructMatcher(*Ctor, SourceRange(), Args(), Error);
56 Diagnostics *Error = nullptr) {
58 if (!Error) Error = &DummyError;
62 Out = Registry::constructMatcher(*Ctor, SourceRange(), Args(Arg1), Error);
70 Diagnostics *Error = nullptr) {
72 if (!Error) Error = &DummyError
    [all...]
  /external/libchrome/base/files/
file.h 96 enum Error {
168 explicit File(Error error_details);
197 Error error_details() const { return error_details_; }
207 // (relative to the start) or -1 in case of error.
211 // given offset. Returns the number of bytes read, or -1 on error. Note that
215 // an error.
223 // platforms. Returns the number of bytes read, or -1 on error.
231 // on error. Note that this function makes a best effort to write all data on
241 // platforms. Returns the number of bytes written, or -1 on error.
282 Error Lock()
    [all...]
  /external/libchrome/sandbox/linux/bpf_dsl/
bpf_dsl_unittest.cc 123 return If(pid == 0, Error(EPERM)).Else(Error(EINVAL));
158 Error(EPERM))
159 .Else(Error(EINVAL));
201 return If(AnyOf(ruid == 0, euid == 0, suid == 0), Error(EPERM))
202 .ElseIf(AllOf(ruid == 1, euid == 1, suid == 1), Error(EAGAIN))
203 .Else(Error(EINVAL));
241 return If(addr == kDeadBeefAddr, Error(EPERM)).Else(Allow());
264 return If(fd == -314, Error(EPERM)).Else(Allow());
323 return If((uid & 0xf) == 0, Error(EINVAL)).Else(Error(EACCES))
443 ResultExpr error = Error(ENOENT); local
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/
applesingle.py 28 class Error(ValueError):
56 raise Error, "Unpack header error: %s" % (arg,)
62 raise Error, "Unknown AppleSingle magic number 0x%8.8x" % (magic,)
64 raise Error, "Unknown AppleSingle version number 0x%8.8x" % (version,)
66 raise Error, "AppleSingle file contains no forks"
73 raise Error, "Unpack entry error: %s" % (arg,)
79 raise Error, "Short read: expected %d bytes got %d" % (length, len(data))
91 raise Error, "No resource fork found
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/
sunau.py 58 getmark(id) -- raises an error since the mark does not
131 class Error(Exception):
169 raise Error, 'bad magic number'
172 raise Error, 'header size too small'
174 raise Error, 'header size ridiculously large'
180 raise Error, 'encoding not (yet) supported'
194 raise Error, 'unknown encoding'
251 raise Error, 'no marks'
274 raise Error, 'position not in range'
308 raise Error, 'cannot change parameters after starting to write
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/
sunau.py 58 getmark(id) -- raises an error since the mark does not
131 class Error(Exception):
169 raise Error, 'bad magic number'
172 raise Error, 'header size too small'
174 raise Error, 'header size ridiculously large'
180 raise Error, 'encoding not (yet) supported'
194 raise Error, 'unknown encoding'
251 raise Error, 'no marks'
274 raise Error, 'position not in range'
308 raise Error, 'cannot change parameters after starting to write
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/
applesingle.py 28 class Error(ValueError):
56 raise Error, "Unpack header error: %s" % (arg,)
62 raise Error, "Unknown AppleSingle magic number 0x%8.8x" % (magic,)
64 raise Error, "Unknown AppleSingle version number 0x%8.8x" % (version,)
66 raise Error, "AppleSingle file contains no forks"
73 raise Error, "Unpack entry error: %s" % (arg,)
79 raise Error, "Short read: expected %d bytes got %d" % (length, len(data))
91 raise Error, "No resource fork found
    [all...]

Completed in 2651 milliseconds

<<21222324252627282930>>