Searched defs:buffer_length (Results 1 - 22 of 22) sorted by relevance

/external/google-breakpad/src/common/mac/
H A Dfile_id.cc86 char *buffer, int buffer_length) {
88 for (int idx = 0; (buffer_idx < buffer_length) && (idx < 16); ++idx) {
102 buffer[(buffer_idx < buffer_length) ? buffer_idx : buffer_idx - 1] = 0;
85 ConvertIdentifierToString(const unsigned char identifier[16], char *buffer, int buffer_length) argument
/external/v8/src/
H A Dunicode-decoder.cc13 void Utf8DecoderBase::Reset(uint16_t* buffer, size_t buffer_length, argument
33 // Must check for equality with buffer_length as we've already updated it.
34 if (utf16_length <= buffer_length) {
41 if (utf16_length == buffer_length) {
H A Dunicode-decoder.h17 inline Utf8DecoderBase(uint16_t* buffer, size_t buffer_length,
23 // The first buffer_length utf16 chars are cached in the buffer.
24 void Reset(uint16_t* buffer, size_t buffer_length, const uint8_t* stream,
57 Utf8DecoderBase::Utf8DecoderBase(uint16_t* buffer, size_t buffer_length, argument
59 Reset(buffer, buffer_length, stream, stream_length);
82 size_t buffer_length = local
84 size_t memcpy_length = length <= buffer_length ? length : buffer_length;
86 if (length <= buffer_length) return length;
89 WriteUtf16Slow(unbuffered_start_, unbuffered_length_, data + buffer_length,
[all...]
/external/webrtc/webrtc/modules/audio_processing/transient/
H A Dtransient_detector_unittest.cc80 const size_t buffer_length = sample_rate_hz * ts::kChunkSizeMs / 1000; local
81 rtc::scoped_ptr<float[]> buffer(new float[buffer_length]);
88 buffer_length,
89 buffer.get()) == buffer_length) {
93 detector.Detect(buffer.get(), buffer_length, NULL, 0);
/external/avahi/avahi-core/
H A Dnetlink.c40 size_t buffer_length; member in struct:AvahiNetlink
58 iov.iov_len = nl->buffer_length;
154 if (!(nl->buffer = avahi_new(uint8_t, nl->buffer_length = 64*1024))) {
/external/google-breakpad/src/common/linux/
H A Dfile_id.cc161 char* buffer, int buffer_length) {
175 (buffer_idx < buffer_length) && (idx < kMDGUIDSize);
188 buffer[(buffer_idx < buffer_length) ? buffer_idx : buffer_idx - 1] = 0;
160 ConvertIdentifierToString(const uint8_t identifier[kMDGUIDSize], char* buffer, int buffer_length) argument
/external/google-breakpad/src/common/solaris/
H A Dfile_id.cc175 char *buffer, int buffer_length) {
176 if (buffer_length < 34)
174 ConvertIdentifierToString(const unsigned char identifier[16], char *buffer, int buffer_length) argument
/external/sfntly/cpp/src/sample/chromium/
H A Dchrome_subsetter.cc63 int buffer_length) {
65 if (buffer_length > 0) {
73 byte_count = fwrite(output_buffer, 1, buffer_length, output_file);
77 return buffer_length == byte_count;
62 SaveFile(const char* output_file_path, const unsigned char* output_buffer, int buffer_length) argument
/external/sfntly/cpp/src/sfntly/data/
H A Dbyte_array.cc116 int32_t buffer_length = std::min<int32_t>(COPY_BUFFER_SIZE, length); local
118 Get(index + src_offset, &(b[0]), 0, buffer_length)) > 0) {
123 buffer_length = std::min<int32_t>(b.size(), remaining_length);
136 int32_t buffer_length = std::min<int32_t>(COPY_BUFFER_SIZE, length); local
137 while ((bytes_read = Get(index + offset, &(b[0]), 0, buffer_length)) > 0) {
140 buffer_length = std::min<int32_t>(b.size(), length - index);
149 int32_t buffer_length = std::min<int32_t>(COPY_BUFFER_SIZE, length); local
150 while ((bytes_read = is->Read(&b, 0, buffer_length)) > 0) {
160 buffer_length = std::min<int32_t>(b.size(), length);
169 int32_t buffer_length local
[all...]
/external/libvncserver/libvncclient/
H A Dzrle.c80 uint8_t* buffer,size_t buffer_length,
237 uint8_t* buffer,size_t buffer_length,
240 uint8_t* buffer_end = buffer+buffer_length;
247 if(buffer_length<1)
272 if(1+w*h*REALBPP/8>buffer_length) {
273 rfbClientLog("expected %d bytes, got only %d (%dx%d)\n",1+w*h*REALBPP/8,buffer_length,w,h);
289 if(1+REALBPP/8>buffer_length)
305 if(1+type*REALBPP/8+((w+divider-1)/divider)*h>buffer_length)
371 if(2+(type-128)*REALBPP/8>buffer_length)
236 HandleZRLETile(rfbClient* client, uint8_t* buffer,size_t buffer_length, int x,int y,int w,int h) argument
/external/mesa3d/src/glx/apple/
H A Dapple_glx_drawable.h138 size_t buffer_length; member in struct:apple_glx_drawable
/external/libpng/
H A Dpngpread.c519 png_size_t buffer_length)
522 png_ptr->current_buffer_size = buffer_length;
523 png_ptr->buffer_size = buffer_length + png_ptr->save_buffer_size;
622 png_size_t buffer_length)
625 if (!(buffer_length > 0) || buffer == NULL)
634 png_ptr->zstream.avail_in = (uInt)buffer_length;
518 png_push_restore_buffer(png_structrp png_ptr, png_bytep buffer, png_size_t buffer_length) argument
621 png_process_IDAT_data(png_structrp png_ptr, png_bytep buffer, png_size_t buffer_length) argument
/external/libusb/libusb/os/
H A Dlinux_usbfs.h91 int buffer_length; member in struct:usbfs_urb
/external/pdfium/third_party/lpng_v163/
H A Dpngpread.c716 png_size_t buffer_length)
719 png_ptr->current_buffer_size = buffer_length;
720 png_ptr->buffer_size = buffer_length + png_ptr->save_buffer_size;
828 png_size_t buffer_length)
831 if (!(buffer_length > 0) || buffer == NULL)
840 png_ptr->zstream.avail_in = (uInt)buffer_length;
715 png_push_restore_buffer(png_structrp png_ptr, png_bytep buffer, png_size_t buffer_length) argument
827 png_process_IDAT_data(png_structrp png_ptr, png_bytep buffer, png_size_t buffer_length) argument
/external/v8/src/parsing/
H A Dscanner-character-streams.cc423 size_t buffer_length = buffer_end_ - buffer_cursor_; local
425 bookmark_buffer_ = Vector<uint16_t>::New(static_cast<int>(buffer_length));
426 CopyCharsUnsigned(bookmark_buffer_.start(), buffer_cursor_, buffer_length);
/external/kernel-headers/original/uapi/linux/
H A Dusbdevice_fs.h102 int buffer_length; member in struct:usbdevfs_urb
H A Dfd.h356 int buffer_length; /* length of allocated buffer */ member in struct:floppy_raw_cmd
/external/webrtc/webrtc/modules/rtp_rtcp/source/
H A Drtcp_packet.cc601 RawPacket::RawPacket(size_t buffer_length) argument
602 : buffer_length_(buffer_length), length_(0) {
603 buffer_.reset(new uint8_t[buffer_length]);
/external/google-breakpad/src/common/dwarf/
H A Ddwarf2reader.h88 LineInfo(const char* buffer_, uint64 buffer_length,
640 CallFrameInfo(const char *buffer, size_t buffer_length, argument
643 : buffer_(buffer), buffer_length_(buffer_length),
H A Ddwarf2reader.cc518 LineInfo::LineInfo(const char* buffer, uint64 buffer_length, argument
521 buffer_length_(buffer_length) {
/external/webrtc/webrtc/modules/audio_processing/ns/
H A Dns_core.c853 // * |buffer_length| is the length of the buffer.
858 size_t buffer_length,
860 assert(buffer_length < 2 * frame_length);
864 sizeof(*buffer) * (buffer_length - frame_length));
866 memcpy(buffer + buffer_length - frame_length,
870 memset(buffer + buffer_length - frame_length,
856 UpdateBuffer(const float* frame, size_t frame_length, size_t buffer_length, float* buffer) argument
/external/valgrind/include/vki/
H A Dvki-linux.h2565 int buffer_length; member in struct:vki_usbdevfs_urb

Completed in 619 milliseconds