Home
last modified time | relevance | path

Searched refs:new_string (Results 1 – 19 of 19) 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.py60 new_string = string[:end] + suffix + string[end:]
63 new_string = string + suffix
64 return new_string
69 new_string = insert_suffix(string, family_name, suffix)
70 name_record.string = new_string
71 return string, new_string
/external/v8/src/ast/
Dast-value-factory.cc246 AstConsString* new_string = new (zone_) AstConsString; in NewConsString() local
247 DCHECK_NOT_NULL(new_string); in NewConsString()
248 AddConsString(new_string); in NewConsString()
249 return new_string; in NewConsString()
293 AstRawString* new_string = new (zone_) AstRawString( in GetString() local
295 CHECK_NOT_NULL(new_string); in GetString()
296 AddString(new_string); in GetString()
297 entry->key = new_string; in GetString()
/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/oj-libjdwp/src/share/npt/
Dutf.h70 jbyte *new_string, int new_length);
75 jbyte *new_string, int new_length);
/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/u-boot/scripts/kconfig/
Dzconf.l41 static void new_string(void) in new_string() function
136 new_string();
/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/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/cpython3/Parser/
Dtokenizer.c156 new_string(const char *s, Py_ssize_t len, struct tok_state *tok) in new_string() function
185 return new_string(str, strlen(str), tok); in decode_str()
263 char* r = new_string(begin, t - begin, tok); in get_coding_spec()
270 r = new_string(q, strlen(q), tok); in get_coding_spec()
401 tok->encoding = new_string("utf-8", 5, tok); in check_bom()
/external/v8/src/heap/
Dheap.cc2314 String* new_string = String::cast(first_word.ToForwardingAddress()); in UpdateNewSpaceReferenceInExternalStringTableEntry() local
2320 if (new_string->IsThinString() || original_string->length() == 0) { in UpdateNewSpaceReferenceInExternalStringTableEntry()
2323 } else if (new_string->IsExternalString()) { in UpdateNewSpaceReferenceInExternalStringTableEntry()
2326 Page::FromHeapObject(new_string), ExternalString::cast(new_string)); in UpdateNewSpaceReferenceInExternalStringTableEntry()
2327 return new_string; in UpdateNewSpaceReferenceInExternalStringTableEntry()
2331 return new_string->IsExternalString() ? new_string : nullptr; in UpdateNewSpaceReferenceInExternalStringTableEntry()
Dmark-compact.cc2274 String* new_string = String::cast(map_word.ToForwardingAddress()); in UpdateReferenceInExternalStringTableEntry() local
2276 if (new_string->IsExternalString()) { in UpdateReferenceInExternalStringTableEntry()
2279 Page::FromHeapObject(new_string), ExternalString::cast(new_string)); in UpdateReferenceInExternalStringTableEntry()
2281 return new_string; in UpdateReferenceInExternalStringTableEntry()
/external/toybox/kconfig/
Dlex.zconf.c_shipped788 void new_string(void)
1103 new_string();
2242 new_string();
/external/python/cpython3/Lib/test/
Dtest_xml_etree.py189 new_string = string + ""
190 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.rst911 Perform the same operation as :func:`sub`, but return a tuple ``(new_string,