/external/eigen/bench/ |
product_threshold.cpp | 28 void print_mode(int mode) 30 if(mode==InnerProduct) std::cout << "i"; 31 if(mode==OuterProduct) std::cout << "o"; 32 if(mode==CoeffBasedProductMode) std::cout << "c"; 33 if(mode==LazyCoeffBasedProductMode) std::cout << "l"; 34 if(mode==GemvProduct) std::cout << "v"; 35 if(mode==GemmProduct) std::cout << "m"; 38 template<int Mode, typename Lhs, typename Rhs, typename Res> 41 c.noalias() += typename ProductReturnType<Lhs,Rhs,Mode>::Type(a,b); 44 template<int M, int N, int K, typename Scalar, int Mode> [all...] |
/external/perfetto/src/profiling/memory/ |
scoped_spinlock.h | 32 enum class Mode { 39 ScopedSpinlock(std::atomic<bool>* lock, Mode mode) : lock_(lock) { 44 LockSlow(mode); 76 void LockSlow(Mode mode);
|
/external/autotest/frontend/client/src/autotest/moblab/wizard/ |
WizardCard.java | 9 import autotest.moblab.wizard.ConfigWizard.Mode; 15 * modes - currently view mode and edit mode. Each mode has its own UI and title. A card is used to 22 private ConfigWizard.Mode currentMode; 27 currentMode = ConfigWizard.Mode.View; 43 * Switches to a mode and update the UI. 45 * @param mode the mode to switch to. 47 * @return the root UI widget for the new mode 141 Mode mode = getMode(); local [all...] |
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/ |
ConsoleWrappers.c | 266 Returns information for an available text mode that the output device(s)
270 @param[in] ModeNumber The mode number to return information on.
274 @retval EFI_UNSUPPORTED The mode number was not valid.
298 Sets the output device(s) to a specified mode.
301 @param[in] ModeNumber The mode number to set.
303 @retval EFI_UNSUPPORTED The mode number was not valid.
342 @retval EFI_UNSUPPORTED The output device is not in a valid text mode.
402 @retval EFI_UNSUPPORTED The output device's mode is not currently in a
403 defined text mode.
463 ProtocolToReturn->SimpleTextOut.Mode = AllocateZeroPool(sizeof(EFI_SIMPLE_TEXT_OUTPUT_MODE)); [all...] |
/external/eigen/Eigen/src/SparseCore/ |
TriangularSolver.h | 17 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...] |
/external/eigen/test/ |
product_trmm.cpp | 20 template<typename Scalar, int Mode, int TriOrder, int OtherOrder, int ResOrder, int OtherCols> 43 tri = mat.template triangularView<Mode>(); 44 triTr = mat.transpose().template triangularView<Mode>(); 48 VERIFY_IS_APPROX( ge_xs = mat.template triangularView<Mode>() * ge_right, tri * ge_right); 49 VERIFY_IS_APPROX( ge_sx = ge_left * mat.template triangularView<Mode>(), ge_left * tri); 51 VERIFY_IS_APPROX( ge_xs.noalias() = mat.template triangularView<Mode>() * ge_right, tri * ge_right); 52 VERIFY_IS_APPROX( ge_sx.noalias() = ge_left * mat.template triangularView<Mode>(), ge_left * tri); 54 VERIFY_IS_APPROX( ge_xs.noalias() = (s1*mat.adjoint()).template triangularView<Mode>() * (s2*ge_left.transpose()), s1*triTr.conjugate() * (s2*ge_left.transpose())); 55 VERIFY_IS_APPROX( ge_sx.noalias() = ge_right.transpose() * mat.adjoint().template triangularView<Mode>(), ge_right.transpose() * triTr.conjugate()); 57 VERIFY_IS_APPROX( ge_xs.noalias() = (s1*mat.adjoint()).template triangularView<Mode>() * (s2*ge_left.adjoint()), s1*triTr.conjugate() * (s2*ge_left.adjoint())) [all...] |
/external/libchrome/base/memory/ |
platform_shared_memory_region.h | 64 // address space, under special access-control constraints (see Mode). 75 // Permission mode of the platform handle. Each mode corresponds to one of the 87 enum class Mode { 116 // Creates a new PlatformSharedMemoryRegion with corresponding mode and size. 117 // Creating in kReadOnly mode isn't supported because then there will be no 129 Mode mode, 160 // called in kWritable mode. 165 // kWritable mode, all other modes will CHECK-fail. The object will hav [all...] |
/external/skia/src/effects/ |
SkTrimPathEffect.cpp | 53 SkTrimPE::SkTrimPE(SkScalar startT, SkScalar stopT, SkTrimPathEffect::Mode mode) 54 : fStartT(startT), fStopT(stopT), fMode(mode) {} 59 SkASSERT(fMode == SkTrimPathEffect::Mode::kNormal); 75 if (fMode == SkTrimPathEffect::Mode::kNormal) { 94 const auto mode = buffer.readUInt(); 97 (mode & 1) ? SkTrimPathEffect::Mode::kInverted : SkTrimPathEffect::Mode::kNormal); 102 sk_sp<SkPathEffect> SkTrimPathEffect::Make(SkScalar startT, SkScalar stopT, Mode mode) [all...] |
/external/skqp/src/effects/ |
SkTrimPathEffect.cpp | 53 SkTrimPE::SkTrimPE(SkScalar startT, SkScalar stopT, SkTrimPathEffect::Mode mode) 54 : fStartT(startT), fStopT(stopT), fMode(mode) {} 59 SkASSERT(fMode == SkTrimPathEffect::Mode::kNormal); 75 if (fMode == SkTrimPathEffect::Mode::kNormal) { 94 const auto mode = buffer.readUInt(); 97 (mode & 1) ? SkTrimPathEffect::Mode::kInverted : SkTrimPathEffect::Mode::kNormal); 102 sk_sp<SkPathEffect> SkTrimPathEffect::Make(SkScalar startT, SkScalar stopT, Mode mode) [all...] |
/external/webrtc/webrtc/modules/desktop_capture/ |
mouse_cursor_monitor.h | 35 enum Mode { 77 virtual void Init(Callback* callback, Mode mode) = 0; 79 // Captures current cursor shape and position (depending on the |mode| passed 82 // time) and then Callback::OnMouseCursorPosition() if mode is set to
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
gsmamr_enc.h | 127 enum Mode 180 enum Mode mode,
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Console/TerminalDxe/ |
TerminalConOut.c | 97 and set display mode to mode 0.
98 If ExtendedVerification is FALSE, only set display mode to mode 0.
149 This->SetAttribute (This, EFI_TEXT_ATTR (This->Mode->Attribute & 0x0F, EFI_BLACK));
171 @retval EFI_UNSUPPORTED If current display mode is out of range.
182 EFI_SIMPLE_TEXT_OUTPUT_MODE *Mode;
208 // Get current display mode
210 Mode = This->Mode;
[all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/SnpDxe/ |
Initialize.c | 120 Snp->Mode.MediaPresent = TRUE;
122 Snp->Mode.MediaPresent = FALSE;
126 Snp->Mode.State = EfiSimpleNetworkInitialized;
211 switch (Snp->Mode.State) {
240 Snp->Mode.MCastFilterCount = 0;
241 Snp->Mode.ReceiveFilterSetting = 0;
242 ZeroMem (Snp->Mode.MCastFilter, sizeof Snp->Mode.MCastFilter);
244 &Snp->Mode.CurrentAddress,
245 &Snp->Mode.PermanentAddress, [all...] |
/external/eigen/blas/ |
PackedTriangularMatrixVector.h | 15 template<typename Index, int Mode, typename LhsScalar, bool ConjLhs, typename RhsScalar, bool ConjRhs, int StorageOrder> 18 template<typename Index, int Mode, typename LhsScalar, bool ConjLhs, typename RhsScalar, bool ConjRhs> 19 struct packed_triangular_matrix_vector_product<Index,Mode,LhsScalar,ConjLhs,RhsScalar,ConjRhs,ColMajor> 23 IsLower = (Mode & Lower) ==Lower, 24 HasUnitDiag = (Mode & UnitDiag)==UnitDiag, 25 HasZeroDiag = (Mode & ZeroDiag)==ZeroDiag 47 template<typename Index, int Mode, typename LhsScalar, bool ConjLhs, typename RhsScalar, bool ConjRhs> 48 struct packed_triangular_matrix_vector_product<Index,Mode,LhsScalar,ConjLhs,RhsScalar,ConjRhs,RowMajor> 52 IsLower = (Mode & Lower) ==Lower, 53 HasUnitDiag = (Mode & UnitDiag)==UnitDiag [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/UefiPxeBcDxe/ |
PxeBcSupport.c | 37 EFI_PXE_BASE_CODE_MODE *Mode;
42 Mode = Private->PxeBc.Mode;
45 if (Mode->UsingIpv6) {
109 @param Mode The pointer to EFI_PXE_BASE_CODE_MODE.
120 IN EFI_PXE_BASE_CODE_MODE *Mode,
127 ASSERT (!Mode->UsingIpv6);
130 // Check whether the current Arp cache in mode data contains this information or not.
132 for (Index = 0; Index < Mode->ArpCacheEntries; Index++) {
133 if (EFI_IP4_EQUAL (&Mode->ArpCache[Index].IpAddr.v4, Ip4Addr)) { [all...] |
/external/eigen/Eigen/src/Core/products/ |
TriangularMatrixVector_BLAS.h | 46 template<typename Index, int Mode, typename LhsScalar, bool ConjLhs, typename RhsScalar, bool ConjRhs, int StorageOrder> 48 triangular_matrix_vector_product<Index,Mode,LhsScalar,ConjLhs,RhsScalar,ConjRhs,StorageOrder,BuiltIn> {}; 51 template<typename Index, int Mode, bool ConjLhs, bool ConjRhs> \ 52 struct triangular_matrix_vector_product<Index,Mode,Scalar,ConjLhs,Scalar,ConjRhs,ColMajor,Specialized> { \ 55 triangular_matrix_vector_product_trmv<Index,Mode,Scalar,ConjLhs,Scalar,ConjRhs,ColMajor>::run( \ 59 template<typename Index, int Mode, bool ConjLhs, bool ConjRhs> \ 60 struct triangular_matrix_vector_product<Index,Mode,Scalar,ConjLhs,Scalar,ConjRhs,RowMajor,Specialized> { \ 63 triangular_matrix_vector_product_trmv<Index,Mode,Scalar,ConjLhs,Scalar,ConjRhs,RowMajor>::run( \ 75 template<typename Index, int Mode, bool ConjLhs, bool ConjRhs> \ 76 struct triangular_matrix_vector_product_trmv<Index,Mode,EIGTYPE,ConjLhs,EIGTYPE,ConjRhs,ColMajor> { [all...] |
/device/linaro/bootloader/edk2/OptionRomPkg/CirrusLogic5430Dxe/ |
CirrusLogic5430GraphicsOutput.c | 46 OUT EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE *Mode
52 Info = Mode->Info;
62 Mode->FrameBufferBase = FrameBufDesc->AddrRangeMin;
63 Mode->FrameBufferSize = Info->HorizontalResolution * Info->VerticalResolution;
84 Graphics Output protocol interface to query video mode
88 ModeNumber - The mode number to return information on.
93 EFI_SUCCESS - Mode information returned.
95 EFI_DEVICE_ERROR - A hardware error occurred trying to retrieve the video mode.
109 if (Info == NULL || SizeOfInfo == NULL || ModeNumber >= This->Mode->MaxMode) {
137 Graphics Output protocol interface to set video mode
[all...] |
/cts/tests/tests/uirendering/src/android/uirendering/cts/blendmode/ |
BitmapBlendModeCanvasClient.java | 29 * as dst out for drawing bitmaps. However, on newer API levels, the clear blend mode is 47 * PorterDuff mode used to mask out the content in the bitmap mask 49 private final PorterDuff.Mode mBitmapMode; 54 private final PorterDuff.Mode mMaskMode; 56 public BitmapBlendModeCanvasClient(PorterDuff.Mode bitmapMode, PorterDuff.Mode maskMode,
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
BitmapBlendModeTest.java | 52 PorterDuff.Mode.CLEAR, PorterDuff.Mode.DST_OVER, 66 PorterDuff.Mode.DST_OUT, PorterDuff.Mode.DST_OVER,
|
XfermodeTest.java | 62 final PorterDuff.Mode mode; field in class:XfermodeTest.Config 67 mode = (PorterDuff.Mode) modeAndExpectedColors[0]; 73 return mode.name() + ", hardwareAccelerated=" + hardwareAccelerated; 94 { PorterDuff.Mode.SRC, new int[] { 97 { PorterDuff.Mode.DST, new int[] { 100 { PorterDuff.Mode.SRC_OVER, new int[] { 103 { PorterDuff.Mode.DST_OVER, new int[] { 106 { PorterDuff.Mode.SRC_IN, new int[] [all...] |
/cts/tests/tests/uirendering27/src/android/uirendering/cts/blendmode/ |
BitmapBlendModeCanvasClient.java | 29 * as dst out for drawing bitmaps. However, on newer API levels, the clear blend mode is 47 * PorterDuff mode used to mask out the content in the bitmap mask 49 private final PorterDuff.Mode mBitmapMode; 54 private final PorterDuff.Mode mMaskMode; 56 public BitmapBlendModeCanvasClient(PorterDuff.Mode bitmapMode, PorterDuff.Mode maskMode,
|
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testclasses/ |
BitmapBlendModeTest.java | 53 PorterDuff.Mode.CLEAR, PorterDuff.Mode.DST_OVER, 67 PorterDuff.Mode.DST_OUT, PorterDuff.Mode.DST_OVER,
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Xfermodes.java | 74 new PorterDuffXfermode(PorterDuff.Mode.CLEAR), 75 new PorterDuffXfermode(PorterDuff.Mode.SRC), 76 new PorterDuffXfermode(PorterDuff.Mode.DST), 77 new PorterDuffXfermode(PorterDuff.Mode.SRC_OVER), 78 new PorterDuffXfermode(PorterDuff.Mode.DST_OVER), 79 new PorterDuffXfermode(PorterDuff.Mode.SRC_IN), 80 new PorterDuffXfermode(PorterDuff.Mode.DST_IN), 81 new PorterDuffXfermode(PorterDuff.Mode.SRC_OUT), 82 new PorterDuffXfermode(PorterDuff.Mode.DST_OUT), 83 new PorterDuffXfermode(PorterDuff.Mode.SRC_ATOP) [all...] |
/external/archive-patcher/shared/src/main/java/com/google/archivepatcher/shared/ |
PartiallyUncompressingPipe.java | 43 * Modes available for {@link PartiallyUncompressingPipe#pipe(InputStream, Mode)}. 45 public static enum Mode { 80 * @param mode the mode to use for reading and writing 84 public long pipe(InputStream in, Mode mode) throws IOException { 86 if (mode == Mode.COPY) { 92 uncompressor.setNowrap(mode == Mode.UNCOMPRESS_NOWRAP) [all...] |
/external/libchrome/base/message_loop/ |
watchable_io_message_pump_posix.h | 55 enum Mode { 68 // writing (or both) without blocking. |mode| selects ready for reading, for 69 // writing, or both. See "enum Mode" above. |controller| manages the 73 // controller can be reused to add registrations with a different |mode|. If 81 // int mode,
|