Home
last modified time | relevance | path

Searched refs:newStr (Results 1 – 20 of 20) sorted by relevance

/third_party/vk-gl-cts/framework/delibs/depool/
DdeMemPool.c553 char* newStr = (char*)deMemPool_alloc(pool, len+1); in deMemPool_strDup() local
554 if (newStr) in deMemPool_strDup()
555 memcpy(newStr, str, len+1); in deMemPool_strDup()
556 return newStr; in deMemPool_strDup()
569 char* newStr = (char*)deMemPool_alloc(pool, len + 1); in deMemPool_strnDup() local
573 if (newStr) in deMemPool_strnDup()
575 memcpy(newStr, str, len); in deMemPool_strnDup()
576 newStr[len] = 0; in deMemPool_strnDup()
578 return newStr; in deMemPool_strnDup()
/third_party/node/deps/npm/node_modules/uri-js/dist/esnext/
Duri.js54 let newStr = "";
60 newStr += String.fromCharCode(c);
66 newStr += String.fromCharCode(((c & 31) << 6) | (c2 & 63));
69 newStr += str.substr(i, 6);
77 newStr += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63));
80 newStr += str.substr(i, 9);
85 newStr += str.substr(i, 3);
89 return newStr;
/third_party/selinux/libsepol/cil/test/unit/
DCuTest.c39 char* newStr = (char*) malloc( sizeof(char) * (size) ); in CuStrAlloc() local
40 return newStr; in CuStrAlloc()
46 char* newStr = CuStrAlloc(len + 1); in CuStrCopy() local
47 strcpy(newStr, old); in CuStrCopy()
48 return newStr; in CuStrCopy()
/third_party/spirv-headers/tools/buildHeaders/
Dheader.cpp388 std::string newStr; in escapeComment() local
391 newStr += '\\'; in escapeComment()
392 newStr += c; in escapeComment()
394 newStr += c; in escapeComment()
397 return newStr; in escapeComment()
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/
Dheader.cpp388 std::string newStr; in escapeComment() local
391 newStr += '\\'; in escapeComment()
392 newStr += c; in escapeComment()
394 newStr += c; in escapeComment()
397 return newStr; in escapeComment()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/
Dheader.cpp388 std::string newStr; in escapeComment() local
391 newStr += '\\'; in escapeComment()
392 newStr += c; in escapeComment()
394 newStr += c; in escapeComment()
397 return newStr; in escapeComment()
/third_party/node/deps/npm/node_modules/uri-js/dist/es5/
Duri.all.js750 var newStr = "";
756 newStr += String.fromCharCode(c);
761 newStr += String.fromCharCode((c & 31) << 6 | c2 & 63);
763 newStr += str.substr(i, 6);
770 newStr += String.fromCharCode((c & 15) << 12 | (_c & 63) << 6 | c3 & 63);
772 newStr += str.substr(i, 9);
776 newStr += str.substr(i, 3);
780 return newStr;
Duri.all.min.js.map1newStr","i","il","parseInt","substr","String","fromCharCode","c2","c3","_normalizeComponentEncodin…
Duri.all.js.map1newStr = \"\";\n\tlet i = 0;\n\tconst il = str.length;\n\n\twhile (i < il) {\n\t\tconst c = parseI…
/third_party/mindspore/mindspore/core/load_mindir/
Danf_model_parser.cc126 auto replace = [&](const string &orgStr, const string &newStr) { in ParserScalarAttrValue() argument
129 str.replace(pos, orgStr.length(), newStr); in ParserScalarAttrValue()
146 auto replace = [&](const string &orgStr, const string &newStr) { in ParserAttrShape() argument
149 str.replace(pos, orgStr.length(), newStr); in ParserAttrShape()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DUTF16.java1959 public static String replace(String source, String oldStr, String newStr) { in replace() argument
1965 int newStrSize = newStr.length(); in replace()
1971 result.replace(resultIndex, endResultIndex, newStr); in replace()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUTF16.java2027 public static String replace(String source, String oldStr, String newStr) { in replace() argument
2033 int newStrSize = newStr.length(); in replace()
2039 result.replace(resultIndex, endResultIndex, newStr); in replace()
/third_party/icu/icu4c/source/test/intltest/
Dnumbertest_decimalquantity.cpp74 UnicodeString newStr = fq.toString(); in checkDoubleBehavior() local
79 UnicodeString(u"After conversion to exact BCD (double): ") + baseStr + u" vs " + newStr, in checkDoubleBehavior()
/third_party/node/deps/npm/node_modules/bluebird/js/release/
Ddebuggability.js652 var newStr = JSON.stringify(obj);
653 str = newStr;
/third_party/boost/boost/wave/util/
Dflex_string.hpp673 AllocatorStringStorage newStr(myAlloc); in reserve() local
674 newStr.Init(size(), res_arg); in reserve()
676 flex_string_details::pod_copy(begin(), end(), newStr.begin()); in reserve()
678 swap(newStr); in reserve()
/third_party/node/deps/npm/node_modules/har-validator/node_modules/ajv/dist/
Dajv.bundle.js5985 var newStr = "";
5991 newStr += String.fromCharCode(c);
5996 newStr += String.fromCharCode((c & 31) << 6 | c2 & 63);
5998 newStr += str.substr(i, 6);
6005 newStr += String.fromCharCode((c & 15) << 12 | (_c & 63) << 6 | c3 & 63);
6007 newStr += str.substr(i, 9);
6011 newStr += str.substr(i, 3);
6015 return newStr;
Dajv.min.js.map1 …Array","toASCII","toUnicode","SCHEMES","pctEncChar","chr","pctDecChars","newStr","il","c2","_c","c…
/third_party/node/deps/npm/node_modules/bluebird/js/browser/
Dbluebird.core.js1177 var newStr = JSON.stringify(obj);
1178 str = newStr;
Dbluebird.js1324 var newStr = JSON.stringify(obj);
1325 str = newStr;
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
DFrameCapture.cpp6686 std::string newStr = str; in CaptureStringLimit() local
6687 newStr.resize(limit - 1); in CaptureStringLimit()
6688 CaptureString(newStr.c_str(), paramCapture); in CaptureStringLimit()