/external/clang/bindings/python/tests/cindex/ |
test_file.py | 1 from clang.cindex import Index, File 4 index = Index.create() 5 tu = index.parse('t.c', unsaved_files = [('t.c', "")])
|
/external/eigen/test/ |
miscmatrices.cpp | 17 typedef typename MatrixType::Index Index; 20 Index rows = m.rows(); 21 Index cols = m.cols(); 23 Index r = internal::random<Index>(0, rows-1), r2 = internal::random<Index>(0, rows-1), c = internal::random<Index>(0, cols-1);
|
svd_fill.h | 26 typedef typename MatrixType::Index Index; 27 Index diagSize = (std::min)(m.rows(), m.cols()); 31 for(Index k=0; k<diagSize; ++k) 40 Index n = internal::random<Index>(0,d.size()-1); 41 for(Index i=0; i<n; ++i) 42 d(internal::random<Index>(0,d.size()-1)) = d(internal::random<Index>(0,d.size()-1)); 77 Index count = internal::random<Index>(-diagSize,diagSize) [all...] |
ctorleak.cpp | 7 static Index object_count; 8 static Index object_limit; 30 Index Foo::object_count = 0; 31 Index Foo::object_limit = 0; 42 Index rows = internal::random<Index>(2,EIGEN_TEST_MAX_SIZE), cols = internal::random<Index>(2,EIGEN_TEST_MAX_SIZE); 43 Foo::object_limit = internal::random<Index>(0, rows*cols - 2); 56 VERIFY_IS_EQUAL(Index(0), Foo::object_count); 67 VERIFY_IS_EQUAL(Index(0), Foo::object_count) [all...] |
/external/llvm/lib/Analysis/ |
LoopPass.cpp | 103 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { 104 LoopPass *LP = getContainedPass(Index); 116 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { 117 LoopPass *LP = getContainedPass(Index); 124 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/ |
SPUMachineFunction.h | 42 void setVarArgsFrameIndex(int Index) { VarArgsFrameIndex = Index; }
|
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/ |
MSP430MachineFunctionInfo.h | 41 void setRAIndex(int Index) { ReturnAddrIndex = Index; }
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/PrePeiCore/ |
MainMPCore.c | 41 UINTN Index;
58 for (Index = 0; Index < PpiListCount; Index++, PpiList++) {
65 ASSERT (Index != PpiListCount);
73 for (Index = 0; Index < ArmCoreCount; Index++) {
74 if ((ArmCoreInfoTable[Index].ClusterId == ClusterId) && (ArmCoreInfoTable[Index].CoreId == CoreId)) { [all...] |
/system/update_engine/payload_generator/ |
topological_sort_unittest.cc | 34 // Returns true if the value is found in vect. If found, the index is stored 54 const Vertex::Index n_a = counter++; 55 const Vertex::Index n_b = counter++; 56 const Vertex::Index n_c = counter++; 57 const Vertex::Index n_d = counter++; 58 const Vertex::Index n_e = counter++; 59 const Vertex::Index n_f = counter++; 60 const Vertex::Index n_g = counter++; 61 const Vertex::Index n_h = counter++; 62 const Vertex::Index n_i = counter++ [all...] |
/device/linaro/bootloader/edk2/EmulatorPkg/Library/EmuBdsLib/ |
BdsPlatform.c | 109 UINTN Index;
111 Index = 0;
119 while (PlatformConsole[Index].DevicePath != NULL) {
123 if ((PlatformConsole[Index].ConnectType & CONSOLE_IN) == CONSOLE_IN) {
124 BdsLibUpdateConsoleVariable (L"ConIn", PlatformConsole[Index].DevicePath, NULL);
127 if ((PlatformConsole[Index].ConnectType & CONSOLE_OUT) == CONSOLE_OUT) {
128 BdsLibUpdateConsoleVariable (L"ConOut", PlatformConsole[Index].DevicePath, NULL);
131 if ((PlatformConsole[Index].ConnectType & STD_ERROR) == STD_ERROR) {
132 BdsLibUpdateConsoleVariable (L"ErrOut", PlatformConsole[Index].DevicePath, NULL);
135 Index++; [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/ |
RegularExpressionDxe.c | 92 UINT32 Index;
163 for (Index = 0; Index < *CapturesCount; ++Index) {
167 (*Captures)[Index].CapturePtr = (CHAR16*)((UINTN)String + Region->beg[Index]);
168 (*Captures)[Index].Length = (Region->end[Index] - Region->beg[Index]) / sizeof(CHAR16);
220 UINTN Index;
[all...] |
/external/eigen/Eigen/src/Core/ |
ArrayWrapper.h | 64 inline Index rows() const { return m_expression.rows(); } 66 inline Index cols() const { return m_expression.cols(); } 68 inline Index outerStride() const { return m_expression.outerStride(); } 70 inline Index innerStride() const { return m_expression.innerStride(); } 78 inline const Scalar& coeffRef(Index rowId, Index colId) const 84 inline const Scalar& coeffRef(Index index) const 86 return m_expression.coeffRef(index); 101 * \sa DenseBase::resize(Index) */ [all...] |
/external/eigen/Eigen/src/SparseLU/ |
SparseLU_column_dfs.h | 43 column_dfs_traits(Index jcol, Index& jsuper, typename SparseLUImpl<Scalar, StorageIndex>::GlobalLU_t& glu, SparseLUImpl<Scalar, StorageIndex>& luImpl) 46 bool update_segrep(Index /*krep*/, Index /*jj*/) 50 void mem_expand(IndexVector& lsub, Index& nextl, Index chmark) 58 Index m_jcol; 59 Index& m_jsuper_ref; 93 Index SparseLUImpl<Scalar,StorageIndex>::column_dfs(const Index m, const Index jcol, IndexVector& perm_r, Index maxsuper, Index& nseg [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/GnuGenBootSector/ |
GnuGenBootSector.c | 302 INTN Index;
328 for (Index = 0; Index < argc; Index ++) {
329 if ((stricmp (argv[Index], "-l") == 0) || (stricmp (argv[Index], "--list") == 0)) {
334 if ((stricmp (argv[Index], "-m") == 0) || (stricmp (argv[Index], "--mbr") == 0)) {
339 if ((stricmp (argv[Index], "-i") == 0) || (stricmp (argv[Index], "--input") == 0)) { [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/ |
EfiDriverLib.c | 134 UINTN Index;
139 for (Index = 0; Languages[Index] != 0 && Languages[Index] != ';' && Languages[Index] != '-'; Index++);
140 if (Languages[Index] != 0) {
150 if (Index == 2) {
188 UINTN Index;
207 for (Index = 0; Language1[Index] != 0 && Language1[Index] != ';'; Index++); [all...] |
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Smm/Dxe/SmmAccessDxe/ |
SmmAccessDriver.c | 57 UINTN Index;
93 for (Index = 0; Index < MAX_CPU_SOCKET; Index++) {
94 mSmmAccess.SocketPopulated[Index] = TRUE;
101 for (Index = 0; Index < DescriptorBlock->NumberOfSmmReservedRegions; Index++) {
102 mSmmAccess.SmramDesc[Index].PhysicalStart = DescriptorBlock->Descriptor[Index].PhysicalStart; [all...] |
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Wpce791/ |
LpcIsaAcpi.c | 155 UINTN Index;
162 Index = 0;
164 for(Index = 0; mLpcWpce791DeviceList[Index].Device.HID != 0; Index++) {
165 if (Device->HID == mLpcWpce791DeviceList[Index].Device.HID &&
166 Device->UID == mLpcWpce791DeviceList[Index].Device.UID ) {
170 if (mLpcWpce791DeviceList[Index].Device.HID == 0) {
173 *IsaAcpiDevice = &(mLpcWpce791DeviceList[Index]);
174 Index++; [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenBootSector/ |
GenBootSector.c | 146 UINT Index;
214 for (Index = 0; DriveTypeDesc[Index].Description != NULL; Index ++) {
215 if (DriveType == DriveTypeDesc[Index].Type) {
216 DriveInfo->DriveType = &DriveTypeDesc[Index];
241 UINT Index;
246 for (Index = 0; Index < MAX_DRIVE; Index++) { [all...] |
/device/linaro/bootloader/edk2/ArmPlatformPkg/PrePi/ |
MainMPCore.c | 50 UINTN Index;
72 for (Index = 0; Index < ArmCoreCount; Index++) {
73 if ((ArmCoreInfoTable[Index].ClusterId == ClusterId) && (ArmCoreInfoTable[Index].CoreId == CoreId)) {
79 ASSERT (Index != ArmCoreCount);
82 MmioWrite32 (ArmCoreInfoTable[Index].MailboxClearAddress, ArmCoreInfoTable[Index].MailboxClearValue);
88 SecondaryEntryAddr = MmioRead32 (ArmCoreInfoTable[Index].MailboxGetAddress); [all...] |
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/ |
ArchDebugSupport.c | 29 UINTN Index;
42 for (Index = 0; Index < 20; Index ++) {
43 if (((PcdGet32 (PcdExceptionsIgnoredByDebugger) & ~(BIT1 | BIT3)) & (1 << Index)) != 0) {
49 InterruptHandler = (UINTN)&Exception0Handle + Index * ExceptionStubHeaderSize;
50 IdtEntry[Index].Bits.OffsetLow = (UINT16)(UINTN)InterruptHandler;
51 IdtEntry[Index].Bits.OffsetHigh = (UINT16)((UINTN)InterruptHandler >> 16);
52 IdtEntry[Index].Bits.Selector = CodeSegment;
53 IdtEntry[Index].Bits.GateType = IA32_IDT_GATE_TYPE_INTERRUPT_32; [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> { \ 53 static void run(Index _rows, Index _cols, const Scalar* _lhs, Index lhsStride, \ 54 const Scalar* _rhs, Index rhsIncr, Scalar* _res, Index resIncr, Scalar alpha) { \ 55 triangular_matrix_vector_product_trmv<Index,Mode,Scalar,ConjLhs,Scalar,ConjRhs,ColMajor>::run( [all...] |
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
TensorVolumePatch.h | 31 typedef typename XprTraits::Index Index; 61 typedef typename Eigen::internal::traits<TensorVolumePatchOp>::Index Index; 169 typedef typename XprType::Index Index; 172 typedef DSizes<Index, NumDims> Dimensions; 251 const Index dz = m_outputPlanes * m_plane_strides + m_patch_planes_eff - 1 - m_input_planes_eff; 252 const Index dy = m_outputRows * m_row_strides + m_patch_rows_eff - 1 - m_input_rows_eff; 253 const Index dx = m_outputCols * m_col_strides + m_patch_cols_eff - 1 - m_input_cols_eff [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/ |
VfrCompiler.cpp | 65 INT32 Index;
94 for (Index = 1; (Index < Argc) && (Argv[Index][0] == '-'); Index++) {
95 if ((stricmp(Argv[Index], "-h") == 0) || (stricmp(Argv[Index], "--help") == 0)) {
99 } else if (stricmp(Argv[Index], "--version") == 0) {
103 } else if (stricmp(Argv[Index], "-l") == 0) {
106 } else if (stricmp(Argv[Index], "-i") == 0) { [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/ |
ExpressionValidate.py | 57 Index = Token.find("\"")
58 if Index != -1:
59 return IsValidBareCString(Token[Index+1:-1])
83 self.Index = 0
89 for Char in self.Token[self.Index:]:
92 self.Index += 1
111 if not self.Token[self.Index:].startswith(Operator):
114 self.Index += len(Operator)
115 Char = self.Token[self.Index : self.Index + 1] [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Application/BootManagerMenuApp/ |
BootManagerMenu.c | 95 UINTN Index;
104 Index = 0;
112 (String[Index] != NARROW_CHAR) && (String[Index] != WIDE_CHAR) && (String[Index] != 0);
113 Index++, LineWidth = LineWidth + IncrementValue
120 if (String[Index] == 0) {
127 if (String[Index] == NARROW_CHAR) {
131 Index++;
137 Index++; [all...] |