/kernel/linux/linux-6.6/drivers/misc/ |
H A D | apds990x.c | 282 * Convert IR light from the latest result to match with in apds990x_lux_to_threshold() 398 /* Let's check can we trust the measured result */ in apds990x_calc_again() 405 * Gain is changed and measurement result is very small. in apds990x_calc_again() 418 * Error means bad result -> re-measurement is needed. The forced in apds990x_calc_again() 419 * refresh uses fastest possible persistence setting to get result in apds990x_calc_again() 627 u32 result; in apds990x_lux_show() local 640 result = (chip->lux * chip->lux_calib) / APDS_CALIB_SCALER; in apds990x_lux_show() 641 if (result > (APDS_RANGE * APDS990X_LUX_OUTPUT_SCALE)) in apds990x_lux_show() 642 result = APDS_RANGE * APDS990X_LUX_OUTPUT_SCALE; in apds990x_lux_show() 645 result / APDS990X_LUX_OUTPUT_SCAL in apds990x_lux_show() [all...] |
/kernel/linux/linux-6.6/drivers/mmc/host/ |
H A D | bcm2835.c | 971 irqreturn_t result = IRQ_NONE; in bcm2835_irq() local 988 result = IRQ_WAKE_THREAD; in bcm2835_irq() 994 result = IRQ_WAKE_THREAD; in bcm2835_irq() 996 result = IRQ_HANDLED; in bcm2835_irq() 1008 result = IRQ_WAKE_THREAD; in bcm2835_irq() 1013 return result; in bcm2835_irq()
|
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | hmdfs_client.c | 693 struct hmdfs_getattr_ret *result) in hmdfs_update_getattr_ret() 695 struct kstat *stat = &result->stat; in hmdfs_update_getattr_ret() 717 result->fsid = le64_to_cpu(resp->fsid); in hmdfs_update_getattr_ret() 719 result->i_flags = 0; in hmdfs_update_getattr_ret() 724 struct hmdfs_getattr_ret *result) in hmdfs_send_getattr() 750 hmdfs_update_getattr_ret(sm.out_buf, result); in hmdfs_send_getattr() 692 hmdfs_update_getattr_ret(struct getattr_response *resp, struct hmdfs_getattr_ret *result) hmdfs_update_getattr_ret() argument 722 hmdfs_send_getattr(struct hmdfs_peer *con, const char *send_buf, unsigned int lookup_flags, struct hmdfs_getattr_ret *result) hmdfs_send_getattr() argument
|
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | sunsab.c | 388 unsigned int result; in sunsab_get_mctrl() local 390 result = 0; in sunsab_get_mctrl() 393 result |= (val & up->pvr_dsr_bit) ? 0 : TIOCM_DSR; in sunsab_get_mctrl() 396 result |= (val & SAB82532_VSTR_CD) ? 0 : TIOCM_CAR; in sunsab_get_mctrl() 399 result |= (val & SAB82532_STAR_CTS) ? TIOCM_CTS : 0; in sunsab_get_mctrl() 401 return result; in sunsab_get_mctrl()
|
/kernel/linux/linux-6.6/drivers/staging/fieldbus/anybuss/ |
H A D | host.c | 271 int result; member 292 t->result = 0; in ab_task_create_get() 364 return t->result; in ab_task_enqueue_wait() 870 t->result = t->task_fn(cd, t); in process_q() 871 if (t->result != -EINPROGRESS) in process_q() 883 if (ret && (t->result != -EINPROGRESS)) in qs_have_work()
|
/kernel/linux/linux-6.6/drivers/usb/gadget/function/ |
H A D | f_hid.c | 1062 int result; \ 1065 result = sprintf(page, "%d\n", opts->name); \ 1068 return result; \ 1110 int result; in f_hid_opts_report_desc_show() local 1113 result = opts->report_desc_length; in f_hid_opts_report_desc_show() 1117 return result; in f_hid_opts_report_desc_show()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/link/ |
H A D | link_detection.c | 167 enum signal_type result; in link_detect_sink_signal_type() local 174 result = get_basic_signal_type(enc_id, link->link_id); in link_detect_sink_signal_type() 178 return result; in link_detect_sink_signal_type() 207 result = SIGNAL_TYPE_DVI_SINGLE_LINK; in link_detect_sink_signal_type() 221 result = SIGNAL_TYPE_DVI_SINGLE_LINK; in link_detect_sink_signal_type() 229 return result; in link_detect_sink_signal_type()
|
/kernel/linux/linux-6.6/drivers/crypto/ |
H A D | img-hash.c | 275 if (!req->result) in img_hash_finish() 278 memcpy(req->result, ctx->digest, ctx->digsize); in img_hash_finish() 575 rctx->fallback_req.result = req->result; in img_hash_final() 591 rctx->fallback_req.result = req->result; in img_hash_finup() 747 "Attempt to read from an empty result queue\n"); in img_irq_handler()
|
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | stb0899_drv.c | 252 int result; in stb0899_read_reg() local 254 result = _stb0899_read_reg(state, reg); in stb0899_read_reg() 264 return result; in stb0899_read_reg() 733 int result; in stb0899_recv_slave_reply() local 745 result = -EOVERFLOW; in stb0899_recv_slave_reply() 758 return result; in stb0899_recv_slave_reply()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_drv.c | 378 * vmw_dummy_query_bo_create - create a bo to hold a dummy query result 383 * result for dummy queries emitted as query barriers. 385 * occlusion query result structure, Finally it will unmap the buffer. 395 volatile SVGA3dQueryResult *result; in vmw_dummy_query_bo_create() local 420 result = ttm_kmap_obj_virtual(&map, &dummy); in vmw_dummy_query_bo_create() 421 result->totalSize = sizeof(*result); in vmw_dummy_query_bo_create() 422 result->state = SVGA3D_QUERYSTATE_PENDING; in vmw_dummy_query_bo_create() 423 result->result32 = 0xff; in vmw_dummy_query_bo_create()
|
/kernel/linux/linux-6.6/tools/testing/selftests/netfilter/ |
H A D | nft_nat.sh | 409 result=$(ip netns exec "$ns0" timeout 1 socat TCP:$daddr:2000 STDOUT) 411 if [ "$result" = "SERVER-inet" ];then 800 local result="" 817 result=$(echo "data" | ip netns exec "$ns1" timeout 1 socat - UDP:"$daddrs":1405,sourceport=41404) 819 if [ "$result" = "$expect" ] ;then 822 echo "ERROR: portshadow test $test: got reply from \"$result\", not $expect as intended"
|
/kernel/liteos_a/fs/vfs/vfs_cmd/ |
H A D | vfs_shellcmd.c | 515 int result; in osShellCmdStatfs() local 529 result = vfs_normalize_path(shell_working_directory, filename, &fullpath); in osShellCmdStatfs() 530 ERROR_OUT_IF(result < 0, set_err(-result, "statfs error"), return -1); in osShellCmdStatfs() 532 result = statfs(fullpath, &sfs); in osShellCmdStatfs() 535 if (result != 0 || sfs.f_type == 0) { in osShellCmdStatfs()
|
/test/xts/hats/hdf/manager/managerHdiTest/ |
H A D | service_manager_hdi_c_test.cpp | 205 int32_t result; in HWTEST_F() local 206 ret = HdfSbufReadInt32(reply, &result); in HWTEST_F() 210 ASSERT_EQ(result, expRes); in HWTEST_F() 359 int32_t result; in HWTEST_F() local 360 ret = HdfSbufReadInt32(reply, &result); in HWTEST_F() 364 ASSERT_EQ(result, expRes); in HWTEST_F()
|
/third_party/ffmpeg/libavcodec/ppc/ |
H A D | h264dsp.c | 403 DECLARE_ALIGNED(16, unsigned char, result)[64]; in write16x4() 404 uint32_t *src_int = (uint32_t *)result, *dst_int = (uint32_t *)dst; in write16x4() 407 vec_st(r0, 0, result); in write16x4() 408 vec_st(r1, 16, result); in write16x4() 409 vec_st(r2, 32, result); in write16x4() 410 vec_st(r3, 48, result); in write16x4()
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_astats.c | 228 unsigned result = s->maxbitdepth; in bit_depth() local 232 for (; result && !(mask & 1); --result, mask >>= 1); in bit_depth() 234 depth->den = result; in bit_depth() 237 for (; result; --result, mask >>= 1) in bit_depth()
|
/third_party/gn/src/base/containers/ |
H A D | flat_tree.h | 751 std::pair<iterator, bool> result = in insert() local 753 if (result.second) { in insert() 755 std::min(pos_first_new, std::distance(begin(), result.first)); in insert() 760 std::pair<iterator, bool> result = in insert() local 762 if (result.second) { in insert() 764 std::min(pos_first_new, std::distance(begin(), result.first)); in insert()
|
/third_party/gn/src/gn/ |
H A D | desc_builder.cc | 102 void RecursiveCollectChildDeps(const Target* target, TargetSet* result); 104 void RecursiveCollectDeps(const Target* target, TargetSet* result) { in RecursiveCollectDeps() argument 105 if (!result->add(target)) in RecursiveCollectDeps() 108 RecursiveCollectChildDeps(target, result); in RecursiveCollectDeps() 111 void RecursiveCollectChildDeps(const Target* target, TargetSet* result) { in RecursiveCollectChildDeps() argument 113 RecursiveCollectDeps(pair.ptr, result); in RecursiveCollectChildDeps()
|
/third_party/backends/backend/ |
H A D | dmc.c | 209 char result[INQ_LEN]; in DMCAttach() local 240 size = sizeof(result); in DMCAttach() 241 status = sanei_scsi_cmd(fd, inquiry, sizeof(inquiry), result, &size); in DMCAttach() 251 if (result[0] != 6 || in DMCAttach() 252 strncmp(result+8, "POLAROID", 8) || in DMCAttach() 253 strncmp(result+16, "DMC ", 8)) { in DMCAttach()
|
H A D | snapscan-sources.c | 517 SANE_Int result = whole_channels*sub_bits_per_channel; in Expander_remaining() local 522 result += sub_bits_per_channel - bits_covered; in Expander_remaining() 525 return result; in Expander_remaining() 697 SANE_Int result = TxSource_remaining(pself); in Deinterlacer_remaining() local 698 result += ps->ch_ndata - ps->ch_pos; in Deinterlacer_remaining() 699 return result; in Deinterlacer_remaining()
|
/third_party/googletest/googletest/include/gtest/ |
H A D | gtest.h | 69 #include "gtest/gtest-assertion-result.h" 401 // The result of a single Test. This includes a list of 444 // Returns the i-th test part result among all the results. i can range from 0 495 // Adds a test part result to the list. 536 // Test result 606 // Returns the result of the test. 607 const TestResult* result() const { return &result_; } in result() function in testing::TestInfo 639 // Creates the test object, runs it, records its result, and then 643 // Skip and records the test result for this object. 816 return test_info->should_run() && test_info->result() in TestPassed() 925 AssertionException(const TestPartResult& result) AssertionException() argument [all...] |
/third_party/googletest/googlemock/include/gmock/ |
H A D | gmock-spec-builders.h | 809 // Adds unsatisfied pre-requisites of this expectation to 'result'. 810 void FindUnsatisfiedPrerequisites(ExpectationSet* result) const 1133 // Describes the result of matching the arguments against this 1376 // Prints the held value as an action's result to os. 1378 void PrintAsActionResult(const T& result, std::ostream& os) { 1381 UniversalPrinter<T>::Print(result, &os); 1453 // arguments and returns the result. Asserts (or throws if 1506 // Returns the result of invoking this mock function with the given 1693 // arguments and returns the action's result. 1717 // Perform the supplied action, printing the result t [all...] |
/third_party/googletest/googletest/include/gtest/internal/ |
H A D | gtest-internal.h | 80 // will result in the token foo__LINE__, instead of foo followed by 443 // ::testing::Test, as the latter may give the wrong result due to a 691 void GenerateNamesRecursively(Types, std::vector<std::string>* result, int i) { in GenerateNamesRecursively() argument 692 result->push_back(NameGenerator::template GetName<typename Types::Head>(i)); in GenerateNamesRecursively() 693 GenerateNamesRecursively<NameGenerator>(typename Types::Tail(), result, in GenerateNamesRecursively() 699 std::vector<std::string> result; in GenerateNames() local 700 GenerateNamesRecursively<NameGenerator>(Types(), &result, 0); in GenerateNames() local 701 return result; in GenerateNames()
|
/third_party/googletest/googletest/test/ |
H A D | googletest-port-test.cc | 1137 std::string result; in TEST() local 1139 make_pair(&thread_local_string, &result)); in TEST() 1140 EXPECT_STREQ("foo", result.c_str()); in TEST() 1273 std::string result; in TEST() local 1275 make_pair(&thread_local_string, &result)); in TEST() 1276 EXPECT_TRUE(result.empty()); in TEST()
|
/third_party/icu/icu4c/source/common/ |
H A D | ucasemap.cpp | 137 /* append a full case mapping result, see UCASE_MAX_STRING_LENGTH */ 139 appendResult(int32_t cpLength, int32_t result, const UChar *s, in appendResult() argument 143 /* decode the result */ in appendResult() 144 if(result<0) { in appendResult() 150 ByteSinkUtil::appendCodePoint(cpLength, ~result, sink); in appendResult() 153 if(result<=UCASE_MAX_STRING_LENGTH) { in appendResult() 154 // string: "result" is the UTF-16 length in appendResult() 155 return ByteSinkUtil::appendChange(cpLength, s, result, sink, edits, errorCode); in appendResult() 157 ByteSinkUtil::appendCodePoint(cpLength, result, sink, edits); in appendResult()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/translit/ |
H A D | RoundTripTest.java | 1638 StringBuffer result = new StringBuffer(); in info() 1639 result.append("\u200E").append(s).append("\u200E (").append(TestUtility.hex(s)).append("/"); in info() 1644 if (i > 0) result.append(", "); in info() 1645 result.append(UCharacter.getAge(cp)); in info() 1648 result.append(")"); in info() 1649 return result.toString(); in info()
|