Searched refs:n_bytes (Results 1 - 19 of 19) sorted by relevance

/external/bluetooth/glib/glib/
H A Dgmem.c62 gsize n_bytes)
65 return malloc (n_bytes);
67 return realloc (mem, n_bytes);
82 standard_malloc (gsize n_bytes) argument
84 return malloc (n_bytes);
89 gsize n_bytes)
91 return realloc (mem, n_bytes);
101 gsize n_bytes)
103 return calloc (n_blocks, n_bytes);
123 g_malloc (gsize n_bytes) argument
61 standard_realloc(gpointer mem, gsize n_bytes) argument
88 standard_realloc(gpointer mem, gsize n_bytes) argument
100 standard_calloc(gsize n_blocks, gsize n_bytes) argument
143 g_malloc0(gsize n_bytes) argument
163 g_realloc(gpointer mem, gsize n_bytes) argument
194 g_try_malloc(gsize n_bytes) argument
205 g_try_malloc0(gsize n_bytes) argument
218 g_try_realloc(gpointer mem, gsize n_bytes) argument
317 profiler_log(ProfilerJob job, gsize n_bytes, gboolean success) argument
436 profiler_try_malloc(gsize n_bytes) argument
461 profiler_malloc(gsize n_bytes) argument
536 profiler_try_realloc(gpointer mem, gsize n_bytes) argument
578 profiler_realloc(gpointer mem, gsize n_bytes) argument
[all...]
H A 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);
[all...]
H A Dgutf8.c1121 gint n_bytes; local
1126 n_bytes = 0;
1167 n_bytes += UTF8_LENGTH (wc);
1183 result = g_malloc (n_bytes + 1);
1188 while (out < result + n_bytes)
1262 gint n_bytes; local
1267 n_bytes = 0;
1308 n_bytes += sizeof (gunichar);
1324 result = g_malloc (n_bytes + 4);
1329 while (out < result + n_bytes)
[all...]
H A Dgtestutils.c131 g_test_log_send (guint n_bytes, argument
138 r = write (test_log_fd, buffer, n_bytes);
146 g_test_log_buffer_push (lbuffer, n_bytes, buffer);
1942 guint n_bytes,
1946 if (n_bytes)
1950 g_string_append_len (tbuffer->data, (const gchar*) bytes, n_bytes);
1941 g_test_log_buffer_push(GTestLogBuffer *tbuffer, guint n_bytes, const guint8 *bytes) argument
H A Dgtestutils.h260 guint n_bytes,
H A Dgslice.c990 gsize n_bytes)
992 gsize val = 1 << g_bit_storage (n_bytes - 1);
989 allocator_aligned_page_size(Allocator *allocator, gsize n_bytes) argument
/external/openssh/
H A Dttymodes.c353 int n_bytes = 0; local
380 n_bytes += 1;
389 n_bytes += 4;
399 n_bytes += 4;
408 n_bytes += arg_size; \
413 n_bytes += arg_size; \
437 n_bytes += 1;
441 n_bytes += 4;
465 n_bytes += 4;
478 if (*n_bytes_ptr != n_bytes) {
[all...]
H A Dsession.c2022 int n_bytes; local
2066 n_bytes = packet_remaining();
2067 tty_parse_modes(s->ttyfd, &n_bytes);
/external/valgrind/main/coregrind/
H A Dlauncher-linux.c121 ssize_t n_bytes; local
137 n_bytes = read(fd, header, sizeof(header));
139 if (n_bytes < 2) {
144 (long int)n_bytes, clientname);
152 if (i == n_bytes) return NULL;
160 if (i == n_bytes) break;
164 if (i == n_bytes) return NULL;
169 } else if (n_bytes >= SELFMAG && memcmp(header, ELFMAG, SELFMAG) == 0) {
171 if (n_bytes >= sizeof(Elf32_Ehdr) && header[EI_CLASS] == ELFCLASS32) {
195 } else if (n_bytes >
[all...]
/external/dbus/dbus/
H A Ddbus-sysdeps.c799 int n_bytes)
806 n_bytes);
812 while (i < n_bytes)
827 * Fills n_bytes of the given buffer with random bytes.
830 * @param n_bytes the number of bytes in buffer to write to
834 int n_bytes)
840 _dbus_generate_pseudorandom_bytes_buffer (buffer, n_bytes);
844 if (!_dbus_generate_random_bytes (&str, n_bytes))
847 _dbus_generate_pseudorandom_bytes_buffer (buffer, n_bytes);
851 _dbus_string_copy_to_buffer (&str, buffer, n_bytes);
798 _dbus_generate_pseudorandom_bytes_buffer(char *buffer, int n_bytes) argument
833 _dbus_generate_random_bytes_buffer(char *buffer, int n_bytes) argument
865 _dbus_generate_random_ascii(DBusString *str, int n_bytes) argument
[all...]
H A Ddbus-sysdeps.h350 int n_bytes);
352 int n_bytes);
354 int n_bytes);
356 int n_bytes);
H A Ddbus-internals.c530 * @param n_bytes number of bytes to copy
535 size_t n_bytes)
539 copy = dbus_malloc (n_bytes);
543 memcpy (copy, mem, n_bytes);
534 _dbus_memdup(const void *mem, size_t n_bytes) argument
H A Ddbus-sysdeps-unix.c2645 int n_bytes)
2652 if (!_dbus_string_lengthen (str, n_bytes))
2655 p = _dbus_string_get_data_len (str, old_len, n_bytes);
2657 _dbus_generate_pseudorandom_bytes_buffer (p, n_bytes);
2667 * @param n_bytes the number of random bytes to append to string
2672 int n_bytes)
2689 return _dbus_generate_pseudorandom_bytes (str, n_bytes);
2693 if (_dbus_read (fd, str, n_bytes) != n_bytes)
2697 return _dbus_generate_pseudorandom_bytes (str, n_bytes);
2644 _dbus_generate_pseudorandom_bytes(DBusString *str, int n_bytes) argument
2671 _dbus_generate_random_bytes(DBusString *str, int n_bytes) argument
[all...]
H A Ddbus-internals.h218 size_t n_bytes);
H A Ddbus-string.h108 int n_bytes,
H A Ddbus-string.c578 * @param n_bytes number of bytes
585 int n_bytes,
591 _dbus_assert (n_bytes >= 0);
593 if (n_bytes == 0)
596 if (!open_gap (n_bytes, real, i))
599 memset (real->str + i, byte, n_bytes);
583 _dbus_string_insert_bytes(DBusString *str, int i, int n_bytes, unsigned char byte) argument
H A Ddbus-sysdeps-win.c1953 * @param n_bytes the number of random bytes to append to string
1958 int n_bytes)
1966 if (!_dbus_string_lengthen (str, n_bytes))
1969 p = _dbus_string_get_data_len (str, old_len, n_bytes);
1974 if (!CryptGenRandom (hprov, n_bytes, p))
1957 _dbus_generate_random_bytes(DBusString *str, int n_bytes) argument
/external/svox/pico/lib/
H A Dpicosig.c738 picoos_uint32 n_start, n_fram, n_bytes; local
1197 n_bytes = (picoos_uint32) sig_subObj->outBuf[(sig_subObj->outReadPos)
1203 n_bytes / 2,
1205 PICODBG_DEBUG(("Nframe:%d - Nbytes %d\n", n_fram, n_bytes));
1206 numoutb = n_bytes + 4;
/external/valgrind/main/massif/
H A Dms_main.c596 static void* perm_malloc(SizeT n_bytes) argument
603 if (hp + n_bytes > hp_lim) {
611 hp += n_bytes;
613 return (void*)(hp - n_bytes);

Completed in 150 milliseconds