Home
last modified time | relevance | path

Searched refs:result (Results 4801 - 4825 of 17105) sorted by relevance

1...<<191192193194195196197198199200>>...685

/kernel/linux/linux-5.10/sound/pci/
H A Dals4000.c307 int result; in snd_als4000_get_format() local
309 result = 0; in snd_als4000_get_format()
311 result |= ALS4000_FORMAT_SIGNED; in snd_als4000_get_format()
313 result |= ALS4000_FORMAT_16BIT; in snd_als4000_get_format()
315 result |= ALS4000_FORMAT_STEREO; in snd_als4000_get_format()
316 return result; in snd_als4000_get_format()
425 int result = 0; in snd_als4000_capture_trigger() local
448 result = -EINVAL; in snd_als4000_capture_trigger()
452 return result; in snd_als4000_capture_trigger()
458 int result in snd_als4000_playback_trigger() local
483 unsigned int result; snd_als4000_capture_pointer() local
495 unsigned result; snd_als4000_playback_pointer() local
[all...]
/kernel/linux/linux-5.10/sound/aoa/soundbus/i2sbus/
H A Dpcm.c82 int result = 0; in i2sbus_pcm_open() local
95 result = -EBUSY; in i2sbus_pcm_open()
121 result = -ENODEV; in i2sbus_pcm_open()
198 result = err; in i2sbus_pcm_open()
205 result = err; in i2sbus_pcm_open()
224 return result; in i2sbus_pcm_open()
333 int result = 0; in i2sbus_pcm_prepare() local
341 result = -EBUSY; in i2sbus_pcm_prepare()
348 result = -EINVAL; in i2sbus_pcm_prepare()
357 result in i2sbus_pcm_prepare()
534 int result = 0; i2sbus_pcm_trigger() local
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/
H A Ddib0700_core.c170 int result, i; in dib0700_i2c_xfer_new() local
206 result = usb_control_msg(d->udev, in dib0700_i2c_xfer_new()
213 if (result < 0) { in dib0700_i2c_xfer_new()
214 deb_info("i2c read error (status = %d)\n", result); in dib0700_i2c_xfer_new()
221 result = -EIO; in dib0700_i2c_xfer_new()
234 result = -EINTR; in dib0700_i2c_xfer_new()
249 result = -EIO; in dib0700_i2c_xfer_new()
259 result = usb_control_msg(d->udev, in dib0700_i2c_xfer_new()
266 if (result < 0) { in dib0700_i2c_xfer_new()
267 deb_info("i2c write error (status = %d)\n", result); in dib0700_i2c_xfer_new()
287 int i, len, result; dib0700_i2c_xfer_legacy() local
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb/
H A Ddib0700_core.c170 int result, i; in dib0700_i2c_xfer_new() local
206 result = usb_control_msg(d->udev, in dib0700_i2c_xfer_new()
213 if (result < 0) { in dib0700_i2c_xfer_new()
214 deb_info("i2c read error (status = %d)\n", result); in dib0700_i2c_xfer_new()
221 result = -EIO; in dib0700_i2c_xfer_new()
234 result = -EINTR; in dib0700_i2c_xfer_new()
249 result = -EIO; in dib0700_i2c_xfer_new()
259 result = usb_control_msg(d->udev, in dib0700_i2c_xfer_new()
266 if (result < 0) { in dib0700_i2c_xfer_new()
267 deb_info("i2c write error (status = %d)\n", result); in dib0700_i2c_xfer_new()
287 int i, len, result; dib0700_i2c_xfer_legacy() local
[all...]
/kernel/linux/linux-6.6/drivers/platform/chrome/
H A Dcros_ec_proto.c41 static int cros_ec_map_error(uint32_t result) in cros_ec_map_error() argument
45 if (result != EC_RES_SUCCESS) { in cros_ec_map_error()
46 if (result < ARRAY_SIZE(cros_ec_error_map) && cros_ec_error_map[result]) in cros_ec_map_error()
47 ret = cros_ec_error_map[result]; in cros_ec_map_error()
137 static int cros_ec_wait_until_complete(struct cros_ec_device *ec_dev, uint32_t *result) in cros_ec_wait_until_complete() argument
162 *result = msg->result; in cros_ec_wait_until_complete()
163 if (msg->result != EC_RES_SUCCESS) in cros_ec_wait_until_complete()
185 if (msg->result in cros_ec_send_command()
[all...]
/kernel/linux/linux-6.6/drivers/thermal/
H A Dthermal_sysfs.c66 int result; in mode_store() local
69 result = thermal_zone_device_enable(tz); in mode_store()
71 result = thermal_zone_device_disable(tz); in mode_store()
73 result = -EINVAL; in mode_store()
75 if (result) in mode_store()
76 return result; in mode_store()
87 int trip_id, result; in trip_point_type_show() local
95 result = __thermal_zone_get_trip(tz, trip_id, &trip); in trip_point_type_show()
97 result = -ENODEV; in trip_point_type_show()
101 if (result) in trip_point_type_show()
545 int i, size, result; thermal_zone_create_device_groups() local
620 int result; cur_state_store() local
[all...]
/kernel/linux/linux-6.6/sound/aoa/soundbus/i2sbus/
H A Dpcm.c82 int result = 0; in i2sbus_pcm_open() local
95 result = -EBUSY; in i2sbus_pcm_open()
121 result = -ENODEV; in i2sbus_pcm_open()
198 result = err; in i2sbus_pcm_open()
205 result = err; in i2sbus_pcm_open()
224 return result; in i2sbus_pcm_open()
333 int result = 0; in i2sbus_pcm_prepare() local
341 result = -EBUSY; in i2sbus_pcm_prepare()
348 result = -EINVAL; in i2sbus_pcm_prepare()
357 result in i2sbus_pcm_prepare()
534 int result = 0; i2sbus_pcm_trigger() local
[all...]
/kernel/linux/linux-6.6/sound/pci/
H A Dals4000.c306 int result; in snd_als4000_get_format() local
308 result = 0; in snd_als4000_get_format()
310 result |= ALS4000_FORMAT_SIGNED; in snd_als4000_get_format()
312 result |= ALS4000_FORMAT_16BIT; in snd_als4000_get_format()
314 result |= ALS4000_FORMAT_STEREO; in snd_als4000_get_format()
315 return result; in snd_als4000_get_format()
424 int result = 0; in snd_als4000_capture_trigger() local
447 result = -EINVAL; in snd_als4000_capture_trigger()
451 return result; in snd_als4000_capture_trigger()
457 int result in snd_als4000_playback_trigger() local
482 unsigned int result; snd_als4000_capture_pointer() local
494 unsigned result; snd_als4000_playback_pointer() local
[all...]
/third_party/googletest/googletest/test/
H A Dgoogletest-death-test-test.cc1242 BiggestParsable result = 0; in TEST() local
1245 EXPECT_FALSE(ParseNaturalNumber("non-number string", &result)); in TEST()
1248 EXPECT_FALSE(ParseNaturalNumber(" 123", &result)); in TEST()
1251 EXPECT_FALSE(ParseNaturalNumber("-123", &result)); in TEST()
1254 EXPECT_FALSE(ParseNaturalNumber("+123", &result)); in TEST()
1259 BiggestParsable result = 0; in TEST() local
1261 EXPECT_FALSE(ParseNaturalNumber("99999999999999999999999", &result)); in TEST()
1269 BiggestParsable result = 0; in TEST() local
1271 result = 0; in TEST()
1272 ASSERT_TRUE(ParseNaturalNumber("123", &result)); in TEST()
1289 BiggestParsable result = 0; TEST() local
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/normalizer/
H A DUTS46Test.java51 StringBuilder result=new StringBuilder(); in TestAPI()
55 trans.nameToASCII(input, result, info); in TestAPI()
56 if(info.hasErrors() || !UTF16Plus.equal(result, expected)) { in TestAPI()
57 errln(String.format("T.nameToASCII(www.example.com) info.errors=%s result matches=%b", in TestAPI()
58 info.getErrors(), UTF16Plus.equal(result, expected))); in TestAPI()
62 nontrans.labelToASCII(input, result, info); in TestAPI()
64 !UTF16Plus.equal(result, expected) in TestAPI()
71 String resultString=trans.nameToUnicode("fA\u00DF.de", result, info).toString(); in TestAPI()
73 errln(String.format("T.nameToUnicode(fA\u00DF.de) info.errors=%s result matches=%b", in TestAPI()
77 nontrans.labelToUnicode(result, resul in TestAPI()
733 checkIdnaTestResult(String line, String type, String expected, CharSequence result, String status, IDNA.Info info) checkIdnaTestResult() argument
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Dzonemeta.cpp496 // Cache the result in getCanonicalCountry()
548 ZoneMeta::getMetazoneID(const UnicodeString &tzid, UDate date, UnicodeString &result) { in getMetazoneID() argument
555 result.setTo(mzm->mzid, -1); in getMetazoneID()
562 result.setToBogus(); in getMetazoneID()
564 return result; in getMetazoneID()
595 const UVector *result = nullptr; in getMetazoneMappings() local
599 result = (UVector*) uhash_get(gOlsonToMeta, tzidUChars); in getMetazoneMappings()
603 if (result != nullptr) { in getMetazoneMappings()
604 return result; in getMetazoneMappings()
618 result in getMetazoneMappings()
731 getZoneIdByMetazone(const UnicodeString &mzid, const UnicodeString &region, UnicodeString &result) getZoneIdByMetazone() argument
[all...]
/third_party/icu/icu4c/source/i18n/
H A Dzonemeta.cpp466 // Cache the result in getCanonicalCountry()
518 ZoneMeta::getMetazoneID(const UnicodeString &tzid, UDate date, UnicodeString &result) { in getMetazoneID() argument
525 result.setTo(mzm->mzid, -1); in getMetazoneID()
532 result.setToBogus(); in getMetazoneID()
534 return result; in getMetazoneID()
565 const UVector *result = NULL; in getMetazoneMappings() local
569 result = (UVector*) uhash_get(gOlsonToMeta, tzidUChars); in getMetazoneMappings()
573 if (result != NULL) { in getMetazoneMappings()
574 return result; in getMetazoneMappings()
588 result in getMetazoneMappings()
701 getZoneIdByMetazone(const UnicodeString &mzid, const UnicodeString &region, UnicodeString &result) getZoneIdByMetazone() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
H A DvktSampleVerifier.cpp449 bool SampleVerifier::verifySampleFiltered (const Vec4& result,
553 if (isInRange(result, idealSampleMin, idealSampleMax))
565 if (isInRange(result, idealSampleHiMin, idealSampleHiMax))
579 const Vec4& result,
614 if (isInRange(result, idealMin, idealMax))
625 if (verifySampleFiltered(result, baseTexel[0], baseTexel[1], texelGridOffset[0], texelGridOffset[1], layer, level, Vec2(0.0f, 0.0f), VK_FILTER_LINEAR, VK_SAMPLER_MIPMAP_MODE_NEAREST, report))
638 if (verifySampleFiltered(result, baseTexel[0], baseTexel[1], texelGridOffset[0], texelGridOffset[1], layer, level, lodFracBounds, m_samplerParams.minFilter, VK_SAMPLER_MIPMAP_MODE_LINEAR, report))
643 if (verifySampleFiltered(result, baseTexel[0], baseTexel[1], texelGridOffset[0], texelGridOffset[1], layer, level, Vec2(0.0f, 0.0f), VK_FILTER_LINEAR, VK_SAMPLER_MIPMAP_MODE_NEAREST, report))
655 if (isInRange(result, idealMin, idealMax))
670 const Vec4& result,
[all...]
/third_party/skia/third_party/externals/sfntly/java/lib/
H A Djcommander-1.27.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/beust/ com/beust/jcommander/ com/beust/jcommander/converters/ ...
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dzonemeta.cpp474 // Cache the result in getCanonicalCountry()
526 ZoneMeta::getMetazoneID(const UnicodeString &tzid, UDate date, UnicodeString &result) { in getMetazoneID() argument
533 result.setTo(mzm->mzid, -1); in getMetazoneID()
540 result.setToBogus(); in getMetazoneID()
542 return result; in getMetazoneID()
573 const UVector *result = NULL; in getMetazoneMappings() local
577 result = (UVector*) uhash_get(gOlsonToMeta, tzidUChars); in getMetazoneMappings()
581 if (result != NULL) { in getMetazoneMappings()
582 return result; in getMetazoneMappings()
596 result in getMetazoneMappings()
718 getZoneIdByMetazone(const UnicodeString &mzid, const UnicodeString &region, UnicodeString &result) getZoneIdByMetazone() argument
[all...]
/third_party/skia/third_party/externals/dawn/generator/templates/dawn_wire/
H A DWireCmd.cpp143 size_t result = 0; variable
148 result += GetChainedStructExtraRequiredSize(record.nextInChain);
161 result += std::strlen(record.{{memberName}});
173 result += memberLength * {{member_transfer_sizeof(member)}};
178 result += {{as_cType(member.type.name)}}GetExtraRequiredSize(record.{{as_varName(member.name)}}[i]);
182 result += {{as_cType(member.type.name)}}GetExtraRequiredSize(record.{{as_varName(member.name)}});
187 return result;
492 size_t result = 0;
502 result += sizeof({{as_cType(sType.name)}}Transfer);
503 result
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_node/tools/src/cmd/run-cts/
H A Dmain.go126 flag.StringVar(&logFilename, "log", "", "path to log file of tests run and result")
271 resultByIndex map[int]result
276 return logger{writer, 0, map[int]result{}}
280 // logResult should be called whenever a new test result becomes available.
281 func (l *logger) logResults(res result) {
455 results := make(chan result, len(r.testcases))
464 results <- result{
482 // The result of the test run is written to the results chan.
485 func (r *runner) runServer(caseIndices <-chan int, results chan<- result) error {
550 res := result{inde
739 type result struct { global() type
[all...]
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DByteStringTest.java63 byte[] result = new byte[size]; in getTestBytes()
64 random.nextBytes(result); in getTestBytes()
65 return result; in getTestBytes()
249 "reading an empty stream must result in the EMPTY constant byte string", in testReadFrom_emptyStream()
844 byte[] result = substringUsingWriteTo(left, 1, 1); in testWriteToOutputStream()
845 assertEquals(1, result.length); in testWriteToOutputStream()
846 assertEquals((byte) 11, result[0]); in testWriteToOutputStream()
857 result = substringUsingWriteTo(root, 0, dataSize); in testWriteToOutputStream()
858 assertEquals(dataSize, result.length); in testWriteToOutputStream()
859 assertEquals((byte) 1, result[ in testWriteToOutputStream()
[all...]
/third_party/python/Lib/ctypes/test/
H A Dtest_structures.py520 result = func(s)
521 self.assertEqual(result, expected)
533 result = func(s)
534 self.assertEqual(result, expected)
549 result = func(s)
550 self.assertAlmostEqual(result, expected, places=6)
616 result = func(test4) variable in StructureTestCase.test_union_by_value.Test5
624 result = func(test5) variable in StructureTestCase.test_union_by_value.Test5
633 result = func(byref(test4))
634 self.assertEqual(result, 1234
686 result = func(test6) global() variable in StructureTestCase.test_bitfield_by_value.Test6
737 result = func(test8) global() variable in StructureTestCase.test_bitfield_by_value.Test8
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dnumbers.cc57 auto result = absl::from_chars(str.data(), str.data() + str.size(), *out); in SimpleAtof() local
58 if (result.ec == std::errc::invalid_argument) { in SimpleAtof()
61 if (result.ptr != str.data() + str.size()) { in SimpleAtof()
67 if (result.ec == std::errc::result_out_of_range) { in SimpleAtof()
88 auto result = absl::from_chars(str.data(), str.data() + str.size(), *out); in SimpleAtod() local
89 if (result.ec == std::errc::invalid_argument) { in SimpleAtod()
92 if (result.ptr != str.data() + str.size()) { in SimpleAtod()
98 if (result.ec == std::errc::result_out_of_range) { in SimpleAtod()
280 // return that number multiplied by the given 32-bit value. If the result is
302 // never be set at the same time, since they are a result o in Mul32()
326 std::pair<uint64_t, uint64_t> result = {num, 0}; PowFive() local
[all...]
H A Dstr_format_test.cc281 int result = in TEST_F() local
283 EXPECT_EQ(result, 30); in TEST_F()
289 int result = FPrintF(stdin, "ABC"); in TEST_F() local
290 EXPECT_LT(result, 0); in TEST_F()
299 int result = FPrintF(f, "%*d %*d", width, 0, width, 0); in TEST_F() local
300 EXPECT_LT(result, 0); in TEST_F()
312 int result = PrintF("STRING: %s NUMBER: %010d", std::string("ABC"), -19); in TEST_F() local
318 EXPECT_EQ(result, 30); in TEST_F()
325 int result = in TEST_F() local
327 EXPECT_EQ(result, 1 in TEST_F()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
H A DvktSampleVerifier.cpp449 bool SampleVerifier::verifySampleFiltered (const Vec4& result,
553 if (isInRange(result, idealSampleMin, idealSampleMax))
565 if (isInRange(result, idealSampleHiMin, idealSampleHiMax))
579 const Vec4& result,
614 if (isInRange(result, idealMin, idealMax))
625 if (verifySampleFiltered(result, baseTexel[0], baseTexel[1], texelGridOffset[0], texelGridOffset[1], layer, level, Vec2(0.0f, 0.0f), VK_FILTER_LINEAR, VK_SAMPLER_MIPMAP_MODE_NEAREST, report))
638 if (verifySampleFiltered(result, baseTexel[0], baseTexel[1], texelGridOffset[0], texelGridOffset[1], layer, level, lodFracBounds, m_samplerParams.minFilter, VK_SAMPLER_MIPMAP_MODE_LINEAR, report))
643 if (verifySampleFiltered(result, baseTexel[0], baseTexel[1], texelGridOffset[0], texelGridOffset[1], layer, level, Vec2(0.0f, 0.0f), VK_FILTER_LINEAR, VK_SAMPLER_MIPMAP_MODE_NEAREST, report))
655 if (isInRange(result, idealMin, idealMax))
670 const Vec4& result,
[all...]
/drivers/hdf_core/framework/support/posix/test/unittest/common/
H A Dhdf_osal_test_posix.cpp36 int32_t result = 0; in HdfOsalUserEntry() local
39 result = OsaTestBegin(0); in HdfOsalUserEntry()
41 result = OsaTestEnd(); in HdfOsalUserEntry()
43 result = OsaTestALLResult(); in HdfOsalUserEntry()
45 result = OsalGetTestResult(cmd); in HdfOsalUserEntry()
51 printf("HdfTestUser:osal test result[%d-%d]", result, cmd); in HdfOsalUserEntry()
53 return result; in HdfOsalUserEntry()
/drivers/peripheral/wlan/wpa/interfaces/hdi_service/service_common/
H A Dhdi_wpa_common.c35 int result = 0; in Hex2Dec() local
38 result <<= HEX_TO_DEC_MOVING; in Hex2Dec()
40 result += *tmp - '0'; in Hex2Dec()
42 result += *tmp - 'A' + DEC_MAX_SCOPE; in Hex2Dec()
44 result += *tmp - 'a' + DEC_MAX_SCOPE; in Hex2Dec()
46 result = 0; in Hex2Dec()
51 return result; in Hex2Dec()
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/mte/
H A Dcheck_child_memory.c87 int run, result; in check_child_memory_mapping() local
98 result = check_child_tag_inheritance(ptr, sizes[run], mode); in check_child_memory_mapping()
100 if (result == KSFT_FAIL) in check_child_memory_mapping()
101 return result; in check_child_memory_mapping()
109 int run, fd, map_size, result = KSFT_PASS; in check_child_file_mapping() local
134 result = check_child_tag_inheritance(ptr, sizes[run], mode); in check_child_file_mapping()
138 if (result != KSFT_PASS) in check_child_file_mapping()

Completed in 26 milliseconds

1...<<191192193194195196197198199200>>...685