Lines Matching refs:new_str
104 gchar *new_str; in g_strdup() local
110 new_str = g_new (char, length); in g_strdup()
111 memcpy (new_str, str, length); in g_strdup()
114 new_str = NULL; in g_strdup()
116 return new_str; in g_strdup()
144 gchar *new_str; in g_strndup() local
148 new_str = g_new (gchar, n + 1); in g_strndup()
149 strncpy (new_str, str, n); in g_strndup()
150 new_str[n] = '\0'; in g_strndup()
153 new_str = NULL; in g_strndup()
155 return new_str; in g_strndup()