/external/lzma/CPP/7zip/UI/Common/ |
H A D | SortUtils.h | 8 void SortFileNames(const UStringVector &strings, CIntVector &indices);
|
H A D | SortUtils.cpp | 14 void SortFileNames(const UStringVector &strings, CIntVector &indices)
argument 16 indices.Clear();
18 indices.Reserve(numItems);
20 indices.Add(i);
21 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 ); 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...] |
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/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/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 NULL 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/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/skia/src/gpu/ |
H A D | GrPathRange.cpp | 35 void GrPathRange::willDrawPaths(const void* indices, PathIndexType indexType, int count) const { argument 41 case kU8_PathIndexType: return this->willDrawPaths<uint8_t>(indices, count); 42 case kU16_PathIndexType: return this->willDrawPaths<uint16_t>(indices, count); 43 case kU32_PathIndexType: return this->willDrawPaths<uint32_t>(indices, count); 48 template<typename IndexType> void GrPathRange::willDrawPaths(const void* indices, int count) const { argument 51 const IndexType* indexArray = reinterpret_cast<const IndexType*>(indices);
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_gs.c | 211 unsigned *indices, 226 i, indices[i], prim_idx); 229 (const char *)input_ptr + (indices[i] * input_vertex_stride)); 302 unsigned indices[1]; local 304 indices[0] = idx; 306 draw_fetch_gs_input(shader, indices, 1, 0); 315 unsigned indices[2]; local 317 indices[0] = i0; 318 indices[1] = i1; 320 draw_fetch_gs_input(shader, indices, 210 draw_fetch_gs_input(struct draw_geometry_shader *shader, unsigned *indices, unsigned num_vertices, unsigned prim_idx) argument 329 unsigned indices[4]; local 345 unsigned indices[3]; local 361 unsigned indices[6]; local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | CompactCharArray.java | 67 indices = new char[INDEXCOUNT]; 73 indices[i] = (char)(i<<BLOCKSHIFT); 101 indices = indexArray; 135 int ix = (indices[index >> BLOCKSHIFT] & 0xFFFF) 203 for (int i = 0; i < indices.length; ++i, iBlockStart += BLOCKCOUNT) { 204 indices[i] = 0xFFFF; 210 indices[i] = iUntouched; 218 indices[i] = indices[j]; 221 if (indices[ 423 private char indices[]; field in class:CompactCharArray [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
H A D | Curve.java | 99 short[] indices = new short[(spline.getControlPoints().size() - 1) * nbSubSegments * 2]; 128 indices[i] = (short) k; 131 indices[i] = (short) k; 137 this.setBuffer(VertexBuffer.Type.Index, 2, indices);//(spline.getControlPoints().size() - 1) * nbSubSegments * 2 179 short[] indices = new short[(centerPointsAmount - 1) * nbSubSegments << 1]; 182 indices[i++] = (short) k; 184 indices[i++] = (short) k; 189 this.setBuffer(VertexBuffer.Type.Index, 2, indices); 218 short[] indices = new short[nbSubSegments << 1]; 220 indices[ [all...] |