/third_party/musl/Benchmark/scripts/ |
H A D | compare_benchmark_result.py | 28 def get_format(before_data, after_data, pct, fluctuation_range): 32 if pct <= fluctuation_range: 85 pct = 0 if before_data == 0 else round((abs(before_data - after_data) / before_data) * 100, 2) 87 output_format = self.get_format(before_data, after_data, pct, float(args.range)) 88 signed_pct = "{}{}{}".format(sign, str(pct), "%")
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineColorWriteEnableTests.cpp | 1148 PipelineConstructionType pct; member 1197 const PipelineConstructionType pct) in GraphicsPipelineWrapperEx() 1198 : GraphicsPipelineWrapper (vki, vkd, physDev, dev, exts, pct) in GraphicsPipelineWrapperEx() 1306 checkPipelineConstructionRequirements(vki, physicalDevice, m_params.pct); in checkSupport() 1408 return RenderPassWrapper(m_params.pct, m_vkd, m_device, &renderPassCreateInfo); in createRenderPass() 1658 PipelineLayoutWrapper pipelineLayout (m_params.pct, m_vkd, m_device, 0u, nullptr, 0u, nullptr); in iterate() 1668 pipelines.emplace_back(vki, m_vkd, physicalDevice, m_device, m_context.getDeviceExtensions(), m_params.pct); in iterate() 1716 tcu::TestCaseGroup* createColorWriteEnableTests (tcu::TestContext& testCtx, vk::PipelineConstructionType pct) in createColorWriteEnableTests() argument 1778 if (vk::isConstructionTypeShaderObject(pct) && (kOrderingCase.ordering == SequenceOrdering::BETWEEN_PIPELINES || kOrderingCase.ordering == SequenceOrdering::AFTER_PIPELINES)) in createColorWriteEnableTests() 1784 AddSingleTestCaseDynamic("enable_all", pct, mask_al in createColorWriteEnableTests() 1852 createColorWriteEnable2Tests(tcu::TestContext& testCtx, vk::PipelineConstructionType pct) createColorWriteEnable2Tests() argument [all...] |
H A D | vktPipelineColorWriteEnableTests.hpp | 35 tcu::TestCaseGroup* createColorWriteEnable2Tests (tcu::TestContext& testCtx, vk::PipelineConstructionType pct);
|
H A D | vktPipelineMultisampleSampleLocationsExtTests.cpp | 1150 const PipelineConstructionType pct) in beginSecondaryCommandBuffer() 1153 DE_UNREF(pct); in beginSecondaryCommandBuffer() 1181 if (isConstructionTypeShaderObject(pct)) in beginSecondaryCommandBuffer() 1145 beginSecondaryCommandBuffer(const DeviceInterface& vk, const VkCommandBuffer commandBuffer, const RenderPassWrapper& renderPass, const deUint32 subpass, const VkSampleCountFlagBits samples, const PipelineConstructionType pct) beginSecondaryCommandBuffer() argument
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineColorWriteEnableTests.cpp | 1142 PipelineConstructionType pct; member 1189 const PipelineConstructionType pct) in GraphicsPipelineWrapperEx() 1190 : GraphicsPipelineWrapper (vkd, dev, pct) in GraphicsPipelineWrapperEx() 1299 checkPipelineLibraryRequirements(vki, physicalDevice, m_params.pct); in checkSupport() 1657 pipelines.emplace_back(m_vkd, m_device, m_params.pct); in iterate() 1705 tcu::TestCaseGroup* createColorWriteEnableTests (tcu::TestContext& testCtx, vk::PipelineConstructionType pct) in createColorWriteEnableTests() argument 1763 AddSingleTestCaseDynamic("enable_all", "Dynamically enable writes to all color attachments", pct, mask_all, kChannelCase.enabledChannels, false, orderingGroup.get(), testCtx, kOrdering); in createColorWriteEnableTests() 1764 AddSingleTestCaseDynamic("enable_first", "Dynamically enable writes to the first color attachment", pct, mask_first, kChannelCase.enabledChannels, false, orderingGroup.get(), testCtx, kOrdering); in createColorWriteEnableTests() 1765 AddSingleTestCaseDynamic("enable_second", "Dynamically enable writes to the second color attachment", pct, mask_second, kChannelCase.enabledChannels, false, orderingGroup.get(), testCtx, kOrdering); in createColorWriteEnableTests() 1766 AddSingleTestCaseDynamic("enable_last", "Dynamically enable writes to the last color attachment", pct, mask_las in createColorWriteEnableTests() 1808 createColorWriteEnable2Tests(tcu::TestContext& testCtx, vk::PipelineConstructionType pct) createColorWriteEnable2Tests() argument [all...] |
H A D | vktPipelineColorWriteEnableTests.hpp | 35 tcu::TestCaseGroup* createColorWriteEnable2Tests (tcu::TestContext& testCtx, vk::PipelineConstructionType pct);
|
/third_party/mesa3d/src/gallium/auxiliary/hud/ |
H A D | hud_nic.c | 200 float pct = (bits / period_speed) * 100; in query_nic_load() local 206 if (pct > 100) in query_nic_load() 207 pct = 100; in query_nic_load() 208 hud_graph_add_value(gr, (uint64_t) pct); in query_nic_load()
|
/third_party/libwebsockets/lib/roles/cgi/ |
H A D | cgi-server.c | 159 char *pct = lws_hdr_simple_ptr(wsi, in lws_cgi() local 162 if (pct && !strcmp(pct, "gzip")) in lws_cgi()
|
/third_party/backends/backend/ |
H A D | canon630u-common.c | 994 int pct; in compute_ogn() local 1029 pct = newline[i] - oldline[i]; in compute_ogn() 1035 if (pct < -10 || pct > 10) in compute_ogn()
|
H A D | umax1220u-common.c | 1470 double av, pct; in get_caldata_2100U() local 1543 pct = 100.0 - (av * 100.0) / 250; in get_caldata_2100U() 1544 gn = (int) (pct / 0.57); in get_caldata_2100U() 1546 pct = gn; in get_caldata_2100U() 1547 av = exp((-pct)/50)*2.5+0.9; in get_caldata_2100U()
|
H A D | umax_pp_low.c | 9505 float pct; in evalGain() local 9515 /* pct=100-(value*100)/250 */ in evalGain() 9516 /* then correction is pct/0.57 */ in evalGain() 9518 pct = 100.0 - (avg * 100.0) / targetCode; in evalGain() 9519 gn = (int) (pct / 0.57); in evalGain() 9531 pct = gn; in evalGain() 9532 avg = exp((-pct)/area)*coeff+cnst; in evalGain() 12462 float avg, pct, coeff = 0; in shadingCalibration610p() local 12578 pct = 100.0 - (avg * 100.0) / targetCode; in shadingCalibration610p() 12583 coeff = (int) (pct / 0.5 in shadingCalibration610p() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeAnalyzer.cpp | 660 double pct = (Stats.NumBits * 100.0) / BufferSizeBits; in printStats() local 661 O.OS << " Percent of file: " << format("%2.4f%%", pct) << "\n"; in printStats() 678 double pct = (Stats.NumAbbreviatedRecords * 100.0) / Stats.NumRecords; in printStats() local 679 O.OS << " Percent Abbrevs: " << format("%2.4f%%", pct) << "\n"; in printStats()
|
/third_party/ffmpeg/libavformat/ |
H A D | asfdec_f.c | 1520 int pct, ict; in asf_build_simple_index() local 1526 pct = avio_rl32(s->pb); in asf_build_simple_index() 1529 "itime:0x%"PRIx64", pct:%d, ict:%d\n", itime, pct, ict); in asf_build_simple_index()
|