/third_party/glib/glib/tests/ |
D | mem-overflow.c | 57 MEM_OVERFLOW_TEST (realloc_n_a_a, p = g_malloc (1); p = g_realloc_n (p, a, a)) 58 MEM_OVERFLOW_TEST (realloc_n_a_b, p = g_malloc (1); p = g_realloc_n (p, a, b)) 59 MEM_OVERFLOW_TEST (realloc_n_b_a, p = g_malloc (1); p = g_realloc_n (p, b, a)) 60 MEM_OVERFLOW_TEST (realloc_n_b_b, p = g_malloc (1); p = g_realloc_n (p, b, b)) 68 MEM_OVERFLOW_TEST (renew_a, p = g_malloc (1); p = g_renew (X, p, a)) 69 MEM_OVERFLOW_TEST (renew_b, p = g_malloc (1); p = g_renew (X, p, b)) 76 p = g_malloc (0); in mem_overflow_malloc_0() 85 p = g_malloc (10); in mem_overflow_realloc_0() 112 q = g_malloc (1); in mem_overflow()
|
D | sort.c | 35 data = g_malloc (10000 * sizeof (int)); in test_sort_basic() 75 data = g_malloc (10000 * sizeof (SortItem)); in test_sort_stable() 99 data = g_malloc (10000 * sizeof (BigItem)); in test_sort_big()
|
D | utils.c | 588 a = g_malloc (5); in test_clear_pointer() 592 a = g_malloc (5); in test_clear_pointer() 644 gpointer obj = g_malloc (5); in get_obj() 688 a = g_malloc (16); in test_misc_mem() 782 list = g_list_prepend (list, g_malloc (16)); in test_clear_list() 806 slist = g_slist_prepend (slist, g_malloc (16)); in test_clear_slist()
|
D | utf8-pointer.c | 41 p = (const gchar **) g_malloc (num_chars * sizeof (gchar *)); in test_utf8() 106 gchar *str_copy = g_malloc (str_size); in test_find()
|
D | base64.c | 21 data2 = g_malloc (length); in test_incremental() 22 text = g_malloc (length * 4); in test_incremental() 386 decoded = g_malloc (len / 4 * 3 + 3); in test_base64_decode_smallblock()
|
/third_party/gstreamer/gstplugins_bad/ext/curl/ |
D | gstcurlqueue.c | 67 g_malloc (sizeof (GstCurlHttpSrcQueueElement)); in gst_curl_http_src_add_queue_item() 93 g_malloc (sizeof (GstCurlHttpSrcQueueElement)); in gst_curl_http_src_add_queue_item() 103 g_malloc (sizeof (GstCurlHttpSrcQueueElement)); in gst_curl_http_src_add_queue_item()
|
/third_party/glib/glib/ |
D | gunicollate.c | 241 result = g_malloc (result_len + 1); in collate_key_to_string() 405 result = g_malloc (result_len + 1); in g_utf8_collate_key() 433 result = g_malloc (xfrm_len + 1); in g_utf8_collate_key() 452 result = g_malloc (xfrm_len + 2); in g_utf8_collate_key() 463 result = g_malloc (xfrm_len + 2); in g_utf8_collate_key()
|
D | gvarianttype.c | 398 new = g_malloc (length + 1); in g_variant_type_copy() 1209 new = g_malloc (size + 1); in g_variant_type_new_array() 1239 new = g_malloc (size + 1); in g_variant_type_new_maybe() 1274 new = g_malloc (1 + keysize + valsize + 1); in g_variant_type_new_dict_entry()
|
D | grcbox.c | 223 allocated = g_malloc (real_size + sizeof (gpointer)); in g_rc_box_alloc_full() 236 allocated = g_malloc (real_size); in g_rc_box_alloc_full()
|
D | gmem.c | 100 g_malloc (gsize n_bytes) in g_malloc() function 344 return g_malloc (n_blocks * n_block_bytes); in g_malloc_n()
|
/third_party/gstreamer/gstreamer/docs/random/ensonic/ |
D | embedded.txt | 42 == g_malloc vs. g_try_malloc == 43 g_malloc/g_new should not be used when allocating space of a size that is 47 $ find . -name "*.c" -exec grep "g_malloc" {} \; | wc -l
|
/third_party/glib/gio/tests/ |
D | converter-stream.c | 304 converted1 = g_malloc (100*1000); /* Large enough */ in test_expander() 305 converted2 = g_malloc (100*1000); /* Large enough */ in test_expander() 399 expanded = g_malloc (100*1000); /* Large enough */ in test_compressor() 411 converted = g_malloc (100*1000); /* Large enough */ in test_compressor() 679 orig = g_malloc (LEFTOVER_BUFSIZE); in test_converter_leftover() 680 converted = g_malloc (LEFTOVER_BUFSIZE); in test_converter_leftover() 753 data0 = g_malloc (DATA_LENGTH * sizeof (guint32)); in test_roundtrip() 978 expanded = g_malloc (100*1000); /* Large enough */ in test_converter_pollable() 993 converted = g_malloc (100*1000); /* Large enough */ in test_converter_pollable() 1120 data0 = g_malloc (DATA_LENGTH * sizeof (guint32)); in test_truncation()
|
D | filter-streams.c | 243 expected_data = g_malloc (20); in test_input_async() 259 expected_data = g_malloc (20); in test_input_async() 346 expected_data = g_malloc (20); in test_output_async() 362 expected_data = g_malloc (20); in test_output_async()
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/mpegts/ |
D | gstmpegtsdescriptor.c | 354 out_buffer = g_malloc (*out_size + 3); in dvb_text_from_utf8() 375 out_buffer = g_malloc (*out_size + 1); in dvb_text_from_utf8() 386 out_buffer = g_malloc (*out_size + 1); in dvb_text_from_utf8() 396 out_buffer = g_malloc (*out_size + 1); in dvb_text_from_utf8() 429 pos = tmp = g_malloc (length * 2); in convert_to_utf8() 664 descriptor->data = g_malloc (length + 2); in _new_descriptor() 686 descriptor->data = g_malloc (length + 3); in _new_descriptor_with_extension()
|
/third_party/libsoup/tests/ |
D | chunk-io-test.c | 375 buf = g_malloc (raw_contents->length); in do_io_tests() 412 buf = g_malloc (raw_contents->length); in do_io_tests() 451 buf = g_malloc (chunkified->len); in do_io_tests() 496 buf = g_malloc (chunkified->len); in do_io_tests() 557 buf = g_malloc (chunkified->len); in do_io_tests()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/ |
D | video-resampler.c | 225 resampler->taps = g_malloc (sizeof (gdouble) * max_taps * out_size); in resampler_calculate_taps() 226 n_taps = resampler->n_taps = g_malloc (sizeof (guint32) * out_size); in resampler_calculate_taps() 227 offset = resampler->offset = g_malloc (sizeof (guint32) * out_size); in resampler_calculate_taps() 228 phase = resampler->phase = g_malloc (sizeof (guint32) * out_size); in resampler_calculate_taps()
|
/third_party/gstreamer/gstplugins_bad/ext/opencv/ |
D | gstsegmentation.cpp | 320 g_malloc (sizeof (codeBook) * in gst_segmentation_set_caps() 529 (code_element **) g_malloc (sizeof (code_element *) * in update_codebook() 534 foo[c->numEntries] = (code_element *) g_malloc (sizeof (code_element)); in update_codebook() 576 int *keep = (int *) g_malloc (sizeof (int) * (c->numEntries)); in clear_stale_entries() 592 foo = (code_element **) g_malloc (sizeof (code_element *) * keepCnt); in clear_stale_entries()
|
/third_party/gstreamer/gstplugins_bad/sys/dvb/ |
D | camresourcemanager.c | 84 buffer = g_malloc (buffer_size); in send_simple() 126 buffer = g_malloc (buffer_size); in send_profile_reply()
|
/third_party/glib/glib/gnulib/ |
D | g-gnulib.h | 33 #define malloc g_malloc
|
/third_party/gstreamer/gstreamer/gst/printf/ |
D | gst-printf.h | 35 #define malloc g_malloc
|
/third_party/gstreamer/gstreamer/libs/gst/helpers/ |
D | gst-plugin-scanner.c | 49 my_argv = g_malloc (my_argc * sizeof (char *)); in main()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/fft/ |
D | kiss_fft_f64.h | 36 #define KISS_FFT_F64_MALLOC g_malloc
|
D | kiss_fft_f32.h | 36 #define KISS_FFT_F32_MALLOC g_malloc
|
D | kiss_fft_s32.h | 36 #define KISS_FFT_S32_MALLOC g_malloc
|
D | kiss_fft_s16.h | 36 #define KISS_FFT_S16_MALLOC g_malloc
|