/kernel/linux/linux-6.6/arch/x86/power/ |
H A D | hibernate_64.c | 101 int result; in set_up_temporary_mappings() local 109 result = set_up_temporary_text_mapping(pgd); in set_up_temporary_mappings() 110 if (result) in set_up_temporary_mappings() 111 return result; in set_up_temporary_mappings() 118 result = kernel_ident_mapping_init(&info, pgd, mstart, mend); in set_up_temporary_mappings() 119 if (result) in set_up_temporary_mappings() 120 return result; in set_up_temporary_mappings()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/ |
H A D | count_stcx_fail.c | 47 expected = instructions + overhead + (events[2].result.value * 10); in do_count_loop() 48 difference = events[0].result.value - expected; in do_count_loop() 49 percentage = (double)difference / events[0].result.value * 100; in do_count_loop() 59 printf("Actual %llu\n", events[0].result.value); in do_count_loop() 72 if (difference / events[0].result.value) in do_count_loop() 85 overhead = events[0].result.value; in determine_overhead() 89 current = events[0].result.value; in determine_overhead()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | instruction_count_test.c | 45 event->result.value = ebb_state.stats.pmc_count[4-1]; in do_count_loop() 47 difference = event->result.value - expected; in do_count_loop() 48 percentage = (double)difference / event->result.value * 100; in do_count_loop() 53 printf("Actual %llu\n", event->result.value); in do_count_loop() 63 if (difference / event->result.value) in do_count_loop() 76 overhead = event->result.value; in determine_overhead() 80 current = event->result.value; in determine_overhead()
|
/kernel/linux/linux-6.6/security/selinux/include/ |
H A D | avc.h | 54 int result; member 65 int result, in avc_audit_required() 91 } else if (result) in avc_audit_required() 100 u32 requested, u32 audited, u32 denied, int result, 110 * @result: result from avc_has_perm_noaudit 125 int result, in avc_audit() 129 audited = avc_audit_required(requested, avd, result, 0, &denied); in avc_audit() 133 requested, audited, denied, result, in avc_audit() 63 avc_audit_required(u32 requested, struct av_decision *avd, int result, u32 auditdeny, u32 *deniedp) avc_audit_required() argument 122 avc_audit(u32 ssid, u32 tsid, u16 tclass, u32 requested, struct av_decision *avd, int result, struct common_audit_data *a) avc_audit() argument
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-gpr.c | 96 uint64_t result; in rand_reg() local 102 result = r & 0xffff; in rand_reg() 104 return result; in rand_reg() 107 result |= random() << (__LONG_WIDTH__ - 31); in rand_reg() 109 return result; in rand_reg() 112 result ^= random() << 16; in rand_reg() 114 return result; in rand_reg()
|
/kernel/linux/linux-6.6/sound/pci/emu10k1/ |
H A D | voice.c | 81 int result; in snd_emu10k1_voice_alloc() local 92 result = voice_alloc(emu, type, count, epcm, &rvoice[got]); in snd_emu10k1_voice_alloc() 93 if (result == 0) { in snd_emu10k1_voice_alloc() 103 result = emu->get_synth_voice(emu); in snd_emu10k1_voice_alloc() 104 if (result >= 0) { in snd_emu10k1_voice_alloc() 105 voice_free(emu, &emu->voices[result]); in snd_emu10k1_voice_alloc() 118 return result; in snd_emu10k1_voice_alloc()
|
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | sendfilendk.cpp | 43 napi_value result = nullptr;
in Sendfile() local 48 napi_create_int32(env, senval, &result);
in Sendfile() 55 napi_create_int32(env, senval, &result);
in Sendfile() 57 return result;
in Sendfile() 95 napi_value result = nullptr;
in Sendfile64() local 96 napi_create_int32(env, ret, &result);
in Sendfile64() 97 return result;
in Sendfile64()
|
/third_party/elfutils/tests/ |
H A D | get-lines.c | 34 int result = 0; in main() local 67 result = 1; in main() 77 result = 1; in main() 89 result = 1; in main() 105 result in the same path. */ in main() 112 result = 1; in main() 122 result = 1; in main() 159 return result; in main()
|
H A D | get-aranges.c | 41 int result = 0; in main() local 52 result = 1; in main() 75 result = 1; in main() 86 result = 1; in main() 114 result = 1; in main() 129 result = 1; in main() 141 return result; in main()
|
/third_party/curl/tests/libtest/ |
H A D | lib654.c | 72 CURLcode result; in test() local 134 result = curl_easy_perform(easy); in test() 135 if(result) { in test() 137 res = (int) result; in test() 143 result = curl_easy_perform(easy2); in test() 144 if(result) { in test() 146 res = (int) result; in test()
|
/third_party/astc-encoder/Test/ |
H A D | astc_test_competitive.py | 55 result = run(args) 56 return float(LOG_PATTERN.search(result.stdout).group(1)) 61 result = run(args) 62 return float(LOG_PATTERN.search(result.stdout).group(1)) 67 result = run(args) 73 result = run(args) 76 return float(result.stderr)
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
H A D | BasicPeriodFormatterFactory.java | 233 Customizations result = new Customizations(); in copy() 234 result.displayLimit = displayLimit; in copy() 235 result.displayDirection = displayDirection; in copy() 236 result.separatorVariant = separatorVariant; in copy() 237 result.unitVariant = unitVariant; in copy() 238 result.countVariant = countVariant; in copy() 239 return result; in copy()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | ulistformatter.cpp | 107 UChar* result, 114 if ((result == NULL) ? resultCapacity != 0 : resultCapacity < 0) { 126 if (result != NULL) { 129 res.setTo(result, 0, resultCapacity); 132 return res.extract(result, resultCapacity, *status); 144 auto* result = UFormattedListApiHelper::validate(uresult, *status); 155 result->fImpl = reinterpret_cast<const ListFormatter*>(listfmt)
|
H A D | casetrn.cpp | 152 int32_t textPos, delta, result; in handleTransliterate() local 159 result=fMap(c, utrans_rep_caseContextIterator, &csc, &s, UCASE_LOC_ROOT); in handleTransliterate() 168 if(result>=0) { in handleTransliterate() 169 // replace the current code point with its full case mapping result in handleTransliterate() 171 if(result<=UCASE_MAX_STRING_LENGTH) { in handleTransliterate() 172 // string s[result] in handleTransliterate() 173 tmp.setTo(false, s, result); in handleTransliterate() 174 delta=result-U16_LENGTH(c); in handleTransliterate() 177 tmp.setTo(result); in handleTransliterate()
|
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
H A D | TitlecaseTransliterator.java | 44 private StringBuilder result; field in TitlecaseTransliterator 57 result = new StringBuilder(); in TitlecaseTransliterator() 111 result.setLength(0); in handleTransliterate() 121 c=csp.toFullTitle(c, iter, result, caseLocale); in handleTransliterate() 123 c=csp.toFullLower(c, iter, result, caseLocale); in handleTransliterate() 134 /* decode the result */ in handleTransliterate() 140 delta=iter.replace(result.toString()); in handleTransliterate() 141 result.setLength(0); in handleTransliterate()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/duration/ |
H A D | BasicPeriodFormatterFactory.java | 235 Customizations result = new Customizations(); in copy() 236 result.displayLimit = displayLimit; in copy() 237 result.displayDirection = displayDirection; in copy() 238 result.separatorVariant = separatorVariant; in copy() 239 result.unitVariant = unitVariant; in copy() 240 result.countVariant = countVariant; in copy() 241 return result; in copy()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | TitlecaseTransliterator.java | 45 private StringBuilder result; field in TitlecaseTransliterator 58 result = new StringBuilder(); in TitlecaseTransliterator() 112 result.setLength(0); in handleTransliterate() 122 c=csp.toFullTitle(c, iter, result, caseLocale); in handleTransliterate() 124 c=csp.toFullLower(c, iter, result, caseLocale); in handleTransliterate() 135 /* decode the result */ in handleTransliterate() 141 delta=iter.replace(result.toString()); in handleTransliterate() 142 result.setLength(0); in handleTransliterate()
|
/third_party/mbedtls/tests/scripts/ |
H A D | run-test-suites.pl | 103 my $result = `$command`; 105 $suite_cases_passed = () = $result =~ /.. PASS/g; 106 $suite_cases_failed = () = $result =~ /.. FAILED/g; 107 $suite_cases_skipped = () = $result =~ /.. ----/g; 113 print $result; 121 print $result; 126 my ($passed, $tests, $skipped) = $result =~ /([0-9]*) \/ ([0-9]*) tests.*?([0-9]*) skipped/;
|
/third_party/jerryscript/jerry-core/vm/ |
H A D | opcodes-ecma-arithmetics.c | 38 * result = leftNum ArithmeticOp rightNum; 53 ecma_number_t result = ECMA_NUMBER_ZERO; in do_number_arithmetic() local 59 result = num_left - num_right; in do_number_arithmetic() 64 result = num_left * num_right; in do_number_arithmetic() 69 result = num_left / num_right; in do_number_arithmetic() 74 result = ecma_op_number_remainder (num_left, num_right); in do_number_arithmetic() 80 result = ecma_number_pow (num_left, num_right); in do_number_arithmetic() 86 ret_value = ecma_make_number_value (result); in do_number_arithmetic()
|
/third_party/mesa3d/src/imagination/vulkan/ |
H A D | pvr_bo.c | 82 VkResult result; in pvr_bo_alloc() local 91 result = device->ws->ops->buffer_create(device->ws, in pvr_bo_alloc() 97 if (result != VK_SUCCESS) in pvr_bo_alloc() 103 result = VK_ERROR_MEMORY_MAP_FAILED; in pvr_bo_alloc() 110 result = VK_ERROR_OUT_OF_DEVICE_MEMORY; in pvr_bo_alloc() 116 result = VK_ERROR_MEMORY_MAP_FAILED; in pvr_bo_alloc() 137 return result; in pvr_bo_alloc()
|
/third_party/node/lib/internal/crypto/ |
H A D | pbkdf2.js | 53 job.ondone = (err, result) => { 56 const buf = Buffer.from(result); 77 const { 0: err, 1: result } = job.run(); 81 const buf = Buffer.from(result); 119 let result; 121 result = await pbkdf2Promise( 130 return result.buffer;
|
/third_party/node/test/js-native-api/test_instance_data/ |
H A D | test_instance_data.c | 15 napi_value result; in Increment() local 18 NODE_API_CALL(env, napi_create_uint32(env, ++data->value, &result)); in Increment() 20 return result; in Increment() 61 napi_value result, js_cb; in ObjectWithFinalizer() local 67 NODE_API_CALL(env, napi_create_object(env, &result)); in ObjectWithFinalizer() 69 napi_add_finalizer(env, result, NULL, TestFinalizer, NULL, NULL)); in ObjectWithFinalizer() 72 return result; in ObjectWithFinalizer()
|
/third_party/node/test/parallel/ |
H A D | test-inspector-esm.js | 11 function assertScopeValues({ result }, expected) { 13 for (const actual of result) { 78 let { result } = await session.send({ 90 assert.strictEqual(result.value, 1002); 92 result = (await session.send({ 96 })).result; 97 assert.strictEqual(result.value, 25);
|
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/ |
H A D | differential_script_mutator.js | 101 const result = super.mutateMultiple(inputs); 107 for (const flag of filterDifferentialFuzzFlags(result.flags)) { 115 result.flags = fuzzFlags.concat(originalFlags); 116 return result; 129 const result = super.mutateInputs(inputs); 130 this.differential.forEach(mutator => mutator.mutate(result)); 131 return result;
|
/third_party/node/src/ |
H A D | node_snapshotable.h | 46 T* result = new (buf) T; in New() local 47 result->type = type; in New() 48 result->length = sizeof(T); in New() 49 return result; in New() 60 T* result = new (buf) T; in Copy() local 61 memcpy(result, this, sizeof(T)); in Copy() 62 return result; in Copy()
|