Home
last modified time | relevance | path

Searched refs:guchar (Results 1 – 25 of 45) sorted by relevance

12

/external/bluetooth/glib/gio/tests/
Ddata-output-stream.c113 (a == TEST_DATA_BYTE ? (guchar)v : \
122 (a == TEST_DATA_BYTE ? *(guchar*)v : \
187 …byte (G_DATA_OUTPUT_STREAM (stream), TEST_DATA_RETYPE_BUFF (data_type, ((guchar*)buffer + pos)), N… in test_data_array()
190 …nt16 (G_DATA_OUTPUT_STREAM (stream), TEST_DATA_RETYPE_BUFF (data_type, ((guchar*)buffer + pos)), N… in test_data_array()
193 …nt16 (G_DATA_OUTPUT_STREAM (stream), TEST_DATA_RETYPE_BUFF (data_type, ((guchar*)buffer + pos)), N… in test_data_array()
196 …nt32 (G_DATA_OUTPUT_STREAM (stream), TEST_DATA_RETYPE_BUFF (data_type, ((guchar*)buffer + pos)), N… in test_data_array()
199 …nt32 (G_DATA_OUTPUT_STREAM (stream), TEST_DATA_RETYPE_BUFF (data_type, ((guchar*)buffer + pos)), N… in test_data_array()
202 …nt64 (G_DATA_OUTPUT_STREAM (stream), TEST_DATA_RETYPE_BUFF (data_type, ((guchar*)buffer + pos)), N… in test_data_array()
205 …nt64 (G_DATA_OUTPUT_STREAM (stream), TEST_DATA_RETYPE_BUFF (data_type, ((guchar*)buffer + pos)), N… in test_data_array()
219 data = TEST_DATA_RETYPE_BUFF(data_type, ((guchar*)stream_data + pos)); in test_data_array()
[all …]
Ddata-input-stream.c177 (a == TEST_DATA_BYTE ? *(guchar*)v : \
265 g_assert_cmpint (data, ==, TEST_DATA_RETYPE_BUFF(data_type, ((guchar*)buffer + pos))); in test_data_array()
289 guchar x = 0; in test_read_int()
291 x = (guchar)g_rand_int (rand); in test_read_int()
292 *(guchar*)((guchar*)buffer + sizeof(guchar) * i) = x; in test_read_int()
/external/bluetooth/glib/glib/
Dgstrfuncs.h57 ((g_ascii_table[(guchar) (c)] & G_ASCII_ALNUM) != 0)
60 ((g_ascii_table[(guchar) (c)] & G_ASCII_ALPHA) != 0)
63 ((g_ascii_table[(guchar) (c)] & G_ASCII_CNTRL) != 0)
66 ((g_ascii_table[(guchar) (c)] & G_ASCII_DIGIT) != 0)
69 ((g_ascii_table[(guchar) (c)] & G_ASCII_GRAPH) != 0)
72 ((g_ascii_table[(guchar) (c)] & G_ASCII_LOWER) != 0)
75 ((g_ascii_table[(guchar) (c)] & G_ASCII_PRINT) != 0)
78 ((g_ascii_table[(guchar) (c)] & G_ASCII_PUNCT) != 0)
81 ((g_ascii_table[(guchar) (c)] & G_ASCII_SPACE) != 0)
84 ((g_ascii_table[(guchar) (c)] & G_ASCII_UPPER) != 0)
[all …]
Dgbase64.h32 gsize g_base64_encode_step (const guchar *in,
42 gchar* g_base64_encode (const guchar *data,
46 guchar *out,
49 guchar *g_base64_decode (const gchar *text,
51 guchar *g_base64_decode_inplace (gchar *text,
Dgstrfuncs.c182 memset (str, (guchar)fill_char, length); in g_strnfill()
666 while (isdigit ((guchar)*p)) in g_ascii_formatd()
710 guchar c; in g_parse_long_long()
1787 register guchar *s; in g_strdown()
1791 s = (guchar *) string; in g_strdown()
1817 register guchar *s; in g_strup()
1821 s = (guchar *) string; in g_strup()
1997 c1 = (gint)(guchar) TOLOWER (*s1); in g_ascii_strcasecmp()
1998 c2 = (gint)(guchar) TOLOWER (*s2); in g_ascii_strcasecmp()
2004 return (((gint)(guchar) *s1) - ((gint)(guchar) *s2)); in g_ascii_strcasecmp()
[all …]
Dgutf8.c709 gunichar wc = (guchar) *p; in g_utf8_get_char_extended()
753 if ((((guchar *)p)[i] & 0xc0) != 0x80) in g_utf8_get_char_extended()
761 gunichar ch = ((guchar *)p)[i]; in g_utf8_get_char_extended()
1580 if ((*(guchar *)p & 0xc0) != 0x80) /* 10xxxxxx */ \
1583 val |= (*(guchar *)p) & 0x3f; \
1596 if (*(guchar *)p < 128) in fast_validate()
1603 if ((*(guchar *)p & 0xe0) == 0xc0) /* 110xxxxx */ in fast_validate()
1605 if (G_UNLIKELY ((*(guchar *)p & 0x1e) == 0)) in fast_validate()
1608 if (G_UNLIKELY ((*(guchar *)p & 0xc0) != 0x80)) /* 10xxxxxx */ in fast_validate()
1613 if ((*(guchar *)p & 0xf0) == 0xe0) /* 1110xxxx */ in fast_validate()
[all …]
Dgchecksum.h70 const guchar *data,
78 const guchar *data,
Dgstring.c789 g_string_append_c (string, hex[((guchar)c) >> 4]); in g_string_append_uri_escaped()
790 g_string_append_c (string, hex[((guchar)c) & 0xf]); in g_string_append_uri_escaped()
1298 guchar *s; in g_string_down()
1304 s = (guchar *) string->str; in g_string_down()
1332 guchar *s; in g_string_up()
1338 s = (guchar *) string->str; in g_string_up()
Dgmessages.c605 guchar *p; in strdup_convert()
607 for (p = (guchar *)string; *p; p++) in strdup_convert()
614 g_string_append_printf (gstring, "\\x%02x", (guint)(guchar)*p); in strdup_convert()
845 tmp = g_strdup_printf ("\\x%02x", (guint)(guchar)*p); in escape_string()
Dgscanner.h123 guchar v_char;
/external/webkit/WebCore/platform/graphics/gtk/
DImageGtk.cpp115 static inline guchar* getGdkPixbufPixel(guchar* data, uint x, uint y, uint rowStride) in getGdkPixbufPixel()
131 guchar* pixbufData = gdk_pixbuf_get_pixels(dest); in getGdkPixbuf()
152 guchar* dest = getGdkPixbufPixel(pixbufData, x, y, pixbufRowStride); in getGdkPixbuf()
155 guchar alpha = source[3]; in getGdkPixbuf()
161 guchar alpha = source[0]; in getGdkPixbuf()
DDataSourceGStreamer.cpp207 guchar* decoded_data = 0; in webkit_data_src_uri_set_uri()
/external/bluetooth/glib/tests/
Dbase64-test.c13 static guchar data[DATA_SIZE];
24 guchar *data2; in test_incremental()
89 guchar *data2; in test_full()
117 data[i] = (guchar)i; in main()
Dtestingbase64.c35 guchar data[DATA_SIZE];
177 guchar *data2; in decode_and_compare()
Dchecksum-test.c600 g_checksum_update (checksum, (const guchar *)p, in test_checksum()
/external/bluetooth/glib/gobject/
Dgvaluetypes.h173 guchar v_uchar);
174 guchar g_value_get_uchar (const GValue *value);
Dgmarshal.list8 # UCHAR for unsigned char types (guchar)
/external/bluetooth/glib/gio/
Dgcontenttype.h47 const guchar *data,
Dgdataoutputstream.h82 guchar data,
Dgcontenttype.c290 looks_like_text (const guchar *data, in looks_like_text()
294 guchar c; in looks_like_text()
320 const guchar *data, in g_content_type_guess()
825 looks_like_text (const guchar *data, gsize data_size) in looks_like_text()
883 const guchar *data, in g_content_type_guess()
Dgdatainputstream.h81 guchar g_data_input_stream_read_byte (GDataInputStream *stream,
Dgdummyfile.c711 g_string_append_c (string, hex[((guchar)c) >> 4]); in g_string_append_encoded()
712 g_string_append_c (string, hex[((guchar)c) & 0xf]); in g_string_append_encoded()
/external/webkit/WebCore/platform/gtk/
DPlatformScreenGtk.cpp142 … 0, 4, FALSE, XA_CARDINAL, &retType, &retFormat, &retNItems, &retAfter, (guchar**)&workAreaPos); in screenAvailableRect()
DPasteboardGtk.cpp63 reinterpret_cast<const guchar*>(clipboardData->markup()), in clipboard_get_contents_cb()
/external/webkit/WebKit/gtk/WebCoreSupport/
DPasteboardHelperGtk.cpp90 reinterpret_cast<const guchar*>(markup.get()), in fillSelectionData()

12