Home
last modified time | relevance | path

Searched refs:Mode (Results 1 – 25 of 1489) sorted by relevance

12345678910>>...60

/external/llvm-project/libcxx/benchmarks/
Dmap.bench.cpp28 enum class Mode { Hit, Miss }; enum
30 struct AllModes : EnumValuesAsTuple<AllModes, Mode, 2> {
60 TestSets makeTestingSets(size_t MapSize, Mode mode, Shuffle shuffle, in makeTestingSets()
71 R.Keys.push_back(mode == Mode::Hit ? 2 * I + 2 : 2 * I + 1); in makeTestingSets()
114 auto Data = makeTestingSets(MapSize, Mode::Hit, Shuffle::None, 1); in run()
135 auto Data = makeTestingSets(MapSize, Mode::Hit, Shuffle::None, 1); in run()
156 auto Data = makeTestingSets(MapSize, Mode::Hit, Shuffle::None, 1000); in run()
163 Data = makeTestingSets(MapSize, Mode::Hit, Shuffle::None, 1000); in run()
179 auto Data = makeTestingSets(MapSize, Mode::Hit, Shuffle::None, 1); in run()
198 auto Data = makeTestingSets(MapSize, Mode::Hit, Shuffle::None, 1); in run()
[all …]
/external/perfetto/src/trace_processor/containers/
Drow_map.h117 case Mode::kRange: in Iterator()
120 case Mode::kBitVector: in Iterator()
124 case Mode::kIndexVector: in Iterator()
136 case Mode::kRange: in Next()
139 case Mode::kBitVector: in Next()
142 case Mode::kIndexVector: in Next()
151 case Mode::kRange:
153 case Mode::kBitVector:
155 case Mode::kIndexVector:
168 case Mode::kRange: in row()
[all …]
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-reactive/src/
DAwait.kt26 public suspend fun <T> Publisher<T>.awaitFirst(): T = awaitOne(Mode.FIRST) in <lambda>()
36 public suspend fun <T> Publisher<T>.awaitFirstOrDefault(default: T): T = awaitOne(Mode.FIRST_OR_DEF… in <lambda>()
46 public suspend fun <T> Publisher<T>.awaitFirstOrNull(): T? = awaitOne(Mode.FIRST_OR_DEFAULT) in <lambda>()
56 public suspend fun <T> Publisher<T>.awaitFirstOrElse(defaultValue: () -> T): T = awaitOne(Mode.FIRS… in <lambda>()
68 public suspend fun <T> Publisher<T>.awaitLast(): T = awaitOne(Mode.LAST) in <lambda>()
81 public suspend fun <T> Publisher<T>.awaitSingle(): T = awaitOne(Mode.SINGLE) in <lambda>()
94 public suspend fun <T> Publisher<T>.awaitSingleOrDefault(default: T): T = awaitOne(Mode.SINGLE_OR_D… in <lambda>()
107 public suspend fun <T> Publisher<T>.awaitSingleOrNull(): T = awaitOne(Mode.SINGLE_OR_DEFAULT) in <lambda>()
120 public suspend fun <T> Publisher<T>.awaitSingleOrElse(defaultValue: () -> T): T = awaitOne(Mode.SIN… in <lambda>()
124 private enum class Mode(val s: String) { in <lambda>() class
[all …]
/external/eigen/Eigen/src/Geometry/
DTransform.h26 Mode = Transform::Mode, enumerator
27 IsProjective = (int(Mode)==int(Projective))
40 int Mode,
56 int Mode,
82 template<int Mode> struct transform_make_affine;
206 Mode = _Mode,
210 Rows = int(Mode)==(AffineCompact) ? Dim : HDim
223 typedef Block<MatrixType,Dim,Dim,int(Mode)==(AffineCompact) && (Options&RowMajor)==0> LinearPart;
225 …typedef const Block<ConstMatrixType,Dim,Dim,int(Mode)==(AffineCompact) && (Options&RowMajor)==0> C…
227 typedef typename internal::conditional<int(Mode)==int(AffineCompact),
[all …]
/external/skia/modules/svg/src/
DSkSVGFeBlend.cpp18 this->setMode(SkSVGAttributeParser::parse<SkSVGFeBlend::Mode>("mode", name, value)); in parseAndSetAttribute()
21 static SkBlendMode GetBlendMode(SkSVGFeBlend::Mode mode) { in GetBlendMode()
23 case SkSVGFeBlend::Mode::kNormal: in GetBlendMode()
25 case SkSVGFeBlend::Mode::kMultiply: in GetBlendMode()
27 case SkSVGFeBlend::Mode::kScreen: in GetBlendMode()
29 case SkSVGFeBlend::Mode::kDarken: in GetBlendMode()
31 case SkSVGFeBlend::Mode::kLighten: in GetBlendMode()
49 bool SkSVGAttributeParser::parse<SkSVGFeBlend::Mode>( in parse()
50 SkSVGFeBlend::Mode* mode) { in parse()
51 static constexpr std::tuple<const char*, SkSVGFeBlend::Mode> gMap[] = { in parse()
[all …]
/external/eigen/Eigen/src/Core/
DSolveTriangular.h19 template<typename LhsScalar, typename RhsScalar, typename Index, int Side, int Mode, bool Conjugate…
22 template <typename Scalar, typename Index, int Side, int Mode, bool Conjugate, int TriStorageOrder,…
43 int Mode, // can be Upper/Lower | UnitDiag
49 template<typename Lhs, typename Rhs, int Side, int Mode>
50 struct triangular_solver_selector<Lhs,Rhs,Side,Mode,NoUnrolling,1>
71 …triangular_solve_vector<LhsScalar, RhsScalar, Index, Side, Mode, LhsProductTraits::NeedToConjugate,
81 template<typename Lhs, typename Rhs, int Side, int Mode>
82 struct triangular_solver_selector<Lhs,Rhs,Side,Mode,NoUnrolling,Dynamic>
100 …triangular_solve_matrix<Scalar,Index,Side,Mode,LhsProductTraits::NeedToConjugate,(int(Lhs::Flags) …
110 template<typename Lhs, typename Rhs, int Mode, int LoopIndex, int Size,
[all …]
DTriangularMatrix.h32 Mode = internal::traits<Derived>::Mode, enumerator
56 inline TriangularBase() { eigen_assert(!((Mode&UnitDiag) && (Mode&ZeroDiag))); } in TriangularBase()
131 const int mode = int(Mode) & ~SelfAdjoint; in check_coordinates()
177 Mode = _Mode,
207 Mode = _Mode,
209 TransposeMode = (Mode & Upper ? Lower : 0)
210 | (Mode & Lower ? Upper : 0)
211 | (Mode & (UnitDiag))
212 | (Mode & (ZeroDiag)),
239 typedef TriangularView<const MatrixConjugateReturnType,Mode> ConjugateReturnType;
[all …]
/external/eigen/Eigen/src/SparseCore/
DTriangularSolver.h17 template<typename Lhs, typename Rhs, int Mode,
18 int UpLo = (Mode & Lower)
20 : (Mode & Upper)
27 template<typename Lhs, typename Rhs, int Mode>
28 struct sparse_solve_triangular_selector<Lhs,Rhs,Mode,Lower,RowMajor>
51 if (Mode & UnitDiag)
64 template<typename Lhs, typename Rhs, int Mode>
65 struct sparse_solve_triangular_selector<Lhs,Rhs,Mode,Upper,RowMajor>
82 if(!(Mode & UnitDiag))
95 if (Mode & UnitDiag) other.coeffRef(i,col) = tmp;
[all …]
DSparseTriangularView.h25 template<typename MatrixType, unsigned int Mode> class TriangularViewImpl<MatrixType,Mode,Sparse>
26 : public SparseMatrixBase<TriangularView<MatrixType,Mode> >
28 enum { SkipFirst = ((Mode&Lower) && !(MatrixType::Flags&RowMajorBit))
29 || ((Mode&Upper) && (MatrixType::Flags&RowMajorBit)),
31 SkipDiag = (Mode&ZeroDiag) ? 1 : 0,
32 HasUnitDiag = (Mode&UnitDiag) ? 1 : 0
35 typedef TriangularView<MatrixType,Mode> TriangularViewType;
68 template<typename ArgType, unsigned int Mode>
69 struct unary_evaluator<TriangularView<ArgType,Mode>, IteratorBased>
70 : evaluator_base<TriangularView<ArgType,Mode> >
[all …]
/external/llvm-project/compiler-rt/lib/xray/
Dxray_log_interface.cpp40 const char *Mode; member
64 __xray_log_register_mode(const char *Mode, in __xray_log_register_mode() argument
73 if (!internal_strcmp(Mode, it->Mode)) in __xray_log_register_mode()
78 NewModeImpl->Mode = internal_strdup(Mode); in __xray_log_register_mode()
85 __xray_log_select_mode(const char *Mode) XRAY_NEVER_INSTRUMENT { in __xray_log_select_mode() argument
88 if (!internal_strcmp(Mode, it->Mode)) { in __xray_log_select_mode()
102 return CurrentMode->Mode; in __xray_log_get_current_mode()
139 XRayLogInitStatus __xray_log_init_mode(const char *Mode, const char *Config) in __xray_log_init_mode() argument
149 if (CurrentMode == nullptr || internal_strcmp(CurrentMode->Mode, Mode) != 0) in __xray_log_init_mode()
160 __xray_log_init_mode_bin(const char *Mode, const char *Config, in __xray_log_init_mode_bin() argument
[all …]
/external/skqp/src/gpu/effects/
DGrTextureDomain.h30 enum Mode { enum
56 GrTextureDomain(GrTextureProxy*, const SkRect& domain, Mode modeX, Mode modeY, int index = -1);
61 Mode modeX() const { return fModeX; } in modeX()
62 Mode modeY() const { return fModeY; } in modeY()
68 static const SkRect MakeTexelDomain(const SkIRect& texelRect, Mode mode) { in MakeTexelDomain()
72 static const SkRect MakeTexelDomain(const SkIRect& texelRect, Mode modeX, Mode modeY) { in MakeTexelDomain()
85 Mode modeX, Mode modeY) { in IsDecalSampled()
92 static bool IsDecalSampled(const GrSamplerState::WrapMode wraps[2], Mode modeX, Mode modeY) { in IsDecalSampled()
96 static bool IsDecalSampled(const GrSamplerState& sampler, Mode modeX, Mode modeY) { in IsDecalSampled()
165 SkDEBUGCODE(Mode fModeX;)
[all …]
/external/skia/bench/
DClipStrategyBench.cpp15 enum class Mode { enum in ClipStrategyBench
20 ClipStrategyBench(Mode mode, size_t count) in ClipStrategyBench()
25 if (fMode == Mode::kClipPath) { in ClipStrategyBench()
51 if (fMode == Mode::kClipPath) { in onDraw()
75 Mode fMode;
83 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kClipPath, 1 );)
84 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kClipPath, 5 );)
85 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kClipPath, 10 );)
86 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kClipPath, 100);)
88 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kMask, 1 );)
[all …]
/external/skqp/bench/
DClipStrategyBench.cpp15 enum class Mode { enum in ClipStrategyBench
20 ClipStrategyBench(Mode mode, size_t count) in ClipStrategyBench()
25 if (fMode == Mode::kClipPath) { in ClipStrategyBench()
51 if (fMode == Mode::kClipPath) { in onDraw()
75 Mode fMode;
83 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kClipPath, 1 );)
84 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kClipPath, 5 );)
85 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kClipPath, 10 );)
86 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kClipPath, 100);)
88 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kMask, 1 );)
[all …]
/external/rust/crates/nix/test/
Dtest_mq.rs8 use nix::sys::stat::Mode;
17 let mode = Mode::S_IWUSR | Mode::S_IRUSR | Mode::S_IRGRP | Mode::S_IROTH; in test_mq_send_and_receive()
48 let mode = Mode::S_IWUSR | Mode::S_IRUSR | Mode::S_IRGRP | Mode::S_IROTH; in test_mq_getattr()
71 let mode = Mode::S_IWUSR | Mode::S_IRUSR | Mode::S_IRGRP | Mode::S_IROTH; in test_mq_setattr()
108 let mode = Mode::S_IWUSR | Mode::S_IRUSR | Mode::S_IRGRP | Mode::S_IROTH; in test_mq_set_nonblocking()
133 let mode = Mode::S_IWUSR | Mode::S_IRUSR | Mode::S_IRGRP | Mode::S_IROTH; in test_mq_unlink()
/external/boringssl/src/crypto/fipsmodule/aes/
Daes_tests.txt3 Mode = Raw
8 Mode = Raw
13 Mode = Raw
22 Mode = KeyWrap
27 Mode = KeyWrap
32 Mode = KeyWrap
37 Mode = KeyWrap
42 Mode = KeyWrap
47 Mode = KeyWrap
55 Mode = KeyWrapWithPadding
[all …]
/external/clang/utils/analyzer/
DSumTimerInfo.py34 Mode = 1 variable
37 Mode = 1 variable
38 if (("Analyzer Total Time" in line) and (Mode == 1)) :
44 if ((("warning generated." in line) or ("warnings generated" in line)) and Mode == 1) :
47 if (("The # of functions analysed (as top level)" in line) and (Mode == 1)) :
50 if (("The % of reachable basic blocks" in line) and (Mode == 1)) :
53 if (("The # of times we reached the max number of steps" in line) and (Mode == 1)) :
56 if (("The maximum number of basic blocks in a function" in line) and (Mode == 1)) :
60 if (("The # of steps executed" in line) and (Mode == 1)) :
63 if (("The # of times we inlined a call" in line) and (Mode == 1)) :
[all …]
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLEvpCipherAES.java28 OpenSSLEvpCipherAES(Mode mode, Padding padding) { in OpenSSLEvpCipherAES()
33 void checkSupportedMode(Mode mode) throws NoSuchAlgorithmException { in checkSupportedMode()
62 String getCipherName(int keyLength, Mode mode) { in getCipherName()
72 AES(Mode mode, Padding padding) { in AES()
78 super(Mode.CBC, padding); in CBC()
96 super(Mode.CTR, Padding.NOPADDING); in CTR()
102 super(Mode.ECB, padding); in ECB()
133 AES_128(Mode mode, Padding padding) { in AES_128()
139 super(Mode.CBC, padding); in CBC()
157 super(Mode.CTR, Padding.NOPADDING); in CTR()
[all …]
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLEvpCipherAES.java32 OpenSSLEvpCipherAES(Mode mode, Padding padding) { in OpenSSLEvpCipherAES()
37 void checkSupportedMode(Mode mode) throws NoSuchAlgorithmException { in checkSupportedMode()
66 String getCipherName(int keyLength, Mode mode) { in getCipherName()
79 AES(Mode mode, Padding padding) { in AES()
88 super(Mode.CBC, padding); in CBC()
115 super(Mode.CTR, Padding.NOPADDING); in CTR()
124 super(Mode.ECB, padding); in ECB()
164 AES_128(Mode mode, Padding padding) { in AES_128()
173 super(Mode.CBC, padding); in CBC()
200 super(Mode.CTR, Padding.NOPADDING); in CTR()
[all …]
/external/python/cryptography/tests/hazmat/primitives/
Dtest_kbkdf.py15 CounterLocation, KBKDFHMAC, Mode
25 kdf = KBKDFHMAC(hashes.SHA256(), Mode.CounterMode, 32, 4, 4,
31 kdf = KBKDFHMAC(hashes.SHA256(), Mode.CounterMode, 32, 4, 4,
39 kdf = KBKDFHMAC(hashes.SHA256(), Mode.CounterMode, 32, 4, 4,
48 kdf = KBKDFHMAC(hashes.SHA256(), Mode.CounterMode, 32, 4, 4,
57 kdf = KBKDFHMAC(hashes.SHA256(), Mode.CounterMode, 32, 4, 4,
66 kdf = KBKDFHMAC(hashes.SHA1(), Mode.CounterMode, 85899345920, 4, 4,
75 KBKDFHMAC(hashes.SHA256(), Mode.CounterMode, 32, 5, 4,
81 KBKDFHMAC(hashes.SHA1(), Mode.CounterMode, 32, b'r', 4,
87 KBKDFHMAC(hashes.SHA1(), Mode.CounterMode, 32, 4, b'l',
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPorterDuffColorFilterTest.java20 final PorterDuffColorFilter filter = new PorterDuffColorFilter(Color.RED, PorterDuff.Mode.ADD); in constructor_shouldWork()
22 assertThat(filter.getMode()).isEqualTo(PorterDuff.Mode.ADD); in constructor_shouldWork()
28 final PorterDuffColorFilter filter = new PorterDuffColorFilter(Color.RED, PorterDuff.Mode.ADD); in createNativeInstance_shouldWork()
34 PorterDuffColorFilter addFilter = new PorterDuffColorFilter(Color.RED, PorterDuff.Mode.ADD); in hashCode_returnsDifferentValuesForDifferentModes()
35 PorterDuffColorFilter dstFilter = new PorterDuffColorFilter(Color.RED, PorterDuff.Mode.DST); in hashCode_returnsDifferentValuesForDifferentModes()
42 PorterDuffColorFilter blueFilter = new PorterDuffColorFilter(Color.BLUE, PorterDuff.Mode.ADD); in hashCode_returnsDifferentValuesForDifferentColors()
43 PorterDuffColorFilter redFilter = new PorterDuffColorFilter(Color.RED, PorterDuff.Mode.ADD); in hashCode_returnsDifferentValuesForDifferentColors()
50 PorterDuffColorFilter filter1 = new PorterDuffColorFilter(Color.RED, PorterDuff.Mode.ADD); in equals_returnsTrueForEqualObjects()
51 PorterDuffColorFilter filter2 = new PorterDuffColorFilter(Color.RED, PorterDuff.Mode.ADD); in equals_returnsTrueForEqualObjects()
58 PorterDuffColorFilter addFilter = new PorterDuffColorFilter(Color.RED, PorterDuff.Mode.ADD); in equals_returnsFalseForDifferentModes()
[all …]
/external/llvm-project/llvm/lib/Support/
DFileOutputBuffer.cpp79 unsigned Mode) in InMemoryBuffer() argument
81 Mode(Mode) {} in InMemoryBuffer()
102 openFileForWrite(FinalPath, FD, CD_CreateAlways, OF_None, Mode)) in commit()
113 unsigned Mode; member in __anon6d17b15e0111::InMemoryBuffer
118 createInMemoryBuffer(StringRef Path, size_t Size, unsigned Mode) { in createInMemoryBuffer() argument
124 return std::make_unique<InMemoryBuffer>(Path, MB, Size, Mode); in createInMemoryBuffer()
128 createOnDiskBuffer(StringRef Path, size_t Size, unsigned Mode) { in createOnDiskBuffer() argument
130 fs::TempFile::create(Path + ".tmp%%%%%%%", Mode); in createOnDiskBuffer()
157 return createInMemoryBuffer(Path, Size, Mode); in createOnDiskBuffer()
171 unsigned Mode = fs::all_read | fs::all_write; in create() local
[all …]
/external/libchrome/base/memory/
Dplatform_shared_memory_region_posix.cc73 Mode mode, in Take()
89 case Mode::kReadOnly: in Take()
90 case Mode::kUnsafe: in Take()
97 case Mode::kWritable: in Take()
118 (mode_ == Mode::kWritable ? handle_.readonly_fd.is_valid() : true); in IsValid()
125 CHECK_NE(mode_, Mode::kWritable) in Duplicate()
142 CHECK_EQ(mode_, Mode::kWritable) in ConvertToReadOnly()
146 mode_ = Mode::kReadOnly; in ConvertToReadOnly()
154 CHECK_EQ(mode_, Mode::kWritable) in ConvertToUnsafe()
158 mode_ = Mode::kUnsafe; in ConvertToUnsafe()
[all …]
/external/eigen/blas/
DPackedTriangularSolverVector.h15 template<typename LhsScalar, typename RhsScalar, typename Index, int Side, int Mode, bool Conjugate…
19 template<typename LhsScalar, typename RhsScalar, typename Index, int Mode, bool Conjugate>
20 struct packed_triangular_solve_vector<LhsScalar, RhsScalar, Index, OnTheLeft, Mode, Conjugate, RowM…
23 IsLower = (Mode&Lower)==Lower
39 if (!(Mode & UnitDiag))
47 template<typename LhsScalar, typename RhsScalar, typename Index, int Mode, bool Conjugate>
48 struct packed_triangular_solve_vector<LhsScalar, RhsScalar, Index, OnTheLeft, Mode, Conjugate, ColM…
51 IsLower = (Mode&Lower)==Lower
64 if (!(Mode & UnitDiag))
74 template<typename LhsScalar, typename RhsScalar, typename Index, int Mode, bool Conjugate, int Stor…
[all …]
/external/webrtc/modules/audio_coding/neteq/
Ddecision_logic.cc98 if (status.last_mode == NetEq::Mode::kRfc3389Cng) { in GetDecision()
100 } else if (status.last_mode == NetEq::Mode::kCodecInternalCng) { in GetDecision()
109 (status.last_mode == NetEq::Mode::kAccelerateSuccess || in GetDecision()
110 status.last_mode == NetEq::Mode::kAccelerateLowEnergy || in GetDecision()
111 status.last_mode == NetEq::Mode::kPreemptiveExpandSuccess || in GetDecision()
112 status.last_mode == NetEq::Mode::kPreemptiveExpandLowEnergy); in GetDecision()
116 if (status.last_mode != NetEq::Mode::kRfc3389Cng && in GetDecision()
117 status.last_mode != NetEq::Mode::kCodecInternalCng && in GetDecision()
124 if (status.last_mode == NetEq::Mode::kError) { in GetDecision()
161 if ((status.last_mode == NetEq::Mode::kExpand || in GetDecision()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFileOutputBuffer.cpp79 unsigned Mode) in InMemoryBuffer() argument
81 Mode(Mode) {} in InMemoryBuffer()
102 openFileForWrite(FinalPath, FD, CD_CreateAlways, OF_None, Mode)) in commit()
113 unsigned Mode; member in __anonf30c80d20111::InMemoryBuffer
118 createInMemoryBuffer(StringRef Path, size_t Size, unsigned Mode) { in createInMemoryBuffer() argument
124 return std::make_unique<InMemoryBuffer>(Path, MB, Size, Mode); in createInMemoryBuffer()
128 createOnDiskBuffer(StringRef Path, size_t Size, unsigned Mode) { in createOnDiskBuffer() argument
130 fs::TempFile::create(Path + ".tmp%%%%%%%", Mode); in createOnDiskBuffer()
157 return createInMemoryBuffer(Path, Size, Mode); in createOnDiskBuffer()
171 unsigned Mode = fs::all_read | fs::all_write; in create() local
[all …]

12345678910>>...60