/kernel/linux/linux-6.6/drivers/iio/potentiometer/ |
H A D | ds1803.c | 75 u8 result[ARRAY_SIZE(ds1803_channels)]; in ds1803_read() local 77 ret = i2c_master_recv(data->client, result, indio_dev->num_channels); in ds1803_read() 81 *val = result[chan->channel]; in ds1803_read()
|
/kernel/linux/linux-6.6/drivers/net/wireguard/selftest/ |
H A D | ratelimiter.c | 11 bool result; member 52 expected_results[i].result) in timings_test() 73 expected_results[i].result) in timings_test()
|
/kernel/linux/linux-6.6/drivers/media/pci/pt3/ |
H A D | pt3_i2c.c | 126 static int wait_i2c_result(struct pt3_board *pt3, u32 *result, int max_wait) in wait_i2c_result() argument 139 if (result) in wait_i2c_result() 140 *result = v; in wait_i2c_result()
|
/kernel/linux/linux-6.6/drivers/of/ |
H A D | fdt_address.c | 170 u64 result = OF_BAD_ADDR; in fdt_translate_address() local 210 result = of_read_number(addr, na); in fdt_translate_address() 239 return result; in fdt_translate_address()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A D | intel_engine_pm.c | 154 bool result = true; in switch_to_kernel_context() local 238 result = false; in switch_to_kernel_context() 241 return result; in switch_to_kernel_context()
|
/kernel/linux/linux-6.6/drivers/iio/adc/ |
H A D | lp8788_adc.c | 53 unsigned int result; in lp8788_get_adc_result() local 85 result = msb | lsb; in lp8788_get_adc_result() 86 *val = result; in lp8788_get_adc_result()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | pfm.c | 133 bool result = true; in is_libpfm_event_supported() local 149 result = false; in is_libpfm_event_supported() 154 return result; in is_libpfm_event_supported()
|
/kernel/liteos_a/lib/libc/musl/src/arch/arm/ |
H A D | memcmp.S | 77 vorr d4, d0, d1 @ d4: Save the result of calculating whether the first 16 bytes are equal. 78 vorr d5, d2, d3 @ d5: Save the result of calculating whether the last 16 bytes are equal. 79 vorr d6, d4, d5 @ d6: Save the result of 32 bytes calculation whether they are equal.
|
/kernel/linux/linux-6.6/lib/math/ |
H A D | test_div64.c | 164 bool result = true; \ 176 result = false; \ 178 result; \
|
H A D | prime_numbers.c | 224 bool result; in is_prime_number() local 237 result = test_bit(x, p->primes); in is_prime_number() 240 return result; in is_prime_number() 276 pr_err("inconsistent result for is-prime(%lu): slow=%s, fast=%s!\n", in selftest() 285 pr_err("incorrect result for next-prime(%lu): expected %lu, got %lu\n", in selftest()
|
/kernel/linux/linux-6.6/net/ipv4/netfilter/ |
H A D | nft_fib_ipv4.c | 75 * for oif 3 will get RTN_UNICAST result even if the daddr exits in nft_fib4_eval() 179 enum nft_fib_result result; in nft_fib4_select_ops() local 184 result = ntohl(nla_get_be32(tb[NFTA_FIB_RESULT])); in nft_fib4_select_ops() 186 switch (result) { in nft_fib4_select_ops()
|
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/jsvmtest/ |
H A D | jsvm_utils.h | 92 JSVM_Value result; in Get() local 93 OH_JSVM_GetNamedProperty(jsvm_env, this->value_, propName, &result); in Get() 94 return result; in Get()
|
/test/xts/acts/powermgr/ndk/entry/src/main/cpp/ |
H A D | napi_init.cpp | 158 napi_value result = nullptr;
in CreateEnumPluggedType() local 160 sizeof(desc) / sizeof(*desc), desc, &result);
in CreateEnumPluggedType() 162 napi_set_named_property(env, exports, "BatteryInfo_BatteryPluggedType", result);
in CreateEnumPluggedType()
|
/test/xts/device_attest/services/core/utils/ |
H A D | attest_utils_file.c | 48 int32_t GetFileSize(const char* path, const char* fileName, uint32_t* result) in GetFileSize() argument 50 if (path == NULL || fileName == NULL || result == NULL) { in GetFileSize() 80 *result = ftell(fp); in GetFileSize()
|
/test/xts/device_attest/services/oem_adapter/src/ |
H A D | device_attest_oem_file.c | 49 int32_t OEMGetFileSize(const char* path, const char* fileName, uint32_t* result) in OEMGetFileSize() argument 51 if (path == NULL || fileName == NULL || result == NULL) { in OEMGetFileSize() 78 *result = ftell(fp); in OEMGetFileSize()
|
/test/xts/device_attest_lite/services/core/small/utils/ |
H A D | attest_utils_file_detail.c | 31 int32_t GetFileSize(const char* path, const char* fileName, uint32_t* result) in GetFileSize() argument 33 if (path == NULL || fileName == NULL || result == NULL) { in GetFileSize() 63 *result = ftell(fp); in GetFileSize()
|
/test/xts/hats/hdf/camera/cameraHdi/v4l2/include/ |
H A D | test_display.h | 184 int32_t OnResult(uint64_t timestamp, const std::vector<uint8_t>& result) override; 186 void PrintStabiliInfo(const std::vector<uint8_t>& result); 187 void PrintFpsInfo(const std::vector<uint8_t>& result);
|
/test/xts/hats/kernel/syscalls/fileio/copyfilerange/ |
H A D | CopyFileRangeApiTest.cpp | 171 int result = 0; in HWTEST_F() local 174 result = write(fdIn, TEST_DATA, strlen(TEST_DATA)); in HWTEST_F() 175 EXPECT_EQ(result, strlen(TEST_DATA)); in HWTEST_F()
|
/third_party/elfutils/libdwfl/ |
H A D | dwfl_module.c | 227 int result = (*removed) (MODCB_ARGS (m), arg); in INTDEF() local 228 if (result != 0) in INTDEF() 229 return result; in INTDEF()
|
/third_party/elfio/elfio/ |
H A D | elfio_dynamic.hpp | 94 const char* result = strsec.get_string( (Elf_Word)value ); in get_entry() local 95 if ( nullptr == result ) { in get_entry() 99 str = result; in get_entry()
|
/third_party/gn/src/gn/ |
H A D | function_rebase_path_unittest.cc | 24 Value result = functions::RunRebasePath(scope, &function, args, &err); in RebaseOne() local 25 bool is_string = result.type() == Value::STRING; in RebaseOne() 28 return result.string_value(); in RebaseOne()
|
H A D | runtime_deps.cc | 255 GN would say that A does not have runtime deps on the result of the ACTION, 287 RuntimeDepsVector result; in ComputeRuntimeDeps() local 294 RecursiveCollectRuntimeDeps(target, false, &result, &seen_targets, in ComputeRuntimeDeps() 296 return result; in ComputeRuntimeDeps()
|
/third_party/alsa-lib/src/ |
H A D | input.c | 76 int result; in snd_input_scanf() local 79 result = input->ops->scan(input, format, args); in snd_input_scanf() 81 return result; in snd_input_scanf()
|
/third_party/benchmark/src/ |
H A D | commandlineflags.cc | 32 // the result to *value and returns true; otherwise leaves *value 48 const int32_t result = static_cast<int32_t>(long_value); in ParseInt32() local 53 result != long_value in ParseInt32() 62 *value = result; in ParseInt32() 66 // Parses 'str' for a double. If successful, writes the result to *value and 85 // Parses 'str' into KV pairs. If successful, writes the result to *value and
|
/third_party/icu/icu4c/source/tools/genbrk/ |
H A D | genbrk.cpp | 204 long result; in main() 219 result = (long)fread(ruleBufferC, 1, ruleFileSize, file); in main() 220 if (result != ruleFileSize) { in main()
|