Home
last modified time | relevance | path

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

/external/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 …]
/external/fonttools/Snippets/
Drename-fonts.py59 new_string = string[:end] + suffix + string[end:]
62 new_string = string + suffix
63 return new_string
68 new_string = insert_suffix(string, family_name, suffix)
69 name_record.string = new_string
70 return string, new_string
/external/grpc-grpc/src/compiler/
Druby_generator_string-inl.h89 grpc::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()
/external/rust/crates/grpcio-sys/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()
/external/oj-libjdwp/src/share/npt/
Dutf.h70 jbyte *new_string, int new_length);
75 jbyte *new_string, int new_length);
/external/tflite-support/tensorflow_lite_support/custom_ops/kernel/sentencepiece/
Doptimized_encoder.cc41 auto [consumed, new_string] = pc(input.data() + i, input.size() - i); in process_string()
50 result_string.append(new_string.data(), new_string.length()); in process_string()
51 for (int i = 0; i < new_string.length(); ++i) { in process_string()
/external/oj-libjdwp/src/share/back/
DinStream.c385 char *new_string; in inStream_readString() local
387 new_string = jvmtiAllocate(new_length+1); in inStream_readString()
390 (jbyte*)new_string, new_length); in inStream_readString()
392 return new_string; in inStream_readString()
DoutStream.c316 char *new_string; in outStream_writeString() local
318 new_string = jvmtiAllocate(new_length+1); in outStream_writeString()
321 (jbyte*)new_string, new_length); in outStream_writeString()
323 error = writeBytes(stream, (jbyte *)new_string, new_length); in outStream_writeString()
324 jvmtiDeallocate(new_string); in outStream_writeString()
/external/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()
/external/python/cpython2/Parser/
Dtokenizer.c134 new_string(const char *s, Py_ssize_t len) in new_string() function
161 return new_string(str, strlen(str)); in decode_str()
238 char* r = new_string(begin, t - begin); in get_coding_spec()
245 r = new_string(q, strlen(q)); in get_coding_spec()
381 tok->encoding = new_string("utf-8", 5); /* resulting is in utf-8 */ in check_bom()
820 converted = new_string(PyString_AS_STRING(utf8), in tok_stdin_decode()
830 tok->encoding = new_string(encoding, strlen(encoding)); in tok_stdin_decode()
/external/python/cpython3/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()
319 tok->encoding = new_string("utf-8", 5, tok); in check_bom()
/external/toybox/kconfig/
Dlex.zconf.c_shipped788 void new_string(void)
1103 new_string();
2242 new_string();
/external/python/cpython2/Lib/test/
Dtest_xml_etree.py162 new_string = string + ""
163 new_string = string + " "
/external/python/cpython3/Lib/test/
Dtest_xml_etree.py194 new_string = string + ""
195 new_string = string + " "
/external/python/cpython2/Doc/library/
Dre.rst701 Perform the same operation as :func:`sub`, but return a tuple ``(new_string,
/external/python/cpython3/Doc/library/
Dre.rst918 Perform the same operation as :func:`sub`, but return a tuple ``(new_string,