HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 201 - 225 of 3205) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/webkit/WebCore/platform/graphics/qt/
FontCustomPlatformDataQt.cpp 49 FontCustomPlatformData* createFontCustomPlatformData(SharedBuffer* buffer)
51 ASSERT_ARG(buffer, buffer);
53 int id = QFontDatabase::addApplicationFontFromData(QByteArray(buffer->data(), buffer->size()));
  /libcore/junit/src/main/java/junit/framework/
TestFailure.java 40 StringBuffer buffer= new StringBuffer(); local
41 buffer.append(fFailedTest+": "+fThrownException.getMessage());
42 return buffer.toString();
48 StringBuffer buffer= stringWriter.getBuffer(); local
49 return buffer.toString();
  /libcore/luni/src/main/java/java/io/
FilterInputStream.java 120 * {@code buffer}. Returns the number of bytes actually read or -1 if no
124 * @param buffer
132 public int read(byte[] buffer) throws IOException {
133 return read(buffer, 0, buffer.length);
138 * byte array {@code buffer} starting at {@code offset}. Returns the number
143 * @param buffer
146 * the initial position in {@code buffer} to store the bytes
149 * the maximum number of bytes to store in {@code buffer}.
156 public int read(byte[] buffer, int offset, int count) throws IOException
    [all...]
PipedInputStream.java 36 * The circular buffer through which data is passed. Data is read from the
38 * Data in the buffer is either sequential: <pre>
43 * ...or wrapped around the buffer's end: <pre>
48 * When the buffer is empty, {@code in == -1}. Reading when the buffer is
49 * empty will block until data is available. When the buffer is full,
50 * {@code in == out}. Writing when the buffer is full will block until free
53 protected byte[] buffer; field in class:PipedInputStream
56 * The index in {@code buffer} where the next byte will be written.
61 * The index in {@code buffer} where the next byte will be read
    [all...]
  /system/core/libsysutils/src/
FrameworkClient.cpp 31 char *buffer = (char *) alloca(strlen(msg) + strlen(data) + 1); local
32 if (!buffer) {
36 strcpy(buffer, msg);
37 strcat(buffer, data);
38 return sendMsg(buffer);
  /external/protobuf/src/google/protobuf/stubs/
strutil.h 56 // to identifiers in the protocol buffer language, not to natural-language
131 // identifiers used in the Protocol Buffer language, not to natural-language
230 // a dest buffer. This should be used for non performance critical
336 // All functions take the output buffer as an arg.
338 // which may not be the beginning of the input buffer.
341 // Suggested buffer size for FastToBuffer functions. Also works with
345 LIBPROTOBUF_EXPORT char* FastInt32ToBuffer(int32 i, char* buffer);
346 LIBPROTOBUF_EXPORT char* FastInt64ToBuffer(int64 i, char* buffer);
347 char* FastUInt32ToBuffer(uint32 i, char* buffer); // inline below
348 char* FastUInt64ToBuffer(uint64 i, char* buffer); // inline belo
    [all...]
  /external/skia/src/effects/
SkBlurDrawLooper.cpp 18 SkBlurDrawLooper::SkBlurDrawLooper(SkFlattenableReadBuffer& buffer)
20 fDx = buffer.readScalar();
21 fDy = buffer.readScalar();
22 fBlurColor = buffer.readU32();
23 fBlur = static_cast<SkMaskFilter*>(buffer.readFlattenable());
31 void SkBlurDrawLooper::flatten(SkFlattenableWriteBuffer& buffer)
33 buffer.writeScalar(fDx);
34 buffer.writeScalar(fDy);
35 buffer.write32(fBlurColor);
36 buffer.writeFlattenable(fBlur)
    [all...]
  /packages/apps/Email/src/org/apache/commons/io/
HexDump.java 73 StringBuffer buffer = new StringBuffer(74); local
81 dump(buffer, display_offset).append(' ');
84 dump(buffer, data[k + j]);
86 buffer.append(" ");
88 buffer.append(' ');
92 buffer.append((char) data[k + j]);
94 buffer.append('.');
97 buffer.append(EOL);
98 stream.write(buffer.toString().getBytes());
100 buffer.setLength(0);
    [all...]
  /external/chromium/third_party/icu/source/tools/pkgdata/
pkgtypes.c 30 char buffer[1024]; local
35 uprv_strncpy(buffer, l->str, 1020);
36 buffer[1019]=0;
39 if(buffer[uprv_strlen(buffer)-1] == '"') {
40 buffer[uprv_strlen(buffer)-1] = '\0';
42 if(buffer[0] == '"') {
43 uprv_strcpy(buffer, buffer+1)
75 char buffer[1024]; local
    [all...]
  /external/icu4c/tools/pkgdata/
pkgtypes.c 30 char buffer[1024]; local
35 uprv_strncpy(buffer, l->str, 1020);
36 buffer[1019]=0;
39 if(buffer[uprv_strlen(buffer)-1] == '"') {
40 buffer[uprv_strlen(buffer)-1] = '\0';
42 if(buffer[0] == '"') {
43 uprv_strcpy(buffer, buffer+1)
75 char buffer[1024]; local
    [all...]
  /external/bluetooth/bluez/audio/
gstsbcparse.c 62 static GstFlowReturn sbc_parse_chain(GstPad *pad, GstBuffer *buffer)
70 if (parse->buffer) {
72 temp = buffer;
73 buffer = gst_buffer_span(parse->buffer, 0, buffer,
74 GST_BUFFER_SIZE(parse->buffer)
75 + GST_BUFFER_SIZE(buffer));
76 gst_buffer_unref(parse->buffer);
78 parse->buffer = NULL
    [all...]
  /external/apache-http/src/org/apache/http/client/utils/
URIUtils.java 81 StringBuilder buffer = new StringBuilder(); local
84 buffer.append(scheme);
85 buffer.append("://");
87 buffer.append(host);
89 buffer.append(':');
90 buffer.append(port);
94 buffer.append('/');
97 buffer.append(path);
100 buffer.append('?');
101 buffer.append(query)
    [all...]
  /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...]
  /frameworks/base/media/libstagefright/mpeg2ts/
AnotherPacketSource.cpp 61 const sp<ABuffer> buffer = *mBuffers.begin(); local
65 if (buffer->meta()->findInt32("discontinuity", &discontinuity)
70 CHECK(buffer->meta()->findInt64(
73 MediaBuffer *mediaBuffer = new MediaBuffer(buffer->size());
76 // hexdump(buffer->data(), buffer->size());
78 memcpy(mediaBuffer->data(), buffer->data(), buffer->size());
87 void AnotherPacketSource::queueAccessUnit(const sp<ABuffer> &buffer) {
89 if (buffer->meta()->findInt32("damaged", &damaged) && damaged)
104 sp<ABuffer> buffer = new ABuffer(0); local
    [all...]
  /external/chromium/third_party/icu/source/test/iotest/
filetst.c 428 UChar buffer[2048]; local
449 u_memset(buffer, 0xBEEF, sizeof(buffer)/sizeof(buffer[0]));
451 u_uastrncpy(buffer, testStr, expectedSize+1);
453 u_file_write(buffer, expectedSize, myFile);
454 u_strcat(expectedBuffer, buffer);
458 u_memset(buffer, 0xBEEF, sizeof(buffer)/sizeof(buffer[0]))
563 UChar buffer[1024]; local
584 UChar buffer[2048]; local
644 UChar buffer[256]; local
719 UChar buffer[64]; local
785 UChar buffer[2003]; \/* Use a non-power of 2 or 10 *\/ local
1076 char buffer[256]; local
1217 char buffer[256]; local
1435 UChar * buffer; local
    [all...]
  /external/icu4c/test/iotest/
filetst.c 432 UChar buffer[2048]; local
453 u_memset(buffer, 0xBEEF, sizeof(buffer)/sizeof(buffer[0]));
455 u_uastrncpy(buffer, testStr, expectedSize+1);
457 u_file_write(buffer, expectedSize, myFile);
458 u_strcat(expectedBuffer, buffer);
462 u_memset(buffer, 0xBEEF, sizeof(buffer)/sizeof(buffer[0]))
567 UChar buffer[1024]; local
588 UChar buffer[2048]; local
648 UChar buffer[256]; local
723 UChar buffer[64]; local
789 UChar buffer[2003]; \/* Use a non-power of 2 or 10 *\/ local
1080 char buffer[256]; local
1221 char buffer[256]; local
1439 UChar * buffer; local
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
StringBufferTest.java 34 StringBuffer buffer = new StringBuffer("abcde"); local
36 buffer.setLength(-1);
42 assertEquals("abcde", buffer.toString());
43 buffer.setLength(1);
44 buffer.append('f');
45 assertEquals("af", buffer.toString());
47 buffer = new StringBuffer("abcde");
48 assertEquals("cde", buffer.substring(2));
49 buffer.setLength(3);
50 buffer.append('f')
96 StringBuffer buffer = new StringBuffer(); local
127 StringBuffer buffer = new StringBuffer(25); local
    [all...]
  /system/core/nexus/
Property.cpp 50 int StringProperty::get(int idx, int *buffer) {
55 int StringProperty::get(int idx, struct in_addr *buffer) {
62 char *buffer, size_t max) :
64 mBuffer = buffer;
78 int StringPropertyHelper::get(int idx, char *buffer, size_t max) {
84 strncpy(buffer, mBuffer, max);
102 int IntegerProperty::get(int idx, char *buffer, size_t max) {
107 int IntegerProperty::get(int idx, struct in_addr *buffer) {
114 int *buffer) :
116 mBuffer = buffer;
    [all...]
  /cts/tools/dex-tools/src/dex/reader/
DexAnnotationImpl.java 29 private DexBuffer buffer; field in class:DexAnnotationImpl
38 public DexAnnotationImpl(DexBuffer buffer, int offset, int[] typeIds,
40 this.buffer = buffer;
49 buffer.setPosition(offset);
50 visibility = Visibility.get(buffer.readUByte());
51 encodedAnnotation = new DexEncodedAnnotationImpl(buffer, this, typeIds,
DexEncodedAnnotationImpl.java 32 private final DexBuffer buffer; field in class:DexEncodedAnnotationImpl
39 public DexEncodedAnnotationImpl(DexBuffer buffer, DexAnnotation annotation,
41 this.buffer = buffer;
50 typeIdx = buffer.readUleb128();
51 int size = buffer.readUleb128();
54 values.add(new DexAnnotationAttributeImpl(buffer, annotation,
  /external/apache-http/src/org/apache/http/impl/cookie/
RFC2109Spec.java 158 CharArrayBuffer buffer = new CharArrayBuffer(40 * cookies.size()); local
159 buffer.append(SM.COOKIE);
160 buffer.append(": ");
161 buffer.append("$Version=");
162 buffer.append(Integer.toString(version));
164 buffer.append("; ");
166 formatCookieAsVer(buffer, cookie, version);
169 headers.add(new BufferedHeader(buffer));
177 CharArrayBuffer buffer = new CharArrayBuffer(40); local
178 buffer.append("Cookie: ")
    [all...]
  /external/chromium/net/flip/
flip_session_unittest.cc 26 FlipIOBuffer buffer(new IOBuffer(), 0, kQueueSize - index, NULL);
27 queue_.push(buffer);
42 FlipIOBuffer buffer = queue_.top(); local
43 EXPECT_EQ(0, buffer.priority());
44 EXPECT_EQ(index + 1, buffer.size());
50 FlipIOBuffer buffer = queue_.top(); local
51 EXPECT_EQ(priority++, buffer.priority());
  /external/dropbear/
buffer.c 25 /* Buffer handling routines, designed to avoid overflows/using invalid data */
29 #include "buffer.h"
31 /* Prevent integer overflows when incrementing buffer position/length.
40 /* Create (malloc) a new buffer of size */
41 buffer* buf_new(unsigned int size) {
43 buffer* buf;
49 buf = (buffer*)m_malloc(sizeof(buffer));
65 /* free the buffer's data and the buffer itself *
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/header/
CallInfo.java 67 protected StringBuffer encodeBody(StringBuffer buffer) {
68 buffer.append(LESS_THAN);
69 info.encode(buffer);
70 buffer.append(GREATER_THAN);
73 buffer.append(SEMICOLON);
74 parameters.encode(buffer);
77 return buffer;

Completed in 2006 milliseconds

1 2 3 4 5 6 7 891011>>