/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
CommentImpl.java | 53 return buffer.indexOf("--") != -1;
|
/system/extras/ext4_utils/ |
sha1.h | 33 u_char buffer[64]; member in struct:__anon44043
|
/system/vold/ |
Loop.h | 29 static int lookupActive(const char *id, char *buffer, size_t len);
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
Fat32BootSector.java | 194 buffer.rewind(); 195 buffer.limit(buffer.capacity()); 196 device.write(offset, buffer);
|
/external/libxml2/ |
xmlIO.c | 173 "Inappropriate message buffer length",/* EMSGSIZE */ 201 "buffer full", 800 * @buffer: where to drop data 803 * Read @len bytes to @buffer from the I/O channel. 808 xmlFdRead (void * context, char * buffer, int len) { 811 ret = read((int) (long) context, &buffer[0], len); 820 * @buffer: where to get data 823 * Write @len bytes from @buffer to the I/O channel. 828 xmlFdWrite (void * context, const char * buffer, int len) { 832 ret = write((int) (long) context, &buffer[0], len) 2063 char buffer[ 4096 ]; local 3251 char *buffer = NULL; local [all...] |
/cts/suite/audio_quality/lib/src/ |
SimpleScriptExec.cpp | 73 char buffer[READ_SIZE]; local 81 while((len = fread(buffer, 1, READ_SIZE, fpipe)) > 0) { 82 result.append(buffer, len);
|
/external/apache-http/src/org/apache/http/impl/auth/ |
RFC2617Scheme.java | 67 final CharArrayBuffer buffer, int pos, int len) throws MalformedChallengeException { 69 ParserCursor cursor = new ParserCursor(pos, buffer.length()); 70 HeaderElement[] elements = parser.parseElements(buffer, cursor);
|
/external/apache-http/src/org/apache/http/impl/io/ |
AbstractMessageWriter.java | 53 public AbstractMessageWriter(final SessionOutputBuffer buffer, 57 if (buffer == null) { 58 throw new IllegalArgumentException("Session input buffer may not be null"); 60 this.sessionBuffer = buffer;
|
/external/chromium/net/disk_cache/ |
file_posix.cc | 203 bool File::Read(void* buffer, size_t buffer_len, size_t offset) { 208 int ret = pread(platform_file_, buffer, buffer_len, offset); 212 bool File::Write(const void* buffer, size_t buffer_len, size_t offset) { 217 int ret = pwrite(platform_file_, buffer, buffer_len, offset); 224 bool File::Read(void* buffer, size_t buffer_len, size_t offset, 230 return Read(buffer, buffer_len, offset); 236 GetFileInFlightIO()->PostRead(this, buffer, buffer_len, offset, callback); 242 bool File::Write(const void* buffer, size_t buffer_len, size_t offset, 248 return Write(buffer, buffer_len, offset); 251 return AsyncWrite(buffer, buffer_len, offset, callback, completed) [all...] |
file_win.cc | 123 bool File::Read(void* buffer, size_t buffer_len, size_t offset) { 135 if (!ReadFile(sync_platform_file_, buffer, size, &actual, NULL)) 140 bool File::Write(const void* buffer, size_t buffer_len, size_t offset) { 152 if (!WriteFile(sync_platform_file_, buffer, size, &actual, NULL)) 160 bool File::Read(void* buffer, size_t buffer_len, size_t offset, 166 return Read(buffer, buffer_len, offset); 176 if (!ReadFile(platform_file_, buffer, size, &actual, data->overlapped())) { 192 bool File::Write(const void* buffer, size_t buffer_len, size_t offset, 198 return Write(buffer, buffer_len, offset); 201 return AsyncWrite(buffer, buffer_len, offset, callback, completed) [all...] |
/external/clang/test/Analysis/inlining/ |
inline-defensive-checks.c | 96 void test24(char *buffer) { 97 use(buffer); 98 buffer[1] = 'b';
|
/external/eigen/demos/mandelbrot/ |
mandelbrot.cpp | 21 std::cout << "reallocate buffer" << std::endl; 23 if(buffer) delete[]buffer; 24 buffer = new unsigned char[4*size]; 39 unsigned char *const buffer = widget->buffer; local 98 buffer[4*(pix+i)] = 255*pix_iter[i]/max_iter; 99 buffer[4*(pix+i)+1] = 0; 100 buffer[4*(pix+i)+2] = 0; 106 buffer[4*pix] = buffer[4*pix+1] = buffer[4*pix+2] = 0 [all...] |
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/channel/ |
StreamForwarder.java | 25 byte[] buffer = new byte[Channel.CHANNEL_BUFFER_SIZE]; field in class:StreamForwarder 49 int len = is.read(buffer); 52 os.write(buffer, 0, len);
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/transport/ |
ClientServerHello.java | 26 public static int readLineRN(InputStream is, byte[] buffer) throws IOException 37 buffer[pos++] = (byte) c; 52 if (pos >= buffer.length)
|
/external/harfbuzz_ng/util/ |
main-font-text.hh | 60 hb_buffer_t *buffer = hb_buffer_create (); local 64 consumer.consume_line (buffer, text, text_len, input.text_before, input.text_after); 65 hb_buffer_destroy (buffer);
|
/external/icu4c/io/unicode/ |
ustdio.h | 46 and make sure that a character that is contained across buffer boundries 62 internal conversion buffer. For example, read the buffer size # of 64 at the end of the last buffer. 69 order to prevent buffer overruns. (e.g. %256.256d). 75 better testing. This prevents buffer overflows. 749 * @param buffer The Unicode String to which to write. 752 * @return The number of Unicode code units written to <TT>buffer</TT>. This 757 u_sprintf(UChar *buffer, 764 * units of data are stored in <TT>buffer</TT> and a negative value i [all...] |
/external/icu4c/samples/csdet/ |
csdet.c | 18 static char buffer[BUFFER_SIZE]; local 47 inputLength = (int32_t) fread(buffer, 1, BUFFER_SIZE, file); 52 ucsdet_setText(csd, buffer, inputLength, &status);
|
/external/javassist/src/main/javassist/bytecode/ |
InstructionPrinter.java | 224 StringBuffer buffer = new StringBuffer("lookupswitch {\n"); local 227 buffer.append("\t\tdefault: ").append(pos + iter.s32bitAt(index)).append("\n"); 234 buffer.append("\t\t").append(match).append(": ").append(target).append("\n"); 237 buffer.setCharAt(buffer.length() - 1, '}'); 238 return buffer.toString(); 243 StringBuffer buffer = new StringBuffer("tableswitch {\n"); local 246 buffer.append("\t\tdefault: ").append(pos + iter.s32bitAt(index)).append("\n"); 254 buffer.append("\t\t").append(key).append(": ").append(target).append("\n"); 257 buffer.setCharAt(buffer.length() - 1, '}') [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
SafeArrayList.java | 88 private List<E> buffer; field in class:SafeArrayList 119 if( buffer == null ) { 122 // Only keep the array or the buffer but never both at 125 backingArray = buffer.toArray( createArray(buffer.size()) ); 126 buffer = null; 132 if( buffer != null ) 133 return buffer; 136 buffer = new ArrayList(); 138 // Only keep the array or the buffer but never both a [all...] |
/external/jpeg/ |
jdpostct.c | 24 /* Private buffer controller object */ 29 /* Color quantization source buffer: this holds output data from 31 * For two-pass color quantization, we need a full-image buffer; 32 * for one-pass operation, a strip buffer is sufficient. 35 JSAMPARRAY buffer; /* strip buffer, or current strip of virtual */ member in struct:__anon9389 36 JDIMENSION strip_height; /* buffer size in rows */ 84 * allocate a strip buffer. Use the virtual-array buffer as workspace. 86 if (post->buffer == NULL) [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ |
CallID.java | 85 protected StringBuffer encodeBody(StringBuffer buffer) { 87 callIdentifier.encode(buffer); 89 return buffer;
|
Protocol.java | 70 public StringBuffer encode(StringBuffer buffer) { 71 buffer.append(protocolName.toUpperCase()) 77 return buffer;
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
RetryableOutputStream.java | 56 @Override public synchronized void write(byte[] buffer, int offset, int count) 59 checkOffsetAndCount(buffer.length, offset, count); 63 content.write(buffer, offset, count);
|
/external/opencv/cv/src/ |
cvemd.cpp | 112 char *buffer; member in struct:CvEMDState 323 if( state.buffer && state.buffer != local_buffer_ptr ) 324 cvFree( &state.buffer ); 347 char *buffer, *buffer_end; local 353 /* calculate buffer size */ 373 buffer = local_buffer; 377 buffer = (char*)cvAlloc( buffer_size ); 378 if( !buffer ) 382 state->buffer = buffer [all...] |
/external/ppp/pppd/plugins/pppoatm/ |
atm.h | 91 int atm2text(char *buffer,int length,const struct sockaddr *addr,int flags); 98 int qos2text(char *buffer,int length,const struct atm_qos *qos,int flags); 102 int sap2text(char *buffer,int length,const struct atm_sap *sap,int flags);
|