Home
last modified time | relevance | path

Searched refs:newBuf (Results 1 – 8 of 8) sorted by relevance

/external/lzma/CPP/Common/
DMyString.cpp385 char *newBuf = MY_STRING_NEW_char(newLimit + 1); in ReAlloc() local
386 memcpy(newBuf, _chars, (size_t)(_len + 1)); in ReAlloc()
388 _chars = newBuf; in ReAlloc()
396 char *newBuf = MY_STRING_NEW_char(newLimit + 1); in ReAlloc2() local
397 newBuf[0] = 0; in ReAlloc2()
399 _chars = newBuf; in ReAlloc2()
509 char *newBuf = MY_STRING_NEW_char(1 + 1); in operator =() local
511 _chars = newBuf; in operator =()
526 char *newBuf = MY_STRING_NEW_char(len + 1); in operator =() local
528 _chars = newBuf; in operator =()
[all …]
/external/mesa3d/src/util/
Dos_memory_aligned.h121 void *newBuf = os_malloc_aligned(newsize, alignment); in os_realloc_aligned() local
122 if (newBuf && ptr && copySize > 0) { in os_realloc_aligned()
123 memcpy(newBuf, ptr, copySize); in os_realloc_aligned()
127 return newBuf; in os_realloc_aligned()
/external/pdfium/xfa/fxfa/parser/
Dxfa_utils.cpp262 CFX_WideTextBuf newBuf; in RegenerateFormFile_Changed() local
265 RegenerateFormFile_Changed(pChildNode, newBuf, bSaveXML); in RegenerateFormFile_Changed()
266 wsChildren += newBuf.AsStringView(); in RegenerateFormFile_Changed()
267 newBuf.Clear(); in RegenerateFormFile_Changed()
276 RegenerateFormFile_Changed(pChild, newBuf, bSaveXML); in RegenerateFormFile_Changed()
277 wsChildren += newBuf.AsStringView(); in RegenerateFormFile_Changed()
278 newBuf.Clear(); in RegenerateFormFile_Changed()
/external/python/cpython2/Modules/expat/
Dxmlparse.c2072 char *newBuf; in XML_GetBuffer() local
2084 newBuf = (char *)MALLOC(parser, bufferSize); in XML_GetBuffer()
2085 if (newBuf == 0) { in XML_GetBuffer()
2089 parser->m_bufferLim = newBuf + bufferSize; in XML_GetBuffer()
2095 memcpy(newBuf, &parser->m_bufferPtr[-keep], in XML_GetBuffer()
2098 parser->m_buffer = newBuf; in XML_GetBuffer()
2105 parser->m_bufferEnd = newBuf; in XML_GetBuffer()
2106 parser->m_bufferPtr = parser->m_buffer = newBuf; in XML_GetBuffer()
2110 memcpy(newBuf, parser->m_bufferPtr, in XML_GetBuffer()
2113 parser->m_bufferEnd = newBuf + in XML_GetBuffer()
[all …]
/external/expat/lib/
Dxmlparse.c1982 char *newBuf; in XML_GetBuffer() local
1995 newBuf = (char *)MALLOC(parser, bufferSize); in XML_GetBuffer()
1996 if (newBuf == 0) { in XML_GetBuffer()
2000 parser->m_bufferLim = newBuf + bufferSize; in XML_GetBuffer()
2003 memcpy(newBuf, &parser->m_bufferPtr[-keep], in XML_GetBuffer()
2007 parser->m_buffer = newBuf; in XML_GetBuffer()
2015 parser->m_bufferEnd = newBuf; in XML_GetBuffer()
2016 parser->m_bufferPtr = parser->m_buffer = newBuf; in XML_GetBuffer()
2020 memcpy(newBuf, parser->m_bufferPtr, in XML_GetBuffer()
2024 = newBuf in XML_GetBuffer()
[all …]
/external/python/cpython3/Modules/expat/
Dxmlparse.c1980 char *newBuf; in XML_GetBuffer() local
1993 newBuf = (char *)MALLOC(parser, bufferSize); in XML_GetBuffer()
1994 if (newBuf == 0) { in XML_GetBuffer()
1998 parser->m_bufferLim = newBuf + bufferSize; in XML_GetBuffer()
2001 memcpy(newBuf, &parser->m_bufferPtr[-keep], in XML_GetBuffer()
2005 parser->m_buffer = newBuf; in XML_GetBuffer()
2013 parser->m_bufferEnd = newBuf; in XML_GetBuffer()
2014 parser->m_bufferPtr = parser->m_buffer = newBuf; in XML_GetBuffer()
2018 memcpy(newBuf, parser->m_bufferPtr, in XML_GetBuffer()
2022 = newBuf in XML_GetBuffer()
[all …]
/external/flatbuffers/dart/lib/
Dflat_buffers.dart719 ByteData newBuf = new ByteData(newCapacity);
720 newBuf.buffer
723 _buf = newBuf;
/external/icu/icu4c/source/i18n/
Drematch.cpp1990 UChar *newBuf = buffer.resize(length+1); // Leave space for terminating Nul. in utext_extract_replace() local
1991 if (newBuf == NULL) { in utext_extract_replace()