HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 326 - 350 of 5558) sorted by null

<<11121314151617181920>>

  /external/apache-http/src/org/apache/http/impl/cookie/
BasicClientCookie.java 324 StringBuilder buffer = new StringBuilder(); local
325 buffer.append("[version: ");
326 buffer.append(Integer.toString(this.cookieVersion));
327 buffer.append("]");
328 buffer.append("[name: ");
329 buffer.append(this.name);
330 buffer.append("]");
331 buffer.append("[value: ");
332 buffer.append(this.value);
333 buffer.append("]")
    [all...]
  /external/apache-http/src/org/apache/http/message/
LineParser.java 67 * @param buffer a buffer holding the protocol version to parse
69 * the bounds within the buffer for the parsing operation
76 CharArrayBuffer buffer,
89 * @param buffer a buffer holding the line to inspect
100 CharArrayBuffer buffer,
107 * @param buffer a buffer holding the line to parse
109 * the bounds within the buffer for the parsing operatio
    [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(")");
  /external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
SFTPOutputStream.java 39 public void write(byte[] buffer, int offset, int len) throws IOException
41 // We can just blindly write the whole buffer at once.
44 handle.getClient().write(handle, writeOffset, buffer, offset, len);
51 byte[] buffer = new byte[1];
52 buffer[0] = (byte) b;
53 handle.getClient().write(handle, writeOffset, buffer, 0, 1);
  /external/guava/guava/src/com/google/common/hash/
AbstractStreamingHashFunction.java 70 /** Buffer via which we pass data to the hash algorithm (the implementor) */
71 private final ByteBuffer buffer; field in class:AbstractStreamingHashFunction.AbstractStreamingHasher
92 * size, using an internal buffer of {@code bufferSize} size, which must be a multiple of
97 * @param bufferSize the size of the internal buffer. Must be a multiple of chunkSize
103 // TODO(user): benchmark performance difference with longer buffer
104 this.buffer = ByteBuffer
112 * Processes the available bytes of the buffer (at most {@code chunk} bytes).
147 if (readBuffer.remaining() <= buffer.remaining()) {
148 buffer.put(readBuffer);
153 // First add just enough to fill buffer size, and munch tha
    [all...]
  /external/harfbuzz_ng/src/
hb-icu-le.cc 111 hb_buffer_t *buffer,
131 char *scratch = (char *) buffer->get_scratch_buffer (&scratch_size);
138 ALLOCATE_ARRAY (LEUnicode, chars, buffer->len);
139 ALLOCATE_ARRAY (unsigned int, clusters, buffer->len);
142 for (unsigned int i = 0; i < buffer->len; i++) {
143 chars[i] = buffer->info[i].codepoint;
144 clusters[i] = buffer->info[i].cluster;
150 buffer->len,
151 buffer->len,
152 HB_DIRECTION_IS_BACKWARD (buffer->props.direction)
    [all...]
hb-buffer-deserialize-json.hh 2 #line 1 "hb-buffer-deserialize-json.rl"
35 #line 36 "hb-buffer-deserialize-json.hh.tmp"
438 #line 97 "hb-buffer-deserialize-json.rl"
442 _hb_buffer_deserialize_glyphs_json (hb_buffer_t *buffer,
451 (void) hb_buffer_get_glyph_positions (buffer, NULL);
455 if (p < pe && *p == (buffer->len ? ',' : '['))
465 #line 466 "hb-buffer-deserialize-json.hh.tmp"
470 #line 471 "hb-buffer-deserialize-json.hh.tmp"
496 #line 38 "hb-buffer-deserialize-json.rl"
503 #line 43 "hb-buffer-deserialize-json.rl
    [all...]
  /external/junit/src/junit/framework/
TestFailure.java 41 StringBuffer buffer= new StringBuffer(); local
42 buffer.append(fFailedTest+": "+fThrownException.getMessage());
43 return buffer.toString();
49 StringBuffer buffer= stringWriter.getBuffer(); local
50 return buffer.toString();
  /external/junit/src/org/junit/runner/notification/
Failure.java 55 StringBuffer buffer= new StringBuffer(); local
56 buffer.append(getTestHeader() + ": "+fThrownException.getMessage());
57 return buffer.toString();
68 StringBuffer buffer= stringWriter.getBuffer(); local
69 return buffer.toString();
  /external/skia/legacy/src/core/
SkPathEffect.cpp 32 void SkPairPathEffect::flatten(SkFlattenableWriteBuffer& buffer) {
33 buffer.writeFlattenable(fPE0);
34 buffer.writeFlattenable(fPE1);
37 SkPairPathEffect::SkPairPathEffect(SkFlattenableReadBuffer& buffer) {
38 fPE0 = (SkPathEffect*)buffer.readFlattenable();
39 fPE1 = (SkPathEffect*)buffer.readFlattenable();
115 SkFlattenable* SkStrokePathEffect::CreateProc(SkFlattenableReadBuffer& buffer) {
116 return SkNEW_ARGS(SkStrokePathEffect, (buffer));
119 void SkStrokePathEffect::flatten(SkFlattenableWriteBuffer& buffer) {
120 buffer.writeScalar(fWidth)
    [all...]
  /external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Format/
Instruction10x.java 43 public Instruction10x(Opcode opcode, byte[] buffer, int bufferIndex) {
46 assert (buffer[bufferIndex] & 0xFF) == opcode.value;
47 assert buffer[bufferIndex + 1] == 0x00;
60 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
61 return new Instruction10x(opcode, buffer, bufferIndex);
  /external/srtp/crypto/replay/
ut_sim.c 62 utc->buffer[i] = i;
64 qsort(utc->buffer, UT_BUF, sizeof(uint32_t), ut_compar);
73 tmp = utc->buffer[0];
75 utc->buffer[0] = utc->index;
77 qsort(utc->buffer, UT_BUF, sizeof(uint32_t), ut_compar);
  /external/valgrind/main/memcheck/tests/linux/
stack_switch.c 25 char buffer[1024]; local
27 memset( buffer, 1, sizeof( buffer ) );
30 return memchr( buffer, 1, sizeof( buffer ) ) == NULL;
  /external/webkit/Source/WebCore/platform/graphics/gstreamer/
ImageGStreamerCairo.cpp 30 PassRefPtr<ImageGStreamer> ImageGStreamer::createImage(GstBuffer* buffer)
33 GstCaps* caps = gst_buffer_get_caps(buffer);
48 return adoptRef(new ImageGStreamer(buffer, IntSize(width, height), cairoFormat));
51 ImageGStreamer::ImageGStreamer(GstBuffer*& buffer, IntSize size, cairo_format_t& cairoFormat)
54 cairo_surface_t* surface = cairo_image_surface_create_for_data(GST_BUFFER_DATA(buffer), cairoFormat,
ImageGStreamerQt.cpp 29 PassRefPtr<ImageGStreamer> ImageGStreamer::createImage(GstBuffer* buffer)
32 GstCaps* caps = gst_buffer_get_caps(buffer);
47 return adoptRef(new ImageGStreamer(buffer, IntSize(width, height), imageFormat));
50 ImageGStreamer::ImageGStreamer(GstBuffer*& buffer, IntSize size, QImage::Format imageFormat)
54 QImage image(GST_BUFFER_DATA(buffer), size.width(), size.height(), imageFormat);
  /external/webkit/Source/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()));
  /external/webkit/Source/WebKit2/Shared/API/c/cf/
WKURLCF.cpp 56 CString buffer = toImpl(URLRef)->string().utf8(); local
57 CFURLRef result = CFURLCreateAbsoluteURLWithBytes(kCFAllocatorDefault, reinterpret_cast<const UInt8*>(buffer.data()), buffer.length(), kCFStringEncodingUTF8, 0, true);
59 result = CFURLCreateAbsoluteURLWithBytes(kCFAllocatorDefault, reinterpret_cast<const UInt8*>(buffer.data()), buffer.length(), kCFStringEncodingISOLatin1, 0, true);
  /external/webrtc/test/testsupport/
frame_writer_unittest.cc 47 WebRtc_UWord8 buffer[kFrameLength]; local
48 memset(buffer, 9, kFrameLength); // Write lots of 9s to the buffer
49 bool result = frame_writer_->WriteFrame(buffer);
58 WebRtc_UWord8 buffer[3]; local
60 ASSERT_FALSE(frame_writer.WriteFrame(buffer));
  /libcore/luni/src/main/java/java/io/
PipedInputStream.java 39 * The circular buffer through which data is passed. Data is read from the
41 * Data in the buffer is either sequential: <pre>
46 * ...or wrapped around the buffer's end: <pre>
51 * When the buffer is empty, {@code in == -1}. Reading when the buffer is
52 * empty will block until data is available. When the buffer is full,
53 * {@code in == out}. Writing when the buffer is full will block until free
56 protected byte[] buffer; field in class:PipedInputStream
59 * The index in {@code buffer} where the next byte will be written.
64 * The index in {@code buffer} where the next byte will be read
    [all...]
  /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/icu4c/common/
charstr.h 41 CharString() : len(0) { buffer[0]=0; }
43 buffer[0]=0;
47 buffer[0]=0;
51 buffer[0]=0;
66 char operator[](int32_t index) const { return buffer[index]; }
67 StringPiece toStringPiece() const { return StringPiece(buffer.getAlias(), len); }
69 const char *data() const { return buffer.getAlias(); }
70 char *data() { return buffer.getAlias(); }
72 CharString &clear() { len=0; buffer[0]=0; return *this; }
84 * Returns a writable buffer for appending and writes the buffer's capacity t
118 MaybeStackArray<char, 40> buffer; member in class:CharString
    [all...]
  /external/webkit/Source/WebCore/html/canvas/
ArrayBufferView.h 52 PassRefPtr<ArrayBuffer> buffer() const function in class:WebCore::ArrayBufferView
72 ArrayBufferView(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset);
86 static bool verifySubRange(PassRefPtr<ArrayBuffer> buffer,
90 if (!buffer)
94 if (byteOffset > buffer->byteLength())
96 unsigned remainingElements = (buffer->byteLength() - byteOffset) / sizeof(T);
103 // output offset is in number of bytes from the underlying buffer's view.
105 static void clampOffsetAndNumElements(PassRefPtr<ArrayBuffer> buffer,
112 *offset = buffer->byteLength();
117 *offset = std::min(buffer->byteLength(), *offset)
    [all...]
  /frameworks/base/core/jni/
android_os_UEventObserver.cpp 44 static bool isMatch(const char* buffer, size_t length) {
50 // Consider all zero-delimited fields of the buffer.
51 const char* field = buffer;
52 const char* end = buffer + length + 1;
65 char buffer[1024]; local
68 int length = uevent_next_event(buffer, sizeof(buffer) - 1);
72 buffer[length] = '\0';
74 ALOGV("Received uevent message: %s", buffer);
76 if (isMatch(buffer, length))
    [all...]
  /frameworks/native/services/sensorservice/tests/
sensorservicetest.cpp 32 ASensorEvent buffer[8]; local
36 while ((n = q->read(buffer, 8)) > 0) {
40 t = float(buffer[i].timestamp - oldTimeStamp) / s2ns(1);
42 t = float(buffer[i].timestamp - sStartTime) / s2ns(1);
44 oldTimeStamp = buffer[i].timestamp;
46 if (buffer[i].type == Sensor::TYPE_ACCELEROMETER) {
48 buffer[i].timestamp,
49 buffer[i].data[0], buffer[i].data[1], buffer[i].data[2]
    [all...]

Completed in 1334 milliseconds

<<11121314151617181920>>