/external/lzma/CPP/7zip/UI/Common/ |
H A D | SortUtils.h | 8 void SortFileNames(const UStringVector &strings, CUIntVector &indices);
|
H A D | SortUtils.cpp | 15 void SortFileNames(const UStringVector &strings, CUIntVector &indices)
argument 18 indices.ClearAndSetSize(numItems);
19 unsigned *vals = &indices[0];
22 indices.Sort(CompareStrings, (void *)&strings);
|
/external/libopus/silk/ |
H A D | decode_indices.c | 56 psDec->indices.signalType = (opus_int8)silk_RSHIFT( Ix, 1 ); 57 psDec->indices.quantOffsetType = (opus_int8)( Ix & 1 ); 65 psDec->indices.GainsIndices[ 0 ] = (opus_int8)ec_dec_icdf( psRangeDec, silk_delta_gain_iCDF, 8 ); 68 psDec->indices.GainsIndices[ 0 ] = (opus_int8)silk_LSHIFT( ec_dec_icdf( psRangeDec, silk_gain_iCDF[ psDec->indices.signalType ], 8 ), 3 ); 69 psDec->indices.GainsIndices[ 0 ] += (opus_int8)ec_dec_icdf( psRangeDec, silk_uniform8_iCDF, 8 ); 74 psDec->indices.GainsIndices[ i ] = (opus_int8)ec_dec_icdf( psRangeDec, silk_delta_gain_iCDF, 8 ); 80 psDec->indices.NLSFIndices[ 0 ] = (opus_int8)ec_dec_icdf( psRangeDec, &psDec->psNLSF_CB->CB1_iCDF[ ( psDec->indices.signalType >> 1 ) * psDec->psNLSF_CB->nVectors ], 8 ); 81 silk_NLSF_unpack( ec_ix, pred_Q8, psDec->psNLSF_CB, psDec->indices [all...] |
H A D | decode_parameters.c | 46 silk_gains_dequant( psDecCtrl->Gains_Q16, psDec->indices.GainsIndices, 52 silk_NLSF_decode( pNLSF_Q15, psDec->indices.NLSFIndices, psDec->psNLSF_CB ); 60 psDec->indices.NLSFInterpCoef_Q2 = 4; 63 if( psDec->indices.NLSFInterpCoef_Q2 < 4 ) { 67 pNLSF0_Q15[ i ] = psDec->prevNLSF_Q15[ i ] + silk_RSHIFT( silk_MUL( psDec->indices.NLSFInterpCoef_Q2, 86 if( psDec->indices.signalType == TYPE_VOICED ) { 92 silk_decode_pitch( psDec->indices.lagIndex, psDec->indices.contourIndex, psDecCtrl->pitchL, psDec->fs_kHz, psDec->nb_subfr ); 95 cbk_ptr_Q7 = silk_LTP_vq_ptrs_Q7[ psDec->indices.PERIndex ]; /* set pointer to start of codebook */ 98 Ix = psDec->indices [all...] |
H A D | process_NLSFs.c | 51 silk_assert( psEncC->useInterpolatedNLSFs == 1 || psEncC->indices.NLSFInterpCoef_Q2 == ( 1 << 2 ) ); 70 doInterpolate = ( psEncC->useInterpolatedNLSFs == 1 ) && ( psEncC->indices.NLSFInterpCoef_Q2 < 4 ); 74 psEncC->indices.NLSFInterpCoef_Q2, psEncC->predictLPCOrder ); 80 i_sqr_Q15 = silk_LSHIFT( silk_SMULBB( psEncC->indices.NLSFInterpCoef_Q2, psEncC->indices.NLSFInterpCoef_Q2 ), 11 ); 88 silk_NLSF_encode( psEncC->indices.NLSFIndices, pNLSF_Q15, psEncC->psNLSF_CB, pNLSFW_QW, 89 NLSF_mu_Q20, psEncC->NLSF_MSVQ_Survivors, psEncC->indices.signalType ); 97 psEncC->indices.NLSFInterpCoef_Q2, psEncC->predictLPCOrder );
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
H A D | T_S_I__0.py | 18 indices = [] 22 indices.append((glyphID, textLength, textOffset)) 25 assert indices[-5] == (0XFFFE, 0, -1409540300), "bad magic number" # 0xABFC1F34 26 self.indices = indices[:-5] 27 self.extra_indices = indices[-4:] 30 if not hasattr(self, "indices"): 35 for index, textLength, textOffset in self.indices: 42 def set(self, indices, extra_indices): 44 self.indices [all...] |
/external/fonttools/Tools/fontTools/ttLib/tables/ |
H A D | T_S_I__0.py | 18 indices = [] 22 indices.append((glyphID, textLength, textOffset)) 25 assert indices[-5] == (0XFFFE, 0, -1409540300), "bad magic number" # 0xABFC1F34 26 self.indices = indices[:-5] 27 self.extra_indices = indices[-4:] 30 if not hasattr(self, "indices"): 35 for index, textLength, textOffset in self.indices: 42 def set(self, indices, extra_indices): 44 self.indices [all...] |
/external/libcxx/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/ |
H A D | array.fail.cpp | 35 const int indices[] = {-1, 0, 1}; local 37 std::regex("\\d{3}-\\d{4}"), indices);
|
/external/skia/src/gpu/ |
H A D | GrPathRange.cpp | 27 void GrPathRange::loadPathsIfNeeded(const void* indices, PathIndexType indexType, int count) const { argument 30 return this->loadPathsIfNeeded(reinterpret_cast<const uint8_t*>(indices), count); 32 return this->loadPathsIfNeeded(reinterpret_cast<const uint16_t*>(indices), count); 34 return this->loadPathsIfNeeded(reinterpret_cast<const uint32_t*>(indices), count); 42 void GrPathRange::assertPathsLoaded(const void* indices, PathIndexType indexType, int count) const { argument 45 return this->assertPathsLoaded(reinterpret_cast<const uint8_t*>(indices), count); 47 return this->assertPathsLoaded(reinterpret_cast<const uint16_t*>(indices), count); 49 return this->assertPathsLoaded(reinterpret_cast<const uint32_t*>(indices), count);
|
H A D | GrPathRange.h | 73 void loadPathsIfNeeded(const void* indices, PathIndexType, int count) const; 75 template<typename IndexType> void loadPathsIfNeeded(const IndexType* indices, int count) const { argument 83 SkASSERT(indices[i] < static_cast<uint32_t>(fNumPaths)); 85 const int groupIndex = indices[i] / kPathsPerGroup; 113 void assertPathsLoaded(const void* indices, PathIndexType, int count) const; 115 template<typename IndexType> void assertPathsLoaded(const IndexType* indices, int count) const { 121 SkASSERT(indices[i] < static_cast<uint32_t>(fNumPaths)); 123 const int groupIndex = indices[i] / kPathsPerGroup;
|
/external/skia/src/core/ |
H A D | SkVertState.cpp | 23 const uint16_t* indices = state->fIndices; local 28 state->f0 = indices[index + 0]; 29 state->f1 = indices[index + 1]; 30 state->f2 = indices[index + 2]; 53 const uint16_t* indices = state->fIndices; local 58 state->f2 = indices[index + 2]; 60 state->f0 = indices[index + 1]; 61 state->f1 = indices[index + 0]; 63 state->f0 = indices[index + 0]; 64 state->f1 = indices[inde 83 const uint16_t* indices = state->fIndices; local [all...] |
H A D | SkVertState.h | 25 * If the vertices are unindexed pass nullptr for indices. 27 VertState(int vCount, const uint16_t indices[], int indexCount) argument 28 : fIndices(indices) { 30 if (indices) {
|
/external/libopus/silk/fixed/ |
H A D | LTP_scale_ctrl_FIX.c | 46 psEnc->sCmn.indices.LTP_scaleIndex = (opus_int8)silk_LIMIT( 50 psEnc->sCmn.indices.LTP_scaleIndex = 0; 52 psEncCtrl->LTP_scale_Q14 = silk_LTPScales_table_Q14[ psEnc->sCmn.indices.LTP_scaleIndex ];
|
/external/libopus/silk/float/ |
H A D | LTP_scale_ctrl_FLP.c | 45 psEnc->sCmn.indices.LTP_scaleIndex = (opus_int8)silk_LIMIT( round_loss * psEncCtrl->LTPredCodGain * 0.1f, 0.0f, 2.0f ); 48 psEnc->sCmn.indices.LTP_scaleIndex = 0; 51 psEncCtrl->LTP_scale = (silk_float)silk_LTPScales_table_Q14[ psEnc->sCmn.indices.LTP_scaleIndex ] / 16384.0f;
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
H A D | IndexDataManager.cpp | 63 void computeRange(const IndexType *indices, GLsizei count, GLuint *minIndex, GLuint *maxIndex) argument 65 *minIndex = indices[0]; 66 *maxIndex = indices[0]; 70 if(*minIndex > indices[i]) *minIndex = indices[i]; 71 if(*maxIndex < indices[i]) *maxIndex = indices[i]; 75 void computeRange(GLenum type, const void *indices, GLsizei count, GLuint *minIndex, GLuint *maxIndex) argument 79 computeRange(static_cast<const GLubyte*>(indices), count, minIndex, maxIndex); 83 computeRange(static_cast<const GLushort*>(indices), coun 88 prepareIndexData(GLenum type, GLsizei count, Buffer *buffer, const void *indices, TranslatedIndexData *translated) argument [all...] |
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
H A D | TensorInitializer.h | 32 Eigen::array<typename traits<Derived>::Index, traits<Derived>::NumDimensions>* indices, 36 (*indices)[traits<Derived>::NumDimensions - N] = i++; 37 Initializer<Derived, N - 1>::run(tensor, indices, v); 47 Eigen::array<typename traits<Derived>::Index, traits<Derived>::NumDimensions>* indices, 52 (*indices)[traits<Derived>::NumDimensions - 1] = i++; 53 tensor.coeffRef(*indices) = v; 73 Eigen::array<typename traits<Derived>::Index, traits<Derived>::NumDimensions> indices; local 74 Initializer<Derived, traits<Derived>::NumDimensions>::run(tensor, &indices, vals); 31 run(TensorEvaluator<Derived, DefaultDevice>& tensor, Eigen::array<typename traits<Derived>::Index, traits<Derived>::NumDimensions>* indices, const InitList& vals) argument 46 run(TensorEvaluator<Derived, DefaultDevice>& tensor, Eigen::array<typename traits<Derived>::Index, traits<Derived>::NumDimensions>* indices, const InitList& vals) argument
|
H A D | TensorRef.h | 201 const array<Index, num_indices> indices{{firstIndex, otherIndices...}}; 202 return coeff(indices); 208 const array<Index, num_indices> indices{{firstIndex, otherIndices...}}; 209 return coeffRef(indices); 216 array<Index, 2> indices; local 217 indices[0] = i0; 218 indices[1] = i1; 219 return coeff(indices); 224 array<Index, 3> indices; local 225 indices[ 233 array<Index, 4> indices; local 243 array<Index, 5> indices; local 254 array<Index, 2> indices; local 262 array<Index, 3> indices; local 271 array<Index, 4> indices; local 281 array<Index, 5> indices; local 310 coeffRef(const array<Index, NumIndices>& indices) argument [all...] |
/external/eigen/Eigen/src/Core/ |
H A D | Transpositions.h | 33 indices() = other.indices(); 43 indices() = other.indices(); 49 Index size() const { return indices().size(); } 51 Index rows() const { return indices().size(); } 53 Index cols() const { return indices().size(); } 56 inline const StorageIndex& coeff(Index i) const { return indices().coeff(i); } 58 inline StorageIndex& coeffRef(Index i) { return indices().coeffRef(i); } 60 inline const StorageIndex& operator()(Index i) const { return indices()( 69 const IndicesType& indices() const { return derived().indices(); } function in class:Eigen::TranspositionsBase 71 IndicesType& indices() { return derived().indices(); } function in class:Eigen::TranspositionsBase 182 Transpositions(const MatrixBase<Other>& indices) argument 209 const IndicesType& indices() const { return m_indices; } function in class:Eigen::Transpositions 211 IndicesType& indices() { return m_indices; } function in class:Eigen::Transpositions 268 const IndicesType& indices() const { return m_indices; } function in class:Eigen::Map 271 IndicesType& indices() { return m_indices; } function in class:Eigen::Map 298 TranspositionsWrapper(IndicesType& indices) argument 321 const IndicesType& indices() const { return m_indices; } function in class:Eigen::TranspositionsWrapper 324 IndicesType& indices() { return m_indices; } function in class:Eigen::TranspositionsWrapper [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_setup_vbuf.c | 135 lp_setup_draw_elements(struct vbuf_render *vbr, const ushort *indices, uint nr) argument 152 get_vert(vertex_buffer, indices[i-0], stride) ); 159 get_vert(vertex_buffer, indices[i-1], stride), 160 get_vert(vertex_buffer, indices[i-0], stride) ); 167 get_vert(vertex_buffer, indices[i-1], stride), 168 get_vert(vertex_buffer, indices[i-0], stride) ); 175 get_vert(vertex_buffer, indices[i-1], stride), 176 get_vert(vertex_buffer, indices[i-0], stride) ); 180 get_vert(vertex_buffer, indices[nr-1], stride), 181 get_vert(vertex_buffer, indices[ [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_prim_vbuf.c | 160 sp_vbuf_draw_elements(struct vbuf_render *vbr, const ushort *indices, uint nr) argument 174 get_vert(vertex_buffer, indices[i-0], stride) ); 181 get_vert(vertex_buffer, indices[i-1], stride), 182 get_vert(vertex_buffer, indices[i-0], stride) ); 189 get_vert(vertex_buffer, indices[i-1], stride), 190 get_vert(vertex_buffer, indices[i-0], stride) ); 197 get_vert(vertex_buffer, indices[i-1], stride), 198 get_vert(vertex_buffer, indices[i-0], stride) ); 202 get_vert(vertex_buffer, indices[nr-1], stride), 203 get_vert(vertex_buffer, indices[ [all...] |
/external/autotest/client/deps/glbench/src/ |
H A D | trianglesetuptest.cc | 43 // Also note that GLES 2.0 uses 16 bit indices. 62 GLushort *indices = NULL; local 70 count_ = CreateMesh(&indices, &index_buffer_size, width, height, 0); 73 index_buffer_size, indices); 80 delete[] indices; 87 count_ = CreateMesh(&indices, &index_buffer_size, width, height, 91 index_buffer_size, indices); 96 delete[] indices;
|
/external/mesa3d/src/mesa/main/ |
H A D | api_validate.h | 41 const void *indices, 56 const GLvoid *indices, GLint basevertex); 61 GLenum type, const GLvoid * const *indices, 68 const GLvoid *indices, GLint basevertex); 78 const GLvoid *indices, GLsizei primcount,
|
/external/autotest/client/common_lib/cros/graphite/ |
H A D | elasticsearch_mock_unittest.py | 21 """Test mock Elasticsearch.indices.exists method""" 22 self.es.indices.exists(index='random index') 26 """Test mock Elasticsearch.indices.delete method""" 27 self.es.indices.delete(index='random index')
|
/external/swiftshader/src/OpenGL/libGL/ |
H A D | IndexDataManager.cpp | 67 void computeRange(const IndexType *indices, GLsizei count, GLuint *minIndex, GLuint *maxIndex) argument 69 *minIndex = indices[0]; 70 *maxIndex = indices[0]; 74 if(*minIndex > indices[i]) *minIndex = indices[i]; 75 if(*maxIndex < indices[i]) *maxIndex = indices[i]; 79 void computeRange(GLenum type, const void *indices, GLsizei count, GLuint *minIndex, GLuint *maxIndex) argument 83 computeRange(static_cast<const GLubyte*>(indices), count, minIndex, maxIndex); 87 computeRange(static_cast<const GLuint*>(indices), coun 96 prepareIndexData(GLenum type, GLsizei count, Buffer *buffer, const void *indices, TranslatedIndexData *translated) argument [all...] |
/external/swiftshader/src/OpenGL/libGLESv2/ |
H A D | IndexDataManager.cpp | 67 void computeRange(const IndexType *indices, GLsizei count, GLuint *minIndex, GLuint *maxIndex) argument 69 *minIndex = indices[0]; 70 *maxIndex = indices[0]; 74 if(*minIndex > indices[i]) *minIndex = indices[i]; 75 if(*maxIndex < indices[i]) *maxIndex = indices[i]; 79 void computeRange(GLenum type, const void *indices, GLsizei count, GLuint *minIndex, GLuint *maxIndex) argument 83 computeRange(static_cast<const GLubyte*>(indices), count, minIndex, maxIndex); 87 computeRange(static_cast<const GLuint*>(indices), coun 96 prepareIndexData(GLenum type, GLuint start, GLuint end, GLsizei count, Buffer *buffer, const void *indices, TranslatedIndexData *translated) argument [all...] |