/third_party/gstreamer/gstplugins_base/tests/check/libs/ |
D | gstglapi.c | 59 gchar *new_str; in GST_START_TEST() local 61 new_str = gst_gl_api_to_string (api_strings[i].api); in GST_START_TEST() 62 GST_DEBUG ("\'%s\' ?= \'%s\'", new_str, api_strings[i].str); in GST_START_TEST() 63 fail_unless_equals_int (0, g_strcmp0 (new_str, api_strings[i].str)); in GST_START_TEST() 66 g_free (new_str); in GST_START_TEST() 108 gchar *new_str; in GST_START_TEST() local 110 new_str = gst_gl_platform_to_string (platform_strings[i].platform); in GST_START_TEST() 111 GST_DEBUG ("\'%s\' ?= \'%s\'", new_str, platform_strings[i].str); in GST_START_TEST() 112 fail_unless_equals_int (0, g_strcmp0 (new_str, platform_strings[i].str)); in GST_START_TEST() 115 g_free (new_str); in GST_START_TEST()
|
/third_party/pulseaudio/src/pulse/ |
D | utf8.c | 180 char *new_str; in pa_utf8_filter() local 183 new_str = pa_xmalloc(strlen(str) + 1); in pa_utf8_filter() 184 return utf8_validate(str, new_str); in pa_utf8_filter() 190 char *new_str; in iconv_simple() local 206 new_str = pa_xmalloc(len); in iconv_simple() 211 outbuf = new_str; in iconv_simple() 220 pa_xfree(new_str); in iconv_simple() 221 new_str = NULL; in iconv_simple() 228 new_str = pa_xrealloc(new_str, len); in iconv_simple() 233 return new_str; in iconv_simple()
|
/third_party/libsnd/src/ |
D | strings.c | 32 { char new_str [128] ; in psf_store_string() local 98 snprintf (new_str, sizeof (new_str), "%s-%s", PACKAGE_NAME, PACKAGE_VERSION) ; in psf_store_string() 100 snprintf (new_str, sizeof (new_str), "%s (%s-%s)", str, PACKAGE_NAME, PACKAGE_VERSION) ; in psf_store_string() 103 snprintf (new_str, sizeof (new_str), "%s", str) ; in psf_store_string() 105 str = new_str ; in psf_store_string()
|
/third_party/ffmpeg/libavutil/ |
D | bprint.c | 38 char *old_str, *new_str; in av_bprint_alloc() local 50 new_str = av_realloc(old_str, new_size); in av_bprint_alloc() 51 if (!new_str) in av_bprint_alloc() 54 memcpy(new_str, buf->str, buf->len + 1); in av_bprint_alloc() 55 buf->str = new_str; in av_bprint_alloc()
|
/third_party/libxml2/ |
D | testOOM.c | 111 void *new_str; in buffer_expand() local 116 new_str = realloc (b->str, new_size); in buffer_expand() 117 if (new_str == NULL) in buffer_expand() 119 b->str = new_str; in buffer_expand()
|
/third_party/flutter/skia/third_party/externals/sdl/acinclude/ |
D | esd.m4 | 73 char *new_str; 77 new_str = malloc ((strlen (str) + 1) * sizeof(char)); 78 strcpy (new_str, str); 81 new_str = NULL; 83 return new_str;
|
/third_party/flutter/skia/third_party/externals/sdl/ |
D | sdl2.m4 | 121 char *new_str; 125 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char)); 126 strcpy (new_str, str); 129 new_str = NULL; 131 return new_str;
|
D | configure | 17928 char *new_str; 17932 new_str = malloc ((strlen (str) + 1) * sizeof(char)); 17933 strcpy (new_str, str); 17936 new_str = NULL; 17938 return new_str;
|
/third_party/gettext/libtextstyle/gnulib-local/lib/glib/ |
D | gstrfuncs.c | 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() [all …]
|
/third_party/libusb/msvc/getopt/ |
D | getopt.c | 325 char *new_str = malloc (top + 1); local 326 if (new_str == NULL) 330 memset (__mempcpy (new_str, __getopt_nonoption_flags, 334 __getopt_nonoption_flags = new_str;
|
/third_party/glib/glib/ |
D | gstrfuncs.c | 358 gchar *new_str; in g_strdup() local 364 new_str = g_new (char, length); in g_strdup() 365 memcpy (new_str, str, length); in g_strdup() 368 new_str = NULL; in g_strdup() 370 return new_str; in g_strdup() 457 gchar *new_str; in g_strndup() local 461 new_str = g_new (gchar, n + 1); in g_strndup() 462 strncpy (new_str, str, n); in g_strndup() 463 new_str[n] = '\0'; in g_strndup() 466 new_str = NULL; in g_strndup() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/test/ |
D | aclocal.m4 | 92 char *new_str; 96 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char)); 97 strcpy (new_str, str); 100 new_str = NULL; 102 return new_str;
|
D | acinclude.m4 | 92 char *new_str; 96 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char)); 97 strcpy (new_str, str); 100 new_str = NULL; 102 return new_str;
|
D | configure | 3321 char *new_str; 3325 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char)); 3326 strcpy (new_str, str); 3329 new_str = NULL; 3331 return new_str;
|
/third_party/flutter/skia/third_party/externals/sdl/visualtest/ |
D | acinclude.m4 | 92 char *new_str; 96 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char)); 97 strcpy (new_str, str); 100 new_str = NULL; 102 return new_str;
|
D | configure | 3327 char *new_str; 3331 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char)); 3332 strcpy (new_str, str); 3335 new_str = NULL; 3337 return new_str;
|
/third_party/gettext/gettext-tools/src/ |
D | msginit.c | 1771 char *new_str = XNMALLOC (new_len + 1, char); in subst_string() local 1772 memcpy (new_str, str, i); in subst_string() 1773 memcpy (new_str + i, subst[j][1], replacement_len); in subst_string() 1774 strcpy (new_str + i + replacement_len, str + i + substlen[j]); in subst_string() 1777 str = new_str; in subst_string() 1778 malloced = new_str; in subst_string()
|
/third_party/gstreamer/gstplugins_bad/gst/rawparse/ |
D | gstvideoparse.c | 416 gchar *new_str = g_strdup_printf ("%s,%s", str, stride_str); in gst_video_parse_int_valarray_to_string() local 418 str = new_str; in gst_video_parse_int_valarray_to_string()
|
/third_party/python/Parser/ |
D | tokenizer.c | 331 char* new_str = tok->interactive_src_start; in tok_concatenate_interactive_new_line() local 333 new_str = PyMem_Realloc(new_str, current_size + line_size + 1); in tok_concatenate_interactive_new_line() 334 if (!new_str) { in tok_concatenate_interactive_new_line() 343 strcpy(new_str + current_size, line); in tok_concatenate_interactive_new_line() 345 tok->interactive_src_start = new_str; in tok_concatenate_interactive_new_line() 346 tok->interactive_src_end = new_str + current_size + line_size; in tok_concatenate_interactive_new_line()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/ |
D | arithmetic_simplify.cc | 108 std::string new_str = ""; in CutStr() local 114 new_str += s[start_pos + i]; in CutStr() 116 return new_str; in CutStr()
|
/third_party/quickjs/ |
D | quickjs.c | 3615 JSString *new_str; in string_buffer_realloc() local 3631 new_str = js_realloc2(s->ctx, s->str, new_size_bytes, &slack); in string_buffer_realloc() 3632 if (!new_str) in string_buffer_realloc() 3636 s->str = new_str; in string_buffer_realloc()
|