Home
last modified time | relevance | path

Searched refs:error (Results 1 – 25 of 130) sorted by relevance

123456

/art/profman/
Dprofile_assistant.cc92 bool Init(const std::vector<std::string>& filenames, /* out */ std::string* error) { in Init() argument
94 flocks_[i] = LockedFile::Open(filenames[i].c_str(), O_RDWR, /* block */ true, error); in Init()
96 *error += " (index=" + std::to_string(i) + ")"; in Init()
104 bool Init(const std::vector<int>& fds, /* out */ std::string* error) { in Init() argument
108 true /* read_only_mode */, error); in Init()
110 *error += " (index=" + std::to_string(i) + ")"; in Init()
128 std::string error; in ProcessProfiles() local
130 if (!profile_files.Init(profile_files_fd, &error)) { in ProcessProfiles()
131 LOG(WARNING) << "Could not lock profile files: " << error; in ProcessProfiles()
140 &error); in ProcessProfiles()
[all …]
/art/test/921-hello-failure/
Dexpected.txt2 Transformation error : java.lang.Exception(Failed to redefine class <LTransform;> due to JVMTI_ERRO…
5 Transformation error : java.lang.Exception(Failed to redefine class <LTransform;> due to JVMTI_ERRO…
8 Transformation error : java.lang.Exception(Failed to redefine class <LTransform;> due to JVMTI_ERRO…
11 Transformation error : java.lang.Exception(Failed to redefine class <LTransform2;> due to JVMTI_ERR…
14 Transformation error : java.lang.Exception(Failed to redefine class <LTransform2;> due to JVMTI_ERR…
17 Transformation error : java.lang.Exception(Failed to redefine class <LTransform2;> due to JVMTI_ERR…
21 Transformation error : java.lang.Exception(Failed to redefine classes <LTransform2;, LTransform;> d…
24 Transformation error : java.lang.Exception(Failed to redefine classes <LTransform;, LTransform2;> d…
29 Transformation error : java.lang.Exception(Failed to retransform classes <LTransform2;, LTransform;…
32 Transformation error : java.lang.Exception(Failed to retransform classes <LTransform;, LTransform2;…
[all …]
/art/tools/
Dcpplint.py364 def ParseNolintSuppressions(filename, raw_line, linenum, error): argument
389 error(filename, linenum, 'readability/nolint', 5,
726 def Check(self, error, filename, linenum): argument
749 error(filename, linenum, 'readability/fn_size', error_level,
987 def RemoveMultiLineComments(filename, lines, error): argument
996 error(filename, lineix_begin + 1, 'readability/multiline_comment', 5,
1131 def CheckForCopyright(filename, lines, error): argument
1139 error(filename, 0, 'legal/copyright', 5,
1168 def CheckForHeaderGuard(filename, lines, error): argument
1203 error(filename, 0, 'build/header_guard', 5,
[all …]
/art/runtime/
Dzip_archive.cc62 const int32_t error = ExtractEntryToFile(handle_, zip_entry_, file.Fd()); in ExtractToFile() local
63 if (error) { in ExtractToFile()
64 *error_msg = std::string(ErrorCodeString(error)); in ExtractToFile()
85 const int32_t error = ExtractToMemory(handle_, zip_entry_, in ExtractToMemMap() local
87 if (error) { in ExtractToMemMap()
88 *error_msg = std::string(ErrorCodeString(error)); in ExtractToMemMap()
209 const int32_t error = OpenArchive(filename, &handle); in Open() local
210 if (error) { in Open()
211 *error_msg = std::string(ErrorCodeString(error)); in Open()
225 const int32_t error = OpenArchiveFd(fd, filename, &handle); in OpenFromFd() local
[all …]
Ddebugger.cc368 static mirror::Array* DecodeNonNullArray(JDWP::RefTypeId id, JDWP::JdwpError* error) in DecodeNonNullArray() argument
370 mirror::Object* o = Dbg::GetObjectRegistry()->Get<mirror::Object*>(id, error); in DecodeNonNullArray()
372 *error = JDWP::ERR_INVALID_OBJECT; in DecodeNonNullArray()
376 *error = JDWP::ERR_INVALID_ARRAY; in DecodeNonNullArray()
379 *error = JDWP::ERR_NONE; in DecodeNonNullArray()
383 static mirror::Class* DecodeClass(JDWP::RefTypeId id, JDWP::JdwpError* error) in DecodeClass() argument
385 mirror::Object* o = Dbg::GetObjectRegistry()->Get<mirror::Object*>(id, error); in DecodeClass()
387 *error = JDWP::ERR_INVALID_OBJECT; in DecodeClass()
391 *error = JDWP::ERR_INVALID_CLASS; in DecodeClass()
394 *error = JDWP::ERR_NONE; in DecodeClass()
[all …]
Dread_barrier_c.h36 #error "ART read barrier type must be set"
53 #error "Only one of Baker or Brooks can be enabled at a time."
Dglobals.h75 # error "Either ART_TARGET_LINUX or ART_TARGET_ANDROID needs to be defined for target builds."
80 # error "ART_TARGET_LINUX defined for host build."
82 # error "ART_TARGET_ANDROID defined for host build."
Dutils_test.cc282 std::string error; in TEST_F() local
284 EXPECT_TRUE(GetDalvikCacheFilename("/system/app/Foo.apk", "/foo", &name, &error)) << error; in TEST_F()
287 EXPECT_TRUE(GetDalvikCacheFilename("/data/app/foo-1.apk", "/foo", &name, &error)) << error; in TEST_F()
290 EXPECT_TRUE(GetDalvikCacheFilename("/system/framework/core.jar", "/foo", &name, &error)) << error; in TEST_F()
293 EXPECT_TRUE(GetDalvikCacheFilename("/system/framework/boot.art", "/foo", &name, &error)) << error; in TEST_F()
296 EXPECT_TRUE(GetDalvikCacheFilename("/system/framework/boot.oat", "/foo", &name, &error)) << error; in TEST_F()
/art/test/536-checker-needs-access-check/
Dexpected.txt1 Got expected error instanceof
2 Got expected error instanceof null
3 Got expected error checkcast null
4 Got expected error instanceof (keep LoadClass with access check)
/art/test/989-method-trace-throw/
Dexpected.txt9 Received expected error for test[class art.Test989$NormalTracer, class art.Test989$throwAClass] - a…
12 Received expected error for test[class art.Test989$NormalTracer, class art.Test989$throwANativeClas…
50 …ceived expected error for test[class art.Test989$ThrowEnterTracer, class art.Test989$doNothingClas…
53 …ved expected error for test[class art.Test989$ThrowEnterTracer, class art.Test989$doNothingNativeC…
56 …eceived expected error for test[class art.Test989$ThrowEnterTracer, class art.Test989$throwAClass]…
59 …ived expected error for test[class art.Test989$ThrowEnterTracer, class art.Test989$throwANativeCla…
62 …eived expected error for test[class art.Test989$ThrowEnterTracer, class art.Test989$returnValueCla…
65 …ed expected error for test[class art.Test989$ThrowEnterTracer, class art.Test989$returnValueNative…
68 …eived expected error for test[class art.Test989$ThrowEnterTracer, class art.Test989$acceptValueCla…
71 …ed expected error for test[class art.Test989$ThrowEnterTracer, class art.Test989$acceptValueNative…
[all …]
/art/test/901-hello-ti-agent/src/art/
DTest901.java54 String error = null; in testErrorNames() local
58 error = e.getMessage(); in testErrorNames()
62 (errorName != null || (error != null && !lastError.equals(error)))) { in testErrorNames()
71 lastError = error; in testErrorNames()
83 private static native String getErrorName(int error); in getErrorName() argument
/art/test/995-breakpoints-throw/
Dexpected.txt3 Test "call Test995::breakpoint": No error caught with handler "do nothing"
7 Test "call Test995::breakpointCatch": No error caught with handler "do nothing"
11 Test "call Test995::breakpointCatchLate": No error caught with handler "do nothing"
15 Test "catch subroutine Test995::breakpoint": No error caught with handler "do nothing"
19 Test "call Test995::breakpoint": Caught error java.lang.Error:"throwing error!" with handler "throw"
23 Caught java.lang.Error: "throwing error!"
24 Test "call Test995::breakpointCatch": No error caught with handler "throw"
28 Test "call Test995::breakpointCatchLate": Caught error java.lang.Error:"throwing error!" with handl…
32 Caught java.lang.Error:"throwing error!"
33 Test "catch subroutine Test995::breakpoint": No error caught with handler "throw"
/art/tools/dexfuzz/src/dexfuzz/
DOptions.java213 Log.error("Unrecognised flag: --" + flag); in handleFlagOption()
275 Log.error("Unrecognised key: --" + key); in handleKeyValueOption()
300 Log.error("Unable to open mutation probability table file: " + tableFilename); in setupMutationLikelihoodTable()
302 Log.error("Unable to read mutation probability table file: " + tableFilename); in setupMutationLikelihoodTable()
314 Log.error("Unrecognised option: " + arg); in readOptions()
369 Log.error("--repeat must be at least 1!"); in validateOptions()
373 Log.error("--divergence-retry cannot be negative!"); in validateOptions()
377 Log.error("Cannot use --repeat with --seed"); in validateOptions()
381 Log.error("Cannot both load and dump mutations"); in validateOptions()
385 Log.error("Must use --repeat if you have provided more than one input"); in validateOptions()
[all …]
DStreamConsumer.java92 Log.error("Client of StreamConsumer was interrupted while waiting for output?"); in getOutput()
134 Log.error("StreamConsumer stopped consuming, but was not told to?"); in consume()
141 Log.error("StreamConsumer caught IOException while consuming"); in consume()
144 Log.error("StreamConsumer caught InterruptedException while consuming"); in consume()
159 Log.error("StreamConsumer caught InterruptedException while waiting for work"); in run()
172 Log.error("invalid state: StreamConsumer told about work, but not CONSUMING?"); in run()
173 Log.error("state was: " + getCurrentState()); in run()
188 Log.error("StreamConsumer Unexpected state: " + state + ", expected " + previousState); in changeState()
DExecutionResult.java26 public List<String> error; field in ExecutionResult
73 for (String line : error) { in getFlattenedError()
87 for (String line : error) { in getFlattenedErrorWithNewlines()
/art/test/ti-agent/
Djvmti_helper.cc30 void CheckJvmtiError(jvmtiEnv* env, jvmtiError error) { in CheckJvmtiError() argument
31 if (error != JVMTI_ERROR_NONE) { in CheckJvmtiError()
33 jvmtiError name_error = env->GetErrorName(error, &error_name); in CheckJvmtiError()
35 LOG(FATAL) << "Unable to get error name for " << error; in CheckJvmtiError()
49 bool JvmtiErrorToException(JNIEnv* env, jvmtiEnv* jvmti_env, jvmtiError error) { in JvmtiErrorToException() argument
50 if (error == JVMTI_ERROR_NONE) { in JvmtiErrorToException()
61 CheckJvmtiError(jvmti_env, jvmti_env->GetErrorName(error, &err)); in JvmtiErrorToException()
/art/runtime/jit/
Dprofile_compilation_info.cc180 std::string error; in Load() local
186 /*block*/false, &error); in Load()
189 LOG(WARNING) << "Couldn't lock the profile file " << filename << ": " << error; in Load()
195 ProfileLoadSatus status = LoadInternal(fd, &error); in Load()
203 << filename << ": " << error; in Load()
212 LOG(WARNING) << "Could not load profile data from file " << filename << ": " << error; in Load()
218 std::string error; in Save() local
224 /*block*/false, &error); in Save()
226 LOG(WARNING) << "Couldn't lock the profile file " << filename << ": " << error; in Save()
691 #define READ_UINT(type, buffer, dest, error) \ argument
[all …]
/art/test/907-get-loaded-classes/src/art/
DTest907.java57 boolean error = false; in doTest()
61 error = true; in doTest()
67 error = true; in doTest()
71 if (error) { in doTest()
/art/runtime/openjdkjvmti/
Dart_jvmti.h167 static inline JvmtiUniquePtr<T> AllocJvmtiUniquePtr(jvmtiEnv* env, jvmtiError* error) { in AllocJvmtiUniquePtr() argument
169 *error = env->Allocate(sizeof(T), &tmp); in AllocJvmtiUniquePtr()
170 if (*error != ERR(NONE)) { in AllocJvmtiUniquePtr()
180 jvmtiError* error) { in AllocJvmtiUniquePtr() argument
182 *error = env->Allocate(sizeof(typename std::remove_extent<T>::type) * count, &tmp); in AllocJvmtiUniquePtr()
183 if (*error != ERR(NONE)) { in AllocJvmtiUniquePtr()
206 static inline JvmtiUniquePtr<char[]> CopyString(jvmtiEnv* env, const char* src, jvmtiError* error) { in CopyString() argument
208 JvmtiUniquePtr<char[]> ret = AllocJvmtiUniquePtr<char[]>(env, len, error); in CopyString()
Dfixed_up_dex_file.cc70 std::string error; in Create() local
79 &error)); in Create()
81 LOG(ERROR) << "Unable to open dex file from memory for unquickening! error: " << error; in Create()
/art/test/008-exceptions/src/
DMain.java122 } catch (Exception error) { in exceptionsRethrowClassInitFailure()
123 error.printStackTrace(System.out); in exceptionsRethrowClassInitFailure()
145 } catch (Exception error) { in exceptionsRethrowClassInitFailureNoStringInit()
146 error.printStackTrace(System.out); in exceptionsRethrowClassInitFailureNoStringInit()
/art/test/978-virtual-interface/smali/
DMain.smali22 # System.out.println("No error thrown!");
24 # System.out.println("Recieved expected ICCE error!");
41 const-string v1, "No error thrown!"
47 const-string v1, "Recieved expected ICCE error!"
/art/test/983-source-transform-verify/
Dsource_transform.cc68 std::string error; in CheckDexFileHook() local
76 &error)); in CheckDexFileHook()
78 std::cout << "Failed to verify dex file for " << name << " because " << error << std::endl; in CheckDexFileHook()
/art/build/
DAndroid.common_build.mk55 $(error LIBART_IMG_HOST_BASE_ADDRESS unset)
59 $(error LIBART_IMG_TARGET_BASE_ADDRESS unset)
/art/runtime/jdwp/
Dobject_registry.h84 template<typename T> T Get(JDWP::ObjectId id, JDWP::JdwpError* error) in Get() argument
87 *error = JDWP::ERR_NONE; in Get()
90 return down_cast<T>(InternalGet(id, error)); in Get()
117 mirror::Object* InternalGet(JDWP::ObjectId id, JDWP::JdwpError* error)

123456