/third_party/libunwind/src/ |
D | os-linux.c | 37 HIDDEN struct map_info * 42 struct map_info *map_list = NULL; in maps_create_list() 43 struct map_info *cur_map; in maps_create_list() 44 struct map_info *buf; in maps_create_list() 49 …buf = (struct map_info*)mmap(NULL, buf_sz * sizeof(struct map_info), PROT_READ | PROT_WRITE, MAP_A… in maps_create_list() 57 …struct map_info *newBuf = (struct map_info *)mmap(NULL, 2 * buf_sz * sizeof(struct map_info), PROT… in maps_create_list() 59 memcpy(newBuf, buf, buf_sz * sizeof(struct map_info)); in maps_create_list() 60 munmap(buf, buf_sz * sizeof(struct map_info)); in maps_create_list() 98 munmap(buf, buf_sz * sizeof(struct map_info)); in maps_create_list() 106 maps_destroy_list(struct map_info *map_info) in maps_destroy_list() argument [all …]
|
D | os-ohos.h | 24 struct map_info; 29 extern struct map_info* unw_get_map (struct unw_cursor *cursor); 30 extern struct map_info* unw_get_maps (struct unw_cursor *cursor); 41 extern bool unw_get_build_id(struct map_info* map, uint8_t** build_id_ptr, size_t* length); 42 extern int unw_get_library_name_by_map(struct map_info* map, char *buf, int buf_sz);
|
D | os-ohos.c | 30 extern struct map_info *get_map(struct map_info *map_list, unw_word_t addr); 75 struct map_info* 82 struct map_info* 96 struct map_info* map = unw_get_map(cursor); in unw_get_symbol_info() 114 struct map_info* map = tdep_get_elf_image(as, as->pid, pc); in unw_get_symbol_info_by_pc() 202 struct map_info* map = get_map(c->dwarf.as->map_list, c->dwarf.ip); in unw_is_ark_managed_frame() 297 unw_get_build_id (struct map_info* map, uint8_t** build_id_ptr, size_t* length) in unw_get_build_id() 317 unw_get_library_name_by_map(struct map_info* map, char *buf, int buf_sz) in unw_get_library_name_by_map()
|
/third_party/libunwind/src/mi/ |
D | maps.c | 59 struct map_info *map_info = map_cursor->cur_map; in unw_map_cursor_get() local 61 if (map_info == NULL) in unw_map_cursor_get() 64 unw_map->start = map_info->start; in unw_map_cursor_get() 65 unw_map->end = map_info->end; in unw_map_cursor_get() 66 unw_map->flags = map_info->flags; in unw_map_cursor_get() 67 unw_map->path = map_info->path; in unw_map_cursor_get() 69 map_cursor->cur_map = map_info + 1; in unw_map_cursor_get()
|
/third_party/libunwind/include/ |
D | map_info.h | 28 struct map_info struct 42 int maps_is_readable(struct map_info *map_list, unw_word_t addr); argument 44 int maps_is_writable(struct map_info *map_list, unw_word_t addr); 46 struct map_info *maps_create_list(pid_t pid); 48 void maps_destroy_list(struct map_info *map_info);
|
D | libunwind_i-ohos.h | 38 extern struct map_info* unw_get_map (unw_cursor_t *); 40 extern struct map_info* unw_get_maps (unw_cursor_t *); 42 extern bool unw_get_build_id(struct map_info* map, uint8_t** build_id_ptr, size_t* length); 59 extern int unw_get_library_name_by_map (struct map_info* map, char *buf, int buf_sz);
|
/third_party/gstreamer/gstplugins_base/tests/check/libs/ |
D | gstglmemory.c | 249 GstMapInfo map_info; in GST_START_TEST() local 259 fail_unless (gst_memory_map (mem, &map_info, GST_MAP_READ)); in GST_START_TEST() 260 fail_unless (memcmp (map_info.data, formats[i].data, formats[i].size) == 0); in GST_START_TEST() 261 gst_memory_unmap (mem, &map_info); in GST_START_TEST() 344 GstMapInfo map_info; in GST_START_TEST() local 356 fail_unless (gst_memory_map (mem, &map_info, GST_MAP_READ | GST_MAP_GL)); in GST_START_TEST() 373 gst_memory_unmap (mem, &map_info); in GST_START_TEST() 376 fail_unless (gst_memory_map (mem2, &map_info, GST_MAP_READ)); in GST_START_TEST() 377 fail_unless (memcmp (map_info.data, formats[i].data, formats[i].size) == 0); in GST_START_TEST() 378 gst_memory_unmap (mem2, &map_info); in GST_START_TEST() [all …]
|
D | gstglupload.c | 267 GstMapInfo map_info; in GST_START_TEST() local 287 res = gst_buffer_map (outbuf, &map_info, GST_MAP_READ | GST_MAP_GL); in GST_START_TEST() 290 tex_id = *(guint *) map_info.data; in GST_START_TEST() 292 gst_buffer_unmap (outbuf, &map_info); in GST_START_TEST() 323 GstMapInfo map_info; in GST_START_TEST() local 344 gst_memory_map ((GstMemory *) gl_mem, &map_info, in GST_START_TEST() 347 tex_id = *(guint *) map_info.data; in GST_START_TEST() 348 gst_memory_unmap ((GstMemory *) gl_mem, &map_info); in GST_START_TEST()
|
/third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
D | vkcolorconvert.c | 73 GstMapInfo map_info; in GST_START_TEST() local 96 fail_unless (gst_buffer_map (outbuf, &map_info, GST_MAP_READ)); in GST_START_TEST() 97 fail_unless (map_info.size == out_info.size); in GST_START_TEST() 101 && map_info.data[k] != IGNORE_MAGIC) { in GST_START_TEST() 104 (guint) map_info.data[k]); in GST_START_TEST() 105 fail_unless (expected[k] == map_info.data[k]); in GST_START_TEST() 108 gst_buffer_unmap (outbuf, &map_info); in GST_START_TEST()
|
D | d3d11colorconvert.c | 82 GstMapInfo map_info; in GST_START_TEST() local 105 fail_unless (gst_buffer_map (outbuf, &map_info, GST_MAP_READ)); in GST_START_TEST() 106 fail_unless (map_info.size == out_info.size); in GST_START_TEST() 110 GST_DEBUG ("%i 0x%x =? 0x%x", k, expected[k], (guint) map_info.data[k]); in GST_START_TEST() 111 fail_unless (expected[k] == map_info.data[k]); in GST_START_TEST() 113 gst_buffer_unmap (outbuf, &map_info); in GST_START_TEST()
|
/third_party/gstreamer/gstplugins_bad/ext/webp/ |
D | gstwebpdec.c | 372 gst_webp_dec_update_src_caps (GstWebPDec * dec, GstMapInfo * map_info) in gst_webp_dec_update_src_caps() argument 377 if (WebPGetFeatures (map_info->data, map_info->size, in gst_webp_dec_update_src_caps() 426 GstMapInfo map_info; in gst_webp_dec_handle_frame() local 430 gst_buffer_map (frame->input_buffer, &map_info, GST_MAP_READ); in gst_webp_dec_handle_frame() 432 ret = gst_webp_dec_update_src_caps (webpdec, &map_info); in gst_webp_dec_handle_frame() 434 gst_buffer_unmap (frame->input_buffer, &map_info); in gst_webp_dec_handle_frame() 443 gst_buffer_unmap (frame->input_buffer, &map_info); in gst_webp_dec_handle_frame() 453 gst_buffer_unmap (frame->input_buffer, &map_info); in gst_webp_dec_handle_frame() 470 if (WebPDecode (map_info.data, map_info.size, in gst_webp_dec_handle_frame() 475 gst_buffer_unmap (frame->input_buffer, &map_info); in gst_webp_dec_handle_frame() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/videoparsers/ |
D | gstav1parse.c | 1452 GstMapInfo map_info; in gst_av1_parse_handle_obu_to_obu() local 1460 if (!gst_buffer_map (buffer, &map_info, GST_MAP_READ)) { in gst_av1_parse_handle_obu_to_obu() 1468 res = gst_av1_parser_identify_one_obu (self->parser, map_info.data, in gst_av1_parse_handle_obu_to_obu() 1469 map_info.size, &obu, &consumed); in gst_av1_parse_handle_obu_to_obu() 1473 g_assert (consumed <= map_info.size); in gst_av1_parse_handle_obu_to_obu() 1480 *skipsize = map_info.size; in gst_av1_parse_handle_obu_to_obu() 1494 *skipsize = map_info.size; in gst_av1_parse_handle_obu_to_obu() 1535 gst_buffer_unmap (buffer, &map_info); in gst_av1_parse_handle_obu_to_obu() 1545 GstMapInfo map_info; in gst_av1_parse_handle_to_small_and_equal_align() local 1553 if (!gst_buffer_map (buffer, &map_info, GST_MAP_READ)) { in gst_av1_parse_handle_to_small_and_equal_align() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/chromaprint/ |
D | gstchromaprint.c | 197 GstMapInfo map_info; in gst_chromaprint_transform_ip() local 210 if (!gst_buffer_map (buf, &map_info, GST_MAP_READ)) in gst_chromaprint_transform_ip() 213 nsamples = map_info.size / (channels * 2); in gst_chromaprint_transform_ip() 224 chromaprint_feed (chromaprint->context, (gint16 *) map_info.data, in gst_chromaprint_transform_ip() 225 map_info.size / sizeof (guint16)); in gst_chromaprint_transform_ip() 233 gst_buffer_unmap (buf, &map_info); in gst_chromaprint_transform_ip()
|
/third_party/gstreamer/gstplugins_base/ext/gl/ |
D | gstgloverlay.c | 439 GstMapInfo map_info; in gst_gl_overlay_callback() local 472 if (!gst_memory_map ((GstMemory *) overlay->image_memory, &map_info, in gst_gl_overlay_callback() 473 GST_MAP_READ | GST_MAP_GL) || map_info.data == NULL) in gst_gl_overlay_callback() 477 image_tex = *(guint *) map_info.data; in gst_gl_overlay_callback() 566 gst_memory_unmap ((GstMemory *) overlay->image_memory, &map_info); in gst_gl_overlay_callback() 676 GstMapInfo map_info; in gst_gl_overlay_load_jpeg() local 713 if (!gst_memory_map ((GstMemory *) overlay->image_memory, &map_info, in gst_gl_overlay_load_jpeg() 721 j = map_info.data + v_info.stride[0] * i; in gst_gl_overlay_load_jpeg() 726 gst_memory_unmap ((GstMemory *) overlay->image_memory, &map_info); in gst_gl_overlay_load_jpeg() 737 GstMapInfo map_info; in gst_gl_overlay_load_png() local [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/openh264/ |
D | gstopenh264dec.cpp | 248 GstMapInfo map_info; in gst_openh264dec_handle_frame() local 278 if (!gst_buffer_map (frame->input_buffer, &map_info, GST_MAP_READ)) { in gst_openh264dec_handle_frame() 285 map_info.size > 4 ? map_info.data[4] & 0x1f : -1); in gst_openh264dec_handle_frame() 297 openh264dec->decoder->DecodeFrameNoDelay (map_info.data, map_info.size, in gst_openh264dec_handle_frame() 299 gst_buffer_unmap (frame->input_buffer, &map_info); in gst_openh264dec_handle_frame()
|
/third_party/gstreamer/gstplugins_bad/gst/subenc/ |
D | gstsrtenc.c | 87 GstMapInfo map_info; in gst_srt_enc_chain() local 114 if (gst_buffer_map (buf, &map_info, GST_MAP_READ)) { in gst_srt_enc_chain() 115 g_string_append_len (s, (const gchar *) map_info.data, map_info.size); in gst_srt_enc_chain() 116 gst_buffer_unmap (buf, &map_info); in gst_srt_enc_chain()
|
D | gstwebvttenc.c | 90 GstMapInfo map_info; in gst_webvtt_enc_chain() local 131 if (gst_buffer_map (buf, &map_info, GST_MAP_READ)) { in gst_webvtt_enc_chain() 132 g_string_append_len (s, (const gchar *) map_info.data, map_info.size); in gst_webvtt_enc_chain() 133 gst_buffer_unmap (buf, &map_info); in gst_webvtt_enc_chain()
|
/third_party/gstreamer/gstplugins_bad/gst/accurip/ |
D | gstaccurip.c | 219 GstMapInfo map_info; in gst_accurip_transform_ip() local 229 if (!gst_buffer_map (buf, &map_info, GST_MAP_READ)) in gst_accurip_transform_ip() 232 data = (guint32 *) map_info.data; in gst_accurip_transform_ip() 233 nsamples = map_info.size / (channels * 2); in gst_accurip_transform_ip() 270 gst_buffer_unmap (buf, &map_info); in gst_accurip_transform_ip()
|
/third_party/pulseaudio/src/modules/bluetooth/ |
D | a2dp-codec-gst.c | 257 GstMapInfo map_info; in gst_transcode_buffer() local 258 pa_assert_se(gst_buffer_map(in_buf, &map_info, GST_MAP_READ)); in gst_transcode_buffer() 259 memcpy(output_buffer, map_info.data, transcoded); in gst_transcode_buffer() 260 gst_buffer_unmap(in_buf, &map_info); in gst_transcode_buffer()
|
/third_party/gstreamer/gstplugins_base/tests/check/elements/ |
D | rawaudioparse.c | 188 GstMapInfo map_info; in push_data_and_check_output() local 191 gst_buffer_map (outbuf, &map_info, GST_MAP_READ); in push_data_and_check_output() 192 num_frames = map_info.size / bpf; in push_data_and_check_output() 193 s = (guint16 *) (map_info.data); in push_data_and_check_output() 206 gst_buffer_unmap (outbuf, &map_info); in push_data_and_check_output()
|
D | rawvideoparse.c | 106 GstMapInfo map_info; in fill_test_pattern() local 108 gst_buffer_map (buffer, &map_info, GST_MAP_WRITE); in fill_test_pattern() 109 pixels = map_info.data; in fill_test_pattern() 115 gst_buffer_unmap (buffer, &map_info); in fill_test_pattern() 124 GstMapInfo map_info; in check_test_pattern() local 126 gst_buffer_map (buffer, &map_info, GST_MAP_READ); in check_test_pattern() 127 pixels = map_info.data; in check_test_pattern() 144 gst_buffer_unmap (buffer, &map_info); in check_test_pattern()
|
/third_party/gstreamer/gstplugins_bad/ext/bs2b/ |
D | gstbs2b.c | 346 GstMapInfo map_info; in gst_bs2b_transform_inplace() local 348 if (!gst_buffer_map (buffer, &map_info, GST_MAP_READ | GST_MAP_WRITE)) in gst_bs2b_transform_inplace() 354 element->func (element->bs2bdp, map_info.data, in gst_bs2b_transform_inplace() 355 map_info.size / element->bytes_per_sample); in gst_bs2b_transform_inplace() 358 gst_buffer_unmap (buffer, &map_info); in gst_bs2b_transform_inplace()
|
/third_party/gstreamer/gstplugins_bad/ext/dtls/ |
D | gstdtlsdec.c | 474 GstMapInfo map_info; in process_buffer() local 478 if (!gst_buffer_map (buffer, &map_info, GST_MAP_READWRITE)) in process_buffer() 481 if (!map_info.size) { in process_buffer() 482 gst_buffer_unmap (buffer, &map_info); in process_buffer() 487 gst_dtls_connection_process (self->connection, map_info.data, in process_buffer() 488 map_info.size, &written, &err); in process_buffer() 489 gst_buffer_unmap (buffer, &map_info); in process_buffer() 495 map_info.size, written); in process_buffer()
|
D | gstdtlsenc.c | 525 GstMapInfo map_info; in sink_chain() local 543 gst_buffer_map (buffer, &map_info, GST_MAP_READ); in sink_chain() 545 to_write = map_info.size; in sink_chain() 549 gst_dtls_connection_send (self->connection, map_info.data, in sink_chain() 550 map_info.size, &written, &err); in sink_chain() 556 map_info.size); in sink_chain() 579 gst_buffer_unmap (buffer, &map_info); in sink_chain()
|
/third_party/gstreamer/gstplugins_bad/tests/examples/va/ |
D | main.c | 75 GstMapInfo map_info; in draw_unlocked() local 93 if (!gst_buffer_map (buffer, &map_info, GST_MAP_READ | GST_MAP_VA)) in draw_unlocked() 96 surface = (*(VASurfaceID *) map_info.data); in draw_unlocked() 116 gst_buffer_unmap (buffer, &map_info); in draw_unlocked()
|