HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 1901 - 1925 of 9401) sorted by null

<<71727374757677787980>>

  /external/chromium_org/net/spdy/
spdy_headers_block_parser.cc 54 Reader reader(prefix.buffer(), prefix.length(),
93 // Expect to have consumed all buffer.
113 // the key and buffer remainder, in preperation for the next invocation.
146 char buffer[] = {0, 0, 0, 0}; local
147 if (!reader->ReadN(length_field_size_, buffer)) {
153 *parsed_length = ntohl(*reinterpret_cast<const uint32_t *>(buffer));
155 *parsed_length = ntohs(*reinterpret_cast<const uint16_t *>(buffer));
  /external/chromium_org/pdf/
control.cc 48 // paint control into buffer image data only once and copy requested
50 pp::ImageData buffer(owner()->GetInstance(), image_data->format(),
52 if (buffer.is_null())
57 CopyImage(*image_data, draw_rc, &buffer, ctrl_rc, false);
59 // Temporary move control to origin (0,0) and draw it into temp buffer.
61 // buffer, we don't need to invalidate here.
64 Paint(&buffer, ctrl_rc);
71 // Copy requested rect from the buffer image.
74 CopyImage(buffer, src_rc, image_data, draw_rc, false);
  /external/chromium_org/ppapi/proxy/
ppp_content_decryptor_private_proxy.cc 82 PPPDecryptor_Buffer* buffer) {
83 if (!buffer) {
89 buffer->resource = HostResource();
90 buffer->handle = base::SharedMemoryHandle();
91 buffer->size = 0;
108 buffer->resource = host_resource;
109 buffer->handle = handle;
110 buffer->size = size;
295 PPPDecryptor_Buffer buffer; local
299 &buffer)) {
339 PPPDecryptor_Buffer buffer; local
377 PPPDecryptor_Buffer buffer; local
444 PPPDecryptor_Buffer buffer; local
    [all...]
  /external/chromium_org/sandbox/mac/
mach_message_server.cc 53 vm_address_t buffer = 0; local
55 kr = vm_allocate(task, &buffer, buffer_size_, kMachMsgMemoryFlags);
57 MACH_LOG(ERROR, kr) << "Failed to allocate request buffer.";
60 request_buffer_.reset(buffer, buffer_size_);
62 kr = vm_allocate(task, &buffer, buffer_size_, kMachMsgMemoryFlags);
64 MACH_LOG(ERROR, kr) << "Failed to allocate reply buffer.";
67 reply_buffer_.reset(buffer, buffer_size_);
  /external/chromium_org/third_party/WebKit/Source/platform/blob/
BlobData.cpp 105 Vector<char>* buffer = data->mutableData(); local
109 normalizeLineEndingsToNative(utf8Text, *buffer);
111 buffer->append(utf8Text.data(), utf8Text.length());
120 Vector<char>* buffer = data->mutableData(); local
121 buffer->append(static_cast<const char *>(bytes), length);
  /external/chromium_org/third_party/WebKit/Source/wtf/text/
TextCodecUTF16.cpp 89 StringBuffer<UChar> buffer(numCharsOut);
90 UChar* q = buffer.characters();
130 buffer.shrink(q - buffer.characters());
132 return String::adopt(buffer);
139 // character buffer, each character is two bytes, and we know
140 // the buffer doesn't occupy the entire address space, we can
  /external/chromium_org/third_party/icu/source/i18n/
bocsu.cpp 106 char *buffer=sink.GetAppendBuffer(1, length*2, scratch, (int32_t)sizeof(scratch), &capacity); local
112 buffer=scratch;
115 p=reinterpret_cast<uint8_t *>(buffer);
133 sink.Append(buffer, (int32_t)(p-reinterpret_cast<uint8_t *>(buffer)));
  /external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
datachannel.h 50 const rtc::Buffer& payload,
129 virtual bool Send(const DataBuffer& buffer);
145 const rtc::Buffer& payload);
216 bool SendDataMessage(const DataBuffer& buffer);
217 bool QueueSendDataMessage(const DataBuffer& buffer);
220 void QueueControlMessage(const rtc::Buffer& buffer);
221 bool SendControlMessage(const rtc::Buffer& buffer);
  /external/chromium_org/third_party/libjingle/source/talk/p2p/base/
pseudotcp.h 55 const char* buffer, size_t len) = 0;
73 int Recv(char* buffer, size_t len);
74 int Send(const char* buffer, size_t len);
92 bool NotifyPacket(const char * buffer, size_t len);
107 OPT_RCVBUF, // Set the receive buffer size, in bytes.
108 OPT_SNDBUF, // Set the send buffer size, in bytes.
120 // Returns number of bytes that were written in buffer and haven't
166 bool parse(const uint8* buffer, uint32 size);
180 // This method is used in test only to query receive buffer state.
200 // Resize the send buffer with |new_size| in bytes
    [all...]
  /external/chromium_org/third_party/libsrtp/srtp/test/
dtls_srtp_driver.c 229 uint8_t *buffer; local
249 buffer = (uint8_t *)hdr;
250 buffer += bytes_in_hdr;
254 *buffer++ = 0xab;
258 *buffer++ = 0xff;
  /external/chromium_org/third_party/lzma_sdk/
Bcj2.c 22 #define RC_READ_BYTE (*buffer++)
23 #define RC_TEST { if (buffer == bufferLim) return SZ_ERROR_DATA; }
43 const Byte *buffer, *bufferLim; local
51 buffer = buf3;
52 bufferLim = buffer + size3;
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
svga_swtnl_draw.c 69 if (svga->curr.vb[i].buffer) {
71 svga->curr.vb[i].buffer,
79 /* Map index buffer, if present */
81 if (info->indexed && svga->curr.ib.buffer) {
82 map = pipe_buffer_map(&svga->pipe, svga->curr.ib.buffer,
113 if (svga->curr.vb[i].buffer) {
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/dxgi/src/
dxgi_loader.cpp 44 static char buffer[1024]; local
58 ret = snprintf(buffer, sizeof(buffer),
60 if (ret > 0 && ret < (int)sizeof(buffer))
61 search_path = buffer;
  /external/chromium_org/third_party/skia/src/ports/
SkFontConfigInterface_direct.cpp 26 SkWBuffer buffer(addr, size);
28 buffer.write32(fID);
29 buffer.write32(fTTCIndex);
30 buffer.write32(fString.size());
31 buffer.write32(fStyle.weight());
32 buffer.write32(fStyle.width());
33 buffer.write8(fStyle.slant());
34 buffer.write(fString.c_str(), fString.size());
35 buffer.padToAlign4();
37 SkASSERT(buffer.pos() == size)
    [all...]
SkOSFile_stdio.cpp 71 size_t sk_fread(void* buffer, size_t byteCount, SkFILE* f) {
73 if (buffer == NULL) {
88 return ::fread(buffer, 1, byteCount, (FILE*)f);
91 size_t sk_fwrite(const void* buffer, size_t byteCount, SkFILE* f) {
93 return ::fwrite(buffer, 1, byteCount, (FILE*)f);
  /external/chromium_org/third_party/skia/tests/
Reader32Test.cpp 47 char buffer[bufsize]; local
60 reader.read(buffer, sizeof(data));
61 REPORTER_ASSERT(reporter, !memcmp(data, buffer, sizeof(data)));
74 reader.read(buffer, sizeof(data2));
75 REPORTER_ASSERT(reporter, !memcmp(data2, buffer, sizeof(data2)));
  /external/chromium_org/third_party/webrtc/modules/rtp_rtcp/test/testAPI/
test_api_video.cc 93 int PaddingPacket(uint8_t* buffer,
105 int header_length = BuildRTPheader(buffer, timestamp,
107 buffer[0] |= 0x20; // Set padding bit.
109 reinterpret_cast<int32_t*>(&(buffer[header_length]));
111 // Fill data buffer with random data.
116 buffer[header_length + padding_bytes_in_packet - 1] =
  /external/chromium_org/v8/test/cctest/
test-code-stubs-arm.cc 50 byte* buffer = static_cast<byte*>(v8::base::OS::Allocate( local
52 CHECK(buffer);
54 MacroAssembler masm(isolate, buffer, static_cast<int>(actual_size));
129 CpuFeatures::FlushICache(buffer, actual_size);
131 reinterpret_cast<intptr_t>(buffer)));
test-code-stubs-arm64.cc 50 byte* buffer = static_cast<byte*>( local
52 CHECK(buffer);
54 MacroAssembler masm(isolate, buffer, static_cast<int>(actual_size));
125 CpuFeatures::FlushICache(buffer, actual_size);
127 reinterpret_cast<intptr_t>(buffer)));
  /external/flac/libFLAC/
ogg_decoder_aspect.c 105 FLAC__OggDecoderAspectReadStatus FLAC__ogg_decoder_aspect_read_callback_wrapper(FLAC__OggDecoderAspect *aspect, FLAC__byte buffer[], size_t *bytes, FLAC__OggDecoderAspectReadCallbackProxy read_callback, const FLAC__StreamDecoder *decoder, void *client_data)
115 * its internal buffer. It does not try to grow its internal buffer
116 * to accomodate a whole frame because then the internal buffer size
119 * Ogg however grows its internal buffer until a whole page is present;
126 * larger than libFLAC's internal buffer.
142 /* the rest of the packet will fit in the buffer */
144 memcpy(buffer, aspect->working_packet.packet, n);
146 buffer += n;
150 /* only n bytes of the packet will fit in the buffer */
    [all...]
  /external/google-tv-pairing-protocol/java/src/com/google/polo/json/
JSONTokener.java 181 char[] buffer = new char[n]; local
186 buffer[0] = this.lastChar;
192 while ((pos < n) && ((len = reader.read(buffer, pos, n - pos)) != -1)) {
204 this.lastChar = buffer[n - 1];
205 return new String(buffer);
  /external/iptables/extensions/
libip6t_dst.c 58 char *buffer, *cp, *next, *range; local
61 buffer = strdup(optsstr);
62 if (!buffer)
65 for (cp = buffer, i = 0; cp && i < IP6T_OPTS_OPTSNR; cp = next, i++)
99 free(buffer);
libip6t_hbh.c 60 char *buffer, *cp, *next, *range; local
63 buffer = strdup(optsstr);
64 if (!buffer) xtables_error(OTHER_PROBLEM, "strdup failed");
66 for (cp=buffer, i=0; cp && i<IP6T_OPTS_OPTSNR; cp=next,i++)
93 free(buffer);
  /external/jsoncpp/src/lib_json/
json_writer.cpp 36 UIntToStringBuffer buffer; local
37 char *current = buffer + sizeof(buffer);
44 assert( current >= buffer );
51 UIntToStringBuffer buffer; local
52 char *current = buffer + sizeof(buffer);
54 assert( current >= buffer );
76 char buffer[32]; local
78 sprintf_s(buffer, sizeof(buffer), "%#.16g", value);
    [all...]
  /external/libpng/
pngerror.c 108 /* Utility to safely appends strings to a buffer. This never errors out so
112 png_safecat(png_charp buffer, size_t bufsize, size_t pos,
115 if (buffer != NULL && pos < bufsize)
119 buffer[pos++] = *string++;
121 buffer[pos] = '\0';
128 /* Utility to dump an unsigned value into a buffer, given a start pointer and
129 * and end pointer (which should point just *beyond* the end of the buffer!)
258 char buffer[PNG_NUMBER_BUFFER_SIZE]; local
259 png_warning_parameter(p, number, PNG_FORMAT_NUMBER(buffer, format, value));
268 char buffer[PNG_NUMBER_BUFFER_SIZE] local
    [all...]

Completed in 1342 milliseconds

<<71727374757677787980>>