HomeSort by relevance Sort by last modified time
    Searched full:buffer (Results 176 - 200 of 7143) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/ppp/pppd/plugins/radius/
radrealms.c 47 char buffer[512], *p; local
74 while ((fgets(buffer, sizeof(buffer), fd) != NULL)) {
77 if ((*buffer == '\n') || (*buffer == '#') || (*buffer == '\0'))
80 buffer[strlen(buffer)-1] = '\0';
82 p = strtok(buffer, "\t ");
88 line, buffer);
    [all...]
  /frameworks/base/core/tests/coretests/src/android/net/
LocalSocketTest.java 74 byte[] buffer = new byte[16];
77 countRead = ls.getInputStream().read(buffer, 1, 15);
80 assertEquals(2, buffer[1]);
81 assertEquals(3, buffer[2]);
82 assertEquals(4, buffer[3]);
83 assertEquals(5, buffer[4]);
87 ls.getInputStream().read(buffer, 1, 16);
94 ls.getOutputStream().write(buffer, 1, 16);
101 ls.getOutputStream().write(buffer, -1, 15);
108 ls.getOutputStream().write(buffer, 0, -1)
    [all...]
  /dalvik/libcore/nio/src/main/java/java/nio/
DirectByteBuffers.java 29 * Explicitly frees the memory used by the given direct byte buffer.
40 * the direct byte buffer memory to free
42 * if the buffer is <code>null</code> or is not a
43 * <em>direct</em> byte buffer.
54 * Returns the platform address of the start of this buffer instance.
56 * be an address that was explicitly malloc'ed (i.e. if this buffer is the
64 * the direct byte buffer
65 * @return the effective address of the start of the buffer.
67 * if this buffer address is known to have been freed
  /dalvik/libcore/nio/src/main/java/java/nio/channels/
WritableByteChannel.java 34 * Writes bytes from the given buffer to the channel.
37 * <code>remaining()</code> number of bytes in the buffer when the method
38 * invoked. The bytes will be written from the buffer starting at the
39 * buffer's <code>position</code>.
44 * Upon completion, the buffer's <code>position()</code> is updated to the
45 * end of the bytes that were written. The buffer's <code>limit()</code>
48 * @param buffer
49 * the byte buffer containing the bytes to be written.
63 public int write(ByteBuffer buffer) throws IOException;
  /external/opencore/oscl/oscl/osclbase/src/
oscl_refcounter.h 84 * Takes a pointer to the buffer to track, and a pointer
86 * the buffer.
88 * When the reference count reaches zero, the buffer will
92 * be part of the buffer being deleted. For such cases,
93 * the object pointer must be equal to the buffer pointer
95 * buffer being deleted, it will self-destruct with a call
98 * @param p pointer to the buffer to track
100 * deleting the buffer
131 // buffer is part of the refcounter
136 // delete the buffer and the refcounter objec
    [all...]
  /external/webkit/WebCore/platform/text/qt/
TextBreakIteratorQt.cpp 39 static unsigned char buffer[1024]; member in namespace:WebCore
48 *iterator = QTextBoundaryFinder(QTextBoundaryFinder::Word, (const QChar *)string, length, buffer, sizeof(buffer));
59 *iterator = QTextBoundaryFinder(QTextBoundaryFinder::Grapheme, (const QChar *)string, length, buffer, sizeof(buffer));
76 *iterator = QTextBoundaryFinder(QTextBoundaryFinder::Line, (const QChar *)string, length, buffer, sizeof(buffer));
87 *iterator = QTextBoundaryFinder(QTextBoundaryFinder::Sentence, (const QChar *)string, length, buffer, sizeof(buffer));
  /frameworks/base/media/libstagefright/
