Home
last modified time | relevance | path

Searched refs:segment_size (Results 1 – 25 of 29) sorted by relevance

12

/third_party/libunwind/src/coredump/
D_UCD_corefile_elf.c48 …f_read_segment(struct UCD_info *ui, coredump_phdr_t *phdr, uint8_t **segment, size_t *segment_size) in _UCD_elf_read_segment() argument
58 *segment_size = phdr->p_filesz; in _UCD_elf_read_segment()
59 *segment = malloc(*segment_size); in _UCD_elf_read_segment()
62 Debug(0, "error %zu bytes of memory for segment\n", *segment_size); in _UCD_elf_read_segment()
66 if (read(ui->coredump_fd, *segment, *segment_size) != (ssize_t)*segment_size) in _UCD_elf_read_segment()
69 errno, *segment_size, ui->coredump_filename, strerror(errno)); in _UCD_elf_read_segment()
97 _UCD_elf_visit_notes(uint8_t *segment, size_t segment_size, note_visitor_t visit, void *arg) in _UCD_elf_visit_notes() argument
101 while (parsed_size < segment_size) in _UCD_elf_visit_notes()
D_UCD_get_threadinfo_prstatus.c98 size_t segment_size; in _UCD_get_threadinfo() local
99 ret = _UCD_elf_read_segment(ui, &phdrs[i], &segment, &segment_size); in _UCD_get_threadinfo()
102 _UCD_elf_visit_notes(segment, segment_size, _count_thread_notes, &thread_count); in _UCD_get_threadinfo()
113 _UCD_elf_visit_notes(segment, segment_size, _save_thread_notes, ui); in _UCD_get_threadinfo()
D_UCD_get_mapinfo_linux.c123 size_t segment_size; in _UCD_get_mapinfo() local
124 ret = _UCD_elf_read_segment(ui, &phdrs[i], &segment, &segment_size); in _UCD_get_mapinfo()
127 _UCD_elf_visit_notes(segment, segment_size, _handle_file_note, ui); in _UCD_get_mapinfo()
D_UCD_internal.h105 …_read_segment(struct UCD_info *ui, coredump_phdr_t *phdr, uint8_t **segment, size_t *segment_size);
106 int _UCD_elf_visit_notes(uint8_t *segment, size_t segment_size, note_visitor_t visit, void *arg);
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dhls_demux.c83 GstAdaptiveDemuxTestCase * engineTestData, guint segment_size) in setup_test_variables() argument
87 if (segment_size) { in setup_test_variables()
90 mpeg_ts = generate_transport_stream ((segment_size)); in setup_test_variables()
108 #define TESTCASE_INIT_BOILERPLATE(segment_size) \ argument
117 &hlsTestCase, engineTestData, segment_size); \
268 const guint segment_size = 30 * TS_PACKET_LEN; in GST_START_TEST() local
275 {"http://unit.test/001.ts", NULL, segment_size}, in GST_START_TEST()
279 {"src_0", segment_size, NULL}, in GST_START_TEST()
282 TESTCASE_INIT_BOILERPLATE (segment_size); in GST_START_TEST()
301 const guint segment_size = 30 * TS_PACKET_LEN; in GST_START_TEST() local
[all …]
/third_party/gstreamer/gstplugins_bad/sys/uvch264/
Dgstuvch264_mjpgdemux.c432 guint16 segment_size; in gst_uvc_h264_mjpg_demux_chain() local
456 segment_size = GUINT16_FROM_BE (*((guint16 *) (info.data + i + 2))); in gst_uvc_h264_mjpg_demux_chain()
458 if (i + segment_size + 2 >= info.size) { in gst_uvc_h264_mjpg_demux_chain()
465 "Found APP4 marker (%d). JPG: %d-%d - APP4: %d - %d", segment_size, in gst_uvc_h264_mjpg_demux_chain()
466 last_offset, i, i, i + 2 + segment_size); in gst_uvc_h264_mjpg_demux_chain()
474 last_offset = i + 2 + segment_size; in gst_uvc_h264_mjpg_demux_chain()
478 segment_size -= 2; in gst_uvc_h264_mjpg_demux_chain()
482 if (segment_size < sizeof (aux_header) + sizeof (aux_size)) { in gst_uvc_h264_mjpg_demux_chain()
583 segment_size -= sizeof (aux_header) + sizeof (aux_size); in gst_uvc_h264_mjpg_demux_chain()
586 if (segment_size > aux_size) { in gst_uvc_h264_mjpg_demux_chain()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_vsplit_tmp.h71 if (icount > vsplit->segment_size) in CONCAT()
143 assert(icount + !!close <= vsplit->segment_size); in CONCAT()
212 const unsigned max_count_simple = vsplit->segment_size; \
213 const unsigned max_count_loop = vsplit->segment_size - 1; \
214 const unsigned max_count_fan = vsplit->segment_size;
236 assert(icount + !!close_loop <= vsplit->segment_size); in vsplit_segment_loop_linear()
261 assert(icount <= vsplit->segment_size); in vsplit_segment_fan_linear()
281 const unsigned max_count_loop = vsplit->segment_size - 1; \
282 const unsigned max_count_fan = vsplit->segment_size;
Ddraw_pt_vsplit.c48 ushort segment_size; member
102 assert(vsplit->cache.num_fetch_elts < vsplit->segment_size); in vsplit_add_cache()
231 vsplit->segment_size = MIN2(SEGMENT_SIZE, vsplit->max_vertices); in vsplit_prepare()
/third_party/boost/boost/interprocess/mem_algo/
Dsimple_seq_fit.hpp51 simple_seq_fit(size_type segment_size, size_type extra_hdr_bytes) in simple_seq_fit() argument
52 : base_t(segment_size, extra_hdr_bytes){} in simple_seq_fit()
Drbtree_best_fit.hpp379 priv_add_segment(void *addr, size_type segment_size) in priv_add_segment() argument
384 BOOST_ASSERT(segment_size >= (BlockCtrlBytes + EndCtrlBlockBytes)); in priv_add_segment()
388 first_big_block->m_size = segment_size/Alignment - EndCtrlBlockUnits; in priv_add_segment()
445 rbtree_best_fit(size_type segment_size, size_type extra_hdr_bytes) in rbtree_best_fit() argument
449 m_header.m_size = segment_size; in rbtree_best_fit()
454 BOOST_ASSERT(get_min_size(extra_hdr_bytes) <= segment_size); in rbtree_best_fit()
456 priv_add_segment(reinterpret_cast<char*>(this) + block1_off, segment_size - block1_off); in rbtree_best_fit()
/third_party/flutter/skia/third_party/externals/libwebp/imageio/
Djpegdec.c82 const size_t segment_size = marker->data_length - kICCPSkipLength; in StoreICCP() local
85 if (segment_size == 0 || count == 0 || seq == 0) { in StoreICCP()
88 (int)segment_size, seq, count); in StoreICCP()
107 segment->data_length = segment_size; in StoreICCP()
109 total_size += segment_size; in StoreICCP()
/third_party/skia/third_party/externals/libwebp/imageio/
Djpegdec.c82 const size_t segment_size = marker->data_length - kICCPSkipLength; in StoreICCP() local
85 if (segment_size == 0 || count == 0 || seq == 0) { in StoreICCP()
88 (int)segment_size, seq, count); in StoreICCP()
107 segment->data_length = segment_size; in StoreICCP()
109 total_size += segment_size; in StoreICCP()
/third_party/mindspore/mindspore/ccsrc/ps/
Doptimizer_info.cc188 size_t segment_size = gradient()->size / indices()->size; in ComputeMean() local
190 std::vector<float> new_grad(indices_size * segment_size); in ComputeMean()
202 size_t outer_dim_size = segment_size; in ComputeMean()
231 …Util::ReduceSparseGradient(grad_data, indices_data, indices_size, segment_size, first_dim_size, ou… in ComputeMean()
234 size_t reduced_grad_size = unique_sparse_grad.indices_size_ * segment_size * sizeof(float); in ComputeMean()
253 for (size_t i = 0; i < unique_sparse_grad.indices_size_ * segment_size; i++) { in ComputeMean()
Dworker.cc537 const size_t segment_size, float *gradient, int *indices) { in PrepareSparseGradient() argument
543 size_t segment_data_size = segment_size * sizeof(float); in PrepareSparseGradient()
565 offset += segment_size; in PrepareSparseGradient()
743 size_t segment_size = grad_size / indice_size; in SparsePartitioner() local
762 float *grad = grad_data + i * segment_size; in SparsePartitioner()
791 size_t partition_segment_size = indices_size * segment_size; in SparsePartitioner()
794 …PrepareSparseGradient(begin, end, distinct_ids, indice_to_grads, indice_data, segment_size, src_gr… in SparsePartitioner()
801 …til::ReduceSparseGradient(src_grad_data.data(), src_indice_data.data(), indices_size, segment_size, in SparsePartitioner()
806 reduced_lens[grad_index] = unique_sparse_grad.indices_size_ * segment_size; in SparsePartitioner()
Dutil.h54 …educeSparseGradient(float *gradients, int *indices, const size_t indices_size, size_t segment_size,
Dutil.cc108 …educeSparseGradient(float *gradients, int *indices, const size_t indices_size, size_t segment_size, in ReduceSparseGradient() argument
111 size_t slice_segment_size = indices_size * segment_size; in ReduceSparseGradient()
Dworker.h100 const size_t segment_size, float *gradient, int *indices);
/third_party/boost/boost/interprocess/mem_algo/detail/
Dsimple_seq_fit_impl.hpp322 simple_seq_fit_impl(size_type segment_size, size_type extra_hdr_bytes) in simple_seq_fit_impl() argument
326 m_header.m_size = segment_size; in simple_seq_fit_impl()
335 m_header.m_root.m_next->m_size = (segment_size - block1_off)/Alignment; in simple_seq_fit_impl()
454 …simple_seq_fit_impl<MutexFamily, VoidPointer>::priv_add_segment(void *addr, size_type segment_size) in priv_add_segment() argument
458 BOOST_ASSERT(!(segment_size < MinBlockSize)); in priv_add_segment()
459 if(segment_size < MinBlockSize) in priv_add_segment()
463 new_block->m_size = segment_size/Alignment; in priv_add_segment()
/third_party/libunwind/src/dwarf/
DGfde.c51 uint8_t address_size, segment_size; in parse_cie() local
147 if ((ret = dwarf_readu8(as, a, &addr, &segment_size, arg)) < 0) in parse_cie()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-ot-cmap-table.hh158 size_t segment_size = 0; in get_sub_table_size() local
162 segment_size += in get_sub_table_size()
170 segment_size += (segments[i].end_code - segments[i].start_code + 1) * 2; in get_sub_table_size()
175 + segment_size; in get_sub_table_size()
/third_party/libcoap/src/
Duri.c289 check_segment(const uint8_t *s, size_t length, size_t *segment_size) { in check_segment() argument
304 *segment_size = n; in check_segment()
/third_party/skia/third_party/externals/libwebp/src/webp/
Dencode.h213 int segment_size[4]; // number of macroblocks in each segments member
/third_party/flutter/skia/third_party/externals/libwebp/src/webp/
Dencode.h215 int segment_size[4]; // number of macroblocks in each segments member
/third_party/boost/boost/interprocess/detail/
Dintersegment_ptr.hpp492 std::size_t segment_size = it->second.size; in get_segment_info_and_offset() local
495 (segment_base + segment_size) >= reinterpret_cast<const char*>(ptr)){ in get_segment_info_and_offset()
/third_party/boost/boost/interprocess/
Dsegment_manager.hpp417 explicit segment_manager(size_type segment_size) in segment_manager() argument
418 : segment_manager_base_t(segment_size, priv_get_reserved_bytes()) in segment_manager()

12