/third_party/skia/bench/ |
H A D | StrokeBench.cpp | 36 SkPath result; variable 37 paint.getFillPath(fPath, &result, nullptr, fRes);
|
/third_party/rust/crates/os_str_bytes/src/windows/ |
H A D | mod.rs | 15 use std::result; 60 type Result<T> = result::Result<T, EncodingError>; 65 // Collecting an iterator into a result ignores the size hint: in from_bytes()
|
/third_party/rust/crates/os_str_bytes/tests/ |
H A D | common.rs | 18 use std::result; 26 pub(crate) type Result<T> = result::Result<T, EncodingError>; 33 fn test_from_bytes<'a, T, U, S>(result: &Result<U>, string: S) in test_from_bytes() 40 result.as_ref().map(AsRef::as_ref), in test_from_bytes()
|
/third_party/rust/crates/nix/src/sys/ |
H A D | signalfd.rs | 51 Errno::result(libc::signalfd( in signalfd() 107 let res = Errno::result(unsafe { in read_signal()
|
/third_party/spirv-tools/test/diff/ |
H A D | diff_test.cpp | 218 spv_result_t result = in TEST() local 220 ASSERT_EQ(result, SPV_SUCCESS); in TEST()
|
/third_party/vk-gl-cts/modules/gles3/ |
H A D | tes3InfoTests.cpp | 57 const char* result = (const char*)gl.getString(m_query); in iterate() local 61 m_testCtx.getLog() << tcu::TestLog::Message << result << tcu::TestLog::EndMessage; in iterate()
|
/third_party/vk-gl-cts/modules/gles31/ |
H A D | tes31InfoTests.cpp | 57 const char* result = (const char*)gl.getString(m_query); in iterate() local 61 m_testCtx.getLog() << tcu::TestLog::Message << result << tcu::TestLog::EndMessage; in iterate()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | crypto_internal-modexp.c | 92 u8 *result, size_t *result_len) in crypto_mod_exp() 114 ret = bignum_get_unsigned_bin(bn_result, result, result_len); in crypto_mod_exp() 89 crypto_mod_exp(const u8 *base, size_t base_len, const u8 *power, size_t power_len, const u8 *modulus, size_t modulus_len, u8 *result, size_t *result_len) crypto_mod_exp() argument
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuDefs.hpp | 66 //! Base exception class for test exceptions that affect test result 70 TestException (const char* message, const char* expr, const char* file, int line, qpTestResult result); 71 TestException (const std::string& message, qpTestResult result);
|
/third_party/vk-gl-cts/modules/gles2/ |
H A D | tes2InfoTests.cpp | 57 const char* result = (const char*)gl.getString(m_query); in iterate() local 61 m_testCtx.getLog() << tcu::TestLog::Message << result << tcu::TestLog::EndMessage; in iterate()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | crypto_internal-modexp.c | 92 u8 *result, size_t *result_len) in crypto_mod_exp() 114 ret = bignum_get_unsigned_bin(bn_result, result, result_len); in crypto_mod_exp() 89 crypto_mod_exp(const u8 *base, size_t base_len, const u8 *power, size_t power_len, const u8 *modulus, size_t modulus_len, u8 *result, size_t *result_len) crypto_mod_exp() argument
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/text/ |
H A D | span_string_test_ng.cpp | 1505 std::vector<uint8_t> result = { 0x25, 0x2, 0x20, 0x2, 0x66, 0x31, 0x20, 0x2, 0x66, 0x32 }; in HWTEST_F() local 1507 EXPECT_TRUE(buffer == result); in HWTEST_F() 1532 std::vector<uint8_t> result = { 0x23, 0x21, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x40, 0x22, 0xff, 0x0, 0x0, 0x0, 0x0, in HWTEST_F() local 1535 EXPECT_TRUE(buffer == result); in HWTEST_F() 1569 std::vector<uint8_t> result = { 0x29, 0x2, 0x20, 0x2, 0x66, 0x31, 0x1, 0x20, 0x2, 0x66, 0x32, 0x2 }; in HWTEST_F() local 1571 EXPECT_TRUE(buffer == result); in HWTEST_F() 1593 std::vector<uint8_t> result = { 0x27, 0x24, 0x21, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x40, 0x1, 0x24, 0x21, 0x0, in HWTEST_F() local 1597 EXPECT_TRUE(buffer == result); in HWTEST_F() 1617 std::vector<uint8_t> result = { 0x28, 0x0 }; in HWTEST_F() local 1619 EXPECT_TRUE(buffer == result); in HWTEST_F() 1640 std::vector<uint8_t> result = { 0x2a, 0x24, 0x21, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x20, 0x40, 0x0 }; HWTEST_F() local 1662 std::vector<uint8_t> result = { 0x2b, 0x20, 0x0, 0x24, 0x21, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x20, 0x40, 0x0 }; HWTEST_F() local 1684 std::vector<uint8_t> result = { 0x42, 0x43, 0x2a, 0x24, 0x21, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4e, 0x40, 0x1, 0x44, HWTEST_F() local 1711 std::vector<uint8_t> result = { 0x46, 0x49, 0x2b, 0x20, 0x0, 0x24, 0x21, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x14, 0x40, HWTEST_F() local 1746 std::vector<uint8_t> result = { 0x3a, 0x3c, 0x2c, 0x3, 0x3d, 0x2d, 0x2, 0x3e, 0x46, 0x49, 0x2b, 0x20, 0x0, 0x24, HWTEST_F() local 1778 std::vector<uint8_t> result = { 0x4c, 0x24, 0x21, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x28, 0x40, 0x0, 0x24, 0x21, 0x0, HWTEST_F() local [all...] |
/foundation/distributeddatamgr/udmf/framework/ndkimpl/unittest/ |
H A D | udmf_test.cpp | 1082 int result = OH_UdmfProperty_SetTag(properties, tag.c_str());
in HWTEST_F() local 1083 EXPECT_EQ(UDMF_E_OK, result);
in HWTEST_F() 1098 int result = OH_UdmfProperty_SetShareOption(properties, Udmf_ShareOption::SHARE_OPTIONS_IN_APP);
in HWTEST_F() local 1099 EXPECT_EQ(UDMF_E_OK, result);
in HWTEST_F() 1114 int result = OH_UdmfProperty_SetShareOption(properties, Udmf_ShareOption::SHARE_OPTIONS_CROSS_APP);
in HWTEST_F() local 1115 EXPECT_EQ(UDMF_E_OK, result);
in HWTEST_F() 1141 int result = OH_UdmfProperty_SetExtrasIntParam(properties, "keyInt", 0);
in HWTEST_F() local 1142 EXPECT_EQ(UDMF_E_OK, result);
in HWTEST_F() 1158 int result = OH_UdmfProperty_SetExtrasStringParam(properties, "keyStr", str.c_str());
in HWTEST_F() local 1159 EXPECT_EQ(UDMF_E_OK, result);
in HWTEST_F() 1506 int result = OH_UdmfData_GetPrimaryPlainText(nullptr, nullptr); HWTEST_F() local 1540 int result = OH_UdmfData_GetPrimaryPlainText(data, plainTextOutput); HWTEST_F() local 1661 int result = OH_UdmfData_GetPrimaryHtml(data, htmlOutput); HWTEST_F() local 1747 int result = OH_UdmfData_GetRecordCount(nullptr); HWTEST_F() local 1785 OH_UdmfRecord *result = OH_UdmfData_GetRecord(nullptr, -1); HWTEST_F() local 1883 bool result = OH_UdmfData_IsLocal(nullptr); HWTEST_F() local [all...] |
/kernel/linux/linux-5.10/arch/x86/kvm/ |
H A D | lapic.c | 468 int result; in apic_find_highest_irr() local 477 result = apic_search_irr(apic); in apic_find_highest_irr() 478 ASSERT(result == -1 || result >= 16); in apic_find_highest_irr() 480 return result; in apic_find_highest_irr() 538 int result; in apic_find_highest_isr() local 549 result = find_highest_vector(apic->regs + APIC_ISR); in apic_find_highest_isr() 550 ASSERT(result == -1 || result >= 16); in apic_find_highest_isr() 552 return result; in apic_find_highest_isr() 1069 int result = 0; __apic_accept_irq() local 1387 u32 result; kvm_lapic_reg_read() local [all...] |
/kernel/linux/linux-6.6/arch/x86/kvm/ |
H A D | lapic.c | 708 int result; in apic_find_highest_irr() local 717 result = apic_search_irr(apic); in apic_find_highest_irr() 718 ASSERT(result == -1 || result >= 16); in apic_find_highest_irr() 720 return result; in apic_find_highest_irr() 770 int result; in apic_find_highest_isr() local 781 result = find_highest_vector(apic->regs + APIC_ISR); in apic_find_highest_isr() 782 ASSERT(result == -1 || result >= 16); in apic_find_highest_isr() 784 return result; in apic_find_highest_isr() 1295 int result = 0; __apic_accept_irq() local 1650 u32 result; kvm_lapic_reg_read() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/arm/ |
H A D | fas216.c | 405 static void fas216_done(FAS216_Info *info, unsigned int result); 1984 unsigned int result) in fas216_devicereset_done() 1997 * @result: driver byte of result 2002 unsigned int result) in fas216_rq_sns_done() 2007 "request sense complete, result=0x%04x%02x%02x", in fas216_rq_sns_done() 2008 result, scsi_pointer->Message, scsi_pointer->Status); in fas216_rq_sns_done() 2010 if (result != DID_OK || scsi_pointer->Status != SAM_STAT_GOOD) in fas216_rq_sns_done() 2020 * Note that we don't set SCpnt->result, since that should in fas216_rq_sns_done() 2033 * @result 1983 fas216_devicereset_done(FAS216_Info *info, struct scsi_cmnd *SCpnt, unsigned int result) fas216_devicereset_done() argument 2001 fas216_rq_sns_done(FAS216_Info *info, struct scsi_cmnd *SCpnt, unsigned int result) fas216_rq_sns_done() argument 2038 fas216_std_done(FAS216_Info *info, struct scsi_cmnd *SCpnt, unsigned int result) fas216_std_done() argument 2138 fas216_done(FAS216_Info *info, unsigned int result) fas216_done() argument 2209 int result; fas216_queue_command_internal() local 2429 int result = FAILED; fas216_eh_abort() local [all...] |
/third_party/backends/backend/ |
H A D | canon.c | 318 sense_handler (int scsi_fd, u_char * result, void *arg) in sense_handler() argument 327 DBG (11, "%s(%ld, %p, %p)\n", me, (long) scsi_fd, (void *) result, in sense_handler() 330 "%02x %02x %02x %02x %02x %02x\n", result[0], result[1], result[2], in sense_handler() 331 result[3], result[4], result[5], result[6], result[ in sense_handler() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/math/ |
H A D | BigDecimal.java | 121 * object is shown as the result of invoking the <code>toString()</code> method on the object. The internal 122 * representation of a decimal number is neither defined nor exposed, and is not permitted to affect the result of any 160 * object whose value is the result of adding <code>award</code> and <code>extra</code> under the appropriate context 163 * When a <code>BigDecimal</code> operator method is used, a set of rules define what the result will be (and, by 164 * implication, how the result would be represented as a character string). These rules are defined in the BigDecimal 168 * <code>MathContext</code> parameter for an operation were <code>MathContext.DEFAULT</code> then the result would be 169 * rounded to 9 digits; the division of 2 by 3 would then result in 0.666666667. <br> 176 * In standard arithmetic (that is, when the <code>form</code> setting is not <code>PLAIN</code>), a zero result is 191 * where the value on the right of the <code>=></code> would be the result of the operation, expressed as a 196 * In standard arithmetic, exponential form is used for a result dependin [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | ULocale.java | 828 // Normalize the result value: in compareTo() 857 List<ULocale> result; in getAvailableLocalesByType() 859 result = new ArrayList<>(); in getAvailableLocalesByType() 860 Collections.addAll(result, in getAvailableLocalesByType() 862 Collections.addAll(result, in getAvailableLocalesByType() 865 result = Arrays.asList(ICUResourceBundle.getAvailableULocales(type)); in getAvailableLocalesByType() 867 return Collections.unmodifiableList(result); in getAvailableLocalesByType() 1303 String result = lscvToID(language, script, region, in replace() 1307 ULocale temp = new ULocale(result + extensions); in replace() 1326 result in replace() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/translit/ |
H A D | TransliteratorTest.java | 781 String result = rsource.toString(); in TestPositionHandling() 785 result, in TestPositionHandling() 786 result.equals(exp), in TestPositionHandling() 1153 // Round trip the result of toRules in TestCompoundRBT() 1213 * cyrillic, then lowercase the result. The filter should say "don't 1214 * touch 'A' in the original". But because an intermediate result 1745 // Col. 4 = exp result in TestCompoundFilterID() 2954 String result = anyLatin.transliterate(testString.toString()); in TestAny() 2955 logln("Sample result for Any-Latin: " + result); in TestAny() 3858 expectAux(String tag, String source, String result, String expectedResult) expectAux() argument 3865 expectAux(String tag, String source, String result, boolean pass, String expectedResult) expectAux() argument [all...] |
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
H A D | TransliteratorTest.java | 778 String result = rsource.toString(); in TestPositionHandling() 782 result, in TestPositionHandling() 783 result.equals(exp), in TestPositionHandling() 1150 // Round trip the result of toRules in TestCompoundRBT() 1210 * cyrillic, then lowercase the result. The filter should say "don't 1211 * touch 'A' in the original". But because an intermediate result 1742 // Col. 4 = exp result in TestCompoundFilterID() 2951 String result = anyLatin.transliterate(testString.toString()); in TestAny() 2952 logln("Sample result for Any-Latin: " + result); in TestAny() 3858 expectAux(String tag, String source, String result, String expectedResult) expectAux() argument 3865 expectAux(String tag, String source, String result, boolean pass, String expectedResult) expectAux() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/math/ |
H A D | BigDecimal.java | 122 * object is shown as the result of invoking the <code>toString()</code> method on the object. The internal 123 * representation of a decimal number is neither defined nor exposed, and is not permitted to affect the result of any 161 * object whose value is the result of adding <code>award</code> and <code>extra</code> under the appropriate context 164 * When a <code>BigDecimal</code> operator method is used, a set of rules define what the result will be (and, by 165 * implication, how the result would be represented as a character string). These rules are defined in the BigDecimal 169 * <code>MathContext</code> parameter for an operation were <code>MathContext.DEFAULT</code> then the result would be 170 * rounded to 9 digits; the division of 2 by 3 would then result in 0.666666667. <br> 177 * In standard arithmetic (that is, when the <code>form</code> setting is not <code>PLAIN</code>), a zero result is 192 * where the value on the right of the <code>=></code> would be the result of the operation, expressed as a 197 * In standard arithmetic, exponential form is used for a result dependin [all...] |
/third_party/python/Lib/test/ |
H A D | test_lzma.py | 829 result = f.read(10) 830 if not result: 832 self.assertLessEqual(len(result), 10) 833 chunks.append(result) 915 result = f.read1() 916 if not result: 918 blocks.append(result) 930 result = f.read1(10) 931 if not result: 933 blocks.append(result) [all...] |
/third_party/python/Modules/_io/ |
H A D | textio.c | 266 "decoder should return a string result, not '%.200s'", in check_decoded() 1823 /* Read a chunk, decode it, and put the result in self._decoded_chars. */ in textiowrapper_read_chunk() 1901 PyObject *result = NULL, *chunks = NULL; in _io_TextIOWrapper_read_impl() local 1929 result = textiowrapper_get_decoded_chars(self, -1); in _io_TextIOWrapper_read_impl() 1931 if (result == NULL) { in _io_TextIOWrapper_read_impl() 1936 PyUnicode_AppendAndDel(&result, decoded); in _io_TextIOWrapper_read_impl() 1937 if (result == NULL) in _io_TextIOWrapper_read_impl() 1942 return result; in _io_TextIOWrapper_read_impl() 1948 result = textiowrapper_get_decoded_chars(self, n); in _io_TextIOWrapper_read_impl() 1949 if (result in _io_TextIOWrapper_read_impl() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineBlendOperationAdvancedTests.cpp | 220 std::ostringstream result; in generateTestName() local 222 result << ((param.testMode == TEST_MODE_COHERENT && !param.coherentOperations) ? "barrier_" : ""); in generateTestName() 223 result << "color_attachments_" << param.colorAttachmentsCount; in generateTestName() 224 result << "_" << de::toLower(getBlendOverlapEXTStr(param.overlap).toString().substr(3)); in generateTestName() 225 result << (!param.premultipliedSrcColor ? "_nonpremultipliedsrc" : ""); in generateTestName() 226 result << (!param.premultipliedDstColor ? "_nonpremultiplieddst" : ""); in generateTestName() 227 result << "_" << param.testNumber; in generateTestName() 229 result << "_r8g8b8a8_unorm"; in generateTestName() 230 return result.str(); in generateTestName() 235 std::string result("Tes in generateTestDescription() 755 Vec4 result = Vec4(0.0f, 0.0f, 0.0f, 1.0f); calculateFinalColor() local [all...] |