Home
last modified time | relevance | path

Searched refs:g_malloc0 (Results 1 – 25 of 159) sorted by relevance

1234567

/third_party/glib/gio/tests/
Dbuffered-output-stream.c11 base = g_memory_output_stream_new (g_malloc0 (20), 20, NULL, g_free); in test_write()
53 base = g_memory_output_stream_new (g_malloc0 (30), 30, g_realloc, g_free); in test_grow()
93 base = g_memory_output_stream_new (g_malloc0 (30), 30, g_realloc, g_free); in test_close()
106 base = g_memory_output_stream_new (g_malloc0 (30), 30, g_realloc, g_free); in test_close()
131 base = G_MEMORY_OUTPUT_STREAM (g_memory_output_stream_new (g_malloc0 (30), 30, NULL, g_free)); in test_seek()
248 stream_data = g_malloc0 (len); in test_truncate()
Ddata-output-stream.c40 data = g_malloc0 (MAX_LINES_BUFF); in test_basic()
72 data = g_malloc0 (MAX_LINES_BUFF); in test_read_lines()
73 lines = g_malloc0 ((strlen (TEST_STRING) + strlen (endl[newline_type])) * MAX_LINES + 1); in test_read_lines()
152 stream_data = g_malloc0 (len); in test_data_array()
282 buffer = g_malloc0(MAX_BYTES_BINARY); in test_read_int()
317 stream_data = g_malloc0 (len); in test_seek()
436 stream_data = g_malloc0 (len); in test_truncate()
/third_party/gstreamer/gstreamer/tests/check/elements/
Dcapsfilter.c315 buffer = gst_buffer_new_wrapped (g_malloc0 (1024), 1024); in GST_START_TEST()
394 gst_buffer_new_wrapped (g_malloc0 (1024), 1024)), GST_FLOW_OK); in GST_START_TEST()
406 gst_buffer_new_wrapped (g_malloc0 (1024), 1024)), GST_FLOW_OK); in GST_START_TEST()
424 gst_buffer_new_wrapped (g_malloc0 (1024), 1024)), GST_FLOW_OK); in GST_START_TEST()
437 gst_buffer_new_wrapped (g_malloc0 (1024), 1024)), GST_FLOW_OK); in GST_START_TEST()
459 gst_buffer_new_wrapped (g_malloc0 (1024), 1024)), GST_FLOW_OK); in GST_START_TEST()
/third_party/gstreamer/gstplugins_good/ext/taglib/
Dgstapev2mux.cc318 gchar *track_gain = (gchar *) g_malloc0 (G_ASCII_DTOSTR_BUF_SIZE); in add_one_tag()
332 gchar *track_peak = (gchar *) g_malloc0 (G_ASCII_DTOSTR_BUF_SIZE); in add_one_tag()
346 gchar *album_gain = (gchar *) g_malloc0 (G_ASCII_DTOSTR_BUF_SIZE); in add_one_tag()
360 gchar *album_peak = (gchar *) g_malloc0 (G_ASCII_DTOSTR_BUF_SIZE); in add_one_tag()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dmulawenc.c125 dp = g_malloc0 (buf_size); in GST_START_TEST()
149 dp = g_malloc0 (buf_size); in GST_START_TEST()
Drtphdrextclientaudiolevel.c166 data = g_malloc0 (size); in GST_START_TEST()
214 data = g_malloc0 (size); in GST_START_TEST()
254 data = g_malloc0 (size); in GST_START_TEST()
Dmulawdec.c100 dp = g_malloc0 (buf_size); in GST_START_TEST()
/third_party/gstreamer/gstplugins_bad/gst/geometrictransform/
Dgstdiffuse.c159 diffuse->sin_table = g_malloc0 (sizeof (gdouble) * 256); in diffuse_prepare()
160 diffuse->cos_table = g_malloc0 (sizeof (gdouble) * 256); in diffuse_prepare()
Dgstmarble.c197 marble->sin_table = g_malloc0 (sizeof (gdouble) * 256); in marble_prepare()
198 marble->cos_table = g_malloc0 (sizeof (gdouble) * 256); in marble_prepare()
/third_party/glib/gio/
Dgsocks5proxy.c653 data->buffer = g_malloc0 (SOCKS5_NEGO_MSG_LEN); in g_socks5_proxy_connect_async()
688 data->buffer = g_malloc0 (SOCKS5_NEGO_REP_LEN); in nego_msg_write_cb()
749 data->buffer = g_malloc0 (SOCKS5_AUTH_MSG_LEN); in nego_reply_read_cb()
802 data->buffer = g_malloc0 (SOCKS5_NEGO_REP_LEN); in auth_msg_write_cb()
871 data->buffer = g_malloc0 (SOCKS5_CONN_MSG_LEN); in send_connect_msg()
914 data->buffer = g_malloc0 (SOCKS5_CONN_REP_LEN); in connect_msg_write_cb()
Dgsocks4aproxy.c326 data->buffer = g_malloc0 (SOCKS4_CONN_MSG_LEN); in g_socks4a_proxy_connect_async()
369 data->buffer = g_malloc0 (SOCKS4_CONN_REP_LEN); in connect_msg_write_cb()
/third_party/glib/glib/
Dgrcbox.c221 allocated = g_malloc0 (real_size + sizeof (gpointer)); in g_rc_box_alloc_full()
234 allocated = g_malloc0 (real_size); in g_rc_box_alloc_full()
Dgmem.c130 g_malloc0 (gsize n_bytes) in g_malloc0() function
368 return g_malloc0 (n_blocks * n_block_bytes); in g_malloc0_n()
/third_party/curl/docs/examples/
Dghiper.c236 SockInfo *fdp = g_malloc0(sizeof(SockInfo)); in addsock()
297 conn = g_malloc0(sizeof(ConnInfo)); in new_conn()
418 g = g_malloc0(sizeof(GlobalInfo)); in main()
/third_party/gstreamer/gstplugins_bad/ext/avtp/
Dgstavtpsink.c289 msg = g_malloc0 (sizeof (struct msghdr)); in gst_avtp_sink_init_msghdr()
293 msg->msg_iov = g_malloc0 (sizeof (struct iovec)); in gst_avtp_sink_init_msghdr()
295 msg->msg_control = g_malloc0 (msg->msg_controllen); in gst_avtp_sink_init_msghdr()
/third_party/gstreamer/gstplugins_good/gst/effectv/
Dgstquark.c184 (GstBuffer **) g_malloc0 (filter->planes * sizeof (GstBuffer *)); in gst_quarktv_start()
220 (GstBuffer **) g_malloc0 (new_n_planes * sizeof (GstBuffer *)); in gst_quarktv_set_property()
/third_party/gstreamer/gstplugins_bad/gst/mpegpsmux/
Dmpegpsmux_aac.c90 adts_header = g_malloc0 (7); in mpegpsmux_prepare_aac()
/third_party/gstreamer/gstplugins_bad/sys/dshowdecwrapper/
Dgstdshowaudiodec.cpp709 mediatype = (AM_MEDIA_TYPE *)g_malloc0 (sizeof(AM_MEDIA_TYPE)); in dshowaudiodec_set_input_format()
730 format = (WAVEFORMATEX *)g_malloc0 (size); in dshowaudiodec_set_input_format()
786 mp3format = (MPEGLAYER3WAVEFORMAT *)g_malloc0 (size); in dshowaudiodec_set_input_format()
801 format = (WAVEFORMATEX *)g_malloc0 (size); in dshowaudiodec_set_input_format()
838 format = (WAVEFORMATEX *)g_malloc0(sizeof (WAVEFORMATEX)); in dshowaudiodec_set_output_format()
846 mediatype = (AM_MEDIA_TYPE *)g_malloc0(sizeof (AM_MEDIA_TYPE)); in dshowaudiodec_set_output_format()
/third_party/gstreamer/gstplugins_bad/sys/winks/
Dkshelpers.c85 if_detail_data = g_malloc0 (if_detail_data_size); in ks_enumerate_devices()
221 *items = g_malloc0 (items_size); in ks_filter_get_pin_property_multi()
265 *value = g_malloc0 (req_value_size); in ks_object_query_property()
/third_party/libinput/test/
Dvalgrind.suppressions32 fun:g_malloc0
/third_party/gstreamer/gstplugins_bad/gst/inter/
Dgstintersurface.c47 surface = g_malloc0 (sizeof (GstInterSurface)); in gst_inter_surface_get()
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstcudanvrtc.c101 ptx = g_malloc0 (ptx_size); in gst_cuda_nvrtc_compile()
/third_party/gstreamer/gstplugins_good/ext/wavpack/
Dgstwavpackstreamreader.c114 (WavpackStreamReader *) g_malloc0 (sizeof (WavpackStreamReader)); in gst_wavpack_stream_reader_new()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtpqdmdepay.c212 depay->packets[pid] = g_malloc0 (sizeof (QDM2Packet)); in add_packet()
221 packet->data = g_malloc0 (depay->packetsize); in add_packet()
/third_party/gettext/libtextstyle/gnulib-local/lib/libcroco/
Dcr-enc-handler.c182 *a_out = g_malloc0 (*a_out_len); in cr_enc_handler_convert_input()

1234567