Home
last modified time | relevance | path

Searched refs:newbuffer (Results 1 – 22 of 22) sorted by relevance

/external/python/cpython2/Modules/_multiprocessing/
Dpipe_connection.c43 size_t buflength, char **newbuffer, size_t maxlength) in conn_recv_string() argument
47 *newbuffer = NULL; in conn_recv_string()
70 *newbuffer = PyMem_Malloc(full_length); in conn_recv_string()
71 if (*newbuffer == NULL) in conn_recv_string()
74 memcpy(*newbuffer, buffer, length); in conn_recv_string()
77 ret = ReadFile(conn->handle, *newbuffer+length, left, &length, NULL); in conn_recv_string()
83 PyMem_Free(*newbuffer); in conn_recv_string()
Dsocket_connection.c147 size_t buflength, char **newbuffer, size_t maxlength) in conn_recv_string() argument
152 *newbuffer = NULL; in conn_recv_string()
165 *newbuffer = buffer = PyMem_Malloc((size_t)ulength); in conn_recv_string()
176 } else if (*newbuffer != NULL) { in conn_recv_string()
177 PyMem_Free(*newbuffer); in conn_recv_string()
178 *newbuffer = NULL; in conn_recv_string()
/external/libjpeg-turbo/
Djdatadst-tj.c42 unsigned char *newbuffer; /* newly allocated buffer */ member
104 if (dest->newbuffer != NULL) in empty_mem_output_buffer()
105 free(dest->newbuffer); in empty_mem_output_buffer()
107 dest->newbuffer = nextbuffer; in empty_mem_output_buffer()
167 dest->newbuffer = NULL; in jpeg_mem_dest_tj()
189 dest->newbuffer = *outbuffer = (unsigned char *)malloc(OUTPUT_BUF_SIZE); in jpeg_mem_dest_tj()
190 if (dest->newbuffer == NULL) in jpeg_mem_dest_tj()
Djdatadst.c54 unsigned char *newbuffer; /* newly allocated buffer */ member
146 if (dest->newbuffer != NULL) in empty_mem_output_buffer()
147 free(dest->newbuffer); in empty_mem_output_buffer()
149 dest->newbuffer = nextbuffer; in empty_mem_output_buffer()
280 dest->newbuffer = NULL; in jpeg_mem_dest()
284 dest->newbuffer = *outbuffer = (unsigned char *)malloc(OUTPUT_BUF_SIZE); in jpeg_mem_dest()
285 if (dest->newbuffer == NULL) in jpeg_mem_dest()
/external/icu/icu4c/source/test/intltest/
Dtextfile.cpp170 char* newbuffer = (char*) uprv_malloc(mincapacity); in ensureCapacity() local
171 if (newbuffer == 0) { in ensureCapacity()
175 uprv_strncpy(newbuffer, buffer, capacity); in ensureCapacity()
178 buffer = newbuffer; in ensureCapacity()
/external/javaparser/javaparser-core/generated-sources/javacc/com/github/javaparser/
DSimpleCharStream.java63 char[] newbuffer = new char[bufsize + 2048]; in ExpandBuff() local
71 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); in ExpandBuff()
72 System.arraycopy(buffer, 0, newbuffer, bufsize - tokenBegin, bufpos); in ExpandBuff()
73 buffer = newbuffer; in ExpandBuff()
87 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); in ExpandBuff()
88 buffer = newbuffer; in ExpandBuff()
/external/apache-commons-bcel/src/examples/Mini/
DASCII_CharStream.java50 char[] newbuffer = new char[bufsize + 2048]; in ExpandBuff() local
58 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); in ExpandBuff()
59 System.arraycopy(buffer, 0, newbuffer, in ExpandBuff()
61 buffer = newbuffer; in ExpandBuff()
75 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); in ExpandBuff()
76 buffer = newbuffer; in ExpandBuff()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-generated-sources/com/github/javaparser/
DJavaCharStream.java106 char[] newbuffer = new char[bufsize + 2048]; in ExpandBuff() local
114 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); in ExpandBuff()
115 System.arraycopy(buffer, 0, newbuffer, bufsize - tokenBegin, bufpos); in ExpandBuff()
116 buffer = newbuffer; in ExpandBuff()
130 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); in ExpandBuff()
131 buffer = newbuffer; in ExpandBuff()
/external/apache-http/src/org/apache/http/util/
DByteArrayBuffer.java62 byte newbuffer[] = new byte[Math.max(this.buffer.length << 1, newlen)]; in expand()
63 System.arraycopy(this.buffer, 0, newbuffer, 0, this.len); in expand()
64 this.buffer = newbuffer; in expand()
DCharArrayBuffer.java64 char newbuffer[] = new char[Math.max(this.buffer.length << 1, newlen)]; in expand() local
65 System.arraycopy(this.buffer, 0, newbuffer, 0, this.len); in expand()
66 this.buffer = newbuffer; in expand()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/generated/com/github/javaparser/
DJavaCharStream.java103 char[] newbuffer = new char[bufsize + 2048]; in ExpandBuff() local
111 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); in ExpandBuff()
112 System.arraycopy(buffer, 0, newbuffer, bufsize - tokenBegin, bufpos); in ExpandBuff()
113 buffer = newbuffer; in ExpandBuff()
127 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); in ExpandBuff()
128 buffer = newbuffer; in ExpandBuff()
/external/iperf3/src/
Dcjson.c339 unsigned char *newbuffer = NULL; in ensure() local
390 newbuffer = (unsigned char*)p->hooks.reallocate(p->buffer, newsize); in ensure()
395 newbuffer = (unsigned char*)p->hooks.allocate(newsize); in ensure()
396 if (!newbuffer) in ensure()
404 if (newbuffer) in ensure()
406 memcpy(newbuffer, p->buffer, p->offset + 1); in ensure()
411 p->buffer = newbuffer; in ensure()
413 return newbuffer + p->offset; in ensure()
/external/python/cpython3/Objects/
Dunicodeobject.c13504 PyObject *newbuffer; in _PyUnicodeWriter_PrepareInternal() local
13546 newbuffer = PyUnicode_New(newlen, maxchar); in _PyUnicodeWriter_PrepareInternal()
13547 if (newbuffer == NULL) in _PyUnicodeWriter_PrepareInternal()
13549 _PyUnicode_FastCopyCharacters(newbuffer, 0, in _PyUnicodeWriter_PrepareInternal()
13555 newbuffer = resize_compact(writer->buffer, newlen); in _PyUnicodeWriter_PrepareInternal()
13556 if (newbuffer == NULL) in _PyUnicodeWriter_PrepareInternal()
13559 writer->buffer = newbuffer; in _PyUnicodeWriter_PrepareInternal()
13563 newbuffer = PyUnicode_New(writer->size, maxchar); in _PyUnicodeWriter_PrepareInternal()
13564 if (newbuffer == NULL) in _PyUnicodeWriter_PrepareInternal()
13566 _PyUnicode_FastCopyCharacters(newbuffer, 0, in _PyUnicodeWriter_PrepareInternal()
[all …]
/external/flac/libFLAC/
Dstream_decoder.c2953 const FLAC__int32 *newbuffer[FLAC__MAX_CHANNELS]; in write_audio_frame_to_client_() local
2955 newbuffer[channel] = buffer[channel] + delta; in write_audio_frame_to_client_()
2959 …return decoder->private_->write_callback(decoder, &decoder->private_->last_frame, newbuffer, decod… in write_audio_frame_to_client_()
/external/testng/ant/3rdparty/
Dcobertura.jarMETA-INF/ META-INF/MANIFEST.MF net/ net/sourceforge/ net/ ...
/external/guice/extensions/persist/lib/
Dognl-2.6.7.jarMETA-INF/ META-INF/MANIFEST.MF ognl/ ognl/ASTAdd.class ASTAdd ...
/external/guice/extensions/struts2/lib/
Djsp-api-2.1.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/servlet/ javax/ ...
Dognl-3.0.jarMETA-INF/ META-INF/MANIFEST.MF ognl/ ognl/enhance/ ognl/ ...
Djsp-2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
Dfreemarker-2.3.16.jarMETA-INF/ META-INF/MANIFEST.MF freemarker/ freemarker/cache/ freemarker/ ...
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/
Djavaparser-core-2.1.0.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/github/ com/ ...
Djavaparser-core-3.0.0-alpha.2.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/github/ com/ ...