Home
last modified time | relevance | path

Searched refs:max_element (Results 1 – 25 of 38) sorted by relevance

12

/external/libcxx/test/std/algorithms/alg.sorting/alg.min.max/
Dmax_element_comp.pass.cpp31 Iter i = std::max_element(first, last, std::greater<int>()); in test()
68 assert(first == std::max_element(first, last, p)); in test_eq0()
90 constexpr auto p = std::max_element(il, il+8, less()); in constexpr_test()
Dmax_element.pass.cpp29 Iter i = std::max_element(first, last); in test()
70 constexpr auto p = std::max_element(il,il+8); in constexpr_test()
/external/webrtc/webrtc/modules/video_coding/codecs/test/
Dstats.cc102 frame = std::max_element(stats_.begin(), stats_.end(), LessForEncodeTime); in PrintSummary()
128 frame = std::max_element(decoded_frames.begin(), decoded_frames.end(), in PrintSummary()
145 frame = std::max_element(stats_.begin(), stats_.end(), LessForEncodedSize); in PrintSummary()
169 frame = std::max_element(stats_.begin(), stats_.end(), LessForBitRate); in PrintSummary()
/external/libtextclassifier/common/
Dalgorithm.h34 std::max_element(elements.begin(), elements.end())); in GetArgMax()
/external/webrtc/webrtc/modules/audio_processing/transient/
Dtransient_detector.cc138 return *std::max_element(previous_results_.begin(), previous_results_.end()); in Detect()
/external/compiler-rt/test/tsan/
Dreal_deadlock_detector_stress_test.cc51 max_locked = *std::max_element(locked.begin(), locked.end()); in Thread()
/external/webrtc/webrtc/test/testsupport/metrics/
Dvideo_metrics.cc74 iter = std::max_element(result->frames.begin(), result->frames.end(), in CalculateStats()
/external/webrtc/webrtc/modules/audio_device/ios/
Daudio_device_unittest_ios.cc290 int max = *std::max_element(vec.begin(), vec.end()); in Write()
323 return *std::max_element(latencies_.begin(), latencies_.end()); in max_latency()
/external/webrtc/webrtc/video/
Dsend_statistics_proxy_unittest.cc322 *std::max_element(config_.rtp.ssrcs.begin(), config_.rtp.ssrcs.end()), in TEST_F()
323 *std::max_element(config_.rtp.rtx.ssrcs.begin(), in TEST_F()
/external/mesa3d/src/mesa/vbo/
Dvbo_exec_array.c836 GLuint max_element = 2 * 1000 * 1000 * 1000; /* just a big number */ in vbo_exec_DrawRangeElementsBaseVertex() local
850 if ((int) end + basevertex < 0 || start + basevertex >= max_element) { in vbo_exec_DrawRangeElementsBaseVertex()
864 max_element - 1); in vbo_exec_DrawRangeElementsBaseVertex()
893 if ((int) start + basevertex < 0 || end + basevertex >= max_element) in vbo_exec_DrawRangeElementsBaseVertex()
/external/webrtc/webrtc/modules/audio_device/android/
Daudio_device_unittest.cc297 int max = *std::max_element(vec.begin(), vec.end()); in Write()
333 return *std::max_element(latencies_.begin(), latencies_.end()); in max_latency()
/external/deqp/modules/glshared/
DglsCalibration.cpp55 …return (*mid + *std::max_element(data.begin(), mid))*0.5f; // Data is partially sorted around mid,… in destructiveMedian()
/external/clang/lib/Sema/
DSemaCUDA.cpp161 Sema::CUDAFunctionPreference BestCFP = GetCFP(*std::max_element( in EraseUnwantedCUDAMatchesImpl()
/external/llvm/lib/Transforms/Scalar/
DLoopLoadElimination.cpp307 std::max_element(Candidates.begin(), Candidates.end(), in findPointersWrittenOnForwardingPath()
/external/libtextclassifier/smartselect/
Dtext-classification-model.cc317 std::max_element(scores.begin(), scores.end()) - scores.begin(); in BestSelectionSpan()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationFractionalSpacingTests.cpp442 …const int maxNumVertices = 1 + getClampedRoundedTessLevel(spacingMode, *std::max_element(tessL… in test()
DvktTessellationCoordinatesTests.cpp492 …const size_t maxNumVertices = static_cast<int>(std::max_element(allReferenceTessCoords.begin(), al… in iterate()
/external/llvm/include/llvm/CodeGen/
DRegAllocPBQP.h64 *std::max_element(ColCounts, ColCounts + M.getCols() - 1); in MatrixMetadata()
/external/llvm/lib/IR/
DDataLayout.cpp722 auto Max = std::max_element(LegalIntWidths.begin(), LegalIntWidths.end()); in getLargestLegalIntTypeSizeInBits()
/external/clang/test/SemaCXX/
Dconstant-expression-cxx11.cpp420 constexpr const char *max_element(const char *a, const char *b) { in max_element() function
421 return (a+1 >= b) ? a : max_iter(a, max_element(a+1, b)); in max_element()
425 constexpr const char *max = max_element(begin(str), end(str));
/external/libchrome/sandbox/linux/syscall_broker/
Dbroker_process_unittest.cc525 *std::max_element(available_fds, in SANDBOX_TEST_ALLOW_NOISE()
/external/llvm/lib/Target/Mips/
DMipsDelaySlotFiller.cpp800 MachineBasicBlock *S = *std::max_element( in selectSuccBB()
/external/libchrome/base/test/
Dtrace_event_analyzer.cc933 stats->max_us = *std::max_element(deltas.begin(), deltas.end()); in GetRateStats()
/external/clang/lib/CodeGen/
DCodeGenPGO.cpp868 uint64_t MaxWeight = *std::max_element(Weights.begin(), Weights.end()); in createProfileWeights()
/external/libcxx/include/
Dalgorithm560 max_element(ForwardIterator first, ForwardIterator last); // constexpr in C++14
564 max_element(ForwardIterator first, ForwardIterator last, Compare comp); // constexpr in C++14
2571 // max_element
2576 max_element(_ForwardIterator __first, _ForwardIterator __last, _Compare __comp)
2592 max_element(_ForwardIterator __first, _ForwardIterator __last)
2594 return _VSTD::max_element(__first, __last,
2623 return *_VSTD::max_element(__t.begin(), __t.end(), __comp);
2631 return *_VSTD::max_element(__t.begin(), __t.end(), __less<_Tp>());

12