/external/srec/portable/src/ |
H A D | pstream.c | 58 #define FILEBUFFERSIZE 4096 /* 4k for each file buffer entry */ 62 unsigned char *buffer; /* do not use pointer here and set it the first */ member in struct:FileBufferFrame 64 size_t index; /* nth buffer, from 0, 1, ... */ 67 BOOL bMalloc; /* flag, if the buffer malloced here ? */ 106 size: size of buffer. 107 buffer: is NULL, allocate here and set bMalloc as TRUE; otherwise use the external buffer 109 FileBufferFrame* CreateFileBufferFrame(size_t size, unsigned char *buffer) argument 123 if (buffer) 124 fb->buffer 384 PortFread(void *buffer, size_t size, size_t count, PORT_FILE PortFile) argument 446 unsigned char *buffer = (unsigned char *)data; local 834 PortGetcwd(char *buffer, int maxlen) argument [all...] |
/external/apache-http/src/org/apache/http/util/ |
H A D | EntityUtils.java | 75 ByteArrayBuffer buffer = new ByteArrayBuffer(i); 80 buffer.append(tmp, 0, l); 85 return buffer.toByteArray(); 131 CharArrayBuffer buffer = new CharArrayBuffer(i); 136 buffer.append(tmp, 0, l); 141 return buffer.toString();
|
/external/chromium/base/win/ |
H A D | event_trace_provider.cc | 31 ULONG EtwTraceProvider::EnableEvents(void* buffer) { argument 32 session_handle_ = ::GetTraceLoggerHandle(buffer); 59 ULONG EtwTraceProvider::Callback(WMIDPREQUESTCODE request, void* buffer) { argument 62 return EnableEvents(buffer); 72 void* context, ULONG *reserved, void* buffer) { 75 return provider->Callback(request, buffer); 71 ControlCallback(WMIDPREQUESTCODE request, void* context, ULONG *reserved, void* buffer) argument
|
/external/chromium/chrome/common/ |
H A D | service_process_util_posix.cc | 26 int buffer; local 27 int length = read(fd, &buffer, sizeof(buffer)); 28 if ((length == sizeof(buffer)) && (buffer == kShutDownMessage)) { 32 LOG(ERROR) << "Unexpected read: " << buffer;
|
/external/jpeg/ |
H A D | jdatasrc.c | 29 JOCTET * buffer; /* start of buffer */ member in struct:__anon5464 49 * but we don't clear the input buffer. 57 * Fill the input buffer --- called whenever buffer is emptied. 59 * In typical applications, this should read fresh data into the buffer 61 * reset the pointer & count to the start of the buffer, and return TRUE 62 * indicating that the buffer has been reloaded. It is not necessary to 63 * fill the buffer entirely, only to obtain at least one more byte. 67 * the buffer [all...] |
/external/llvm/lib/Archive/ |
H A D | ArchiveWriter.cpp | 86 char buffer[32]; local 87 sprintf(buffer, "%-8o", mbr.getMode()); 88 memcpy(hdr.mode,buffer,8); 89 sprintf(buffer, "%-6u", mbr.getUser()); 90 memcpy(hdr.uid,buffer,6); 91 sprintf(buffer, "%-6u", mbr.getGroup()); 92 memcpy(hdr.gid,buffer,6); 96 sprintf(buffer,"%-12u", unsigned(secondsSinceEpoch)); 97 memcpy(hdr.date,buffer,12); 145 buffer[ 301 char buffer[32]; local [all...] |
/external/nist-sip/java/gov/nist/javax/sip/address/ |
H A D | Authority.java | 62 public StringBuffer encode(StringBuffer buffer) { argument 64 userInfo.encode(buffer); 65 buffer.append(AT); 66 hostPort.encode(buffer); 68 hostPort.encode(buffer); 70 return buffer;
|
H A D | TelephoneNumber.java | 188 public StringBuffer encode(StringBuffer buffer) { argument 190 buffer.append('+'); 191 buffer.append(phoneNumber); 193 buffer.append(SEMICOLON); 194 parameters.encode(buffer); 196 return buffer;
|
/external/skia/include/core/ |
H A D | SkBuffer.h | 25 The RBuffer is given the buffer to read from, with either a specified size 57 /** Return true if the buffer has read to the end of the data pointer. 63 /** Read the specified number of bytes from the data pointer. If buffer is not 64 null, copy those bytes into buffer. 66 void read(void* buffer, size_t size) { argument 68 this->readNoSizeCheck(buffer, size); 85 void readNoSizeCheck(void* buffer, size_t size); 95 The WBuffer is given the buffer to write into, with either a specified size 122 void write(const void* buffer, size_t size) { argument 124 this->writeNoSizeCheck(buffer, siz [all...] |
/external/srec/audio/AudioIn/UNIX/src/ |
H A D | audioinwrapper.cpp | 97 // TODO: get record buffer size from hardware. 126 int AudioRead(short *buffer, int frame_count) argument 130 n = read(audiofd, buffer, frame_count*sizeof(short)*N_CHANNELS); 135 n = record->read(buffer, nreq); 144 fwrite ( buffer, 2, n, audio_data ); 192 int AudioRead(short *buffer, int frame_count) argument 197 int AudioWrite(short *buffer, int frame_count) argument
|
/external/stlport/test/unit/ |
H A D | istmit_test.cpp | 60 char buffer[100]; local 68 (i < sizeof(buffer) / sizeof(buffer[0]))) { //*TY 07/28/98 - added index check 69 buffer[i++] = *s++; 71 buffer[i] = '\0'; // Null terminate buffer. 73 CPPUNIT_ASSERT(!strcmp(buffer, buff));
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
H A D | GlyphPageTreeNodeChromiumWin.cpp | 64 // Multilingual Plane (<= U+FFFF). The input buffer size should be the 69 UChar* buffer, 84 return fillBMPGlyphs(offset, length, buffer, page, fontData, false); 131 GetGlyphIndices(dc, buffer, length, localGlyphBuffer, GGI_MARK_NONEXISTING_GLYPHS); 143 UChar c = buffer[i]; 168 // For non-BMP characters, each is two words (UTF-16) and the input buffer 186 UChar* buffer, 192 UniscribeHelperTextRun state(buffer, length * 2, false, 201 // Each character in this input buffer is a surrogate pair, which 222 // FIXME: Add assertions to make sure that buffer i 67 fillBMPGlyphs(unsigned offset, unsigned length, UChar* buffer, GlyphPage* page, const SimpleFontData* fontData, bool recurse) argument 184 fillNonBMPGlyphs(unsigned offset, unsigned length, UChar* buffer, GlyphPage* page, const SimpleFontData* fontData) argument [all...] |
/external/yaffs2/yaffs2/ |
H A D | yaffs_nand.c | 24 __u8 * buffer, 37 result = dev->readChunkWithTagsFromNAND(dev, realignedChunkInNAND, buffer, 42 buffer, 56 const __u8 * buffer, 79 return dev->writeChunkWithTagsToNAND(dev, chunkInNAND, buffer, 84 buffer, 23 yaffs_ReadChunkWithTagsFromNAND(yaffs_Device * dev, int chunkInNAND, __u8 * buffer, yaffs_ExtendedTags * tags) argument 54 yaffs_WriteChunkWithTagsToNAND(yaffs_Device * dev, int chunkInNAND, const __u8 * buffer, yaffs_ExtendedTags * tags) argument
|
/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | stringutils.h | 189 size_t strlenn(const CTYPE* buffer, size_t buflen) { argument 191 while (buffer[bufpos] && (bufpos < buflen)) { 201 size_t strcpyn(CTYPE* buffer, size_t buflen, argument 211 memcpy(buffer, source, srclen * sizeof(CTYPE)); 212 buffer[srclen] = 0; 217 size_t strcatn(CTYPE* buffer, size_t buflen, argument 222 size_t bufpos = strlenn(buffer, buflen - 1); 223 return bufpos + strcpyn(buffer + bufpos, buflen - bufpos, source, srclen); 229 size_t vsprintfn(CTYPE* buffer, size_t buflen, const CTYPE* format, argument 231 int len = vsnprintf(buffer, bufle 247 sprintfn(CTYPE* buffer, size_t buflen, const CTYPE* format, ...) argument 272 asccpyn(char* buffer, size_t buflen, const char* source, size_t srclen = SIZE_UNKNOWN) argument [all...] |
/external/icu4c/i18n/ |
H A D | coleitr.cpp | 101 // buffer 118 // checking normalization buffer 123 // both are in the normalization buffer 128 // not in the same position in the normalization buffer 216 UChar *buffer = NULL; local 219 buffer = (UChar *)uprv_malloc(U_SIZEOF_UCHAR); 221 if (buffer == NULL) { 225 *buffer = 0; 228 buffer = (UChar *)uprv_malloc(U_SIZEOF_UCHAR * length); 230 if (buffer 351 UChar *buffer; local [all...] |
/external/apache-http/src/org/apache/http/impl/cookie/ |
H A D | RFC2965Spec.java | 181 protected void formatCookieAsVer(final CharArrayBuffer buffer, argument 183 super.formatCookieAsVer(buffer, cookie, version); 189 buffer.append("; $Port"); 190 buffer.append("=\""); 196 buffer.append(","); 198 buffer.append(Integer.toString(ports[i])); 202 buffer.append("\""); 250 CharArrayBuffer buffer = new CharArrayBuffer(40); 251 buffer.append(SM.COOKIE2); 252 buffer [all...] |
/external/javassist/src/main/javassist/bytecode/ |
H A D | ByteStream.java | 102 byte[] buffer = buf; 103 buffer[pos++] = (byte)(sLen >>> 8); 104 buffer[pos++] = (byte)sLen; 108 buffer[pos++] = (byte)c; 134 byte[] buffer = buf; 135 buffer[pos] = (byte)(size >>> 8); 136 buffer[pos + 1] = (byte)size; 141 buffer[pos++] = (byte) c; 143 buffer[pos] = (byte)(0xe0 | ((c >> 12) & 0x0f)); 144 buffer[po [all...] |
/external/kernel-headers/original/linux/ |
H A D | moduleparam.h | 34 typedef int (*param_get_fn)(char *buffer, struct kernel_param *kp); 108 extern int param_get_byte(char *buffer, struct kernel_param *kp); 112 extern int param_get_short(char *buffer, struct kernel_param *kp); 116 extern int param_get_ushort(char *buffer, struct kernel_param *kp); 120 extern int param_get_int(char *buffer, struct kernel_param *kp); 124 extern int param_get_uint(char *buffer, struct kernel_param *kp); 128 extern int param_get_long(char *buffer, struct kernel_param *kp); 132 extern int param_get_ulong(char *buffer, struct kernel_param *kp); 136 extern int param_get_charp(char *buffer, struct kernel_param *kp); 140 extern int param_get_bool(char *buffer, struc [all...] |
/external/webkit/Source/WebCore/platform/win/ |
H A D | FileSystemWin.cpp | 91 Vector<UChar> buffer(MAX_PATH); 93 if (path.length() + 1 > buffer.size()) 96 memcpy(buffer.data(), path.characters(), path.length() * sizeof(UChar)); 97 buffer[path.length()] = '\0'; 100 if (!PathAppendW(buffer.data(), componentCopy.charactersWithNullTermination())) 103 buffer.resize(wcslen(buffer.data())); 105 return String::adopt(buffer); 166 Vector<UChar> buffer(MAX_PATH); 167 if (FAILED(SHGetFolderPathW(0, pathIdentifier | CSIDL_FLAG_CREATE, 0, 0, buffer [all...] |
/external/chromium/net/disk_cache/ |
H A D | mapped_file_posix.cc | 37 return Read(block->buffer(), block->size(), offset); 42 return Write(block->buffer(), block->size(), offset);
|
H A D | mapped_file_win.cc | 47 return Read(block->buffer(), block->size(), offset); 52 return Write(block->buffer(), block->size(), offset);
|
/external/chromium/net/spdy/ |
H A D | spdy_io_buffer.h | 23 // |buffer| is the actual data buffer. 24 // |size| is the size of the data buffer. 25 // |priority| is the priority of this buffer. Lower numbers are higher 27 // |stream| is a pointer to the stream which is managing this buffer. 28 SpdyIOBuffer(IOBuffer* buffer, int size, int priority, SpdyStream* stream); 33 DrainableIOBuffer* buffer() const { return buffer_; } function in class:net::SpdyIOBuffer
|
/external/e2fsprogs/ext2ed/ |
H A D | super_com.c | 123 char *ptr,buffer [80]; local 125 ptr=parse_word (command_line,buffer); 129 ptr=parse_word (ptr,buffer); 131 copy_num=atol (buffer); 142 sprintf (buffer,"setoffset %ld",device_offset);dispatch (buffer); 143 strcpy (buffer,"show");dispatch (buffer);
|
/external/easymock/src/org/easymock/internal/matchers/ |
H A D | Captures.java | 36 public void appendTo(StringBuffer buffer) {
argument 37 buffer.append("capture(").append(capture).append(")");
|
H A D | Compare.java | 40 public void appendTo(StringBuffer buffer) {
argument 41 buffer.append(comparator + "(" + expected + ") " + operator.getSymbol()
|