Home
last modified time | relevance | path

Searched refs:num_indices (Results 1 – 16 of 16) sorted by relevance

/external/flac/libFLAC/
Dmetadata_object.c149 FLAC__ASSERT(from->num_indices == 0); in copy_track_()
153 FLAC__ASSERT(from->num_indices > 0); in copy_track_()
154 …if(0 == (x = (FLAC__StreamMetadata_CueSheet_Index*)safe_malloc_mul_2op_(from->num_indices, /*times… in copy_track_()
156 memcpy(x, from->indices, from->num_indices * sizeof(FLAC__StreamMetadata_CueSheet_Index)); in copy_track_()
336 object->length += object->data.cue_sheet.tracks[i].num_indices * ( in cuesheet_calculate_length_()
344 static FLAC__StreamMetadata_CueSheet_Index *cuesheet_track_index_array_new_(unsigned num_indices) in cuesheet_track_index_array_new_() argument
346 FLAC__ASSERT(num_indices > 0); in cuesheet_track_index_array_new_()
348 …return (FLAC__StreamMetadata_CueSheet_Index*)safe_calloc_(num_indices, sizeof(FLAC__StreamMetadata… in cuesheet_track_index_array_new_()
366 FLAC__ASSERT(object_array[i].num_indices > 0); in cuesheet_track_array_delete_()
406 …FLAC__ASSERT((0 != src->indices && src->num_indices > 0) || (0 == src->indices && src->num_indices in cuesheet_set_track_()
[all …]
Dformat.c457 if(cue_sheet->tracks[i].num_indices == 0) { in FLAC__format_cuesheet_is_legal()
468 for(j = 0; j < cue_sheet->tracks[i].num_indices; j++) { in FLAC__format_cuesheet_is_legal()
Dstream_encoder_framing.c162 …if(!FLAC__bitwriter_write_raw_uint32(bw, track->num_indices, FLAC__STREAM_METADATA_CUESHEET_TRACK_… in FLAC__add_metadata_block()
164 for(j = 0; j < track->num_indices; j++) { in FLAC__add_metadata_block()
Dmetadata_iterators.c2307 track->num_indices = (FLAC__byte)unpack_uint32_(buffer, len); in read_metadata_block_data_cuesheet_track_cb_()
2309 if(track->num_indices == 0) { in read_metadata_block_data_cuesheet_track_cb_()
2312 …else if(0 == (track->indices = (FLAC__StreamMetadata_CueSheet_Index*)calloc(track->num_indices, si… in read_metadata_block_data_cuesheet_track_cb_()
2315 for(i = 0; i < track->num_indices; i++) { in read_metadata_block_data_cuesheet_track_cb_()
2726 pack_uint32_(track->num_indices, buffer, len); in write_metadata_block_data_cuesheet_cb_()
2730 for(j = 0; j < track->num_indices; j++) { in write_metadata_block_data_cuesheet_cb_()
Dstream_decoder.c1851 track->num_indices = (FLAC__byte)x; in read_metadata_cuesheet_()
1853 if(track->num_indices > 0) { in read_metadata_cuesheet_()
1854 …if(0 == (track->indices = safe_calloc_(track->num_indices, sizeof(FLAC__StreamMetadata_CueSheet_In… in read_metadata_cuesheet_()
1858 for(j = 0; j < track->num_indices; j++) { in read_metadata_cuesheet_()
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/include/
Dsm4.h205 unsigned num_indices : 2; member
247 uint8_t num_indices; member
266 return num_indices == 1 && is_index_simple(0); in has_simple_index()
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d1x/
Dsm4_to_tgsi.cpp150 check(op.num_indices == 1 || op.num_indices == 2); in _src()
152 check(op.indices[op.num_indices - 1].disp < inputs.size()); in _src()
153 s = inputs[op.indices[op.num_indices - 1].disp]; in _src()
154 if(op.num_indices == 2) in _src()
162 check(op.num_indices == 2); in _src()
771 check(dcl.op->num_indices == 2); in do_translate()
/external/mesa3d/src/gallium/auxiliary/util/
Du_vbuf.c263 int start_index, unsigned num_indices, int min_index, in u_vbuf_translate_buffers() argument
317 key->output_stride * num_indices, in u_vbuf_translate_buffers()
327 num_indices * ib->index_size, in u_vbuf_translate_buffers()
333 tr->run_elts(tr, (unsigned*)map, num_indices, 0, out_map); in u_vbuf_translate_buffers()
336 tr->run_elts16(tr, (uint16_t*)map, num_indices, 0, out_map); in u_vbuf_translate_buffers()
339 tr->run_elts8(tr, map, num_indices, 0, out_map); in u_vbuf_translate_buffers()
421 int start_index, unsigned num_indices, int min_index, in u_vbuf_translate_begin() argument
526 start_index, num_indices, min_index, in u_vbuf_translate_begin()
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/src/
Dsm4_parse.cpp119 op.num_indices = optok.num_indices; in read_op()
136 for(unsigned i = 0; i < op.num_indices; ++i) in read_op()
Dsm4_dump.cpp89 for(unsigned i = 0; i < op.num_indices; ++i) in operator <<()
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11app/
Dd3d11u.h94 const void* indices = 0, unsigned index_size = 0, unsigned num_indices = 0)
95 …: topology(topology), vertex_size(vertex_size), draw_count(index_size ? num_indices : num_vertices) in topology()
113 bufferd.ByteWidth = index_offset + index_format * num_indices; in topology()
117 memcpy(data + index_offset, indices, index_size * num_indices); in topology()
/external/flac/include/FLAC/
Dformat.h682 FLAC__byte num_indices; member
/external/lldb/source/Symbol/
DSymtab.cpp1091 size_t num_indices = symbol_indexes.size(); in SymbolIndicesToSymbolContextList() local
1092 if (num_indices > 0) in SymbolIndicesToSymbolContextList()
1096 for (size_t i = 0; i < num_indices; i++) in SymbolIndicesToSymbolContextList()
/external/lldb/source/Core/
DModule.cpp1170 size_t num_indices = symbol_indexes.size(); in SymbolIndicesToSymbolContextList() local
1171 if (num_indices > 0) in SymbolIndicesToSymbolContextList()
1175 for (size_t i = 0; i < num_indices; i++) in SymbolIndicesToSymbolContextList()
/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_from_sm4.cpp1270 if (op.num_indices == 2) { in src()
1286 assert(op.num_indices == 2); in src()
1431 assert(op.num_indices == 1); in saveDst()
1695 int i = insn->ops[s]->num_indices - 1; in checkDstSrcAliasing()
1696 if (i != insn->ops[d]->num_indices - 1) in checkDstSrcAliasing()
/external/lldb/source/Expression/
DClangExpressionDeclMap.cpp1292 for (uint32_t index = 0, num_indices = sc_list.GetSize(); in FindExternalVisibleDecls() local
1293 index < num_indices; in FindExternalVisibleDecls()