Home
last modified time | relevance | path

Searched refs:g_new (Results 1 – 25 of 216) sorted by relevance

123456789

/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dfft.c52 in = g_new (gint16, 2048); in GST_START_TEST()
53 out = g_new (GstFFTS16Complex, 1025); in GST_START_TEST()
89 in = g_new (gint16, 2048); in GST_START_TEST()
90 out = g_new (GstFFTS16Complex, 1025); in GST_START_TEST()
131 in = g_new (gint16, 2048); in GST_START_TEST()
132 out = g_new (GstFFTS16Complex, 1025); in GST_START_TEST()
171 in = g_new (gint32, 2048); in GST_START_TEST()
172 out = g_new (GstFFTS32Complex, 1025); in GST_START_TEST()
209 in = g_new (gint32, 2048); in GST_START_TEST()
210 out = g_new (GstFFTS32Complex, 1025); in GST_START_TEST()
[all …]
/third_party/glib/glib/tests/
Dcache.c34 value = g_new (gint, 1); in value_create()
52 newkey = g_new (gint, 1); in key_dup()
119 key = g_new (gint, 1); in test_cache_basic()
Dmem-overflow.c62 MEM_OVERFLOW_TEST (new_a, p = g_new (X, a))
63 MEM_OVERFLOW_TEST (new_b, p = g_new (X, b))
/third_party/gstreamer/gstplugins_base/tests/examples/fft/
Dfftrange.c40 fdata = g_new (GstFFT ##_T_ ##Complex, num_freq); \
41 adata = g_new (_g_, num_samples); \
83 fdata = g_new (GstFFT ##_T_ ##Complex, num_freq); \
84 adata = g_new (_g_, num_samples); \
/third_party/glib/gio/win32/
Dgwinhttpfile.c116 file->url.lpszScheme = g_new (wchar_t, ++file->url.dwSchemeLength); in _g_winhttp_file_new()
117 file->url.lpszHostName = g_new (wchar_t, ++file->url.dwHostNameLength); in _g_winhttp_file_new()
118 file->url.lpszUserName = g_new (wchar_t, ++file->url.dwUserNameLength); in _g_winhttp_file_new()
119 file->url.lpszPassword = g_new (wchar_t, ++file->url.dwPasswordLength); in _g_winhttp_file_new()
120 file->url.lpszUrlPath = g_new (wchar_t, ++file->url.dwUrlPathLength); in _g_winhttp_file_new()
121 file->url.lpszExtraInfo = g_new (wchar_t, ++file->url.dwExtraInfoLength); in _g_winhttp_file_new()
215 wuri = g_new (wchar_t, ++len); in g_winhttp_file_get_uri()
394 tmp = g_new (wchar_t, wcslen (winhttp_file->url.lpszUrlPath) + wcslen (wnew_path) + 1); in g_winhttp_file_resolve_relative_path()
399 tmp = g_new (wchar_t, wcslen (winhttp_file->url.lpszUrlPath) + 1 + wcslen (wnew_path) + 1); in g_winhttp_file_resolve_relative_path()
/third_party/glib/tests/
Dslice-color.c64 guint **mema = g_new (guint*, n); in touch_mem()
67 memb = g_new (guint*, n); in touch_mem()
70 memc = g_new (guint*, n); in touch_mem()
Dslice-test.c101 ps = g_new (guint8*, number_of_blocks); in test_memchunk_thread()
102 ss = g_new (guint, number_of_blocks); in test_memchunk_thread()
162 ps = g_new (guint8*, number_of_blocks); in test_sliced_mem_thread()
163 ss = g_new (guint, number_of_blocks); in test_sliced_mem_thread()
/third_party/glib/gio/
Dgunixfdlist.c190 list->priv->fds = g_new (gint, n_fds + 1); in g_unix_fd_list_new_from_array()
241 list->priv->fds = g_new (gint, 1); in g_unix_fd_list_steal_fds()
290 list->priv->fds = g_new (gint, 1); in g_unix_fd_list_peek_fds()
Dgthemedicon.c120 icon->init_names = g_new (char *, 2); in g_themed_icon_set_property()
347 themed->names = g_new (char *, g_list_length (names) + g_list_length (variants) + 1); in g_themed_icon_update_names()
400 names = g_new (char *, len + 1); in g_themed_icon_new_from_names()
514 names = g_new (char*, num_names + 2); in g_themed_icon_prepend_name()
/third_party/glib/glib/
Dgspawn-win32-helper.c77 *new_wargv = g_new (wchar_t *, argc+1); in protect_wargv()
109 q = (*new_wargv)[i] = g_new (wchar_t, len + need_dblquotes*2 + 1); in protect_wargv()
223 argv = g_new(char *, argc + 1); in WinMain()
Dgstringchunk.c120 GStringChunk *new_chunk = g_new (GStringChunk, 1); in g_string_chunk_new()
298 g_new (gchar, new_size)); in g_string_chunk_insert_len()
Dgquark.c62 quarks = g_new (gchar*, QUARK_BLOCK_SIZE); in g_quark_init()
294 quarks_new = g_new (gchar*, quark_seq_id + QUARK_BLOCK_SIZE); in quark_new()
Dgenviron.c488 wvalue = g_new (wchar_t, len); in g_getenv()
505 wvalue = g_new (wchar_t, len); in g_getenv()
654 result = g_new (char *, i + 1); in g_get_environ()
Dgstrfuncs.c364 new_str = g_new (char, length); in g_strdup()
461 new_str = g_new (gchar, n + 1); in g_strndup()
487 str = g_new (gchar, length + 1); in g_strnfill()
629 concat = g_new (gchar, l); in g_strconcat()
2484 result = g_new (char *, 1); in g_strsplit_set()
2518 result = g_new (gchar *, n_tokens + 1); in g_strsplit_set()
2582 retval = g_new (gchar*, i + 1); in g_strdupv()
2641 string = g_new (gchar, len); in g_strjoinv()
2701 string = g_new (gchar, len); in g_strjoin()
3096 *ascii_alternates = g_new (gchar *, n + 1); in g_str_tokenize_and_fold()
/third_party/gstreamer/gstplugins_bad/gst/audiovisualizers/
Dgstsynaescope.c172 scope->freq_data_l = g_new (GstFFTS16Complex, num_freq); in gst_synae_scope_setup()
173 scope->freq_data_r = g_new (GstFFTS16Complex, num_freq); in gst_synae_scope_setup()
175 scope->adata_l = g_new (gint16, bscope->req_spf); in gst_synae_scope_setup()
176 scope->adata_r = g_new (gint16, bscope->req_spf); in gst_synae_scope_setup()
/third_party/gettext/libtextstyle/gnulib-local/lib/glib/
Dgstrfuncs.c110 new_str = g_new (char, length); in g_strdup()
148 new_str = g_new (gchar, n + 1); in g_strndup()
166 str = g_new (gchar, length + 1);
256 concat = g_new (gchar, l); in g_strconcat()
1309 msg = g_new (gchar, 64);
1459 msg = g_new (gchar, 64);
2307 new_string = g_new (gchar, len + 1);
2322 str_array = g_new (gchar*, n + 1);
2389 result = g_new (char *, 1);
2422 result = g_new (gchar *, n_tokens + 1);
[all …]
/third_party/gstreamer/gstplugins_base/tests/check/pipelines/
Dgio.c79 in_data = g_new (guint8, 512); in GST_START_TEST()
80 out_data = g_new (guint8, 512); in GST_START_TEST()
/third_party/gstreamer/gstplugins_good/gst/level/
Dgstlevel.c500 filter->CS = g_new (gdouble, channels); in gst_level_set_caps()
501 filter->peak = g_new (gdouble, channels); in gst_level_set_caps()
502 filter->last_peak = g_new (gdouble, channels); in gst_level_set_caps()
503 filter->decay_peak = g_new (gdouble, channels); in gst_level_set_caps()
504 filter->decay_peak_base = g_new (gdouble, channels); in gst_level_set_caps()
506 filter->decay_peak_age = g_new (GstClockTime, channels); in gst_level_set_caps()
/third_party/glib/gobject/
Dgobject-query.c153 indent_inc = g_new (gchar, n * strlen (O_SPACE) + 1); in main()
203 indent_inc = g_new (gchar, strlen (O_SPACE) + 1); in main()
/third_party/gstreamer/gstplugins_good/gst/audiofx/
Daudiowsincband.c273 kernel_lp = g_new (gdouble, len); in gst_audio_wsincband_build_kernel()
310 kernel_hp = g_new (gdouble, len); in gst_audio_wsincband_build_kernel()
356 kernel = g_new (gdouble, len); in gst_audio_wsincband_build_kernel()
Daudioiirfilter.c164 a = g_new (gdouble, self->a->n_values); in gst_audio_iir_filter_update_coefficients()
173 b = g_new (gdouble, self->b->n_values); in gst_audio_iir_filter_update_coefficients()
/third_party/gstreamer/gstreamer/tests/benchmarks/
Dcaps.c57 capses = g_new (GstCaps *, NUM_CAPS); in main()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Dgstaudiometa.c159 g_new (GstAudioChannelPosition, meta->from_channels + meta->to_channels); in gst_buffer_add_audio_downmix_meta()
166 meta->matrix = g_new (gfloat *, meta->to_channels); in gst_buffer_add_audio_downmix_meta()
167 meta->matrix[0] = g_new (gfloat, meta->from_channels * meta->to_channels); in gst_buffer_add_audio_downmix_meta()
/third_party/gstreamer/gstreamer/gst/
Dgstatomicqueue.c83 mem = g_new (GstAQueueMem, 1); in new_queue_mem()
160 queue = g_new (GstAtomicQueue, 1); in gst_atomic_queue_new()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dmpg123audiodec.c127 fftdata = g_new (GstFFT##ffttag##Complex, num_samples / 2 + 1); \
410 tmpbuf = g_new (guint32, 4096); in GST_START_TEST()
457 tmpbuf = g_new (guint32, 4096); in GST_START_TEST()

123456789