Searched refs:indices (Results 1 - 25 of 461) sorted by relevance

1234567891011>>

/external/lzma/CPP/7zip/UI/Common/
H A DSortUtils.h8 void SortFileNames(const UStringVector &strings, CUIntVector &indices);
H A DSortUtils.cpp15 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 Ddecode_indices.c56 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 Ddecode_parameters.c46 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 Dprocess_NLSFs.c51 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 DT_S_I__0.py18 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 DT_S_I__0.py18 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 Darray.fail.cpp35 const int indices[] = {-1, 0, 1}; local
37 std::regex("\\d{3}-\\d{4}"), indices);
/external/skia/src/gpu/
H A DGrPathRange.cpp27 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 DGrPathRange.h73 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 DSkVertState.cpp23 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 DSkVertState.h25 * 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 DLTP_scale_ctrl_FIX.c46 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 DLTP_scale_ctrl_FLP.c45 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 DIndexDataManager.cpp63 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 DTensorInitializer.h32 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 DTensorRef.h201 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 DTranspositions.h33 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 Dlp_setup_vbuf.c135 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 Dsp_prim_vbuf.c160 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 Dtrianglesetuptest.cc43 // 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 Dapi_validate.h41 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 Delasticsearch_mock_unittest.py21 """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 DIndexDataManager.cpp67 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 DIndexDataManager.cpp67 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...]

Completed in 1241 milliseconds

1234567891011>>