Home
last modified time | relevance | path

Searched refs:calculate (Results 1 – 25 of 459) sorted by relevance

12345678910>>...19

/external/python/cpython3/Modules/
Dgetpath.c451 search_for_prefix(PyCalculatePath *calculate, _PyPathConfig *pathconfig, in search_for_prefix() argument
466 status = joinpath(prefix, calculate->lib_python, prefix_len); in search_for_prefix()
477 wchar_t *path = joinpath2(calculate->argv0_path, BUILD_LANDMARK); in search_for_prefix()
491 if (safe_wcscpy(prefix, calculate->argv0_path, prefix_len) < 0) { in search_for_prefix()
495 status = joinpath(prefix, calculate->vpath_macro, prefix_len); in search_for_prefix()
518 status = copy_absolute(prefix, calculate->argv0_path, prefix_len); in search_for_prefix()
526 status = joinpath(prefix, calculate->lib_python, prefix_len); in search_for_prefix()
546 if (safe_wcscpy(prefix, calculate->prefix_macro, prefix_len) < 0) { in search_for_prefix()
549 status = joinpath(prefix, calculate->lib_python, prefix_len); in search_for_prefix()
571 calculate_prefix(PyCalculatePath *calculate, _PyPathConfig *pathconfig) in calculate_prefix() argument
[all …]
/external/python/cpython3/PC/
Dgetpathp.c669 get_pth_filename(PyCalculatePath *calculate, wchar_t *filename, in get_pth_filename() argument
689 calculate_pth_file(PyCalculatePath *calculate, _PyPathConfig *pathconfig, in calculate_pth_file() argument
694 if (!get_pth_filename(calculate, filename, pathconfig)) { in calculate_pth_file()
707 calculate_pyvenv_file(PyCalculatePath *calculate, in calculate_pyvenv_file() argument
750 calculate_home_prefix(PyCalculatePath *calculate, in calculate_home_prefix() argument
755 if (calculate->home == NULL || *calculate->home == '\0') { in calculate_home_prefix()
759 calculate->home = prefix; in calculate_home_prefix()
762 calculate->home = prefix; in calculate_home_prefix()
765 calculate->home = NULL; in calculate_home_prefix()
769 wcscpy_s(prefix, MAXPATHLEN+1, calculate->home); in calculate_home_prefix()
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/
DMethodCoverageCalculatorTest.java56 c.calculate(coverage); in should_report_instructions()
70 c.calculate(coverage); in should_report_instructions_with_branches()
85 c.calculate(coverage); in should_ignore_single_instruction()
103 c.calculate(coverage); in should_ignore_instruction_range()
119 c.calculate(coverage); in should_exclude_ignored_instructions_from_computation_of_first_and_last_lines()
134 c.calculate(coverage); in should_merge_instructions()
150 c.calculate(coverage); in should_merge_multiple_instructions()
165 c.calculate(coverage); in should_merge_instructions_redundant()
182 c.calculate(coverage); in should_replace_branches()
200 c.calculate(coverage); in should_replace_branches_with_merged_instructions()
[all …]
/external/llvm-project/clang-tools-extra/clangd/unittests/
DHeadersTests.cpp82 std::string calculate(PathRef Original, PathRef Preferred = "", in calculate() function in clang::clangd::__anon375945a30111::HeadersTest
227 EXPECT_EQ(calculate(Path), "\"bar.h\""); in TEST_F()
232 EXPECT_EQ(calculate(MainFile), ""); in TEST_F()
237 EXPECT_EQ(calculate(testPath("sub2/main.cpp")), ""); in TEST_F()
242 EXPECT_EQ(calculate(BarHeader), "\"bar.h\""); in TEST_F()
247 EXPECT_EQ(calculate(BarHeader), "\"sub/bar.h\""); in TEST_F()
253 EXPECT_EQ(calculate(BarHeader, ""), "\"sub-2/bar.h\""); in TEST_F()
258 EXPECT_EQ(calculate(BarHeader, "<bar>"), "<bar>"); in TEST_F()
261 EXPECT_EQ(calculate(BarHeader, BazHeader), "\"baz.h\""); in TEST_F()
268 EXPECT_EQ(calculate(testPath("sub/bar.h"), "\"bar.h\"", {Inc}), ""); in TEST_F()
[all …]
/external/lzma/CPP/7zip/Archive/Common/
DOutStreamWithCRC.h25 void Init(bool calculate = true)
28 _calculate = calculate;
31 void EnableCalc(bool calculate) { _calculate = calculate; } in EnableCalc() argument
/external/llvm-project/mlir/include/mlir/Dialect/
DCommonFolders.h31 const CalculationT &calculate) { in constFoldBinaryOp() argument
43 calculate(lhs.getValue(), rhs.getValue())); in constFoldBinaryOp()
51 auto elementResult = calculate(lhs.getSplatValue<ElementValueT>(), in constFoldBinaryOp()
66 elementResults.push_back(calculate(*lhsIt, *rhsIt)); in constFoldBinaryOp()
/external/python/cpython3/Doc/includes/
Dmp_pool.py10 def calculate(func, args): function
18 return calculate(*args)
53 results = [pool.apply_async(calculate, t) for t in TASKS]
126 res = pool.apply_async(calculate, TASKS[0])
Dmp_workers.py12 result = calculate(func, args)
19 def calculate(func, args): function
/external/eigen/bench/btl/generic_bench/timers/
Dportable_perf_analyzer.hh70 action.calculate(); in eval_mflops()
79 action.calculate(); in time_calculate()
83 action.calculate(); in time_calculate()
/external/llvm/lib/Analysis/
DBlockFrequencyInfo.cpp120 calculate(F, BPI, LI); in BlockFrequencyInfo()
138 void BlockFrequencyInfo::calculate(const Function &F, in calculate() function in BlockFrequencyInfo
143 BFI->calculate(F, BPI, LI); in calculate()
247 BFI.calculate(F, BPI, LI); in runOnFunction()
255 BFI.calculate(F, AM.getResult<BranchProbabilityAnalysis>(F), in run()
/external/rust/crates/codespan-reporting/examples/
Dpeg_calculator.rs22 pub rule calculate() -> i64 = precedence!{
33 "(" v:calculate() ")" { v }
51 match arithmetic::calculate(&line) { in main()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/
DDifferenceElementCalculatorTest.java42 List<DifferenceElement> differenceElements = DifferenceElementCalculator.calculate(a, b); in calculateDifferenceEmpty()
57 List<DifferenceElement> differenceElements = DifferenceElementCalculator.calculate(a, b); in calculateDifferenceAIsEmpty()
76 List<DifferenceElement> differenceElements = DifferenceElementCalculator.calculate(a, b); in calculateDifferenceBIsEmpty()
91 …List<DifferenceElement> differenceElements = DifferenceElementCalculator.calculate(csmOriginal, cs… in compilationUnitExampleWithPackageSetDiff()
105 …List<DifferenceElement> differenceElements = DifferenceElementCalculator.calculate(csmOriginal, cs… in annotationDeclarationExampleWithModifierAdded()
142 …List<DifferenceElement> differenceElements = DifferenceElementCalculator.calculate(csmOriginal, cs… in annotationDeclarationExampleWithNameChanged()
177 …List<DifferenceElement> differenceElements = DifferenceElementCalculator.calculate(csmOriginal, cs… in annotationDeclarationExampleWithJavadocAdded()
212 …List<DifferenceElement> differenceElements = DifferenceElementCalculator.calculate(csmOriginal, cs… in annotationDeclarationExampleWithJavadocRemoved()
247 …List<DifferenceElement> differenceElements = DifferenceElementCalculator.calculate(csmOriginal, cs… in annotationDeclarationExampleWithModifierRemoved()
280 …List<DifferenceElement> differenceElements = DifferenceElementCalculator.calculate(csmOriginal, cs… in removeDefaultValueInAnnotationMemberDeclaration()
[all …]
/external/python/cpython2/Doc/includes/
Dmp_pool.py17 def calculate(func, args): function
25 return calculate(*args)
68 results = [pool.apply_async(calculate, t) for t in TASKS]
190 res = pool.apply_async(calculate, TASKS[0])
Dmp_workers.py25 result = calculate(func, args)
32 def calculate(func, args): function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DBlockFrequencyInfo.cpp157 calculate(F, BPI, LI); in BlockFrequencyInfo()
184 void BlockFrequencyInfo::calculate(const Function &F, in calculate() function in BlockFrequencyInfo
189 BFI->calculate(F, BPI, LI); in calculate()
323 BFI.calculate(F, BPI, LI); in runOnFunction()
331 BFI.calculate(F, AM.getResult<BranchProbabilityAnalysis>(F), in run()
/external/llvm-project/llvm/lib/Analysis/
DBlockFrequencyInfo.cpp157 calculate(F, BPI, LI); in BlockFrequencyInfo()
184 void BlockFrequencyInfo::calculate(const Function &F, in calculate() function in BlockFrequencyInfo
189 BFI->calculate(F, BPI, LI); in calculate()
328 BFI.calculate(F, BPI, LI); in runOnFunction()
336 BFI.calculate(F, AM.getResult<BranchProbabilityAnalysis>(F), in run()
/external/pdfium/testing/resources/javascript/
Dapp_properties_expected.txt3 Alert: app.calculate is boolean true
16 Alert: app.calculate = 3; yields 3
29 Alert: app.calculate is boolean true
/external/bc/manuals/
Dalgorithms.md76 to calculate `sin(x)` and `cos(x)`. It also uses the relation
82 to calculate `cos(x)`. It has a complexity of `O(n^3)`.
100 to calculate `e^x`. Since this only works when `x` is small, it uses
120 (where `a` is equal to `(x - 1)/(x + 1)`) to calculate `ln(x)` when `x` is small
141 to calculate `atan(x)` for small `x` and the relation
161 to calculate the bessel function (integer order only).
169 to calculate the bessel when `x < 0`, It has a complexity of `O(n^3)`.
/external/llvm-project/llvm/lib/CodeGen/
DMachineBlockFrequencyInfo.cpp180 calculate(F, MBPI, MLI); in MachineBlockFrequencyInfo()
192 void MachineBlockFrequencyInfo::calculate( in calculate() function in MachineBlockFrequencyInfo
197 MBFI->calculate(F, MBPI, MLI); in calculate()
214 calculate(F, MBPI, MLI); in runOnMachineFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineBlockFrequencyInfo.cpp180 calculate(F, MBPI, MLI); in MachineBlockFrequencyInfo()
192 void MachineBlockFrequencyInfo::calculate( in calculate() function in MachineBlockFrequencyInfo
197 MBFI->calculate(F, MBPI, MLI); in calculate()
214 calculate(F, MBPI, MLI); in runOnMachineFunction()
/external/lzma/CPP/7zip/UI/Common/
DArchiveExtractCallback.h38 void Init(bool calculate = true)
42 _calculate = calculate;
44 void EnableCalc(bool calculate) { _calculate = calculate; } in EnableCalc() argument
/external/llvm-project/llvm/docs/CommandGuide/
Dllvm-locstats.rst1 llvm-locstats - calculate statistics on DWARF debug location
30 calculate the location statistics only for local variables
34 calculate the location statistics only for formal parameters
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderFConvertTests.cpp316 static BufferSizeInfo calculate (size_t numValues_, size_t vectorLength_) in calculate() function
352 BufferSizeInfo sizeInfo = BufferSizeInfo::calculate<T>(values.size(), vectorLength); in packFloats()
550 …inputBufferSizeInfo = BufferSizeInfo::calculate<tcu::Float16>(inputValues.size(), m_params.vectorL… in iterate()
554 …outputBufferSizeInfo = BufferSizeInfo::calculate<tcu::Float32>(inputValues.size(), m_params.vector… in iterate()
557 …outputBufferSizeInfo = BufferSizeInfo::calculate<tcu::Float64>(inputValues.size(), m_params.vector… in iterate()
570 …inputBufferSizeInfo = BufferSizeInfo::calculate<tcu::Float32>(inputValues.size(), m_params.vectorL… in iterate()
574 …outputBufferSizeInfo = BufferSizeInfo::calculate<tcu::Float16>(inputValues.size(), m_params.vector… in iterate()
577 …outputBufferSizeInfo = BufferSizeInfo::calculate<tcu::Float64>(inputValues.size(), m_params.vector… in iterate()
590 …inputBufferSizeInfo = BufferSizeInfo::calculate<tcu::Float64>(inputValues.size(), m_params.vectorL… in iterate()
594 …outputBufferSizeInfo = BufferSizeInfo::calculate<tcu::Float16>(inputValues.size(), m_params.vector… in iterate()
[all …]
/external/clang/test/SemaCXX/
Dblocks.cpp35 int calculate(unsigned n) { in calculate() function in test2::Power
41 return Power(2).calculate(10); in test()
/external/llvm-project/clang/test/SemaCXX/
Dblocks.cpp35 int calculate(unsigned n) { in calculate() function in test2::Power
41 return Power(2).calculate(10); in test()

12345678910>>...19