/external/tpm2/ |
Marshal_Commit.c | 31 // Compute actual parameter_size. Don't add result to total_size. 44 TPM_RC result = TPM_RC_SUCCESS; local 48 result = TPM2B_ECC_POINT_Unmarshal(&target->P1, buffer, size); 49 if (result != TPM_RC_SUCCESS) { 50 return result; 52 result = TPM2B_SENSITIVE_DATA_Unmarshal(&target->s2, buffer, size); 53 if (result != TPM_RC_SUCCESS) { 54 return result; 56 result = TPM2B_ECC_PARAMETER_Unmarshal(&target->y2, buffer, size); 57 if (result != TPM_RC_SUCCESS) 72 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_Hash.c | 29 // Compute actual parameter_size. Don't add result to total_size. 42 TPM_RC result = TPM_RC_SUCCESS; local 44 result = TPM2B_MAX_BUFFER_Unmarshal(&target->data, buffer, size); 45 if (result != TPM_RC_SUCCESS) { 46 return result; 48 result = TPMI_ALG_HASH_Unmarshal(&target->hashAlg, buffer, size, FALSE); 49 if (result != TPM_RC_SUCCESS) { 50 return result; 52 result = TPMI_RH_HIERARCHY_Unmarshal(&target->hierarchy, buffer, size, TRUE); 53 if (result != TPM_RC_SUCCESS) 68 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_Quote.c | 29 // Compute actual parameter_size. Don't add result to total_size. 42 TPM_RC result = TPM_RC_SUCCESS; local 46 result = TPM2B_DATA_Unmarshal(&target->qualifyingData, buffer, size); 47 if (result != TPM_RC_SUCCESS) { 48 return result; 50 result = TPMT_SIG_SCHEME_Unmarshal(&target->inScheme, buffer, size); 51 if (result != TPM_RC_SUCCESS) { 52 return result; 54 result = TPML_PCR_SELECTION_Unmarshal(&target->PCRselect, buffer, size); 55 if (result != TPM_RC_SUCCESS) 70 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_Rewrap.c | 30 // Compute actual parameter_size. Don't add result to total_size. 43 TPM_RC result = TPM_RC_SUCCESS; local 48 result = TPM2B_PRIVATE_Unmarshal(&target->inDuplicate, buffer, size); 49 if (result != TPM_RC_SUCCESS) { 50 return result; 52 result = TPM2B_NAME_Unmarshal(&target->name, buffer, size); 53 if (result != TPM_RC_SUCCESS) { 54 return result; 56 result = TPM2B_ENCRYPTED_SECRET_Unmarshal(&target->inSymSeed, buffer, size); 57 if (result != TPM_RC_SUCCESS) 72 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/vo/ |
Coordinates.java | 36 int result; local 39 result = (int) (temp ^ (temp >>> 32)); 41 result = 31 * result + (int) (temp ^ (temp >>> 32)); 42 return result;
|
/hardware/interfaces/keymaster/3.0/vts/functional/ |
keystore_tags_utils.cpp | 30 const char** result) { 32 *result = Tag2String<tag>::value(); 37 const char* result = "unknown tag"; local 38 [](Tags&&...) {}(chooseString(Tags(), tag, &result)...); 39 return result;
|
/packages/apps/Camera2/tests/src/com/android/camera/ |
StressTests.java | 39 TestSuite result = new TestSuite(); local 40 result.addTestSuite(CameraLatency.class); 41 result.addTestSuite(CameraStartUp.class); 42 result.addTestSuite(ImageCapture.class); 43 // result.addTestSuite(SwitchPreview.class); 44 return result;
|
/system/update_engine/payload_generator/ |
raw_filesystem.cc | 29 unique_ptr<RawFilesystem> result(new RawFilesystem()); 30 result->filename_ = filename; 31 result->block_size_ = block_size; 32 result->block_count_ = block_count; 33 return result;
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
wifi_logger.cpp | 162 int result = request.create(GOOGLE_OUI, LOGGER_START_LOGGING); local 163 if (result != WIFI_SUCCESS) { 164 ALOGE("Failed to create start ring logger request; result = %d", result); 165 return result; 170 result = request.put_u32(LOGGER_ATTRIBUTE_LOG_LEVEL, mVerboseLevel); 171 if (result != WIFI_SUCCESS) { 172 ALOGE("Failed to put log level; result = %d", result); 173 return result; 201 int result; local 299 int result = createRequest(request); local 408 wifi_error result = (wifi_error)cmd->start(); local 423 wifi_error result = (wifi_error)cmd->start(); local 437 wifi_error result = (wifi_error)cmd->start(); local 449 wifi_error result = (wifi_error)cmd->start(); local 465 wifi_error result = (wifi_error)cmd->start(); local 481 wifi_error result = (wifi_error)cmd->start(); local 515 int result = request.create(GOOGLE_OUI, LOGGER_RESET_LOGGING); local 583 wifi_error result = wifi_register_cmd(handle, id, cmd); local 721 int result = request.create(GOOGLE_OUI, LOGGER_GET_MEM_DUMP); local 766 wifi_error result = wifi_register_cmd(handle, id, cmd); local 815 int result = request.create(GOOGLE_OUI, LOGGER_TRIGGER_MEM_DUMP); local 857 int result = request.create(GOOGLE_OUI, LOGGER_GET_MEM_DUMP); local 911 wifi_error result = (wifi_error)cmd->start(); local 960 int result = request.create(GOOGLE_OUI, LOGGER_START_PKT_FATE_MONITORING); local 971 int result = request.create(GOOGLE_OUI, LOGGER_GET_TX_PKT_FATES); local 991 int result = request.create(GOOGLE_OUI, LOGGER_GET_RX_PKT_FATES); local 1014 int result = createRequest(request); local 1082 wifi_error result = (wifi_error)cmd->start(); local 1094 wifi_error result = (wifi_error)cmd->start(); local 1106 wifi_error result = (wifi_error)cmd->start(); local [all...] |
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/visitor/ |
GenericListVisitorAdapter.java | 49 List<R> result = new ArrayList<>(); local 54 result.addAll(tmp); 59 result.addAll(tmp); 64 result.addAll(tmp); 69 result.addAll(tmp); 71 return result; 76 List<R> result = new ArrayList<>(); local 81 result.addAll(tmp); 86 result.addAll(tmp); 91 result.addAll(tmp) 108 List<R> result = new ArrayList<>(); local 130 List<R> result = new ArrayList<>(); local 157 List<R> result = new ArrayList<>(); local 179 List<R> result = new ArrayList<>(); local 196 List<R> result = new ArrayList<>(); local 218 List<R> result = new ArrayList<>(); local 240 List<R> result = new ArrayList<>(); local 262 List<R> result = new ArrayList<>(); local 284 List<R> result = new ArrayList<>(); local 296 List<R> result = new ArrayList<>(); local 313 List<R> result = new ArrayList<>(); local 325 List<R> result = new ArrayList<>(); local 342 List<R> result = new ArrayList<>(); local 364 List<R> result = new ArrayList<>(); local 386 List<R> result = new ArrayList<>(); local 398 List<R> result = new ArrayList<>(); local 415 List<R> result = new ArrayList<>(); local 457 List<R> result = new ArrayList<>(); local 489 List<R> result = new ArrayList<>(); local 521 List<R> result = new ArrayList<>(); local 548 List<R> result = new ArrayList<>(); local 595 List<R> result = new ArrayList<>(); local 612 List<R> result = new ArrayList<>(); local 634 List<R> result = new ArrayList<>(); local 646 List<R> result = new ArrayList<>(); local 658 List<R> result = new ArrayList<>(); local 675 List<R> result = new ArrayList<>(); local 707 List<R> result = new ArrayList<>(); local 744 List<R> result = new ArrayList<>(); local 771 List<R> result = new ArrayList<>(); local 788 List<R> result = new ArrayList<>(); local 815 List<R> result = new ArrayList<>(); local 837 List<R> result = new ArrayList<>(); local 869 List<R> result = new ArrayList<>(); local 896 List<R> result = new ArrayList<>(); local 923 List<R> result = new ArrayList<>(); local 940 List<R> result = new ArrayList<>(); local 962 List<R> result = new ArrayList<>(); local 984 List<R> result = new ArrayList<>(); local 996 List<R> result = new ArrayList<>(); local 1018 List<R> result = new ArrayList<>(); local 1030 List<R> result = new ArrayList<>(); local 1052 List<R> result = new ArrayList<>(); local 1074 List<R> result = new ArrayList<>(); local 1086 List<R> result = new ArrayList<>(); local 1103 List<R> result = new ArrayList<>(); local 1115 List<R> result = new ArrayList<>(); local 1132 List<R> result = new ArrayList<>(); local 1154 List<R> result = new ArrayList<>(); local 1186 List<R> result = new ArrayList<>(); local 1238 List<R> result = new ArrayList<>(); local 1260 List<R> result = new ArrayList<>(); local 1277 List<R> result = new ArrayList<>(); local 1299 List<R> result = new ArrayList<>(); local 1321 List<R> result = new ArrayList<>(); local 1333 List<R> result = new ArrayList<>(); local 1370 List<R> result = new ArrayList<>(); local 1392 List<R> result = new ArrayList<>(); local 1424 List<R> result = new ArrayList<>(); local 1441 List<R> result = new ArrayList<>(); local 1458 List<R> result = new ArrayList<>(); local 1470 List<R> result = new ArrayList<>(); local 1492 List<R> result = new ArrayList<>(); local 1504 List<R> result = new ArrayList<>(); local 1521 List<R> result = new ArrayList<>(); local 1543 List<R> result = new ArrayList<>(); local 1565 List<R> result = new ArrayList<>(); local 1587 List<R> result = new ArrayList<>(); local 1604 List<R> result = new ArrayList<>(); local 1621 List<R> result = new ArrayList<>(); local 1653 List<R> result = new ArrayList<>(); local 1670 List<R> result = new ArrayList<>(); local 1697 List<R> result = new ArrayList<>(); local 1714 List<R> result = new ArrayList<>(); local 1736 List<R> result = new ArrayList<>(); local 1753 List<R> result = new ArrayList<>(); local 1775 List<R> result = new ArrayList<>(); local 1802 List<R> result = new ArrayList<>(); local 1819 List<R> result = new ArrayList<>(); local 1841 List<R> result = new ArrayList<>(); local 1874 List<R> result = new ArrayList<>(); local 1902 List<R> result = new ArrayList<>(); local 1925 List<R> result = new ArrayList<>(); local 1948 List<R> result = new ArrayList<>(); local 1971 List<R> result = new ArrayList<>(); local 1989 List<R> result = new ArrayList<>(); local 2007 List<R> result = new ArrayList<>(); local 2020 List<R> result = new ArrayList<>(); local 2047 List<R> result = new ArrayList<>(); local [all...] |
/developers/samples/android/ui/text/TextStyling-Kotlin/app/src/androidTest/java/com/android/example/text/styling/renderer/ |
MarkdownBuilderTest.kt | 44 val result = builder.markdownToSpans("Hello, world!") 45 assertEquals("Hello, world!", result.toString()) 49 val result = builder.markdownToSpans("Text") 51 val spans = result.getSpans<Any>(0, result.length, Any::class.java) 56 val result = builder.markdownToSpans("Text\n> Quote") 58 assertEquals("Text\nQuote", result.toString()) 59 val spans = result.getSpans<Any>(0, result.length, Any::class.java) 64 assertEquals(5, result.getSpanStart(styleSpan).toLong() [all...] |
/external/python/cpython3/Lib/unittest/test/ |
test_skipping.py | 13 result = LoggingResult(events) 15 test.run(result) 17 self.assertEqual(result.skipped, [(test, "skip")]) 25 result = LoggingResult(events) 27 test.run(result) 29 self.assertEqual(result.skipped, [(test, "testing")]) 30 self.assertEqual(result.testsRun, 1) 41 result = LoggingResult(events) 43 test.run(result) 46 self.assertEqual(len(result.skipped), 3 [all...] |
test_result.py | 16 result = ['A traceback'] 18 result.append('locals') 19 return result 22 unittest.result.traceback = traceback 36 result = unittest.TestResult() 38 self.assertTrue(result.wasSuccessful()) 39 self.assertEqual(len(result.errors), 0) 40 self.assertEqual(len(result.failures), 0) 41 self.assertEqual(result.testsRun, 0) 42 self.assertEqual(result.shouldStop, False [all...] |
/external/clang/test/CodeGenCXX/ |
condition.cpp | 245 int result; local 254 if (f(x)) { result = 2; } else { result = 3; } 262 while (f(x)) { result = 4; } 275 for (; f(x); f(x), result = 5) { 276 result = 6; 287 result = 7; 291 result = 8; 301 result = 9; 310 result = 10 [all...] |
/external/elfutils/libelf/ |
elf_newdata.c | 43 Elf_Data_List *result = NULL; local 90 result = &scn->data_list; 91 result->flags = ELF_F_DIRTY; 109 result = (Elf_Data_List *) calloc (1, sizeof (Elf_Data_List)); 110 if (result == NULL) 116 result->flags = ELF_F_DIRTY | ELF_F_MALLOCED; 120 result->data.d.d_version = __libelf_version; 122 result->data.s = scn; 126 scn->data_list_rear->next = result; 128 scn->data_list_rear = result; [all...] |
/external/google-breakpad/src/testing/gtest/src/ |
gtest-test-part.cc | 58 std::ostream& operator<<(std::ostream& os, const TestPartResult& result) { 60 << result.file_name() << ":" << result.line_number() << ": " 61 << (result.type() == TestPartResult::kSuccess ? "Success" : 62 result.type() == TestPartResult::kFatalFailure ? "Fatal failure" : 64 << result.message() << std::endl; 68 void TestPartResultArray::Append(const TestPartResult& result) { 69 array_.push_back(result); 102 const TestPartResult& result) { 103 if (result.fatally_failed() [all...] |
/external/googletest/googletest/src/ |
gtest-test-part.cc | 58 std::ostream& operator<<(std::ostream& os, const TestPartResult& result) { 60 << result.file_name() << ":" << result.line_number() << ": " 61 << (result.type() == TestPartResult::kSuccess ? "Success" : 62 result.type() == TestPartResult::kFatalFailure ? "Fatal failure" : 64 << result.message() << std::endl; 68 void TestPartResultArray::Append(const TestPartResult& result) { 69 array_.push_back(result); 102 const TestPartResult& result) { 103 if (result.fatally_failed() [all...] |
/external/guava/guava-tests/benchmark/com/google/common/hash/ |
ChecksumBenchmark.java | 58 byte result = 0x01; 62 result ^= checksum.getValue(); 64 return result; 74 byte result = 0x01; 78 result ^= checksum.getValue(); 80 return result; 86 byte result = 0x01; 88 result ^= Hashing.crc32().hashInt(reps).asBytes()[0]; 89 result ^= Hashing.adler32().hashInt(reps).asBytes()[0]; 91 result ^= hashFunction.hashBytes(testBytes).asBytes()[0] [all...] |
/external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/ |
BaseDescriptionTest.java | 9 private final StringBuilder result = new StringBuilder(); field in class:BaseDescriptionTest 13 result.append(c); 20 assertEquals("null", result.toString()); 26 assertEquals("\"foo\"", result.toString()); 32 assertEquals("\"f\"", result.toString()); 38 assertEquals("<2s>", result.toString()); 44 assertEquals("<2L>", result.toString()); 50 assertEquals("<1.2F>", result.toString()); 56 assertEquals("[\"2\", \"3\"]", result.toString()); 63 assertEquals("<" + value.toString() + ">", result.toString()) [all...] |
/external/libchrome/base/ |
rand_util.cc | 23 // |range| is at most UINT_MAX + 1, so the result of RandGenerator(range) 25 int result = local 27 DCHECK_GE(result, min); 28 DCHECK_LE(result, max); 29 return result; 46 double result = ldexp(static_cast<double>(random_bits), -1 * kBits); local 47 DCHECK_GE(result, 0.0); 48 DCHECK_LT(result, 1.0); 49 return result; 56 // MAX_UINT64 was 7 and |range| was 5, then a result of 1 would be twic 71 std::string result; local [all...] |
/external/libvpx/libvpx/third_party/googletest/src/src/ |
gtest-test-part.cc | 58 std::ostream& operator<<(std::ostream& os, const TestPartResult& result) { 60 << result.file_name() << ":" << result.line_number() << ": " 61 << (result.type() == TestPartResult::kSuccess ? "Success" : 62 result.type() == TestPartResult::kFatalFailure ? "Fatal failure" : 64 << result.message() << std::endl; 68 void TestPartResultArray::Append(const TestPartResult& result) { 69 array_.push_back(result); 102 const TestPartResult& result) { 103 if (result.fatally_failed() [all...] |
/external/llvm/utils/unittest/googletest/src/ |
gtest-test-part.cc | 58 std::ostream& operator<<(std::ostream& os, const TestPartResult& result) { 60 << result.file_name() << ":" << result.line_number() << ": " 61 << (result.type() == TestPartResult::kSuccess ? "Success" : 62 result.type() == TestPartResult::kFatalFailure ? "Fatal failure" : 64 << result.message() << std::endl; 68 void TestPartResultArray::Append(const TestPartResult& result) { 69 array_.push_back(result); 102 const TestPartResult& result) { 103 if (result.fatally_failed() [all...] |
/external/mesa3d/src/gtest/src/ |
gtest-test-part.cc | 58 std::ostream& operator<<(std::ostream& os, const TestPartResult& result) { 60 << result.file_name() << ":" << result.line_number() << ": " 61 << (result.type() == TestPartResult::kSuccess ? "Success" : 62 result.type() == TestPartResult::kFatalFailure ? "Fatal failure" : 64 << result.message() << std::endl; 68 void TestPartResultArray::Append(const TestPartResult& result) { 69 array_.push_back(result); 102 const TestPartResult& result) { 103 if (result.fatally_failed() [all...] |
/external/protobuf/gtest/src/ |
gtest-test-part.cc | 58 std::ostream& operator<<(std::ostream& os, const TestPartResult& result) { 60 << result.file_name() << ":" << result.line_number() << ": " 61 << (result.type() == TestPartResult::kSuccess ? "Success" : 62 result.type() == TestPartResult::kFatalFailure ? "Fatal failure" : 64 << result.message() << std::endl; 68 void TestPartResultArray::Append(const TestPartResult& result) { 69 array_.push_back(result); 102 const TestPartResult& result) { 103 if (result.fatally_failed() [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/representer/ |
DumpStackTraceTest.java | 29 String result = yaml.dump(input); local 30 // System.out.println(result); 31 assertEquals(result, yaml.dump(yaml.load(result))); 41 String result = yaml.dump(input); local 42 // System.out.println(result); 43 assertEquals(result, yaml.dump(yaml.load(result))); 51 String result = yaml.dump(input); local 52 // System.out.println(result); 59 String result = (String) yaml.dump(input); local [all...] |