/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/ |
SinkChannelTest.java | 46 private ByteBuffer buffer; field in class:SinkChannelTest 55 buffer = ByteBuffer.wrap("bytes".getBytes(ISO8859_1)); 71 ByteBuffer[] bufArray = { buffer, positionedBuffer }; 163 int written = sink.write(buffer); 172 sink.write(buffer); 182 ByteBuffer[] bufArray = { buffer, positionedBuffer }; 188 buffer.position(0); 206 assertEquals(BUFFER_SIZE, buffer.position()); 226 ByteBuffer[] nullBufArray = { buffer, nullBuf }; 236 ByteBuffer[] bufArray = { buffer }; [all...] |
/external/chromium/base/ |
sync_socket_win.cc | 110 size_t SyncSocket::Send(const void* buffer, size_t length) { 118 if (WriteFile(handle_, static_cast<const char*>(buffer) + count, 127 size_t SyncSocket::Receive(void* buffer, size_t length) { 134 if (ReadFile(handle_, static_cast<char*>(buffer) + count,
|
/external/chromium/chrome/browser/sync/util/ |
extensions_activity_monitor.h | 51 // Fills |buffer| with snapshot of current records in constant time by 53 void GetAndClearRecords(Records* buffer);
|
/external/chromium/net/disk_cache/ |
storage_block.h | 19 // This object provides a memory buffer for the related data, and it can be used 38 virtual void* buffer() const; 49 // own the memory buffer (it cannot be shared). 64 // Returns true if this object owns the data buffer, false if it is shared.
|
/external/chromium/net/websockets/ |
websocket_frame_handler.h | 40 // Otherwise, it just picks the first buffer in |pending_buffers_|. 41 // Returns available size of data, 0 if no more data or current buffer was 52 // Returns original buffer size of current IOBuffer. 60 // Parses WebSocket frame in [|buffer|, |buffer|+|size|), fills frame 63 static int ParseWebSocketFrame(const char* buffer, int size,
|
/external/chromium/testing/gtest/include/gtest/internal/ |
gtest-string.h | 186 // "<buffer exceeded>" is returned. 205 // buffer. E.g. String("hello", 3) creates the string "hel", 208 String(const char* buffer, size_t a_length) { 209 ConstructNonNull(buffer, a_length); 302 void ConstructNonNull(const char* buffer, size_t a_length) { 304 memcpy(str, buffer, a_length); 332 // Gets the content of the stringstream's buffer as a String. Each '\0' 333 // character in the buffer is replaced with "\\0".
|
/external/chromium/third_party/libjingle/source/talk/base/ |
socketstream.h | 51 virtual StreamResult Read(void* buffer, size_t buffer_len,
|
/external/clang/test/CodeGen/ |
blocks.c | 60 char buffer[32] __attribute((aligned));
|
/external/clang/test/Sema/ |
warn-cast-align.c | 32 char buffer[16]; member in struct:A
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/model/ |
ComponentResultsElement.java | 204 StringBuffer writableStatus(StringBuffer buffer, int kind, StringBuffer excluded) { 213 buffer.append(getName()); 218 buffer.append(" "); 220 buffer.append(" "); 222 buffer.append(comment); 224 buffer.append(Util.LINE_SEPARATOR); 225 buffer.append(childrenBuffer); 226 buffer.append(Util.LINE_SEPARATOR); 229 return buffer;
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/reflect/ |
ReflectionUtils.java | 109 private static void appendParameterTypes(StringBuilder buffer, Type[] parameterTypes) { 110 buffer.append('('); 116 buffer.append(','); 118 buffer.append(getFullyQualifiedName(parameterType, false)); 120 buffer.append(')'); 182 StringBuilder buffer = new StringBuilder(); local 183 buffer.append(name); 184 appendParameterTypes(buffer, parameterTypes); 185 return buffer.toString();
|
/external/flac/libFLAC/ |
bitwriter.c | 74 * The default capacity here doesn't matter too much. The buffer always grows 76 * a frame or metadata block, then write that out and clear the buffer for the 103 bwword *buffer; member in struct:FLAC__BitWriter 104 bwword accum; /* accumulator; bits are right-justified; when full, accum is appended to buffer */ 105 unsigned capacity; /* capacity of buffer in words */ 106 unsigned words; /* # of complete words in buffer */ 119 /* * WATCHOUT: The current implementation only grows the buffer. */ 126 FLAC__ASSERT(0 != bw->buffer); 145 new_buffer = (bwword*)safe_realloc_mul_2op_(bw->buffer, sizeof(bwword), /*times*/new_capacity); 148 bw->buffer = new_buffer 236 const FLAC__byte *buffer; local 251 const FLAC__byte *buffer; local [all...] |
/external/freetype/include/freetype/internal/services/ |
svgldict.h | 40 FT_Pointer buffer,
|
/external/gtest/include/gtest/internal/ |
gtest-string.h | 186 // "<buffer exceeded>" is returned. 205 // buffer. E.g. String("hello", 3) creates the string "hel", 208 String(const char* buffer, size_t a_length) { 209 ConstructNonNull(buffer, a_length); 302 void ConstructNonNull(const char* buffer, size_t a_length) { 304 memcpy(str, buffer, a_length); 332 // Gets the content of the stringstream's buffer as a String. Each '\0' 333 // character in the buffer is replaced with "\\0".
|
/external/icu4c/common/ |
unames.cpp | 238 #define WRITE_CHAR(buffer, bufferLength, bufferPos, c) { \ 240 *(buffer)++=c; \ 263 char *buffer, uint16_t bufferLength) { 302 WRITE_CHAR(buffer, bufferLength, bufferPos, c); 317 WRITE_CHAR(buffer, bufferLength, bufferPos, c); 334 WRITE_CHAR(buffer, bufferLength, bufferPos, c); 342 *buffer=0; 471 static uint16_t getExtName(uint32_t code, char *buffer, uint16_t bufferLength) { 478 WRITE_CHAR(buffer, bufferLength, length, '<'); 480 WRITE_CHAR(buffer, bufferLength, length, catname[length - 1]) 631 char buffer[200]; local 671 char buffer[200]; local 963 char buffer[200]; local 1144 char buffer[64]; local [all...] |
/external/icu4c/test/intltest/ |
dcfmtest.h | 37 virtual const char *getPath(char buffer[2048], const char *filename);
|
textfile.h | 63 char* buffer; member in class:TextFile
|
/external/icu4c/tools/toolutil/ |
writesrc.c | 30 char buffer[1024]; local 40 uprv_strcpy(buffer, path); 41 q=buffer+uprv_strlen(buffer); 42 if(q>buffer && (c=*(q-1))!=U_FILE_SEP_CHAR && c!=U_FILE_ALT_SEP_CHAR) { 46 p=buffer; 59 strftime(buffer, sizeof(buffer), "%Y-%m-%d", lt); 60 fprintf(f, header, year, filename, buffer);
|
/external/jpeg/ |
example.c | 57 * pointer to our image buffer. In particular, let's say that the image is 93 int row_stride; /* physical row width in image buffer */ 219 * buffer, but to send it line-by-line someplace else. We need a one- 220 * scanline-high JSAMPLE array as a work buffer, and we will let the JPEG 222 * because we don't need to remember to deallocate the buffer separately: it 242 * longjmp(). But we need to make the setjmp buffer accessible to the 297 JSAMPARRAY buffer; /* Output row buffer */ local 298 int row_stride; /* physical row width in output buffer */ 358 * In this example, we need to make an output work buffer of the right size [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/ |
BufferedResourceLoader.java | 39 protected Reader buffer(Reader reader) { method in class:BufferedResourceLoader
|
/external/libnfc-nxp/Linux_x86/ |
phDal4Nfc_uart.c | 245 /* returns length of buffer after errors */ 246 static int apply_errors(uint8_t *buffer, int length) { 255 memcpy(&buffer[i], &buffer[i+1], length-i); 259 buffer[i] = (uint8_t)rand(); 421 char buffer[2]; local 425 if (snprintf(buffer, sizeof(buffer), "%u", (unsigned int)level) != 1) { 436 sz = write(fd, &buffer, sizeof(buffer) - 1) [all...] |
/external/libvorbis/test/ |
write_read.c | 89 /* expose the buffer to submit data */ 90 float **buffer = vorbis_analysis_buffer (&vd,count); local 94 memcpy (buffer [i], data, count * sizeof (float)) ; 146 char *buffer; local 162 buffer = ogg_sync_buffer (&oy,8192); 163 bytes = fread (buffer,1,8192,file); 219 buffer = ogg_sync_buffer (&oy,4096); 220 bytes = fread (buffer,1,4096,file); 277 buffer = ogg_sync_buffer (&oy,4096); 278 bytes = fread (buffer,1,4096,file) [all...] |
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/ |
gtest-string.h | 186 // "<buffer exceeded>" is returned. 205 // buffer. E.g. String("hello", 3) creates the string "hel", 208 String(const char* buffer, size_t a_length) { 209 ConstructNonNull(buffer, a_length); 302 void ConstructNonNull(const char* buffer, size_t a_length) { 304 memcpy(str, buffer, a_length); 332 // Gets the content of the stringstream's buffer as a String. Each '\0' 333 // character in the buffer is replaced with "\\0".
|
/external/libvpx/libvpx/vp8/encoder/ |
boolhuff.c | 49 br->buffer = source;
|
/external/llvm/lib/Support/Windows/ |
Windows.h | 37 char *buffer = NULL; local 39 NULL, GetLastError(), 0, (LPSTR)&buffer, 1, NULL); 40 *ErrMsg = prefix + buffer; 41 LocalFree(buffer);
|