/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/v8/test/mjsunit/ |
H A D | array-foreach.js | 9 var indices = []; variable 13 indices.push(index); 17 assertEquals([0, 1, 2, 3], indices);
|
/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 ); 87 silk_NLSF_encode( psEncC->indices.NLSFIndices, pNLSF_Q15, psEncC->psNLSF_CB, pNLSFW_QW, 88 NLSF_mu_Q20, psEncC->NLSF_MSVQ_Survivors, psEncC->indices.signalType ); 96 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...] |
H A D | _p_o_s_t.py | 85 indices = array.array("H") 86 indices.fromstring(data[:2*numGlyphs]) 88 indices.byteswap() 93 index = indices[glyphID] 132 indices = array.array("H") 133 indices.fromstring(data) 135 indices.byteswap() 139 for i in range(min(len(indices),numGlyphs)): 140 if indices[i] == 0xFFFF: 142 elif 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/icu/icu4c/source/layout/ |
H A D | CanonShaping.cpp | 15 void CanonShaping::sortMarks(le_int32 *indices, const le_int32 *combiningClasses, le_int32 index, le_int32 limit) argument 19 le_int32 v = indices[j]; 23 if (c >= combiningClasses[indices[i]]) { 27 indices[i + 1] = indices[i]; 30 indices[i + 1] = v; 41 le_int32 *indices = LE_NEW_ARRAY(le_int32, charCount); local 46 indices[i] = i; 59 sortMarks(indices, combiningClasses, i, mark); 71 le_int32 index = indices[ [all...] |
/external/libcxx/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/ |
H A D | array.fail.cpp | 34 const int indices[] = {-1, 0, 1}; local 36 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/jmonkeyengine/engine/src/core/com/jme3/animation/ |
H A D | Pose.java | 50 private int[] indices; field in class:Pose 55 public Pose(String name, int targetMeshIndex, Vector3f[] offsets, int[] indices){ argument 59 this.indices = indices; 74 for (int i = 0; i < indices.length; i++){ 76 int vertIndex = indices[i]; 98 result.indices = this.indices.clone(); 116 out.write(indices, "indices", nul [all...] |
/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/jmonkeyengine/engine/src/tools/jme3tools/converters/model/strip/ |
H A D | PrimitiveGroup.java | 45 public int[] indices;
field in class:PrimitiveGroup 74 if (indices[i] == prev) {
79 prev = indices[i];
99 if ( indices.length == numIndices )
100 return indices;
102 System.arraycopy(indices,0,nind,0,numIndices);
|
H A D | TriStrip.java | 47 * <li>can remap indices to improve spatial locality in your vertex buffers.
120 * input index list, the indices you would use to render
155 //count the total number of indices
165 primGroupArray[0].indices = new int[numIndices];
174 primGroupArray[0].indices[indexCtr++] = tempStrips.at(i).m_faces.at(j).m_v0;
175 primGroupArray[0].indices[indexCtr++] = tempStrips.at(i).m_faces.at(j).m_v1;
176 primGroupArray[0].indices[indexCtr++] = tempStrips.at(i).m_faces.at(j).m_v2;
178 //we've removed a tri, reduce the number of indices
186 primGroupArray[0].indices[indexCtr++] = tempFaces.at(i).m_v0;
187 primGroupArray[0].indices[indexCt 272 remapIndices(int[] indices, int numVerts) argument 297 remapArrays(float[] vertexBuffer, int vertexSize, int[] indices) argument [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')
|