Home
last modified time | relevance | path

Searched refs:g_strlcpy (Results 1 – 25 of 26) sorted by relevance

12

/third_party/glib/glib/
Dgtrace.c135 g_strlcpy (counter.category, group, sizeof counter.category); in guint()
136 g_strlcpy (counter.name, name, sizeof counter.name); in guint()
137 g_strlcpy (counter.description, description, sizeof counter.description); in guint()
Dgstrfuncs.h118 gsize g_strlcpy (gchar *dest,
Dgstrfuncs.c1346 g_strlcpy (buf, strerror (errnum), sizeof (buf)); in g_strerror()
1410 g_strlcpy (gchar *dest, in g_strlcpy() function
1456 g_strlcpy (gchar *dest, in g_strlcpy() function
Dgmessages.c2381 …if (g_strlcpy (sa.sun_path, "/run/systemd/journal/socket", sizeof (sa.sun_path)) >= sizeof (sa.sun… in journal_sendv()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/tag/
Dmklangtables.c119 g_strlcpy (line, s, MIN (left, sizeof (line))); in dump_languages()
144 g_strlcpy (dest, *attr_vals, dest_len); in copy_attribute()
Dmklicensestables.c561 g_strlcpy (line, s, MIN (left, sizeof (line))); in string_table_print()
/third_party/gstreamer/gstplugins_bad/gst/pnm/
Dgstpnmenc.c209 g_strlcpy (format_str, "%3i", 4); in gst_pnmenc_handle_frame()
216 g_strlcpy (format_str, "%3i", 4); in gst_pnmenc_handle_frame()
225 g_strlcpy (format_str, "%5i", 4); in gst_pnmenc_handle_frame()
/third_party/gstreamer/gstreamer/plugins/elements/
Dgstfakesink.c466 g_strlcpy (dts_str, "none", sizeof (dts_str)); in gst_fake_sink_render()
473 g_strlcpy (pts_str, "none", sizeof (pts_str)); in gst_fake_sink_render()
480 g_strlcpy (dur_str, "none", sizeof (dur_str)); in gst_fake_sink_render()
Dgstfakesrc.c842 g_strlcpy (dts_str, "none", sizeof (dts_str)); in gst_fake_src_create()
848 g_strlcpy (pts_str, "none", sizeof (pts_str)); in gst_fake_src_create()
854 g_strlcpy (dur_str, "none", sizeof (dur_str)); in gst_fake_src_create()
/third_party/pulseaudio/src/modules/gconf/
Dgconf-helper.c89 g_strlcpy(buf, n, sizeof(buf)); in modules_callback()
/third_party/glib/glib/tests/
Dstrfuncs.c290 str_cpy_size = g_strlcpy (str_cpy, NULL, 0); in test_strlcpy()
297 str_cpy_size = g_strlcpy (NULL, str, 0); in test_strlcpy()
303 str_cpy_size = g_strlcpy (str_cpy, "", 0); in test_strlcpy()
310 str_cpy_size = g_strlcpy (str_cpy, str, strlen (str) + 1); in test_strlcpy()
315 str_cpy_size = g_strlcpy (str_cpy, str, strlen (str)); in test_strlcpy()
320 str_cpy_size = g_strlcpy (str_cpy, str, strlen (str) - 15); in test_strlcpy()
325 str_cpy_size = g_strlcpy (str_cpy, str, 0); in test_strlcpy()
330 str_cpy_size = g_strlcpy (str_cpy, str, strlen (str) + 15); in test_strlcpy()
1837 g_strlcpy (buffer, string, sizeof buffer); in test_bounds()
1839 g_strlcpy (buffer, string, sizeof buffer); in test_bounds()
/third_party/glib/tests/
Dtestglib.c1778 g_assert (g_strlcpy(string, "" , 5) == 0); in various_string_tests()
1781 g_assert (g_strlcpy(string, "abc" , 5) == 3); in various_string_tests()
1784 g_assert (g_strlcpy(string, "abcd" , 5) == 4); in various_string_tests()
1788 g_assert (g_strlcpy(string, "abcde" , 5) == 5); in various_string_tests()
1792 g_assert (g_strlcpy(string, "abcdef" , 5) == 6); in various_string_tests()
1798 g_assert (g_strlcpy(string, "Hello" , 0) == 5); in various_string_tests()
1819 g_assert (g_strlcpy(string, "hi", 5) == 2); in various_string_tests()
/third_party/gettext/libtextstyle/gnulib-local/lib/glib/
Dgstrfuncs.in.h120 gsize g_strlcpy (gchar *dest,
Dgstrfuncs.c1477 g_strlcpy (gchar *dest,
1509 g_strlcpy (gchar *dest,
/third_party/glib/gio/
Dgunixsocketaddress.c107 g_strlcpy (address->priv->path, str, in G_DEFINE_TYPE_WITH_CODE()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtsp/
Dgstrtsprange.c69 g_strlcpy (s, dstr, sizeof (s)); in gst_strtod()
/third_party/gstreamer/gstplugins_bad/ext/ttml/
Dttmlparse.c1312 g_strlcpy (new_head, c, textlen); in ttml_handle_element_whitespace()
1523 g_strlcpy ((gchar *) map.data, text, map.size); in ttml_add_text_to_buffer()
/third_party/glib/gio/tests/
Dnetwork-address.c260 g_strlcpy (SCOPE_ID_TEST_IFNAME, "lo", sizeof (SCOPE_ID_TEST_IFNAME)); in find_ifname_and_index()
/third_party/gstreamer/gstreamer/gst/
Dgstplugin.c1544 g_strlcpy (env_var, *e, sizeof (env_var)); in gst_plugin_ext_dep_get_env_vars_hash()
/third_party/libsoup/libsoup/
Dsoup-websocket-connection.c579 len += g_strlcpy (buffer + len, reason, sizeof (buffer) - len); in send_close()
/third_party/gstreamer/gstplugins_good/ext/flac/
Dgstflacenc.c537 g_strlcpy (track->isrc, isrc, 13); in add_cuesheet()
/third_party/gstreamer/gstplugins_base/gst/subparse/
Dgstsubparse.c832 g_strlcpy (s, ts_string, sizeof (s)); in parse_subrip_time()
/third_party/glib/docs/reference/glib/
Dglib-sections.txt1723 g_strlcpy
/third_party/gstreamer/gstplugins_good/gst/rtsp/
Dgstrtspsrc.c8478 g_strlcpy (s, dstr, sizeof (s)); in gst_rtspsrc_get_float()
/third_party/glib/
DNEWS13422 * Add g_strlcpy/g_strlcat [David Wheeler]

12