Home
last modified time | relevance | path

Searched refs:buffer_length (Results 1 – 25 of 31) sorted by relevance

12

/external/sfntly/cpp/src/sfntly/data/
Dbyte_array.cc114 int32_t buffer_length = std::min<int32_t>(COPY_BUFFER_SIZE, length); in CopyTo() local
116 Get(index + src_offset, &(b[0]), 0, buffer_length)) > 0) { in CopyTo()
121 buffer_length = std::min<int32_t>(b.size(), remaining_length); in CopyTo()
134 int32_t buffer_length = std::min<int32_t>(COPY_BUFFER_SIZE, length); in CopyTo() local
135 while ((bytes_read = Get(index + offset, &(b[0]), 0, buffer_length)) > 0) { in CopyTo()
138 buffer_length = std::min<int32_t>(b.size(), length - index); in CopyTo()
147 int32_t buffer_length = std::min<int32_t>(COPY_BUFFER_SIZE, length); in CopyFrom() local
148 while ((bytes_read = is->Read(&b, 0, buffer_length)) > 0) { in CopyFrom()
158 buffer_length = std::min<int32_t>(b.size(), length); in CopyFrom()
167 int32_t buffer_length = COPY_BUFFER_SIZE; in CopyFrom() local
[all …]
/external/v8/src/
Dunicode-inl.h162 unsigned buffer_length, in Utf8DecoderBase() argument
165 Reset(buffer, buffer_length, stream, stream_length); in Utf8DecoderBase()
190 unsigned buffer_length = in WriteUtf16() local
192 unsigned memcpy_length = length <= buffer_length ? length : buffer_length; in WriteUtf16()
194 if (length <= buffer_length) return length; in WriteUtf16()
198 data + buffer_length, in WriteUtf16()
199 length - buffer_length); in WriteUtf16()
Dunicode.h164 unsigned buffer_length,
172 unsigned buffer_length,
Dunicode.cc262 unsigned buffer_length, in Reset() argument
283 if (utf16_length <= buffer_length) { in Reset()
290 if (utf16_length == buffer_length) { in Reset()
/external/libvncserver/libvncclient/
Dzrle.c80 uint8_t* buffer,size_t buffer_length,
237 uint8_t* buffer,size_t buffer_length, in HandleZRLETile() argument
240 uint8_t* buffer_end = buffer+buffer_length; in HandleZRLETile()
247 if(buffer_length<1) in HandleZRLETile()
272 if(1+w*h*REALBPP/8>buffer_length) { in HandleZRLETile()
273 rfbClientLog("expected %d bytes, got only %d (%dx%d)\n",1+w*h*REALBPP/8,buffer_length,w,h); in HandleZRLETile()
289 if(1+REALBPP/8>buffer_length) in HandleZRLETile()
305 if(1+type*REALBPP/8+((w+divider-1)/divider)*h>buffer_length) in HandleZRLETile()
371 if(2+(type-128)*REALBPP/8>buffer_length) in HandleZRLETile()
/external/sfntly/cpp/src/sample/chromium/
Dchrome_subsetter.cc63 int buffer_length) { in SaveFile() argument
65 if (buffer_length > 0) { in SaveFile()
73 byte_count = fwrite(output_buffer, 1, buffer_length, output_file); in SaveFile()
77 return buffer_length == byte_count; in SaveFile()
/external/google-breakpad/src/common/mac/
Dfile_id.cc86 char *buffer, int buffer_length) { in ConvertIdentifierToString() argument
88 for (int idx = 0; (buffer_idx < buffer_length) && (idx < 16); ++idx) { in ConvertIdentifierToString()
102 buffer[(buffer_idx < buffer_length) ? buffer_idx : buffer_idx - 1] = 0; in ConvertIdentifierToString()
Dfile_id.h72 char *buffer, int buffer_length);
/external/google-breakpad/src/common/linux/
Dfile_id.cc161 char* buffer, int buffer_length) { in ConvertIdentifierToString() argument
175 (buffer_idx < buffer_length) && (idx < kMDGUIDSize); in ConvertIdentifierToString()
188 buffer[(buffer_idx < buffer_length) ? buffer_idx : buffer_idx - 1] = 0; in ConvertIdentifierToString()
Dfile_id.h69 char* buffer, int buffer_length);
/external/harfbuzz_ng/src/
Dhb-ot-name-table.hh84 unsigned int buffer_length) const in get_name()
96 unsigned int length = MIN (buffer_length, (unsigned int) match->length); in get_name()
/external/google-breakpad/src/common/solaris/
Dfile_id.cc175 char *buffer, int buffer_length) { in ConvertIdentifierToString() argument
176 if (buffer_length < 34) in ConvertIdentifierToString()
Dfile_id.h57 char *buffer, int buffer_length);
/external/google-breakpad/src/common/dwarf/
Ddwarf2reader.h88 LineInfo(const char* buffer_, uint64 buffer_length,
640 CallFrameInfo(const char *buffer, size_t buffer_length,
643 : buffer_(buffer), buffer_length_(buffer_length), in buffer_()
Ddwarf2reader.cc518 LineInfo::LineInfo(const char* buffer, uint64 buffer_length, in LineInfo() argument
521 buffer_length_(buffer_length) { in LineInfo()
/external/libpng/
Dpngpread.c718 png_size_t buffer_length) in png_push_restore_buffer() argument
721 png_ptr->current_buffer_size = buffer_length; in png_push_restore_buffer()
722 png_ptr->buffer_size = buffer_length + png_ptr->save_buffer_size; in png_push_restore_buffer()
830 png_size_t buffer_length) in png_process_IDAT_data() argument
833 if (!(buffer_length > 0) || buffer == NULL) in png_process_IDAT_data()
842 png_ptr->zstream.avail_in = (uInt)buffer_length; in png_process_IDAT_data()
Dpngpriv.h1418 png_bytep buffer, png_size_t buffer_length),PNG_EMPTY);
1421 png_bytep buffer, png_size_t buffer_length),PNG_EMPTY);
/external/pdfium/samples/fx_lpng/lpng_v163/
Dfx_pngpread.c716 png_size_t buffer_length) in png_push_restore_buffer() argument
719 png_ptr->current_buffer_size = buffer_length; in png_push_restore_buffer()
720 png_ptr->buffer_size = buffer_length + png_ptr->save_buffer_size; in png_push_restore_buffer()
828 png_size_t buffer_length) in png_process_IDAT_data() argument
831 if (!(buffer_length > 0) || buffer == NULL) in png_process_IDAT_data()
840 png_ptr->zstream.avail_in = (uInt)buffer_length; in png_process_IDAT_data()
Dpngpriv.h1479 png_bytep buffer, png_size_t buffer_length),PNG_EMPTY);
1482 png_bytep buffer, png_size_t buffer_length),PNG_EMPTY);
/external/libusb/libusb/os/
Dlinux_usbfs.h91 int buffer_length; member
Dlinux_usbfs.c1387 urb->buffer_length = transfer->length % MAX_BULK_BUFFER_LENGTH; in submit_bulk_transfer()
1389 urb->buffer_length = 0; in submit_bulk_transfer()
1391 urb->buffer_length = MAX_BULK_BUFFER_LENGTH; in submit_bulk_transfer()
1635 urb->buffer_length = transfer->length; in submit_control_transfer()
1886 } else if (urb->actual_length < urb->buffer_length) { in handle_bulk_completion()
1894 urb->buffer_length); in handle_bulk_completion()
/external/kernel-headers/original/uapi/linux/
Dusbdevice_fs.h102 int buffer_length; member
Dfd.h356 int buffer_length; /* length of allocated buffer */ member
/external/mesa3d/src/glx/apple/
Dapple_glx_drawable.h138 size_t buffer_length; member
Dapple_glx_drawable.c294 d->buffer_length = 0; in common_init()

12