HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 376 - 400 of 13868) sorted by null

<<11121314151617181920>>

  /external/chromium_org/remoting/base/
compound_buffer.h 5 // CompoundBuffer implements a data buffer that is composed of several pieces,
9 // and assembling them into one buffer on the receiving side.
13 // a protocol buffer message.
15 // Mutations to the buffer are not thread-safe. Immutability can be ensured
41 // Adds new chunk to the buffer. |start| defines position of the chunk
42 // within the |buffer|. |size| is the size of the chunk that is being
43 // added, not size of the |buffer|.
44 void Append(net::IOBuffer* buffer, int size);
45 void Append(net::IOBuffer* buffer, const char* start, int size);
46 void Append(const CompoundBuffer& buffer);
88 scoped_refptr<net::IOBuffer> buffer; member in struct:remoting::CompoundBuffer::DataChunk
    [all...]
  /external/chromium_org/third_party/icu/source/tools/genrb/
rbutil.c 66 itostr(char * buffer, int32_t i, uint32_t radix, int32_t pad)
83 buffer[length++]= digits[digit];
88 buffer[length++] = '0';/*zero padding */
93 buffer[length++]='-';
96 /* null terminate the buffer */
98 buffer[length] = 0x0000;
106 temp = buffer[(length-1) - j];
107 buffer[(length-1) - j] = buffer[j];
108 buffer[j] = temp
    [all...]
  /external/chromium_org/third_party/skia/src/core/
