/kernel/linux/linux-5.10/sound/isa/sb/ |
H A D | sb16_csp.c | 548 int result = -ENODEV; in csp_detect() local 571 result = 0; /* valid version id */ in csp_detect() 575 return result; in csp_detect() 611 int result = -EIO; in snd_sb_csp_load() local 666 result = 0; in snd_sb_csp_load() 670 return result; in snd_sb_csp_load() 791 int result = -EIO; in snd_sb_csp_start() local 851 result = 0; in snd_sb_csp_start() 862 return result; in snd_sb_csp_start() 870 int result; in snd_sb_csp_stop() local 913 int result; snd_sb_csp_pause() local 933 int result; snd_sb_csp_restart() local [all...] |
/kernel/linux/linux-6.6/drivers/platform/mellanox/ |
H A D | mlxbf-pmc.c | 439 uint64_t *result) in mlxbf_pmc_secure_read() 457 *result = res.a1; in mlxbf_pmc_secure_read() 466 uint64_t *result) in mlxbf_pmc_read() 469 return mlxbf_pmc_secure_read(addr, command, result); in mlxbf_pmc_read() 472 *result = readl(addr); in mlxbf_pmc_read() 474 *result = readq(addr); in mlxbf_pmc_read() 480 static int mlxbf_pmc_readl(void __iomem *addr, uint32_t *result) in mlxbf_pmc_readl() argument 488 *result = (uint32_t)read_out; in mlxbf_pmc_readl() 777 uint64_t *result) in mlxbf_pmc_read_l3_counter() 802 *result in mlxbf_pmc_read_l3_counter() 438 mlxbf_pmc_secure_read(void __iomem *addr, uint32_t command, uint64_t *result) mlxbf_pmc_secure_read() argument 465 mlxbf_pmc_read(void __iomem *addr, uint32_t command, uint64_t *result) mlxbf_pmc_read() argument 776 mlxbf_pmc_read_l3_counter(int blk_num, uint32_t cnt_num, uint64_t *result) mlxbf_pmc_read_l3_counter() argument 808 mlxbf_pmc_read_counter(int blk_num, uint32_t cnt_num, bool is_l3, uint64_t *result) mlxbf_pmc_read_counter() argument 843 mlxbf_pmc_read_l3_event(int blk_num, uint32_t cnt_num, uint64_t *result) mlxbf_pmc_read_l3_event() argument 897 mlxbf_pmc_read_event(int blk_num, uint32_t cnt_num, bool is_l3, uint64_t *result) mlxbf_pmc_read_event() argument 934 mlxbf_pmc_read_reg(int blk_num, uint32_t offset, uint64_t *result) mlxbf_pmc_read_reg() argument [all...] |
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-stats.c | 480 char *result, unsigned int maxlen) in dm_stats_list() 681 * A race condition can at worst result in the merged flag being in dm_stats_account_io() 825 unsigned long long result; in dm_jiffies_to_msec64() local 831 result = 0; in dm_jiffies_to_msec64() 833 result = jiffies_to_msecs(j & 0x3fffff); in dm_jiffies_to_msec64() 836 result += (unsigned long long)mult * (unsigned long long)jiffies_to_msecs((j >> 22) & 0x3fffff); in dm_jiffies_to_msec64() 839 result += (unsigned long long)mult * (unsigned long long)mult * (unsigned long long)jiffies_to_msecs(j >> 44); in dm_jiffies_to_msec64() 841 return result; in dm_jiffies_to_msec64() 846 bool clear, char *result, unsigned int maxlen) in dm_stats_print() 994 char *result, unsigne in message_stats_create() 479 dm_stats_list(struct dm_stats *stats, const char *program, char *result, unsigned int maxlen) dm_stats_list() argument 844 dm_stats_print(struct dm_stats *stats, int id, size_t idx_start, size_t idx_len, bool clear, char *result, unsigned int maxlen) dm_stats_print() argument 992 message_stats_create(struct mapped_device *md, unsigned int argc, char **argv, char *result, unsigned int maxlen) message_stats_create() argument 1146 message_stats_list(struct mapped_device *md, unsigned int argc, char **argv, char *result, unsigned int maxlen) message_stats_list() argument 1169 message_stats_print(struct mapped_device *md, unsigned int argc, char **argv, bool clear, char *result, unsigned int maxlen) message_stats_print() argument 1211 dm_stats_message(struct mapped_device *md, unsigned int argc, char **argv, char *result, unsigned int maxlen) dm_stats_message() argument [all...] |
/kernel/linux/linux-6.6/sound/isa/sb/ |
H A D | sb16_csp.c | 550 int result = -ENODEV; in csp_detect() local 573 result = 0; /* valid version id */ in csp_detect() 577 return result; in csp_detect() 613 int result = -EIO; in snd_sb_csp_load() local 668 result = 0; in snd_sb_csp_load() 672 return result; in snd_sb_csp_load() 793 int result = -EIO; in snd_sb_csp_start() local 853 result = 0; in snd_sb_csp_start() 864 return result; in snd_sb_csp_start() 872 int result; in snd_sb_csp_stop() local 915 int result; snd_sb_csp_pause() local 935 int result; snd_sb_csp_restart() local [all...] |
/test/xts/acts/multimedia/image/image_js_standard/imageSourceNDK/entry/src/main/cpp/napi/ |
H A D | image_source_test.cpp | 268 napi_value result = nullptr; in createResultValue() local 269 // JS result like in createResultValue() 270 // {code: <error code>, result: <result value>} in createResultValue() 273 napi_create_object(env, &result); in createResultValue() 274 napi_set_named_property(env, result, "code", nRes); in createResultValue() 276 napi_set_named_property(env, result, "result", res); in createResultValue() 278 return result; in createResultValue() 582 napi_value result; in GetDelayTime() local 646 napi_value result; GetSupportedFormats() local 660 napi_value result = nullptr; createImageInfoNVal() local [all...] |
/third_party/astc-encoder/Source/ |
H A D | astcenc_vecmathlib_sse_4.h | 158 vfloat4 result(_mm_shuffle_ps(m, m, l0 | l1 << 2)); in swz() 159 result.set_lane<2>(0.0f); in swz() 160 result.set_lane<3>(0.0f); in swz() 161 return result; in swz() 169 vfloat4 result(_mm_shuffle_ps(m, m, l0 | l1 << 2 | l2 << 4)); in swz() 170 result.set_lane<3>(0.0f); in swz() 171 return result; in swz() 1108 __m128i result = _mm_shuffle_epi8(t0.m, idxx); in vtable_8bt_32bi() local 1109 return vint4(result); in vtable_8bt_32bi() 1131 __m128i result in vtable_8bt_32bi() local 1160 __m128i result = _mm_shuffle_epi8(t0.m, idxx); vtable_8bt_32bi() local [all...] |
/third_party/icu/tools/release/java/src/main/java/com/ibm/icu/dev/tools/docs/ |
H A D | StableAPI.java | 272 String result = null; in setVer() 295 for (int i = 0; result == null && (i < nList.getLength()); i++) { in setVer() 323 result = ICU_SPACE_PREFIX + initStr; in setVer() 324 System.err.println("Detected " + whichVer + " version: " + result); in setVer() 330 if (result.startsWith("ICU ")) { in setVer() 331 String vers[] = result.substring(4).split("\\."); in setVer() 346 result = "ICU " + (maj); in setVer() 349 milestoneOf = " (update #" + (min - 1) + ": " + result.substring(4) + ")"; in setVer() 350 result = "ICU " + (maj); in setVer() 354 result in setVer() [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | scope-info.cc | 906 // .result start with a dot, so we can use that as a flag. It's a hack! in VariableIsSynthetic() 1120 Handle<ModuleRequest> result = Handle<ModuleRequest>::cast( in New() local 1122 result->set_specifier(*specifier); in New() 1123 result->set_import_assertions(*import_assertions); in New() 1124 result->set_position(position); in New() 1125 return result; in New() 1141 Handle<SourceTextModuleInfoEntry> result = in New() local 1144 result->set_export_name(*export_name); in New() 1145 result->set_local_name(*local_name); in New() 1146 result in New() 1218 Handle<SourceTextModuleInfo> result = New() local [all...] |
/third_party/rust/crates/regex/src/ |
H A D | dfa.rs | 200 /// The result of running the DFA. 202 /// Generally, the result is either a match or not a match, but sometimes the 216 /// Returns true if this result corresponds to a match. 224 /// Maps the given function onto T and returns the result. 534 let result = dfa.exec_at(&mut cache.qcur, &mut cache.qnext, text); in forward_many() 535 if result.is_match() { in forward_many() 548 result in forward_many() 599 let mut result = Result::NoMatch(self.at); in exec_at() variables 643 result = Result::Match(at - 1); in exec_at() 645 return result; in exec_at() 761 let mut result = Result::NoMatch(self.at); exec_at_reverse() variables [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
H A D | eap_server_fast.c | 600 struct eap_tlv_result_tlv *result; in eap_fast_build_crypto_binding() local 603 buf = wpabuf_alloc(2 * sizeof(*result) + sizeof(*binding)); in eap_fast_build_crypto_binding() 617 result = wpabuf_put(buf, sizeof(*result)); in eap_fast_build_crypto_binding() 618 result->tlv_type = host_to_be16( in eap_fast_build_crypto_binding() 621 result->length = host_to_be16(2); in eap_fast_build_crypto_binding() 622 result->status = host_to_be16(EAP_TLV_RESULT_SUCCESS); in eap_fast_build_crypto_binding() 629 result = wpabuf_put(buf, sizeof(*result)); in eap_fast_build_crypto_binding() 630 result in eap_fast_build_crypto_binding() 692 struct eap_tlv_result_tlv *result; eap_fast_build_pac() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
H A D | eap_server_fast.c | 602 struct eap_tlv_result_tlv *result; in eap_fast_build_crypto_binding() local 605 buf = wpabuf_alloc(2 * sizeof(*result) + sizeof(*binding)); in eap_fast_build_crypto_binding() 619 result = wpabuf_put(buf, sizeof(*result)); in eap_fast_build_crypto_binding() 620 result->tlv_type = host_to_be16( in eap_fast_build_crypto_binding() 623 result->length = host_to_be16(2); in eap_fast_build_crypto_binding() 624 result->status = host_to_be16(EAP_TLV_RESULT_SUCCESS); in eap_fast_build_crypto_binding() 631 result = wpabuf_put(buf, sizeof(*result)); in eap_fast_build_crypto_binding() 632 result in eap_fast_build_crypto_binding() 694 struct eap_tlv_result_tlv *result; eap_fast_build_pac() local [all...] |
/kernel/linux/linux-5.10/drivers/firmware/ |
H A D | arm_sdei.c | 140 u64 *result) in invoke_sdei_fn() 160 if (result) in invoke_sdei_fn() 161 *result = res.a0; in invoke_sdei_fn() 185 int sdei_api_event_context(u32 query, u64 *result) in sdei_api_event_context() argument 188 result); in sdei_api_event_context() 192 static int sdei_api_event_get_info(u32 event, u32 info, u64 *result) in sdei_api_event_get_info() argument 195 0, 0, result); in sdei_api_event_get_info() 203 u64 result; in sdei_event_create() local 219 &result); in sdei_event_create() 222 event->priority = result; in sdei_event_create() 137 invoke_sdei_fn(unsigned long function_id, unsigned long arg0, unsigned long arg1, unsigned long arg2, unsigned long arg3, unsigned long arg4, u64 *result) invoke_sdei_fn() argument 861 u64 result; sdei_register_ghes() local [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | select_reuseport.c | 249 struct data_check expected = {}, result; in check_data() local 260 err = bpf_map_lookup_elem(data_check_map, &index_zero, &result); in check_data() 295 if (memcmp(&result, &expected, offsetof(struct data_check, in check_data() 298 printf(" result: (0x%x, %u, %u)\n", in check_data() 299 result.eth_protocol, result.ip_protocol, in check_data() 300 result.bind_inany); in check_data() 304 RET_IF(1, "data_check result != expected", in check_data() 308 RET_IF(!result.hash, "data_check result in check_data() [all...] |
/kernel/linux/linux-6.6/drivers/firmware/ |
H A D | arm_sdei.c | 139 u64 *result) in invoke_sdei_fn() 159 if (result) in invoke_sdei_fn() 160 *result = res.a0; in invoke_sdei_fn() 184 int sdei_api_event_context(u32 query, u64 *result) in sdei_api_event_context() argument 187 result); in sdei_api_event_context() 191 static int sdei_api_event_get_info(u32 event, u32 info, u64 *result) in sdei_api_event_get_info() argument 194 0, 0, result); in sdei_api_event_get_info() 202 u64 result; in sdei_event_create() local 218 &result); in sdei_event_create() 221 event->priority = result; in sdei_event_create() 136 invoke_sdei_fn(unsigned long function_id, unsigned long arg0, unsigned long arg1, unsigned long arg2, unsigned long arg3, unsigned long arg4, u64 *result) invoke_sdei_fn() argument 860 u64 result; sdei_register_ghes() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | select_reuseport.c | 240 struct data_check expected = {}, result; in check_data() local 251 err = bpf_map_lookup_elem(data_check_map, &index_zero, &result); in check_data() 286 if (memcmp(&result, &expected, offsetof(struct data_check, in check_data() 289 printf(" result: (0x%x, %u, %u)\n", in check_data() 290 result.eth_protocol, result.ip_protocol, in check_data() 291 result.bind_inany); in check_data() 295 RET_IF(1, "data_check result != expected", in check_data() 299 RET_IF(!result.hash, "data_check result in check_data() [all...] |
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | udatpg_test.c | 151 UChar result[20]; in TestUsage() local 182 length = udatpg_getSkeleton(dtpg, testPattern, 5, result, 20, &errorCode); in TestUsage() 187 if((u_memcmp(result, expectingSkeleton, length)!=0) || result[length]!=0) { in TestUsage() 194 length = udatpg_getSkeleton(dtpg, s, 0, result, 20, &errorCode); in TestUsage() 201 length = udatpg_getBaseSkeleton(dtpg, testPattern, 5, result, 20, &errorCode); in TestUsage() 206 if((u_memcmp(result, expectingBaseSkeleton, length)!=0) || result[length]!=0) { in TestUsage() 213 length = udatpg_getBaseSkeleton(dtpg, s, 0, result, 20, &errorCode); in TestUsage() 262 UChar result[2 in TestBuilder() local [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | MeasureUnit.java | 409 MeasureUnit result = MeasureUnit.findBySubType(identifier); in fromMeasureUnitImpl() 410 if (result != null) { in fromMeasureUnitImpl() 411 return result; in fromMeasureUnitImpl() 451 String result = measureUnitImpl == null ? getSubtype() : measureUnitImpl.getIdentifier(); in getIdentifier() 452 return result == null ? "" : result; in getIdentifier() 610 List<MeasureUnit> result = new ArrayList<>(singleUnits.size()); in splitToSingleUnits() 612 result.add(singleUnit.build()); in splitToSingleUnits() 615 return result; in splitToSingleUnits() 652 String result in toString() [all...] |
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
H A D | Transliterator.java | 51 * <code>transliterate()</code>. As a result, threads may share transliterators without synchronizing them. This might 65 * <blockquote><code>String result = t.transliterate(input); 68 * will transliterate it and return the result. Other methods allow the client to specify a substring to be 132 * transliterator, the result is the identity transliterator, that is, a transliterator that does not change its input 136 * or <code>null</code> otherwise. However, the result of <code>getInverse()</code> usually will <em>not</em> be a true 236 * direction may be omitted, with the result that translations in 795 * Transliterate an entire string and returns the result. Convenience method. 802 ReplaceableString result = new ReplaceableString(text); in transliterate() 803 transliterate(result); in transliterate() 804 return result in transliterate() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | Transliterator.java | 52 * <code>transliterate()</code>. As a result, threads may share transliterators without synchronizing them. This might 66 * <blockquote><code>String result = t.transliterate(input); 69 * will transliterate it and return the result. Other methods allow the client to specify a substring to be 133 * transliterator, the result is the indentity transliterator, that is, a transliterator that does not change its input 137 * or <code>null</code> otherwise. However, the result of <code>getInverse()</code> usually will <em>not</em> be a true 237 * direction may be omitted, with the result that translations in 777 * Transliterate an entire string and returns the result. Convenience method. 783 ReplaceableString result = new ReplaceableString(text); in transliterate() 784 transliterate(result); in transliterate() 785 return result in transliterate() [all...] |
/third_party/icu/icu4c/source/tools/tzcode/ |
H A D | zdump.c | 775 register intmax_t result; in delta() local 780 result = 0; in delta() 782 result += DAYSPERNYEAR + isleap_sum(tmy, TM_YEAR_BASE); in delta() 783 result += newp->tm_yday - oldp->tm_yday; in delta() 784 result *= HOURSPERDAY; in delta() 785 result += newp->tm_hour - oldp->tm_hour; in delta() 786 result *= MINSPERHOUR; in delta() 787 result += newp->tm_min - oldp->tm_min; in delta() 788 result *= SECSPERMIN; in delta() 789 result in delta() 829 register char * result; abbr() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktShaderFConvertTests.cpp | 109 std::vector<T> result; in getRandomInteresting() local 111 result.reserve(numSamples); in getRandomInteresting() 112 std::generate_n(std::back_inserter(result), numSamples, [&rnd, &samples]() { return rnd.choose<T>(begin(samples), end(samples)); }); in getRandomInteresting() 114 return result; in getRandomInteresting() 143 std::vector<T2> result; in convertVector() local 144 result.reserve(orig.size()); in convertVector() 146 std::transform(begin(orig), end(orig), std::back_inserter(result), in convertVector() 149 return result; in convertVector() 255 // Check single result is as expected. 258 bool validConversion (const T1& orig, const T2& result) in validConversion() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
H A D | EGLContextSharingTest.cpp | 25 EGLBoolean result = EGL_TRUE; in SafeDestroyContext() local 28 result = eglDestroyContext(display, context); in SafeDestroyContext() 31 return result; in SafeDestroyContext() 104 bool result = false; in chooseConfig() local 121 result = eglChooseConfig(mDisplay, attribs, config, 1, &count); in chooseConfig() 122 EXPECT_EGL_TRUE(result && (count > 0)); in chooseConfig() 123 return result; in chooseConfig() 128 bool result = false; in createContext() local 132 result = (*context != EGL_NO_CONTEXT); in createContext() 133 EXPECT_TRUE(result); in createContext() 139 bool result = false; createWindowSurface() local [all...] |
/third_party/skia/src/gpu/ |
H A D | GrDistanceFieldGenFromVector.cpp | 405 const float result = (float)cbrt((-b * 0.5f) + sqrtC) + (float)cbrt((-b * 0.5f) - sqrtC); in calculate_nearest_point_for_quad() local 406 return result; in calculate_nearest_point_for_quad() 410 float result; in calculate_nearest_point_for_quad() local 412 result = 2.f * (float)sqrt(-a * kThird) * (float)cos(phi * kThird); in calculate_nearest_point_for_quad() 413 if (!between_closed(result, segment.fP0T.fX, segment.fP2T.fX)) { in calculate_nearest_point_for_quad() 414 result = 2.f * (float)sqrt(-a * kThird) * (float)cos((phi * kThird) + (SK_ScalarPI * 2.f * kThird)); in calculate_nearest_point_for_quad() 417 result = 2.f * (float)sqrt(-a * kThird) * (float)cos((phi * kThird) + (SK_ScalarPI * 2.f * kThird)); in calculate_nearest_point_for_quad() 418 if (!between_closed(result, segment.fP0T.fX, segment.fP2T.fX)) { in calculate_nearest_point_for_quad() 419 result = 2.f * (float)sqrt(-a * kThird) * (float)cos(phi * kThird); in calculate_nearest_point_for_quad() 422 return result; in calculate_nearest_point_for_quad() 576 float result = SK_DistanceFieldPad * SK_DistanceFieldPad; distance_to_segment() local [all...] |
/third_party/skia/src/gpu/geometry/ |
H A D | GrStyledShape.cpp | 52 GrStyledShape result; in MakeFilled() local 53 SkASSERT(result.fStyle.isSimpleFill()); in MakeFilled() 55 result.fInheritedPathForListeners.set(*original.fInheritedPathForListeners); in MakeFilled() 58 result.fShape = original.fShape; in MakeFilled() 59 result.fGenID = original.fGenID; in MakeFilled() 60 result.fShape.setInverted(newIsInverted); in MakeFilled() 66 result.simplify(); in MakeFilled() 70 result.fSimplified = true; in MakeFilled() 74 SkASSERT((!original.fShape.isLine() && !original.fShape.isPoint()) || result.fShape.isEmpty()); in MakeFilled() 78 return result; in MakeFilled() 309 GrStyledShape result; MakeArc() local [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | transformation_flatten_conditional_branch.cpp | 62 // yield the same result; if they are replaced by other ids that will not in IsApplicable() 162 // Decide whether the OpPhi can be handled based on its result in IsApplicable() 428 protobufs::Transformation result; in ToMessage() local 429 *result.mutable_flatten_conditional_branch() = message_; in ToMessage() 430 return result; in ToMessage() 651 // If the instruction requires a placeholder, it means that it has a result id in EncloseInstructionInConditional() 652 // and its result needs to be able to be used later on, and we need to: in EncloseInstructionInConditional() 654 // result id (using fresh id |ids.placeholder_result_id|) is obtained either in EncloseInstructionInConditional() 658 // - change the result id of the instruction to a fresh id in EncloseInstructionInConditional() 660 // - add an OpPhi instruction, which will have the original result i in EncloseInstructionInConditional() 814 std::unordered_set<uint32_t> result = { GetFreshIds() local 830 uint32_t result = header_block.terminator()->GetSingleWordInOperand(1); FindConvergenceBlock() local [all...] |