Home
last modified time | relevance | path

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

/external/deqp/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()
/external/antlr/runtime/C/src/
Dantlr3string.c153 factory->newStr = newStrUTF16_UTF16; in antlr3StringFactoryNew()
169 factory->newStr = newStr8; in antlr3StringFactoryNew()
1342 pANTLR3_STRING newStr; in subString8() local
1348newStr = string->factory->newPtr(string->factory, string->chars + startIndex, endIndex - startInd… in subString8()
1350 return newStr; in subString8()
1359 pANTLR3_STRING newStr; in subStringUTF16() local
1365newStr = string->factory->newPtr(string->factory, (pANTLR3_UINT8)((pANTLR3_UINT16)(string->chars)… in subStringUTF16()
1367 return newStr; in subStringUTF16()
1427 pANTLR3_STRING newStr; in to8_UTF16() local
1432 newStr = newRaw8(string->factory); in to8_UTF16()
[all …]
Dantlr3inputstream.c299 …input->istream->streamName = input->strFactory->newStr(input->strFactory, name == NULL ? (pANTLR3_… in antlr38BitReuse()
Dantlr3baserecognizer.c378 …ex->streamName = ((pANTLR3_BASE_TREE)(ex->token))->strFactory->newStr(((pANTLR3_BASE_TREE)(ex->tok… in antlr3RecognitionExceptionNew()
/external/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()
/external/shaderc/spirv-headers/tools/buildHeaders/
Dheader.cpp382 std::string newStr; in escapeComment() local
385 newStr += '\\'; in escapeComment()
386 newStr += c; in escapeComment()
388 newStr += c; in escapeComment()
391 return newStr; in escapeComment()
/external/deqp-deps/SPIRV-Headers/tools/buildHeaders/
Dheader.cpp383 std::string newStr; in escapeComment() local
386 newStr += '\\'; in escapeComment()
387 newStr += c; in escapeComment()
389 newStr += c; in escapeComment()
392 return newStr; in escapeComment()
/external/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/
Dheader.cpp385 std::string newStr; in escapeComment() local
388 newStr += '\\'; in escapeComment()
389 newStr += c; in escapeComment()
391 newStr += c; in escapeComment()
394 return newStr; in escapeComment()
/external/antlr/runtime/C/include/
Dantlr3string.h243 pANTLR3_STRING (*newStr) (struct ANTLR3_STRING_FACTORY_struct * factory, pANTLR3_UINT8 string); member
/external/icu/icu4c/source/test/intltest/
Dnumbertest_decimalquantity.cpp67 UnicodeString newStr = fq.toString(); in checkDoubleBehavior() local
72 UnicodeString(u"After conversion to exact BCD (double): ") + baseStr + u" vs " + newStr, in checkDoubleBehavior()
/external/lzma/CPP/7zip/UI/FileManager/
DProgressDialog2.cpp635 static void GetChangedString(const UString &newStr, UString &prevStr, bool &hasChanged) in GetChangedString() argument
637 hasChanged = !(prevStr == newStr); in GetChangedString()
639 prevStr = newStr; in GetChangedString()
/external/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()
/external/icu/android_icu4j/src/main/java/android/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()
/external/clang/tools/c-index-test/
Dc-index-test.c2906 char *newStr; in makeClientContainer() local
2919 newStr = node->data; in makeClientContainer()
2920 sprintf(newStr, "%s:%d:%d", name, line, column); in makeClientContainer()
2927 return (CXIdxClientContainer)newStr; in makeClientContainer()
/external/vulkan-validation-layers/layers/
Dcore_validation.cpp11631 …const char *newStr = string_VkSurfaceTransformFlagBitsKHR((VkSurfaceTransformFlagBitsKHR)(1 << i)); in ValidateCreateSwapchain() local
11632 sprintf(str, " %s\n", newStr); in ValidateCreateSwapchain()
11657 … const char *newStr = string_VkCompositeAlphaFlagBitsKHR((VkCompositeAlphaFlagBitsKHR)(1 << i)); in ValidateCreateSwapchain() local
11658 sprintf(str, " %s\n", newStr); in ValidateCreateSwapchain()
/external/v8/tools/profviz/
Dgnuplot-4.6.3-emscripten.js3797 var newStr = _malloc(len + 1);
3798 _memcpy(newStr, ptr, len);
3799 HEAP8[(((newStr)+(len))|0)]=0;
3800 return newStr;