Home
last modified time | relevance | path

Searched refs:new_str (Results 1 – 6 of 6) sorted by relevance

/external/elfutils/libelf/
Delf_getarsym.c172 char *new_str; local
189 new_str = (char *) (elf->state.ar.ar_sym + n + 1);
196 || ((size_t) pread (elf->fildes, new_str,
210 str_data = (char *) new_str;
/external/bluetooth/glib/glib/
Dgstrfuncs.c96 gchar *new_str; in g_strdup() local
102 new_str = g_new (char, length); in g_strdup()
103 memcpy (new_str, str, length); in g_strdup()
106 new_str = NULL; in g_strdup()
108 return new_str; in g_strdup()
151 gchar *new_str; in g_strndup() local
155 new_str = g_new (gchar, n + 1); in g_strndup()
156 strncpy (new_str, str, n); in g_strndup()
157 new_str[n] = '\0'; in g_strndup()
160 new_str = NULL; in g_strndup()
[all …]
/external/grub/lib/
Dgetopt.c329 char *new_str = malloc (top + 1); local
330 if (new_str == NULL)
334 memset (__mempcpy (new_str, __getopt_nonoption_flags,
338 __getopt_nonoption_flags = new_str;
/external/dbus/dbus/
Ddbus-string.c299 unsigned char *new_str; in _dbus_string_lock() local
304 new_str = dbus_realloc (real->str - real->align_offset, in _dbus_string_lock()
306 if (new_str != NULL) in _dbus_string_lock()
308 real->str = new_str + real->align_offset; in _dbus_string_lock()
321 unsigned char *new_str; in reallocate_for_length() local
352 new_str = dbus_realloc (real->str - real->align_offset, new_allocated); in reallocate_for_length()
353 if (_DBUS_UNLIKELY (new_str == NULL)) in reallocate_for_length()
356 real->str = new_str + real->align_offset; in reallocate_for_length()
/external/bison/lib/
Dgetopt.c172 char *new_str = malloc (top + 1); in exchange() local
173 if (new_str == NULL) in exchange()
177 memset (__mempcpy (new_str, __getopt_nonoption_flags, in exchange()
181 __getopt_nonoption_flags = new_str; in exchange()
/external/bluetooth/bluez/src/
Dstorage.c779 char *new_str = service_list_to_string(services); in write_trust() local
780 ret = textfile_caseput(filename, addr, new_str); in write_trust()
781 free(new_str); in write_trust()