SkImageInfo.cpp 20 void SkImageInfo::unflatten(SkReadBuffer& buffer) {
21 fWidth = buffer.read32();
22 fHeight = buffer.read32();
24 uint32_t packed = buffer.read32();
28 buffer.validate(alpha_type_is_valid(fAlphaType) &&
32 void SkImageInfo::flatten(SkWriteBuffer& buffer) const {
33 buffer.write32(fWidth);
34 buffer.write32(fHeight);
39 buffer.write32(packed);
  /external/chromium_org/v8/src/
dtoa.cc 34 Vector<char> buffer, int* sign, int* length, int* point) {
46 buffer[0] = '0';
47 buffer[1] = '\0';
54 buffer[0] = '\0';
62 fast_worked = FastDtoa(v, FAST_DTOA_SHORTEST, 0, buffer, length, point);
65 fast_worked = FastFixedDtoa(v, requested_digits, buffer, length, point);
69 buffer, length, point);
79 BignumDtoa(v, bignum_mode, requested_digits, buffer, length, point);
80 buffer[*length] = '\0';
  /external/fio/
fifo.c 36 fifo->buffer = malloc(size);
45 free(fifo->buffer);
49 unsigned int fifo_put(struct fifo *fifo, void *buffer, unsigned int len)
55 /* first put the data starting from fifo->in to buffer end */
57 memcpy(fifo->buffer + (fifo->in & (fifo->size - 1)), buffer, l);
59 /* then put the rest (if any) at the beginning of the buffer */
60 memcpy(fifo->buffer, buffer + l, len - l);
80 * first get the data from fifo->out until the end of the buffer
    [all...]
  /external/icu/icu4c/source/tools/genrb/
rbutil.c 66 itostr(char * buffer, int32_t i, uint32_t radix, int32_t pad)
83 buffer[length++]= digits[digit];
88 buffer[length++] = '0';/*zero padding */
93 buffer[length++]='-';
96 /* null terminate the buffer */
98 buffer[length] = 0x0000;
106 temp = buffer[(length-1) - j];
107 buffer[(length-1) - j] = buffer[j];
108 buffer[j] = temp
    [all...]
  /external/openssl/crypto/rc4/
rc4s.cpp 39 unsigned char buffer[1024]; local
59 RC4(&ctx,numm,buffer,buffer);
61 RC4(&ctx,numm,buffer,buffer);
64 RC4(&ctx,num,buffer,buffer);
66 RC4(&ctx,num,buffer,buffer);
  /frameworks/base/core/tests/coretests/src/android/content/
AssetTest.java 37 byte[] buffer = new byte[10];
41 while ((readCount = is.read(buffer, 0, buffer.length)) > 0) {
45 + " but found " + ((char) buffer[i]),
46 buffer[i], expectedString.charAt(curIndex));
51 readCount = is.read(buffer, 0, buffer.length);
52 assertEquals("Reading end of buffer: expected readCount=-1 but got " + readCount,
55 readCount = is.read(buffer, buffer.length, 0)
    [all...]
  /frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
BufferPool.java 59 public void release(ByteBuffer buffer) {
61 buffer.clear();
62 mBuffers[mAvailable++] = buffer;
67 public ByteBuffer grow(ByteBuffer buffer, int needed) {
68 int capacity = buffer.capacity();
70 final ByteBuffer oldBuffer = buffer;
72 buffer = ByteBuffer.allocate(capacity);
74 buffer.put(oldBuffer);
76 return buffer;
86 + " is larger than maximum buffer size " + mMaxBufferSize + ".")
    [all...]
Transport.java 46 // The output buffer. Set to null when the transport is closed.
49 // The input buffer pool.
231 protected abstract int ioRead(byte[] buffer, int offset, int count)
233 protected abstract void ioWrite(byte[] buffer, int offset, int count)
253 final ByteBuffer buffer = (ByteBuffer)msg.obj; local
255 final int limit = buffer.limit();
256 while (buffer.position() < limit) {
257 final int service = buffer.getShort() & 0xffff;
258 final int what = buffer.getShort() & 0xffff;
259 final int contentSize = buffer.getInt()
291 ByteBuffer buffer = null; local
    [all...]
  /system/vold/
Devmapper.cpp 43 char *buffer = (char *) malloc(1024 * 64); local
44 if (!buffer) {
48 memset(buffer, 0, (1024 * 64));
53 free(buffer);
60 free(buffer);
65 struct dm_ioctl *io = (struct dm_ioctl *) buffer;
70 free(buffer);
76 struct dm_name_list *n = (struct dm_name_list *) (((char *) buffer) + io->data_start);
78 free(buffer);
111 free(buffer);
134 char *buffer = (char *) malloc(DEVMAPPER_BUFFER_SIZE); local
168 char *buffer = (char *) malloc(DEVMAPPER_BUFFER_SIZE); local
265 char *buffer = (char *) malloc(DEVMAPPER_BUFFER_SIZE); local
    [all...]
  /external/chromium_org/third_party/harfbuzz-ng/src/
hb-ot-shape-complex-hangul.cc 119 /* buffer var allocations */
132 hb_buffer_t *buffer,
135 HB_BUFFER_ALLOCATE_VAR (buffer, hangul_shaping_feature);
185 buffer->clear_output ();
189 unsigned int count = buffer->len;
191 for (buffer->idx = 0; buffer->idx < count;)
193 hb_codepoint_t u = buffer->cur().codepoint;
202 if (start < end && end == buffer->out_len)
205 buffer->next_glyph ()
    [all...]
hb-ot-shape-complex-sea.cc 29 /* buffer var allocations */
70 hb_buffer_t *buffer);
74 hb_buffer_t *buffer);
78 hb_buffer_t *buffer);
167 hb_buffer_t *buffer,
170 HB_BUFFER_ALLOCATE_VAR (buffer, sea_category);
171 HB_BUFFER_ALLOCATE_VAR (buffer, sea_position);
176 unsigned int count = buffer->len;
177 hb_glyph_info_t *info = buffer->info;
185 hb_buffer_t *buffer)
    [all...]
  /external/chromium_org/third_party/skia/src/effects/
Sk2DPathEffect.cpp 71 void Sk2DPathEffect::flatten(SkWriteBuffer& buffer) const {
72 this->INHERITED::flatten(buffer);
73 buffer.writeMatrix(fMatrix);
77 Sk2DPathEffect::Sk2DPathEffect(SkReadBuffer& buffer) {
78 buffer.readMatrix(&fMatrix);
108 SkLine2DPathEffect::SkLine2DPathEffect(SkReadBuffer& buffer) : INHERITED(buffer) {
109 fWidth = buffer.readScalar();
113 SkFlattenable* SkLine2DPathEffect::CreateProc(SkReadBuffer& buffer) {
115 buffer.readMatrix(&matrix)
    [all...]
  /external/harfbuzz_ng/src/
hb-ot-shape-complex-sea.cc 29 /* buffer var allocations */
70 hb_buffer_t *buffer);
74 hb_buffer_t *buffer);
78 hb_buffer_t *buffer);
167 hb_buffer_t *buffer,
170 HB_BUFFER_ALLOCATE_VAR (buffer, sea_category);
171 HB_BUFFER_ALLOCATE_VAR (buffer, sea_position);
176 unsigned int count = buffer->len;
177 hb_glyph_info_t *info = buffer->info;
185 hb_buffer_t *buffer)
    [all...]
  /frameworks/base/core/java/android/text/method/
LinkMovementMethod.java 30 * A movement method that traverses links in the text buffer and scrolls if necessary.
44 protected boolean handleMovementKey(TextView widget, Spannable buffer, int keyCode,
51 event.getRepeatCount() == 0 && action(CLICK, widget, buffer)) {
57 return super.handleMovementKey(widget, buffer, keyCode, movementMetaState, event);
61 protected boolean up(TextView widget, Spannable buffer) {
62 if (action(UP, widget, buffer)) {
66 return super.up(widget, buffer);
70 protected boolean down(TextView widget, Spannable buffer) {
71 if (action(DOWN, widget, buffer)) {
75 return super.down(widget, buffer);
    [all...]
  /cts/suite/audio_quality/lib/src/audio/
AudioSignalFactory.cpp 23 android::sp<Buffer> AudioSignalFactory::generateSineWave(AudioHardware::BytesPerSample BPS,
28 android::sp<Buffer> buffer(new Buffer(bufferSize));
31 int16_t* data = reinterpret_cast<int16_t*>(buffer->getData());
42 buffer->setSize(buffer->getCapacity());
43 return buffer;
45 android::sp<Buffer> AudioSignalFactory::generateWhiteNoise(AudioHardware::BytesPerSample BPS,
49 android::sp<Buffer> buffer(new Buffer(bufferSize, bufferSize))
    [all...]
  /external/chromium_org/third_party/icu/source/samples/ustring/
ustring.cpp 151 UChar buffer[32]; local
156 buffer[0]=0; /* empty, NUL-terminated string */
157 u_strncat(buffer, text, 1); /* append just n=1 character ('A') */
158 u_strcat(buffer, appendText); /* buffer=="Aabc" */
159 length=u_strlen(buffer); /* length=4 */
160 printUString("should be \"Aabc\": ", buffer, -1);
162 /* bitwise comparing buffer with text */
163 compare=u_strcmp(buffer, text);
168 /* Build "A<sharp s>C" in the buffer... *
196 UChar buffer[32]; local
567 UChar buffer[200]; local
    [all...]
  /external/icu/icu4c/source/samples/ustring/
ustring.cpp 151 UChar buffer[32]; local
156 buffer[0]=0; /* empty, NUL-terminated string */
157 u_strncat(buffer, text, 1); /* append just n=1 character ('A') */
158 u_strcat(buffer, appendText); /* buffer=="Aabc" */
159 length=u_strlen(buffer); /* length=4 */
160 printUString("should be \"Aabc\": ", buffer, -1);
162 /* bitwise comparing buffer with text */
163 compare=u_strcmp(buffer, text);
168 /* Build "A<sharp s>C" in the buffer... *
196 UChar buffer[32]; local
567 UChar buffer[200]; local
    [all...]
  /external/skia/src/effects/
SkPictureImageFilter.cpp 34 SkPictureImageFilter::SkPictureImageFilter(SkReadBuffer& buffer)
35 : INHERITED(0, buffer),
37 if (!buffer.isCrossProcess()) {
38 if (buffer.readBool()) {
39 fPicture = SkPicture::CreateFromBuffer(buffer);
42 buffer.validate(!buffer.readBool());
44 buffer.readRect(&fCropRect);
47 void SkPictureImageFilter::flatten(SkWriteBuffer& buffer) const {
48 this->INHERITED::flatten(buffer);
    [all...]
  /frameworks/base/core/java/android/hardware/usb/
UsbDeviceConnection.java 130 * This method transfers data starting from index 0 in the buffer.
139 * @param buffer buffer for data portion of transaction,
147 int index, byte[] buffer, int length, int timeout) {
148 return controlTransfer(requestType, request, value, index, buffer, 0, length, timeout);
163 * @param buffer buffer for data portion of transaction,
165 * @param offset the index of the first byte in the buffer to send or receive
172 byte[] buffer, int offset, int length, int timeout) {
173 checkBounds(buffer, offset, length)
    [all...]
  /libcore/luni/src/main/java/javax/xml/parsers/
FilePathToURI.java 64 StringBuilder buffer = new StringBuilder(len*3); local
65 buffer.append("file://");
70 buffer.append('/');
82 buffer.append('%');
83 buffer.append(gAfterEscaping1[ch]);
84 buffer.append(gAfterEscaping2[ch]);
88 buffer.append((char)ch);
111 buffer.append('%');
112 buffer.append(gHexChs[ch >> 4]);
113 buffer.append(gHexChs[ch & 0xf])
    [all...]
  /libcore/luni/src/main/java/javax/xml/transform/stream/
FilePathToURI.java 64 StringBuilder buffer = new StringBuilder(len*3); local
65 buffer.append("file://");
70 buffer.append('/');
82 buffer.append('%');
83 buffer.append(gAfterEscaping1[ch]);
84 buffer.append(gAfterEscaping2[ch]);
88 buffer.append((char)ch);
111 buffer.append('%');
112 buffer.append(gHexChs[ch >> 4]);
113 buffer.append(gHexChs[ch & 0xf])
    [all...]
  /build/tools/fs_config/
fs_config.c 75 char buffer[1024]; local
98 while (fgets(buffer, 1023, stdin) != NULL) {
101 for (i = 0; i < 1024 && buffer[i]; ++i) {
102 switch (buffer[i]) {
104 buffer[i-is_dir] = '\0';
118 fs_config(buffer, is_dir, &uid, &gid, &mode, &capabilities);
119 printf("%s %d %d %o", buffer, uid, gid, mode);
122 size_t buffer_strlen = strnlen(buffer, sizeof(buffer));
123 if (buffer_strlen >= sizeof(buffer)) {
    [all...]
  /external/chromium_org/components/nacl/browser/
nacl_validation_cache.cc 89 std::string buffer; local
93 if (!iter.ReadString(&buffer))
95 if (0 != buffer.compare(kValidationCacheBeginMagic))
99 if (!iter.ReadString(&buffer))
101 if (buffer.size() != kValidationCacheKeySize)
104 validation_cache_key_ = buffer;
111 if (!iter.ReadString(&buffer))
113 if (buffer.size() != kValidationCacheEntrySize)
115 validation_cache_.Put(buffer, true);
119 if (!iter.ReadString(&buffer))
    [all...]

Completed in 1345 milliseconds

<<11121314151617181920>>