HomeSort by relevance Sort by last modified time
    Searched refs:expected_code (Results 1 - 14 of 14) sorted by null

  /system/connectivity/shill/bin/
test_set_wifi_regulatory 34 local expected_code="$1"
39 assert_equal "${g_country_code}" "${expected_code}"
  /art/compiler/linker/arm/
relative_patcher_thumb2_test.cc 100 ArrayRef<const uint8_t> expected_code(patcher->thunk_code_);
101 if (output_.size() < thunk_offset + expected_code.size()) {
103 << "thunk_offset + expected_code.size() == " << (thunk_offset + expected_code.size());
106 ArrayRef<const uint8_t> linked_code(&output_[thunk_offset], expected_code.size());
107 if (linked_code == expected_code) {
111 DumpDiff(expected_code, linked_code);
197 const uint8_t expected_code[] = { local
204 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code)));
214 static const uint8_t expected_code[] = local
258 auto expected_code = GenNopsAndBl(0u, kBlMinus256 | ((diff >> 1) & 0xffu)); local
287 auto expected_code = GenNopsAndBl(3u, kBlPlus0 | ((diff >> 1) & 0xffu)); local
310 auto expected_code = GenNopsAndBl(3u, kBlPlusMax); local
332 auto expected_code = GenNopsAndBl(2u, kBlMinusMax); local
362 auto expected_code = GenNopsAndBl(2u, 0xf3ffd700 | ((diff >> 1) & 0xffu)); local
390 auto expected_code = GenNopsAndBl(3u, kBlPlus0 | ((diff >> 1) & 0xffu)); local
    [all...]
  /art/compiler/linker/
relative_patcher_test.h 184 bool CheckLinkedMethod(MethodReference method_ref, const ArrayRef<const uint8_t>& expected_code) {
195 CHECK_EQ(compiled_methods_[idx]->GetQuickCode().size(), expected_code.size());
201 CHECK_LE(offset + expected_code.size(), output_.size());
202 ArrayRef<const uint8_t> linked_code(&output_[offset], expected_code.size());
203 if (linked_code == expected_code) {
207 DumpDiff(expected_code, linked_code);
211 void DumpDiff(const ArrayRef<const uint8_t>& expected_code,
218 for (size_t i = 0; i != expected_code.size(); ++i) {
219 expected_hex << " " << digits[expected_code[i] >> 4] << digits[expected_code[i] & 0xf]
    [all...]
  /art/compiler/linker/x86/
relative_patcher_x86_test.cc 51 static const uint8_t expected_code[] = { local
54 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code)));
100 static const uint8_t expected_code[] = { local
107 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code)));
130 static const uint8_t expected_code[] = { local
139 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code)));
162 static const uint8_t expected_code[] = { local
171 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code)));
  /art/compiler/linker/x86_64/
relative_patcher_x86_64_test.cc 71 static const uint8_t expected_code[] = { local
74 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code)));
120 static const uint8_t expected_code[] = { local
127 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code)));
143 static const uint8_t expected_code[] = { local
150 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code)));
167 static const uint8_t expected_code[] = { local
174 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code)));
  /ndk/sources/host-tools/make-3.81/tests/
run_make_tests.pl 132 local ($filename,$options,$logname,$expected_code) = @_;
136 $expected_code = 0 unless defined($expected_code);
173 if ($code != $expected_code) {
174 print "Error running $make_path (expected $expected_code; got $code): $command\n";
  /art/compiler/linker/arm64/
relative_patcher_arm64_test.cc 131 ArrayRef<const uint8_t> expected_code(patcher->thunk_code_);
132 if (output_.size() < thunk_offset + expected_code.size()) {
134 << "thunk_offset + expected_code.size() == " << (thunk_offset + expected_code.size());
137 ArrayRef<const uint8_t> linked_code(&output_[thunk_offset], expected_code.size());
138 if (linked_code == expected_code) {
142 DumpDiff(expected_code, linked_code);
218 auto expected_code = GenNopsAndAdrpLdr(num_nops, method1_offset, target_offset); local
219 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code)));
242 auto expected_code = GenNopsAndAdrpAdd(num_nops, method1_offset, string_offset) local
293 auto expected_code = GenNopsAndAdrpAndUse(num_nops, method1_offset, target_offset, use_insn); local
314 auto expected_code = GenNopsAndAdrpAndUse(num_nops, method1_offset, target_offset, use_insn); local
463 static const uint8_t expected_code[] = { local
507 auto expected_code = GenNopsAndBl(0u, kBlPlus0 | ((diff >> 2) & 0x03ffffffu)); local
538 auto expected_code = GenNopsAndBl(1u, kBlPlus0 | (diff >> 2)); local
567 auto expected_code = GenNopsAndBl(1u, kBlPlusMax); local
591 auto expected_code = GenNopsAndBl(0u, kBlMinusMax); local
624 auto expected_code = GenNopsAndBl(0u, kBlPlus0 | (diff >> 2)); local
654 auto expected_code = GenNopsAndBl(1u, kBlPlus0 | (diff >> 2)); local
    [all...]
  /external/opencv3/modules/ts/include/opencv2/
ts.hpp 482 virtual int run_test_case( int expected_code, const string& descr );
487 int run_test_case( int expected_code, const string& _descr, F f)
500 if( e.code != expected_code )
503 descr, test_case_idx, e.code, expected_code);
  /external/valgrind/none/tests/amd64-darwin/
bug341419.c 117 int expected_code = (using_int3 ? 1 : 0); local
118 ASSERT_EQ(si->si_code, expected_code);
  /external/valgrind/none/tests/x86-darwin/
bug341419.c 118 int expected_code = (using_int3 ? 1 : 0); local
119 ASSERT_EQ(si->si_code, expected_code);
  /system/update_engine/payload_consumer/
download_action_unittest.cc 67 explicit DownloadActionTestProcessorDelegate(ErrorCode expected_code)
69 expected_code_(expected_code) {}
180 ErrorCode expected_code = ErrorCode::kSuccess; local
182 expected_code = ErrorCode::kDownloadWriteError;
183 DownloadActionTestProcessorDelegate delegate(expected_code);
  /external/opencv3/modules/ts/src/
ts.cpp 345 int BadArgTest::run_test_case( int expected_code, const string& _descr )
358 if( e.code != expected_code )
361 descr, test_case_idx, e.code, expected_code);
  /external/libbrillo/brillo/dbus/
dbus_object_unittest.cc 143 void ExpectError(dbus::Response* response, const std::string& expected_code) {
145 EXPECT_EQ(expected_code, response->GetErrorName());
  /system/update_engine/
omaha_request_action_unittest.cc 186 ErrorCode expected_code,
308 ErrorCode expected_code,
329 delegate.expected_code_ = expected_code;
    [all...]

Completed in 1044 milliseconds