Home
last modified time | relevance | path

Searched refs:gsize (Results 1 – 25 of 155) sorted by relevance

1234567

/external/bluetooth/glib/glib/
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;
65 ((struct_type *) g_malloc (((gsize) sizeof (struct_type)) * ((gsize) (n_structs))))
67 ((struct_type *) g_malloc0 (((gsize) sizeof (struct_type)) * ((gsize) (n_structs))))
69 ((struct_type *) g_realloc ((mem), ((gsize) sizeof (struct_type)) * ((gsize) (n_structs))))
72 ((struct_type *) g_try_malloc (((gsize) sizeof (struct_type)) * ((gsize) (n_structs))))
[all …]
Dgconvert.h57 gsize g_iconv (GIConv converter,
59 gsize *inbytes_left,
61 gsize *outbytes_left);
69 gsize *bytes_read,
70 gsize *bytes_written,
75 gsize *bytes_read,
76 gsize *bytes_written,
83 gsize *bytes_read,
84 gsize *bytes_written,
92 gsize *bytes_read,
[all …]
Dgmem.c62 gsize n_bytes) in standard_realloc()
82 standard_malloc (gsize n_bytes) in standard_malloc()
89 gsize n_bytes) in standard_realloc()
100 standard_calloc (gsize n_blocks, in standard_calloc()
101 gsize n_bytes) in standard_calloc()
123 g_malloc (gsize n_bytes) in g_malloc()
143 g_malloc0 (gsize n_bytes) in g_malloc0()
164 gsize n_bytes) in g_realloc()
194 g_try_malloc (gsize n_bytes) in g_try_malloc()
205 g_try_malloc0 (gsize n_bytes) in g_try_malloc0()
[all …]
Dgbase64.h32 gsize g_base64_encode_step (const guchar *in,
33 gsize len,
38 gsize g_base64_encode_close (gboolean break_lines,
43 gsize len) G_GNUC_MALLOC;
44 gsize g_base64_decode_step (const gchar *in,
45 gsize len,
50 gsize *out_len) G_GNUC_MALLOC;
52 gsize *out_len);
Dgiochannel.h120 gsize buf_size;
146 gsize count,
147 gsize *bytes_read,
151 gsize count,
152 gsize *bytes_written,
176 gsize count,
177 gsize *bytes_read);
180 gsize count,
181 gsize *bytes_written);
208 gsize size);
[all …]
Dgkeyfile.h67 gsize length,
82 gsize *length,
86 gsize *length) G_GNUC_MALLOC;
89 gsize *length,
150 gsize *length,
156 gsize length);
161 gsize *length,
168 gsize length);
172 gsize *length,
178 gsize length);
[all …]
Dgslice.c105 #define P2ALIGNMENT (2 * sizeof (gsize)) /* fits 2 pointers …
106 #define ALIGN(size, base) ((base) * (gsize) (((size) + (base) - 1) / (base)))
120 #define P2ALIGN(size) (((size) + 0x7) & ~(gsize) 0x7)
122 #define P2ALIGN(size) (((size) + 0xf) & ~(gsize) 0xf)
146 gsize count; /* approximative chunks list length */
156 gsize working_set_msecs;
161 gsize min_page_size, max_page_size;
163 gsize max_slab_chunk_size_for_magazine_cache;
178 static gpointer slab_allocator_alloc_chunk (gsize chunk_size);
179 static void slab_allocator_free_chunk (gsize chunk_size,
[all …]
Dgconvert.c184 gsize
187 gsize *inbytes_left, in g_iconv()
189 gsize *outbytes_left) in g_iconv()
375 gsize len_from_codeset, len_to_codeset; in open_converter()
413 gsize inbytes_left = 0; in open_converter()
415 gsize outbytes_left = 0; in open_converter()
600 gsize *bytes_read, in g_convert_with_iconv()
601 gsize *bytes_written, in g_convert_with_iconv()
607 gsize inbytes_remaining; in g_convert_with_iconv()
608 gsize outbytes_remaining; in g_convert_with_iconv()
[all …]
Dgslice.h37 gpointer g_slice_alloc (gsize block_size) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(1);
38 gpointer g_slice_alloc0 (gsize block_size) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(1);
39 gpointer g_slice_copy (gsize block_size,
41 void g_slice_free1 (gsize block_size,
43 void g_slice_free_chain_with_offset (gsize block_size,
45 gsize next_offset);
Dgstring.h46 gsize len;
47 gsize allocated_len;
52 GStringChunk* g_string_chunk_new (gsize size);
69 GString* g_string_sized_new (gsize dfl_size);
78 gsize len);
80 gsize len);
113 gsize pos,
116 gsize pos,
Dgstring.c51 gsize storage_next;
52 gsize this_size;
53 gsize default_size;
104 #define MY_MAXSIZE ((gsize)-1)
106 static inline gsize
107 nearest_power (gsize base, gsize num) in nearest_power()
115 gsize n = base; in nearest_power()
139 g_string_chunk_new (gsize size) in g_string_chunk_new()
142 gsize actual_size = 1; in g_string_chunk_new()
328 gsize new_size = nearest_power (chunk->default_size, size + 1); in g_string_chunk_insert_len()
[all …]
Dgiochannel.c72 gsize *length,
73 gsize *terminator_pos,
205 gsize count, in g_io_channel_read()
206 gsize *bytes_read) in g_io_channel_read()
250 gsize count, in g_io_channel_write()
251 gsize *bytes_written) in g_io_channel_write()
711 gsize size) in g_io_channel_set_buffer_size()
732 gsize
1015 gsize this_time = 1, bytes_written = 0; in g_io_channel_flush()
1300 gsize read_size, cur_len, oldlen; in g_io_channel_fill_buffer()
[all …]
Dgunidecomp.c89 gsize len) in g_unicode_canonical_ordering()
91 gsize i; in g_unicode_canonical_ordering()
104 gsize j; in g_unicode_canonical_ordering()
132 gsize *result_len) in decompose_hangul()
223 gsize *result_len) in g_unicode_canonical_decomposition()
353 gsize n_wc; in _g_utf8_normalize_wc()
356 gsize last_start; in _g_utf8_normalize_wc()
371 gsize result_len; in _g_utf8_normalize_wc()
398 gsize old_n_wc = n_wc; in _g_utf8_normalize_wc()
402 gsize result_len; in _g_utf8_normalize_wc()
[all …]
Dgstrfuncs.h108 gsize g_strlcpy (gchar *dest,
110 gsize dest_size);
111 gsize g_strlcat (gchar *dest,
113 gsize dest_size);
163 gsize n);
195 gsize n) G_GNUC_MALLOC;
196 gchar* g_strnfill (gsize length,
259 gsize msgidoffset) G_GNUC_FORMAT(2);
Dgstrfuncs.c97 gsize length; in g_strdup()
149 gsize n) in g_strndup()
176 g_strnfill (gsize length, in g_strnfill()
294 gsize l; in g_strconcat()
1565 gsize
1568 gsize dest_size) in g_strlcpy()
1576 gsize
1579 gsize dest_size) in g_strlcat()
1611 gsize
1614 gsize dest_size) in g_strlcpy()
[all …]
/external/bluetooth/glib/gio/
Dgbufferedinputstream.h90 gsize size);
92 gsize g_buffered_input_stream_get_buffer_size (GBufferedInputStream *stream);
94 gsize size);
95 gsize g_buffered_input_stream_get_available (GBufferedInputStream *stream);
96 gsize g_buffered_input_stream_peek (GBufferedInputStream *stream,
98 gsize offset,
99 gsize count);
101 gsize *count);
Dginputstream.h65 gsize count,
69 gsize count,
79 gsize count,
88 gsize count,
118 gsize count,
123 gsize count,
124 gsize *bytes_read,
128 gsize count,
136 gsize count,
145 gsize count,
Dgbufferedinputstream.c65 gsize len;
66 gsize pos;
67 gsize end;
89 gsize count,
93 gsize count,
103 gsize count,
108 gsize count,
186 gsize
205 gsize size) in g_buffered_input_stream_set_buffer_size()
208 gsize in_buffer; in g_buffered_input_stream_set_buffer_size()
[all …]
Dgdatainputstream.c296 gsize size, in read_data()
300 gsize available; in read_data()
635 gsize *checked_out, in scan_for_newline()
642 gsize start, end, peeked; in scan_for_newline()
646 gsize available, checked; in scan_for_newline()
752 gsize *length, in g_data_input_stream_read_line()
757 gsize checked; in g_data_input_stream_read_line()
807 *length = (gsize)found_pos; in g_data_input_stream_read_line()
816 gsize *checked_out, in scan_for_chars()
822 gsize start, end, peeked; in scan_for_chars()
[all …]
Dgmemoryoutputstream.c50 gsize len;
51 gsize valid_len; /* The part of data that has been written to */
63 gsize count,
73 gsize count,
192 gsize len, in g_memory_output_stream_new()
251 gsize
271 gsize
300 gsize size, in array_resize()
306 gsize len; in array_resize()
371 gsize count, in g_memory_output_stream_write()
[all …]
Dgmemoryoutputstream.h83 gsize size);
88 gsize len,
92 gsize g_memory_output_stream_get_size (GMemoryOutputStream *ostream);
93 gsize g_memory_output_stream_get_data_size (GMemoryOutputStream *ostream);
Dgdataoutputstream.c227 gsize bytes_written; in g_data_output_stream_put_byte()
254 gsize bytes_written; in g_data_output_stream_put_int16()
294 gsize bytes_written; in g_data_output_stream_put_uint16()
334 gsize bytes_written; in g_data_output_stream_put_int32()
374 gsize bytes_written; in g_data_output_stream_put_uint32()
414 gsize bytes_written; in g_data_output_stream_put_int64()
454 gsize bytes_written; in g_data_output_stream_put_uint64()
494 gsize bytes_written; in g_data_output_stream_put_string()
Dgmemoryinputstream.c49 gsize len;
55 gsize len;
56 gsize pos;
61 gsize count,
65 gsize count,
73 gsize count,
82 gsize count,
268 gsize count, in g_memory_input_stream_read()
276 gsize offset, start, rest, size; in g_memory_input_stream_read()
315 gsize count, in g_memory_input_stream_skip()
[all …]
Dgbufferedoutputstream.c58 gsize len;
83 gsize count,
95 gsize count,
179 gsize
196 gsize size) in g_buffered_output_stream_set_buffer_size()
383 gsize size) in g_buffered_output_stream_new_sized()
405 gsize bytes_written; in flush_buffer()
406 gsize count; in flush_buffer()
434 gsize count, in g_buffered_output_stream_write()
441 gsize n; in g_buffered_output_stream_write()
[all …]
/external/bluetooth/glib/tests/
Donceinit.c61 static volatile gsize initialized = 0; in initializer1()
64 gsize initval = 42; in initializer1()
73 static volatile gsize initialized = 0; in initializer2()
78 g_once_init_leave (&initialized, (gsize) pointer_value); in initializer2()
86 static volatile gsize initialized = 0; in initializer3()
89 gsize initval = 42; in initializer3()
167 static volatile gsize initialized = 0; \

1234567