Home
last modified time | relevance | path

Searched refs:new_str (Results 1 - 13 of 13) sorted by relevance

/third_party/pulseaudio/src/pulse/
H A Dutf8.c180 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, le in iconv_simple()
[all...]
/third_party/libsnd/src/
H A Dstrings.c32 { 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/
H A Dbprint.c38 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/elfutils/libelf/
H A Delf_getarsym.c225 char *new_str = (char *) (elf->state.ar.ar_sym + n + 1); in elf_getarsym() local
229 || ((size_t) pread_retry (elf->fildes, new_str, in elf_getarsym()
240 str_data = (char *) new_str; in elf_getarsym()
/third_party/python/Parser/
H A Dtokenizer.c313 char* new_str = tok->interactive_src_start; in tok_concatenate_interactive_new_line() local
315 new_str = PyMem_Realloc(new_str, current_size + line_size + 1); in tok_concatenate_interactive_new_line()
316 if (!new_str) { in tok_concatenate_interactive_new_line()
325 strcpy(new_str + current_size, line); in tok_concatenate_interactive_new_line()
328 new_str[current_size + line_size - 1] = '\n'; in tok_concatenate_interactive_new_line()
329 new_str[current_size + line_size] = '\0'; in tok_concatenate_interactive_new_line()
331 tok->interactive_src_start = new_str; in tok_concatenate_interactive_new_line()
332 tok->interactive_src_end = new_str + current_size + line_size; in tok_concatenate_interactive_new_line()
/third_party/backends/lib/
H A Dgetopt.c333 char *new_str = malloc (top + 1);
334 if (new_str == NULL)
338 memset (__mempcpy (new_str, __getopt_nonoption_flags,
342 __getopt_nonoption_flags = new_str;
330 char *new_str = malloc (top + 1); global() local
/kernel/linux/linux-5.10/scripts/kconfig/
H A Dnconf.c569 char new_str[256]; in item_add_str() local
576 vsnprintf(new_str, sizeof(new_str), fmt, ap); in item_add_str()
579 k_menu_items[index].str, new_str); in item_add_str()
/kernel/linux/linux-6.6/scripts/kconfig/
H A Dnconf.c579 char new_str[256]; in item_add_str() local
586 vsnprintf(new_str, sizeof(new_str), fmt, ap); in item_add_str()
589 k_menu_items[index].str, new_str); in item_add_str()
/kernel/linux/linux-5.10/tools/perf/util/
H A Dpmu.c241 char **new_str) in perf_pmu_assign_str()
246 if (*new_str) { /* Have new string, check with old */ in perf_pmu_assign_str()
247 if (strcasecmp(*old_str, *new_str)) in perf_pmu_assign_str()
254 *old_str = *new_str; in perf_pmu_assign_str()
255 *new_str = NULL; in perf_pmu_assign_str()
240 perf_pmu_assign_str(char *name, const char *field, char **old_str, char **new_str) perf_pmu_assign_str() argument
/kernel/linux/linux-6.6/tools/perf/util/
H A Dpmu.c438 const char *new_str) in assign_str()
440 if (!*old_str && new_str) { in assign_str()
441 *old_str = strdup(new_str); in assign_str()
445 if (!new_str || !strcasecmp(*old_str, new_str)) in assign_str()
449 name, field, *old_str, new_str); in assign_str()
451 *old_str = strdup(new_str); in assign_str()
437 assign_str(const char *name, const char *field, char **old_str, const char *new_str) assign_str() argument
/applications/standard/app_samples/code/Project/HapBuild/test-tool/
H A DInstallAndTestSpecial_ci.py431 def replace_enable(file,old_str,new_str):
435 line = line.replace(old_str, new_str)
/test/testfwk/xdevice/src/xdevice/_core/report/
H A Dreporter_helper.py679 def _render_key(cls, prefix, key, new_str, update_context):
681 return update_context.replace(old_str, new_str)
782 new_str = str(getattr(result, key, default))
784 new_str = str(getattr(data_object, key, default))
785 update_context = self._render_key(prefix, key, new_str,
/third_party/vulkan-loader/loader/
H A Dloader.c308 char *new_str = loader_instance_heap_calloc(inst, sizeof(char *) * str_len + 1, VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE); in copy_str_to_string_list() local
309 if (NULL == new_str) { in copy_str_to_string_list()
312 loader_strncpy(new_str, sizeof(char *) * str_len + 1, str, str_len); in copy_str_to_string_list()
313 new_str[str_len] = '\0'; in copy_str_to_string_list()
314 VkResult res = append_str_to_string_list(inst, string_list, new_str); in copy_str_to_string_list()
316 // Cleanup new_str if the append failed - as append_str_to_string_list takes ownership but not if the function fails in copy_str_to_string_list()
317 loader_instance_heap_free(inst, new_str); in copy_str_to_string_list()

Completed in 30 milliseconds