Home
last modified time | relevance | path

Searched refs:g_malloc (Results 1 – 25 of 56) sorted by relevance

123

/external/bluetooth/glib/gio/tests/
Dfilter-streams.c118 expected_data = g_malloc (20); in test_input_async()
135 expected_data = g_malloc (20); in test_input_async()
190 expected_data = g_malloc (20); in test_output_async()
207 expected_data = g_malloc (20); in test_output_async()
/external/bluetooth/glib/tests/
Dbase64-test.c26 data2 = g_malloc (length); in test_incremental()
27 text = g_malloc (length * 4); in test_incremental()
Dutf8-pointer.c42 p = (gchar **) g_malloc (num_chars * sizeof (gchar *)); in test_utf8()
/external/bluetooth/glib/glib/
Dgmem.h51 gpointer g_malloc (gsize n_bytes) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(1);
65 ((struct_type *) g_malloc (((gsize) sizeof (struct_type)) * ((gsize) (n_structs))))
Dgunidecomp.c233 r = g_malloc (*result_len * sizeof (gunichar)); in g_unicode_canonical_decomposition()
242 r = g_malloc (*result_len * sizeof (gunichar)); in g_unicode_canonical_decomposition()
250 r = g_malloc (sizeof (gunichar)); in g_unicode_canonical_decomposition()
Dgconvert.c386 key = dyn_key = g_malloc (len_from_codeset + len_to_codeset + 2); in open_converter()
625 outp = dest = g_malloc (outbuf_size); in g_convert_with_iconv()
910 outp = dest = g_malloc (outbuf_size); in g_convert_with_fallback()
1528 result = g_malloc (p - string + unacceptable * 2 + 1); in g_escape_uri_string()
1632 result = g_malloc (len + 1); in g_unescape_uri_string()
Dgstrfuncs.c119 new_mem = g_malloc (byte_size); in g_memdup()
506 copy = g_malloc (end - nptr + 1 + decimal_point_len); in g_ascii_strtod()
536 copy = g_malloc (end - (char *)nptr + 1); in g_ascii_strtod()
2203 gchar *dest = g_malloc (strlen (source) + 1); in g_strcompress()
2271 q = dest = g_malloc (strlen (source) * 4 + 1); in g_strescape()
Dgutf8.c1057 result = g_malloc (result_length + 1); in g_ucs4_to_utf8()
1183 result = g_malloc (n_bytes + 1); in g_utf16_to_utf8()
1324 result = g_malloc (n_bytes + 4); in g_utf16_to_ucs4()
Dguniprop.c950 result = g_malloc (result_len + 1); in g_utf8_strup()
1138 result = g_malloc (result_len + 1); in g_utf8_strdown()
/external/libvpx/vpx_mem/intel_linux/
Dvpx_mem.c118 g_malloc_func g_malloc; member
128 # define VPX_MALLOC_L g_func->g_malloc
858 g_func->g_malloc = g_malloc_l; in vpx_mem_set_functions()
860 g_func->g_malloc = 0; in vpx_mem_set_functions()
Dvpx_mem_tracker.c64 static mem_track_malloc_func g_malloc = malloc; variable
71 # define MEM_TRACK_MALLOC g_malloc
781 g_malloc = g_malloc_l; in vpx_memory_tracker_set_functions()
/external/bluetooth/glib/docs/reference/glib/
Drunning.sgml136 calls to g_malloc() and g_free().
253 <link linkend="g-malloc">g_malloc</link>() will be intercepted if the size
262 break g_malloc
265 to break only on g_malloc() calls where the size of the allocated memory block
274 g_mem_profile() will output a summary g_malloc() memory usage, if memory
/external/bluetooth/glib/gio/win32/
Dgwinhttpvfs.c359 status_code = g_malloc (status_code_len); in _g_winhttp_response()
389 status_text = g_malloc (status_text_len); in _g_winhttp_response()
442 *header = g_malloc (header_len); in _g_winhttp_query_header()
/external/bluetooth/glib/glib/gnulib/
Dg-gnulib.h36 #define malloc g_malloc
DREADME36 g_malloc and make sure that snprintf is only used if it implements
/external/libvpx/vpx_mem/
Dvpx_mem.c56 g_malloc_func g_malloc; member
65 # define VPX_MALLOC_L g_func->g_malloc
688 g_func->g_malloc = g_malloc_l; in vpx_mem_set_functions()
Dvpx_mem_tracker.c63 static mem_track_malloc_func g_malloc = malloc; variable
70 # define MEM_TRACK_MALLOC g_malloc
792 g_malloc = g_malloc_l; in vpx_memory_tracker_set_functions()
/external/webkit/WebKitTools/DumpRenderTree/gtk/
DWorkQueueItemGtk.cpp33 gchar* utf8 = (gchar*)g_malloc(dataSize); in JSStringCopyUTF8CString()
/external/bluetooth/glib/gio/
Dglocalfileinfo.c161 buffer = g_malloc (size); in read_link()
308 escaped_str = g_malloc (len + num_invalid*3 + 1); in hex_escape_string()
350 unescaped_str = g_malloc (len + 1); in hex_unescape_string()
416 value_p = g_malloc (len+1); in get_one_xattr()
469 list = g_malloc (list_size); in get_xattrs()
573 value_p = g_malloc (len + 1); in get_one_xattr_from_fd()
624 list = g_malloc (list_size); in get_xattrs_from_fd()
Dgdatainputstream.c800 line = g_malloc (found_pos + newline_len + 1); in g_data_input_stream_read_line()
919 data_until = g_malloc (found_pos + stop_char_len + 1); in g_data_input_stream_read_until()
958 data->line = g_malloc (read_length + 1); in g_data_input_stream_read_complete()
Dgbufferedoutputstream.c212 buffer = g_malloc (size); in g_buffered_output_stream_set_buffer_size()
221 priv->buffer = g_malloc (size); in g_buffered_output_stream_set_buffer_size()
Dgdummyfile.c464 result = g_malloc (escaped_string_end - escaped_string + 1); in unescape_string()
562 decoded->scheme = g_malloc (p - uri); in _g_decode_uri()
/external/bluetooth/glib/gmodule/
Dgmodule-ar.c83 member = g_malloc(name_len+1); in _g_module_get_member()
Dgmodule-win32.c189 modules = g_malloc (size); in find_in_any_module_using_psapi()
/external/bluetooth/glib/docs/
Ddebugging.txt16 If set to a size > 0, g_free(), g_realloc() and g_malloc()

123