/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_video_proc.cpp | 651 D3D12_VIDEO_PROCESS_ORIENTATION result = D3D12_VIDEO_PROCESS_ORIENTATION_DEFAULT; in d3d12_video_processor_convert_pipe_rotation() local 655 result = (orientation_flags & PIPE_VIDEO_VPP_FLIP_HORIZONTAL) ? D3D12_VIDEO_PROCESS_ORIENTATION_CLOCKWISE_90_FLIP_HORIZONTAL : D3D12_VIDEO_PROCESS_ORIENTATION_CLOCKWISE_90; in d3d12_video_processor_convert_pipe_rotation() 660 result = D3D12_VIDEO_PROCESS_ORIENTATION_CLOCKWISE_180; in d3d12_video_processor_convert_pipe_rotation() 665 result = (orientation_flags & PIPE_VIDEO_VPP_FLIP_HORIZONTAL) ? D3D12_VIDEO_PROCESS_ORIENTATION_CLOCKWISE_270_FLIP_HORIZONTAL : D3D12_VIDEO_PROCESS_ORIENTATION_CLOCKWISE_270; in d3d12_video_processor_convert_pipe_rotation() 670 result = D3D12_VIDEO_PROCESS_ORIENTATION_FLIP_HORIZONTAL; in d3d12_video_processor_convert_pipe_rotation() 675 result = D3D12_VIDEO_PROCESS_ORIENTATION_FLIP_VERTICAL; in d3d12_video_processor_convert_pipe_rotation() 679 return result; in d3d12_video_processor_convert_pipe_rotation()
|
/third_party/mesa3d/src/gtest/src/ |
H A D | gtest-internal-inl.h | 474 // This is the default global test part result reporter used in UnitTestImpl. 481 // result in the current test. 482 void ReportTestPartResult(const TestPartResult& result) override; 490 // This is the default per thread test part result reporter used in 497 // delegates to the current global test part result reporter of *unit_test_. 498 void ReportTestPartResult(const TestPartResult& result) override; 518 // By default, each per-thread test result repoter just passes a new 519 // TestPartResult to the global test result reporter, which registers the 520 // test part result for the currently running test. 522 // Returns the global test part result reporte 1020 const Integer result = static_cast<Integer>(parsed); ParseNaturalNumber() local [all...] |
/third_party/python/Lib/ |
H A D | codecs.py | 239 (result, consumed) = self._buffer_encode(data, self.errors, final) 242 return result 322 (result, consumed) = self._buffer_decode(data, self.errors, final) 325 return result 523 result = self.charbuffer 527 result = self.charbuffer[:chars] 529 return result 571 # More than one line result; the first line is a full line
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/ |
H A D | vktTessellationFractionalSpacingTests.cpp | 60 std::vector<MembT> result(objs.size()); in members() 62 result[i] = objs[i].*membP; in members() 63 return result; in members() 353 std::vector<float> result; 362 result.push_back(rangeStarts[rangeNdx] + static_cast<float>(i)/numSamplesPerRange); 367 result.push_back(static_cast<float>(i) + 0.3f); 369 return result; 537 // Counter buffer: used to calculate offset into result buffer. 647 // Verify the result.
|
H A D | vktTessellationPrimitiveDiscardTests.cpp | 103 // in the result vector, and when scanning the resulting 2d grid in genAttributes() 111 std::vector<float> result; in genAttributes() local 131 result.push_back(choices[j][i[j]]); in genAttributes() 137 result.push_back((float)2.0f / (float)numCols); in genAttributes() 138 result.push_back((float)2.0f / (float)numRows); in genAttributes() 140 result.push_back((float)col / (float)numCols * 2.0f - 1.0f); in genAttributes() 141 result.push_back((float)row / (float)numRows * 2.0f - 1.0f); in genAttributes() 148 return result; in genAttributes() 528 // Copy render result to a host-visible buffer 552 // Verify case result [all...] |
/third_party/skia/src/ports/ |
H A D | SkFontMgr_fuchsia.cpp | 341 int result = fFontProvider->GetFontFamilyInfo(typedFamilyName, &familyInfo); in onMatchFamily() local 342 if (result != ZX_OK || !familyInfo.has_styles() || familyInfo.styles().empty()) return nullptr; in onMatchFamily() 443 int result = fFontProvider->GetTypeface(std::move(request), &response); in FetchTypeface() local 444 if (result != ZX_OK) return nullptr; in FetchTypeface() 493 auto result = CreateTypefaceFromSkData(std::move(data), id); in GetOrCreateTypeface() 494 fTypefaceCache.add(result); in GetOrCreateTypeface() 495 return result; in GetOrCreateTypeface()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
H A D | SwapChainVk.cpp | 534 VkResult result = in PresentImpl() local 537 switch (result) { in PresentImpl() 553 return CheckVkSuccess(::VkResult(result), "QueuePresent"); in PresentImpl() 576 VkResult result = VkResult::WrapUnsafe(device->fn.AcquireNextImageKHR( in GetCurrentTextureViewInternal() local 580 if (result == VK_SUCCESS) { in GetCurrentTextureViewInternal() 590 switch (result) { in GetCurrentTextureViewInternal() 614 DAWN_TRY(CheckVkSuccess(::VkResult(result), "AcquireNextImage")); in GetCurrentTextureViewInternal()
|
/third_party/toybox/toys/pending/ |
H A D | strace.c | 532 long result; in print_exit() local 535 result = TT.regs[REG_ORDER[7]]; in print_exit() 538 if (result >= -4095UL) in print_exit() 539 fprintf(stderr, "-1 %s (%s)", strerrno(-result), strerror(-result)); in print_exit() 540 else if (TT.syscall==__NR_mmap || TT.syscall==__NR_brk) print_ptr(result); in print_exit() 541 else fprintf(stderr, "%ld", result); in print_exit()
|
/third_party/python/Modules/ |
H A D | _lsprof.c | 91 _PyTime_t result; in CallExternalTimer() local 94 /* interpret the result as an integer that will be scaled in CallExternalTimer() 96 err = _PyTime_FromNanosecondsObject(&result, o); in CallExternalTimer() 99 /* interpret the result as a double measured in seconds. in CallExternalTimer() 102 err = _PyTime_FromSecondsObject(&result, o, _PyTime_ROUND_FLOOR); in CallExternalTimer() 109 return result; in CallExternalTimer() 156 PyObject *result; in normalizeUserObj() local 157 result = PyUnicode_FromFormat("<%U.%s>", modname, in normalizeUserObj() 160 return result; in normalizeUserObj()
|
/third_party/skia/modules/canvaskit/ |
H A D | matrix.js | 114 var result = Array(m1.length); 122 result[r * size + c] = acc; 125 return result; 134 var result = multiply(listOfMatrices[0], listOfMatrices[1], size); 137 result = multiply(result, listOfMatrices[next], size); 140 return result; 374 // store result in row major order 516 // concat returns a new ColorMatrix that is the result of multiplying outer*inner
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineMaxVaryingsTests.cpp | 88 std::ostringstream result; in generateTestName() local 90 result << "test_" << getShaderStageName(param.stageToStressIO) << "_io_between_"; in generateTestName() 91 result << getShaderStageName(param.outputStage) << "_"; in generateTestName() 92 result << getShaderStageName(param.inputStage); in generateTestName() 93 return result.str(); in generateTestName() 98 std::string result("Tests to check max varyings per stage"); in generateTestDescription() 99 return result; in generateTestDescription() 576 // bool result = true; in initPrograms() 579 // if (result && inputData[i] != ivec4(i)) in initPrograms() 580 // result in initPrograms() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/ |
H A D | vktTessellationFractionalSpacingTests.cpp | 60 std::vector<MembT> result(objs.size()); in members() 62 result[i] = objs[i].*membP; in members() 63 return result; in members() 353 std::vector<float> result; 362 result.push_back(rangeStarts[rangeNdx] + static_cast<float>(i)/numSamplesPerRange); 367 result.push_back(static_cast<float>(i) + 0.3f); 369 return result; 623 // Verify the result.
|
H A D | vktTessellationPrimitiveDiscardTests.cpp | 103 // in the result vector, and when scanning the resulting 2d grid in genAttributes() 111 std::vector<float> result; in genAttributes() local 131 result.push_back(choices[j][i[j]]); in genAttributes() 137 result.push_back((float)2.0f / (float)numCols); in genAttributes() 138 result.push_back((float)2.0f / (float)numRows); in genAttributes() 140 result.push_back((float)col / (float)numCols * 2.0f - 1.0f); in genAttributes() 141 result.push_back((float)row / (float)numRows * 2.0f - 1.0f); in genAttributes() 148 return result; in genAttributes() 528 // Copy render result to a host-visible buffer 552 // Verify case result [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | gas_query_ap.c | 51 enum gas_query_ap_result result, 109 static const char * gas_result_txt(enum gas_query_ap_result result) in gas_result_txt() argument 111 switch (result) { in gas_result_txt() 144 enum gas_query_ap_result result) in gas_query_done() 147 " dialog_token=%u freq=%d status_code=%u result=%s", in gas_query_done() 149 query->status_code, gas_result_txt(result)); in gas_query_done() 156 query->cb(query->ctx, query->addr, query->dialog_token, result, in gas_query_done() 670 * @cb: Callback function for reporting GAS query result and response 677 enum gas_query_ap_result result, in gas_query_ap_req() 142 gas_query_done(struct gas_query_ap *gas, struct gas_query_pending *query, enum gas_query_ap_result result) gas_query_done() argument 674 gas_query_ap_req(struct gas_query_ap *gas, const u8 *dst, int freq, struct wpabuf *req, void (*cb)(void *ctx, const u8 *dst, u8 dialog_token, enum gas_query_ap_result result, const struct wpabuf *adv_proto, const struct wpabuf *resp, u16 status_code), void *ctx) gas_query_ap_req() argument
|
/third_party/vk-gl-cts/framework/delibs/deutil/ |
H A D | deProcess.c | 68 DE_UNREF(res); /* No need to check result. */ in die() 303 ssize_t result = 0; in deProcess_start() local 306 while ((result = read(statusPipe[0], errBuf, 1)) == -1) in deProcess_start() 309 if (result > 0) in deProcess_start() 317 result = read(statusPipe[0], errBuf+errPos, 1); in deProcess_start() 318 if (result == -1) in deProcess_start() 738 BOOL result = GetExitCodeProcess(process->procInfo.hProcess, (LPDWORD)&exitCode); in deProcess_isRunning() local 740 if (result != TRUE) in deProcess_isRunning()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | gas_query_ap.c | 51 enum gas_query_ap_result result, 109 static const char * gas_result_txt(enum gas_query_ap_result result) in gas_result_txt() argument 111 switch (result) { in gas_result_txt() 144 enum gas_query_ap_result result) in gas_query_done() 147 " dialog_token=%u freq=%d status_code=%u result=%s", in gas_query_done() 149 query->status_code, gas_result_txt(result)); in gas_query_done() 156 query->cb(query->ctx, query->addr, query->dialog_token, result, in gas_query_done() 670 * @cb: Callback function for reporting GAS query result and response 677 enum gas_query_ap_result result, in gas_query_ap_req() 142 gas_query_done(struct gas_query_ap *gas, struct gas_query_pending *query, enum gas_query_ap_result result) gas_query_done() argument 674 gas_query_ap_req(struct gas_query_ap *gas, const u8 *dst, int freq, struct wpabuf *req, void (*cb)(void *ctx, const u8 *dst, u8 dialog_token, enum gas_query_ap_result result, const struct wpabuf *adv_proto, const struct wpabuf *resp, u16 status_code), void *ctx) gas_query_ap_req() argument
|
/third_party/alsa-utils/aplay/ |
H A D | aplay.c | 953 ssize_t result = 0, res; local 959 return result > 0 ? result : res; 961 result += res; 964 return result; 1656 #define timersub(a, b, result) \ 1658 (result)->tv_sec = (a)->tv_sec - (b)->tv_sec; \ 1659 (result)->tv_usec = (a)->tv_usec - (b)->tv_usec; \ 1660 if ((result)->tv_usec < 0) { \ 1661 --(result) 2156 ssize_t result = 0; global() local 2195 size_t result = 0; global() local 2248 size_t result = 0; global() local 2290 size_t result = 0; global() local 2341 ssize_t result = count, r; global() local [all...] |
/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/ |
H A D | js_get_input_method_controller.cpp | 233 napi_value result = nullptr; in JsConstructor() local 234 napi_get_null(env, &result); in JsConstructor() 235 return result; in JsConstructor() 373 napi_value result = nullptr; in Subscribe() local 374 napi_get_null(env, &result); in Subscribe() 375 return result; in Subscribe() 408 napi_value result = nullptr; in UnSubscribe() local 409 napi_get_null(env, &result); in UnSubscribe() 410 return result; in UnSubscribe() 447 auto output = [ctxt, isOutput](napi_env env, napi_value *result) in HandleSoftKeyboard() 509 bool result = false; GetValue() local [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pipeline/ |
H A D | pipeline_context_test_ng_new.cpp | 869 auto result = context_->lastMouseEvent_->action == MouseAction::WINDOW_LEAVE; in HWTEST_F() local 870 EXPECT_FALSE(result); in HWTEST_F() 887 result = context_->lastMouseEvent_->action == MouseAction::WINDOW_LEAVE; in HWTEST_F() 888 EXPECT_TRUE(result); in HWTEST_F() 1005 * @tc.expected: Expect the result to be (0.0, 0.0) in HWTEST_F() 1015 * @tc.expected: Expect the result to be (0.0, 0.0) in HWTEST_F() 1025 * @tc.expected: Expect the result to be (1.75, 1.75) in HWTEST_F() 1035 * @tc.expected: Expect the result to be (0.0, 0.0) in HWTEST_F() 1073 * @tc.expected: All result is 0.0f. in HWTEST_F() 1079 std::tuple<float, float, float, float> result in HWTEST_F() local 1184 TouchEvent result = context_->GetLatestPoint(events, 1000); HWTEST_F() local 1207 TouchEvent result = context_->GetLatestPoint(events, nanoTimeStamp); HWTEST_F() local 1230 TouchEvent result = context_->GetLatestPoint(events, nanoTimeStamp); HWTEST_F() local [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/ |
H A D | ble_central_manager_impl.cpp | 60 /// scan result list 462 BleScanResultImpl result; in AddPeripheralDevice() local 463 result.SetPeripheralDevice(device); in AddPeripheralDevice() 464 pimpl->bleScanResult_.push_back(result); in AddPeripheralDevice() 497 void BleCentralManagerImpl::AddBleScanFilterResult(uint8_t result, void *context) in AddBleScanFilterResult() argument 503 &BleCentralManagerImpl::HandleAddBleScanFilterResult, centralManager, result)); in AddBleScanFilterResult() 507 void BleCentralManagerImpl::DeleteBleScanFilterResult(uint8_t result, void *context) in DeleteBleScanFilterResult() argument 513 &BleCentralManagerImpl::HandleDeleteBleScanFilterResult, centralManager, result)); in DeleteBleScanFilterResult() 517 void BleCentralManagerImpl::StartBleScanFilterResult(uint8_t result, void *context) in StartBleScanFilterResult() argument 523 &BleCentralManagerImpl::HandleStartBleScanFilterResult, centralManager, result)); in StartBleScanFilterResult() 527 StopBleScanFilterResult(uint8_t result, void *context) StopBleScanFilterResult() argument 537 HandleAddBleScanFilterResult(uint8_t result) HandleAddBleScanFilterResult() argument 549 HandleDeleteBleScanFilterResult(uint8_t result) HandleDeleteBleScanFilterResult() argument 561 HandleStartBleScanFilterResult(uint8_t result) HandleStartBleScanFilterResult() argument 573 HandleStopBleScanFilterResult(uint8_t result) HandleStopBleScanFilterResult() argument [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_free_install_test/ |
H A D | bms_bundle_free_install_test.cpp | 375 bool result = bundleMgr->SetModuleRemovable(BUNDLE_NAME, MODULE_NAME_TEST, true); in HWTEST_F() local 376 EXPECT_TRUE(result); in HWTEST_F() 782 std::string installResult = "{\"version\":\"1.0.0\", \"result\":{\"transactId\":\"1\"," in HWTEST_F() 802 std::string installResult = "{\"version\":\"1.0.0\", \"result\":{\"transactId\":\"1\"," in HWTEST_F() 823 std::string installResult = "{\"version\":\"1.0.0\", \"result\":{\"transactId\":\"1\"," in HWTEST_F() 1530 InstallResult result; in HWTEST_F() local 1533 result.Unmarshalling(parcel); in HWTEST_F() 1535 EXPECT_EQ(installResult.version, result.version); in HWTEST_F() 1580 auto result = callbackStub.OnRemoteRequest(code, data, reply, option); in HWTEST_F() local 1582 EXPECT_EQ(result, in HWTEST_F() 1600 auto result = callbackStub.OnRemoteRequest(code, data, reply, option); HWTEST_F() local 1621 auto result = callbackStub.OnRemoteRequest(code, data, reply, option); HWTEST_F() local 1667 auto result = callbackStub.OnInstallFinished(installResult); HWTEST_F() local 1682 auto result = callbackStub.OnInstallFinished(installResult); HWTEST_F() local 1697 auto result = callbackStub.OnInstallFinished(installResult); HWTEST_F() local 2005 bool result = bundleDataMgr_->GetNameForUid(IPCSkeleton::GetCallingUid(), callerBundleName); HWTEST_F() local [all...] |
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/ |
H A D | animation_system.cpp | 275 // while result is the contents of the vector i.e. an array. in Add() 280 [](float initial, float result) { return initial + result; }); in Add() 301 T result; in Interpolate() local 304 result = Step(values[interpolation.startIndex], values[interpolation.endIndex], interpolation.t); in Interpolate() 309 result = Lerp(values[interpolation.startIndex], values[interpolation.endIndex], interpolation.t); in Interpolate() 315 result = Math::Hermite(p0.splineVertex, p0.outTangent, p1.splineVertex, p1.inTangent, interpolation.t); in Interpolate() 323 // Convert result to relative and apply weight. in Interpolate() 324 target = (result - initial) * interpolation.weight; in Interpolate() 338 Math::Quat result; in Interpolate() local 819 IAnimationPlayback* result = playback.get(); CreatePlayback() local [all...] |
/foundation/distributedhardware/distributed_audio/services/audiomanager/managersource/src/ |
H A D | daudio_source_dev.cpp | 224 DHLOGE("Failed to disable audio device, result is: %{public}d.", ret); in DisableDAudio() 468 DHLOGE("Not found the keys of result."); in HandleNotifyRPC() 474 DHLOGD("Notify RPC event: %{public}d, result: %{public}d.", event.type, rpcResult_); in HandleNotifyRPC() 668 int32_t result = 0; in TaskEnableDAudio() local 671 result = EnableDSpeaker(dhId, attrsStr); in TaskEnableDAudio() 674 result = EnableDMic(dhId, attrsStr); in TaskEnableDAudio() 678 result = ERR_DH_AUDIO_NOT_SUPPORT; in TaskEnableDAudio() 682 return result; in TaskEnableDAudio() 727 void DAudioSourceDev::OnEnableTaskResult(int32_t resultCode, const std::string &result, const std::string &funcName) in OnEnableTaskResult() argument 730 DHLOGI("On enable task result in OnEnableTaskResult() 795 OnDisableTaskResult(int32_t resultCode, const std::string &result, const std::string &funcName) OnDisableTaskResult() argument 1279 OnTaskResult(int32_t resultCode, const std::string &result, const std::string &funcName) OnTaskResult() argument 1343 NotifyHDF(const AudioEventType type, const std::string result, const int32_t dhId) NotifyHDF() argument [all...] |
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | ec.c | 868 int result; in acpi_ec_read() local 874 result = acpi_ec_transaction(ec, &t); in acpi_ec_read() 876 return result; in acpi_ec_read() 1173 int result; in acpi_ec_query() local 1185 result = acpi_ec_transaction(ec, &q->transaction); in acpi_ec_query() 1187 result = -ENODATA; in acpi_ec_query() 1188 if (result) in acpi_ec_query() 1193 result = -ENODATA; in acpi_ec_query() 1214 if (result) in acpi_ec_query() 1218 return result; in acpi_ec_query() 1307 int result = 0, i, bytes = bits / 8; acpi_ec_space_handler() local 2045 int result = 0; param_set_event_clearing() local 2139 int result; acpi_ec_init() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | smu8_hwmgr.c | 314 int result = 0; in smu8_get_system_info_data() local 410 return result; in smu8_get_system_info_data() 1097 int result = 0; in smu8_hwmgr_backend_init() local 1106 result = smu8_initialize_dpm_defaults(hwmgr); in smu8_hwmgr_backend_init() 1107 if (result != 0) { in smu8_hwmgr_backend_init() 1109 return result; in smu8_hwmgr_backend_init() 1112 result = smu8_get_system_info_data(hwmgr); in smu8_hwmgr_backend_init() 1113 if (result != 0) { in smu8_hwmgr_backend_init() 1115 return result; in smu8_hwmgr_backend_init() 1122 return result; in smu8_hwmgr_backend_init() 1394 int result; smu8_dpm_get_num_of_pp_table_entries() local 1405 int result; smu8_dpm_get_pp_table_entry() local 1724 int result; smu8_read_sensor() local [all...] |