Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/fs/inode/
Dinode01.c308 char new_string[PATH_STRING_LENGTH + 1]; in generate() local
328 snp_ret = snprintf(new_string, sizeof(new_string), in generate()
330 if (snp_ret < 0 || snp_ret >= sizeof(new_string)) { in generate()
352 file_id = creat(new_string, FILE_MODE); in generate()
356 new_string, errno); in generate()
360 printf("%d %s F\n", level, new_string); in generate()
369 len = strlen(new_string); in generate()
372 write(file_id, new_string, len); in generate()
376 new_string, len, in generate()
389 strcpy(write_string, new_string); in generate()
[all …]
Dinode02.c405 char new_string[PATH_STRING_LENGTH + 1]; in generate() local
425 snp_ret = snprintf(new_string, sizeof(new_string), in generate()
427 if (snp_ret < 0 || snp_ret >= sizeof(new_string)) { in generate()
449 file_id = creat(new_string, FILE_MODE); in generate()
453 new_string, errno); in generate()
458 new_string); in generate()
467 len = strlen(new_string); in generate()
470 write(file_id, new_string, len); in generate()
474 new_string, errno); in generate()
486 strcpy(write_string, new_string); in generate()
[all …]
/third_party/grpc/src/compiler/
Druby_generator_string-inl.h89 std::string new_string = ""; in Modularize() local
91 new_string.append(1, ::toupper(s[0])); in Modularize()
94 new_string.append(1, ::toupper(s[i])); in Modularize()
96 new_string.append(1, s[i]); in Modularize()
100 return new_string; in Modularize()
/third_party/alsa-lib/src/alisp/
Dalisp_snd.c168 p2->value.c.car = new_string(instance, id); in add_cons()
260 p1->value.c.car = new_string(instance, str); in new_result3()
386 return new_string(instance, ((snd_str_p_t)item->xfunc)(handle)); in FA_str_p()
462 …p1 = add_cons(instance, lexpr->value.c.cdr, 0, "id", new_string(instance, snd_ctl_card_info_get_id… in FA_card_info()
463 …p1 = add_cons(instance, p1, 1, "driver", new_string(instance, snd_ctl_card_info_get_driver(&info))… in FA_card_info()
464 p1 = add_cons(instance, p1, 1, "name", new_string(instance, snd_ctl_card_info_get_name(&info))); in FA_card_info()
465 …p1 = add_cons(instance, p1, 1, "longname", new_string(instance, snd_ctl_card_info_get_longname(&in… in FA_card_info()
466 …p1 = add_cons(instance, p1, 1, "mixername", new_string(instance, snd_ctl_card_info_get_mixername(&… in FA_card_info()
467 …p1 = add_cons(instance, p1, 1, "components", new_string(instance, snd_ctl_card_info_get_components… in FA_card_info()
478 …cons = add_cons(instance, cons, 1, "iface", new_string(instance, snd_ctl_elem_iface_name(snd_ctl_e… in create_ctl_elem_id()
[all …]
Dalisp.c411 static struct alisp_object * new_string(struct alisp_instance *instance, const char *str) in new_string() function
471 lexpr->value.c.car = new_string(instance, ptr_id); in new_cons_pointer()
813 p = new_string(instance, instance->token_buffer); in parse_object()
1207 p = new_string(instance, str); in F_concat()
2402 return new_string(instance, snd_config_topdir()); in F_path()
2642 p1 = new_string(instance, s1); in F_format()
3330 obj = new_string(instance, va_arg(ap, char *)); in alsa_lisp_function()
/third_party/glib/tests/gobject/
Daccumulator.c72 const gchar *new_string = g_value_get_string (handler_return); in test_signal1_accumulator() local
76 result_string = g_strconcat (accu_string, new_string, NULL); in test_signal1_accumulator()
77 else if (new_string) in test_signal1_accumulator()
78 result_string = g_strdup (new_string); in test_signal1_accumulator()
Dtestgobject.c237 const gchar *new_string = g_value_get_string (handler_return); in test_signal_accumulator() local
241 result_string = g_strconcat (accu_string, new_string, NULL); in test_signal_accumulator()
242 else if (new_string) in test_signal_accumulator()
243 result_string = g_strdup (new_string); in test_signal_accumulator()
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_string.h125 const char *new_string,
Ddng_string.cpp1617 const char *new_string, in Replace() argument
1631 uint32 len3 = strlenAsUint32 (new_string); in Replace()
1637 new_string, in Replace()
1646 new_string, in Replace()
1682 new_string, in Replace()
/third_party/python/Parser/
Dtokenizer.c94 new_string(const char *s, Py_ssize_t len, struct tok_state *tok) in new_string() function
181 char* r = new_string(begin, t - begin, tok); in get_coding_spec()
188 r = new_string(q, strlen(q), tok); in get_coding_spec()
314 tok->encoding = new_string("utf-8", 5, tok); in check_bom()
739 tok->encoding = new_string("utf-8", 5, tok); in PyTokenizer_FromUTF8()
771 tok->encoding = new_string(enc, strlen(enc), tok); in PyTokenizer_FromFile()
/third_party/gettext/libtextstyle/gnulib-local/lib/glib/
Dgstrfuncs.c2304 gchar *new_string;
2307 new_string = g_new (gchar, len + 1);
2308 strncpy (new_string, remainder, len);
2309 new_string[len] = 0;
2310 string_list = g_slist_prepend (string_list, new_string);
/third_party/gettext/gettext-tools/src/
Dx-c.c1923 char *new_string = xasprintf ("<%s>", tp->string); in phase8a_get() local
1926 mixed_string_alloc_utf8 (new_string, lc_string, in phase8a_get()
/third_party/alsa-lib/src/
Dconf.c3017 char *new_string; in snd_config_set_string() local
3022 new_string = strdup(value); in snd_config_set_string()
3023 if (!new_string) in snd_config_set_string()
3026 new_string = NULL; in snd_config_set_string()
3029 config->u.string = new_string; in snd_config_set_string()
/third_party/toybox/kconfig/
Dlex.zconf.c_shipped788 void new_string(void)
1103 new_string();
2242 new_string();
/third_party/python/Lib/test/
Dtest_xml_etree.py209 new_string = string + ""
210 new_string = string + " "
/third_party/python/Doc/library/
Dre.rst928 Perform the same operation as :func:`sub`, but return a tuple ``(new_string,
/third_party/quickjs/
Dquickjs.c11567 goto new_string; in JS_ToStringInternal()
11590 goto new_string; in JS_ToStringInternal()
11597 goto new_string; in JS_ToStringInternal()
11615 new_string: in JS_ToStringInternal()