Home
last modified time | relevance | path

Searched refs:n_bytes (Results 1 – 15 of 15) sorted by relevance

/external/bluetooth/glib/glib/
Dgmem.c62 gsize n_bytes) in standard_realloc() argument
65 return malloc (n_bytes); in standard_realloc()
67 return realloc (mem, n_bytes); in standard_realloc()
82 standard_malloc (gsize n_bytes) in standard_malloc() argument
84 return malloc (n_bytes); in standard_malloc()
89 gsize n_bytes) in standard_realloc() argument
91 return realloc (mem, n_bytes); in standard_realloc()
101 gsize n_bytes) in standard_calloc() argument
103 return calloc (n_blocks, n_bytes); in standard_calloc()
123 g_malloc (gsize n_bytes) in g_malloc() argument
[all …]
Dgmem.h51 gpointer g_malloc (gsize n_bytes) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(1);
52 gpointer g_malloc0 (gsize n_bytes) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(1);
54 gsize n_bytes) G_GNUC_WARN_UNUSED_RESULT;
56 gpointer g_try_malloc (gsize n_bytes) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(1);
57 gpointer g_try_malloc0 (gsize n_bytes) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(1);
59 gsize n_bytes) G_GNUC_WARN_UNUSED_RESULT;
85 gpointer (*malloc) (gsize n_bytes);
87 gsize n_bytes);
92 gpointer (*try_malloc) (gsize n_bytes);
94 gsize n_bytes);
Dgutf8.c1121 gint n_bytes; in g_utf16_to_utf8() local
1126 n_bytes = 0; in g_utf16_to_utf8()
1167 n_bytes += UTF8_LENGTH (wc); in g_utf16_to_utf8()
1183 result = g_malloc (n_bytes + 1); in g_utf16_to_utf8()
1188 while (out < result + n_bytes) in g_utf16_to_utf8()
1262 gint n_bytes; in g_utf16_to_ucs4() local
1267 n_bytes = 0; in g_utf16_to_ucs4()
1308 n_bytes += sizeof (gunichar); in g_utf16_to_ucs4()
1324 result = g_malloc (n_bytes + 4); in g_utf16_to_ucs4()
1329 while (out < result + n_bytes) in g_utf16_to_ucs4()
Dgtestutils.c131 g_test_log_send (guint n_bytes, in g_test_log_send() argument
138 r = write (test_log_fd, buffer, n_bytes); in g_test_log_send()
146 g_test_log_buffer_push (lbuffer, n_bytes, buffer); in g_test_log_send()
1942 guint n_bytes, in g_test_log_buffer_push() argument
1946 if (n_bytes) in g_test_log_buffer_push()
1950 g_string_append_len (tbuffer->data, (const gchar*) bytes, n_bytes); in g_test_log_buffer_push()
Dgtestutils.h260 guint n_bytes,
Dgslice.c990 gsize n_bytes) in allocator_aligned_page_size() argument
992 gsize val = 1 << g_bit_storage (n_bytes - 1); in allocator_aligned_page_size()
/external/dbus/dbus/
Ddbus-sysdeps.c714 int n_bytes) in _dbus_generate_pseudorandom_bytes_buffer() argument
721 n_bytes); in _dbus_generate_pseudorandom_bytes_buffer()
727 while (i < n_bytes) in _dbus_generate_pseudorandom_bytes_buffer()
749 int n_bytes) in _dbus_generate_random_bytes_buffer() argument
755 _dbus_generate_pseudorandom_bytes_buffer (buffer, n_bytes); in _dbus_generate_random_bytes_buffer()
759 if (!_dbus_generate_random_bytes (&str, n_bytes)) in _dbus_generate_random_bytes_buffer()
762 _dbus_generate_pseudorandom_bytes_buffer (buffer, n_bytes); in _dbus_generate_random_bytes_buffer()
766 _dbus_string_copy_to_buffer (&str, buffer, n_bytes); in _dbus_generate_random_bytes_buffer()
781 int n_bytes) in _dbus_generate_random_ascii() argument
788 if (!_dbus_generate_random_bytes (str, n_bytes)) in _dbus_generate_random_ascii()
[all …]
Ddbus-sysdeps.h322 int n_bytes);
324 int n_bytes);
326 int n_bytes);
328 int n_bytes);
Ddbus-sysdeps-unix.c2044 int n_bytes) in _dbus_generate_pseudorandom_bytes() argument
2051 if (!_dbus_string_lengthen (str, n_bytes)) in _dbus_generate_pseudorandom_bytes()
2054 p = _dbus_string_get_data_len (str, old_len, n_bytes); in _dbus_generate_pseudorandom_bytes()
2056 _dbus_generate_pseudorandom_bytes_buffer (p, n_bytes); in _dbus_generate_pseudorandom_bytes()
2071 int n_bytes) in _dbus_generate_random_bytes() argument
2088 return _dbus_generate_pseudorandom_bytes (str, n_bytes); in _dbus_generate_random_bytes()
2090 if (_dbus_read (fd, str, n_bytes) != n_bytes) in _dbus_generate_random_bytes()
2094 return _dbus_generate_pseudorandom_bytes (str, n_bytes); in _dbus_generate_random_bytes()
2098 n_bytes); in _dbus_generate_random_bytes()
Ddbus-internals.c444 size_t n_bytes) in _dbus_memdup() argument
448 copy = dbus_malloc (n_bytes); in _dbus_memdup()
452 memcpy (copy, mem, n_bytes); in _dbus_memdup()
Ddbus-string.c552 int n_bytes, in _dbus_string_insert_bytes() argument
558 _dbus_assert (n_bytes >= 0); in _dbus_string_insert_bytes()
560 if (n_bytes == 0) in _dbus_string_insert_bytes()
563 if (!open_gap (n_bytes, real, i)) in _dbus_string_insert_bytes()
566 memset (real->str + i, byte, n_bytes); in _dbus_string_insert_bytes()
Ddbus-internals.h198 size_t n_bytes);
Ddbus-string.h100 int n_bytes,
/external/svox/pico/lib/
Dpicosig.c738 picoos_uint32 n_start, n_fram, n_bytes; in sigStep() local
1197n_bytes = (picoos_uint32) sig_subObj->outBuf[(sig_subObj->outReadPos) in sigStep()
1203 n_bytes / 2, in sigStep()
1205 PICODBG_DEBUG(("Nframe:%d - Nbytes %d\n", n_fram, n_bytes)); in sigStep()
1206 numoutb = n_bytes + 4; in sigStep()
/external/bluetooth/glib/docs/reference/glib/
Drunning.sgml263 condition 1 n_bytes == 20