Home
last modified time | relevance | path

Searched refs:new_string (Results 1 – 23 of 23) sorted by relevance

/netbsd-src/external/mpl/dhcp/dist/common/tests/
H A Dtest_alloc.c417 struct data_string new_string; in ATF_TC_BODY() local
428 if (data_string_new(&new_string, NULL, 10, MDL)) { in ATF_TC_BODY()
434 if (data_string_new(&new_string, src, len_arg, MDL) == 0) { in ATF_TC_BODY()
438 error = checkString(&new_string, src); in ATF_TC_BODY()
440 data_string_forget(&new_string, MDL); in ATF_TC_BODY()
445 if (data_string_new(&new_string, src, len_arg, MDL) == 0) { in ATF_TC_BODY()
449 error = checkString(&new_string, "Really?"); in ATF_TC_BODY()
451 data_string_forget(&new_string, MDL); in ATF_TC_BODY()
456 if (data_string_new(&new_string, "", len_arg, MDL) == 0) { in ATF_TC_BODY()
460 error = checkString(&new_string, ""); in ATF_TC_BODY()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libiberty/
H A Dsetenv.c144 char *new_string = (char *) malloc (namelen + 1 + vallen); in setenv() local
145 if (new_string == NULL) in setenv()
150 *ep = new_string; in setenv()
/netbsd-src/external/gpl3/binutils/dist/libiberty/
H A Dsetenv.c144 char *new_string = (char *) malloc (namelen + 1 + vallen); in setenv() local
145 if (new_string == NULL) in setenv()
150 *ep = new_string; in setenv()
/netbsd-src/external/gpl3/binutils.old/dist/libiberty/
H A Dsetenv.c144 char *new_string = (char *) malloc (namelen + 1 + vallen); in setenv() local
145 if (new_string == NULL) in setenv()
150 *ep = new_string; in setenv()
/netbsd-src/external/gpl3/gcc/dist/libiberty/
H A Dsetenv.c144 char *new_string = (char *) malloc (namelen + 1 + vallen); in setenv() local
145 if (new_string == NULL) in setenv()
150 *ep = new_string; in setenv()
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Dhash.c484 char *new_string; in bfd_hash_lookup() local
486 new_string = (char *) objalloc_alloc ((struct objalloc *) table->memory, in bfd_hash_lookup()
488 if (!new_string) in bfd_hash_lookup()
493 memcpy (new_string, string, len + 1); in bfd_hash_lookup()
494 string = new_string; in bfd_hash_lookup()
H A DChangeLog-20091043 * hash.c (bfd_hash_lookup): Rename variable new to new_string.
/netbsd-src/external/mpl/dhcp/dist/common/
H A Dalloc.c1277 data_string_new(struct data_string *new_string, in data_string_new() argument
1283 if (new_string == NULL) { in data_string_new()
1295 memset(new_string, 0, sizeof (struct data_string)); in data_string_new()
1302 if (!buffer_allocate(&(new_string->buffer), copy_len + 1, MDL)) { in data_string_new()
1309 memcpy(new_string->buffer->data, src, copy_len); in data_string_new()
1313 new_string->buffer->data[copy_len] = 0; in data_string_new()
1317 new_string->data = new_string->buffer->data; in data_string_new()
1318 new_string->len = copy_len; in data_string_new()
1319 new_string->terminated = 1; in data_string_new()
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Dhash.c573 char *new_string; in bfd_hash_lookup() local
575 new_string = (char *) objalloc_alloc ((struct objalloc *) table->memory, in bfd_hash_lookup()
577 if (!new_string) in bfd_hash_lookup()
582 memcpy (new_string, string, len + 1); in bfd_hash_lookup()
583 string = new_string; in bfd_hash_lookup()
H A DChangeLog-20091043 * hash.c (bfd_hash_lookup): Rename variable new to new_string.
/netbsd-src/external/gpl3/gcc/dist/gcc/jit/
H A Djit-recording.cc728 recording::context::new_string (const char *text, bool escaped) in new_string() function in gcc::jit::recording::context
752 new_string (filename), in new_location()
875 new recording::field (this, loc, type, new_string (name)); in new_field()
893 new recording::bitfield (this, loc, type, width, new_string (name)); in new_bitfield()
908 recording::struct_ *result = new struct_ (this, loc, new_string (name)); in new_struct_type()
924 recording::union_ *result = new union_ (this, loc, new_string (name)); in new_union_type()
985 recording::param *result = new recording::param (this, loc, type, new_string (name)); in new_param()
1009 new_string (name), in new_function()
1063 new recording::global (this, loc, kind, type, new_string (name)); in new_global()
1092 new memento_of_new_string_literal (this, NULL, new_string (value)); in new_string_literal()
[all …]
H A Djit-recording.h77 new_string (const char *text, bool escaped = false);
417 string *new_string (const char *text) { return m_ctxt->new_string (text); } in new_string() function
H A Djit-builtins.cc216 m_ctxt->new_string (asm_name), in make_builtin_function()
H A DChangeLog731 * jit-recording.c (recording::context::new_string): Add "escaped"
738 * jit-recording.h (recording::context::new_string): Add "escaped"
H A DChangeLog.jit2655 (gcc::jit::recording::context::new_string): Likewise.
/netbsd-src/external/gpl3/gcc.old/dist/gcc/jit/
H A Djit-recording.c727 recording::context::new_string (const char *text) in new_string() function
751 new_string (filename), in new_location()
870 new recording::field (this, loc, type, new_string (name)); in new_field()
888 new recording::bitfield (this, loc, type, width, new_string (name)); in new_bitfield()
903 recording::struct_ *result = new struct_ (this, loc, new_string (name)); in new_struct_type()
919 recording::union_ *result = new union_ (this, loc, new_string (name)); in new_union_type()
980 recording::param *result = new recording::param (this, loc, type, new_string (name)); in new_param()
1004 new_string (name), in new_function()
1058 new recording::global (this, loc, kind, type, new_string (name)); in new_global()
1075 new memento_of_new_string_literal (this, NULL, new_string (value)); in new_string_literal()
[all …]
H A Djit-recording.h77 new_string (const char *text);
398 string *new_string (const char *text) { return m_ctxt->new_string (text); } in new_string() function
H A Djit-builtins.c216 m_ctxt->new_string (asm_name), in make_builtin_function()
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/src/
H A Dx-c.c1449 char *new_string = xasprintf ("<%s>", tp->string); in phase8a_get() local
1451 tp->string = new_string; in phase8a_get()
/netbsd-src/external/lgpl3/mpfr/dist/src/
H A Dvasprintf.c854 register_string (struct string_list *sl, char *new_string) in register_string() argument
865 return sl->string = new_string; in register_string()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/python/libstdcxx/v6/
H A Dprinters.py912 self.new_string = typename.find("::__cxx11::basic_string") != -1
924 if self.new_string:
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/python/libstdcxx/v6/
H A Dprinters.py1003 self.new_string = typename.find("::__cxx11::basic_string") != -1
1015 if self.new_string:
/netbsd-src/external/gpl3/gdb/dist/bfd/
H A DChangeLog-20091043 * hash.c (bfd_hash_lookup): Rename variable new to new_string.