AudioSource.cpp 95 MediaBuffer *buffer; local
96 CHECK_EQ(mGroup->acquire_buffer(&buffer), OK);
101 buffer->meta_data()->setInt64(
106 ssize_t n = mRecord->read(buffer->data(), buffer->size());
109 buffer->release();
110 buffer = NULL;
115 buffer->set_range(0, n);
117 *out = buffer;
  /system/core/nexus/
WifiNetwork.cpp 185 char buffer[255]; local
189 len = sizeof(buffer);
190 if (mSuppl->getNetworkVar(mNetid, "psk", buffer, len))
191 mPsk = strdup(buffer);
197 len = sizeof(buffer);
198 if (mSuppl->getNetworkVar(mNetid, name, buffer, len))
199 mWepKeys[i] = strdup(buffer);
203 len = sizeof(buffer);
204 if (mSuppl->getNetworkVar(mNetid, "wep_tx_keyidx", buffer, len))
205 mDefaultKeyIndex = atoi(buffer);
    [all...]
  /external/apache-http/src/org/apache/http/util/
ByteArrayBuffer.java 45 private byte[] buffer; field in class:ByteArrayBuffer
51 throw new IllegalArgumentException("Buffer capacity may not be negative");
53 this.buffer = new byte[capacity];
57 byte newbuffer[] = new byte[Math.max(this.buffer.length << 1, newlen)];
58 System.arraycopy(this.buffer, 0, newbuffer, 0, this.len);
59 this.buffer = newbuffer;
74 if (newlen > this.buffer.length) {
77 System.arraycopy(b, off, this.buffer, this.len, len);
83 if (newlen > this.buffer.length) {
86 this.buffer[this.len] = (byte)b
143 public byte[] buffer() { method in class:ByteArrayBuffer
    [all...]
  /external/easymock/src/org/easymock/internal/matchers/
And.java 43 public void appendTo(StringBuffer buffer) {
44 buffer.append("and(");
46 it.next().appendTo(buffer);
48 buffer.append(", ");
51 buffer.append(")");
Or.java 43 public void appendTo(StringBuffer buffer) {
44 buffer.append("or(");
46 it.next().appendTo(buffer);
48 buffer.append(", ");
51 buffer.append(")");
  /frameworks/base/include/media/stagefright/
MediaBufferGroup.h 35 void add_buffer(MediaBuffer *buffer);
37 // Blocks until a buffer is available and returns it to the caller,
38 // the returned buffer will have a reference count of 1.
39 status_t acquire_buffer(MediaBuffer **buffer);
42 virtual void signalBufferReturned(MediaBuffer *buffer);
  /system/bluetooth/brfpatch/
brfpatch.c 77 static void process_line(FILE *file_out, char *buf, char *buffer) {
78 FAILIF(strncmp(buf, "Send_", 5) != 0, "Not expecting: %s\n", buffer);
83 FAILIF(advance(&buf), "Could not find opcode in: %s\n", buffer); local
85 "Could not find opcode in: %s\n", buffer);
97 "Too much data: %s\n", buffer);
99 "Error parsing (%d): %s\n", __LINE__, buffer);
108 FAILIF(*buf != 'x', "Error parsing: %s\n", buffer);
120 "Error parsing (%d): %s\n", __LINE__, buffer);
126 "Error parsing (%d): %s\n", __LINE__, buffer);
132 "Error parsing (%d): %s\n", __LINE__, buffer);
177 char buffer[1024]; local
    [all...]
  /system/wlan/ti/sta_dk_4_0_4_32/common/src/TNETW_Driver/TNETWIF/TNETWArbiter/
TNETWArb_buffer.c 46 /* Each module has its own buffer in the TNETW Arbiter synchronizer */
52 ** Description Called by an application to initialize a buffer queue.
69 ** Description Return a pointer to the first buffer in a queue
71 ** Returns NULL if queue is empty, else buffer address
83 ** Description Return a pointer to the next buffer in a queue
85 ** Returns NULL if no more buffers in the queue, else next buffer address
109 ** Description Dequeue a buffer from the middle of the queue
111 ** Returns NULL if queue is empty, else buffer
133 /* Unlink the buffer since it has been removed from the queue */
149 ** Description Dequeue a buffer from the head of a queu
    [all...]
  /external/e2fsprogs/ext2ed/
inode_com.c 26 char *ptr,buffer [80]; local
32 ptr=parse_word (command_line,buffer);
35 ptr=parse_word (ptr,buffer);
36 mult=atol (buffer);
55 sprintf (buffer,"setoffset %ld",device_offset);dispatch (buffer);
56 strcpy (buffer,"show");dispatch (buffer);
73 char *ptr,buffer [80]; local
79 ptr=parse_word (command_line,buffer);
285 char *ptr,buffer [80]; local
318 char buffer [80]; local
332 char buffer [80]; local
350 char buffer [80]; local
    [all...]
  /external/freetype/include/freetype/internal/
ftstream.h 152 /* Integer extraction macros -- the `buffer' parameter must ALWAYS be of */
224 #define FT_NEXT_CHAR( buffer ) \
225 ( (signed char)*buffer++ )
227 #define FT_NEXT_BYTE( buffer ) \
228 ( (unsigned char)*buffer++ )
230 #define FT_NEXT_SHORT( buffer ) \
231 ( (short)( buffer += 2, FT_PEEK_SHORT( buffer - 2 ) ) )
233 #define FT_NEXT_USHORT( buffer ) \
234 ( (unsigned short)( buffer += 2, FT_PEEK_USHORT( buffer - 2 ) )
    [all...]
  /cts/tools/dex-tools/src/dex/reader/
DexClassImpl.java 41 private final DexBuffer buffer; field in class:DexClassImpl
69 public DexClassImpl(DexBuffer buffer, ClassDefItem classDefItem,
72 this.buffer = buffer;
120 buffer.setPosition(classDefItem.annotations_off);
122 annotationDir.class_annotations_off = buffer.readUInt();
123 annotationDir.fields_size = buffer.readUInt();
124 annotationDir.methods_size = buffer.readUInt();
125 annotationDir.annotated_params_size = buffer.readUInt();
132 annotationDir.fieldAnnotations[i].fieldIdx = buffer
    [all...]
  /external/bluetooth/bluez/audio/
gstsbcparse.c 61 static GstFlowReturn sbc_parse_chain(GstPad *pad, GstBuffer *buffer)
69 if (parse->buffer) {
71 temp = buffer;
72 buffer = gst_buffer_span(parse->buffer, 0, buffer,
73 GST_BUFFER_SIZE(parse->buffer)
74 + GST_BUFFER_SIZE(buffer));
75 gst_buffer_unref(parse->buffer);
77 parse->buffer = NULL
    [all...]
  /external/qemu/
vnc.h 52 typedef struct Buffer
56 uint8_t *buffer; member in struct:Buffer
57 } Buffer;
145 Buffer output;
146 Buffer input;
160 Buffer zlib;
161 Buffer zlib_tmp;
293 /* Buffer I/O functions */
306 /* Buffer management */
307 void buffer_reserve(Buffer *buffer, size_t len)
    [all...]
  /dalvik/libcore/luni/src/main/java/java/io/
PipedReader.java 45 * The circular buffer through which data is passed. Data is read from the
47 * Data in the buffer is either sequential: <pre>
52 * ...or wrapped around the buffer's end: <pre>
57 * When the buffer is empty, {@code in == -1}. Reading when the buffer is
58 * empty will block until data is available. When the buffer is full,
59 * {@code in == out}. Writing when the buffer is full will block until free
62 private char[] buffer; field in class:PipedReader
65 * The index in {@code buffer} where the next character will be written.
70 * The index in {@code buffer} where the next character will be read
    [all...]
  /external/freetype/src/psaux/
psconv.h 48 FT_Byte* buffer,
55 FT_Byte* buffer,
61 FT_Byte* buffer,
  /external/skia/src/ports/
SkDebug_stdio.cpp 26 char buffer[kBufferSize + 1]; local
29 vsnprintf(buffer, kBufferSize, format, args);
31 fprintf(stderr, "%s", buffer);
  /hardware/libhardware/include/hardware/
gralloc.h 44 /* buffer is never read in software */
46 /* buffer is rarely read in software */
48 /* buffer is often read in software */
53 /* buffer is never written in software */
55 /* buffer is never written in software */
57 /* buffer is never written in software */
62 /* buffer will be used as an OpenGL ES texture */
64 /* buffer will be used as an OpenGL ES render target */
66 /* buffer will be used by the 2D hardware blitter */
68 /* buffer will be used with the framebuffer device *
    [all...]
  /dalvik/libcore/luni/src/main/java/java/util/
FormatFlagsConversionMismatchException.java 78 StringBuilder buffer = new StringBuilder(); local
79 buffer.append("Mismatched Convertor =");
80 buffer.append(c);
81 buffer.append(", Flags= ");
82 buffer.append(f);
83 return buffer.toString();
  /dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/
ExtensionValue.java 55 public void dumpValue(StringBuffer buffer, String prefix) {
56 buffer.append(prefix).append("Unparseable extension value:\n"); //$NON-NLS-1$
61 buffer.append("NULL\n"); //$NON-NLS-1$
63 buffer.append(Array.toString(encoding, prefix));
71 public void dumpValue(StringBuffer buffer) {
72 dumpValue(buffer, ""); //$NON-NLS-1$

Completed in 2357 milliseconds

1 2 3 4 5 6 78 91011>>