Home
last modified time | relevance | path

Searched refs:dest_buffer (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/v8/test/cctest/
Dtest-macro-assembler-mips.cc72 byte* dest_buffer = static_cast<byte*>(OS::Allocate(data_size, &act_size, 0)); in TEST() local
73 CHECK(dest_buffer); in TEST()
111 for (byte* dest = dest_buffer; dest < dest_buffer + fuzz; dest++) { in TEST()
112 memset(dest_buffer, 0, data_size); in TEST()
113 CHECK(dest + size < dest_buffer + data_size); in TEST()
120 CHECK(all_zeroes(dest_buffer, dest)); in TEST()
121 CHECK(all_zeroes(dest + size, dest_buffer + data_size)); in TEST()
Dtest-macro-assembler-arm.cc72 byte* dest_buffer = static_cast<byte*>(OS::Allocate(data_size, &act_size, 0)); in TEST() local
73 CHECK(dest_buffer); in TEST()
111 for (byte* dest = dest_buffer; dest < dest_buffer + fuzz; dest++) { in TEST()
112 memset(dest_buffer, 0, data_size); in TEST()
113 CHECK(dest + size < dest_buffer + data_size); in TEST()
120 CHECK(all_zeroes(dest_buffer, dest)); in TEST()
121 CHECK(all_zeroes(dest + size, dest_buffer + data_size)); in TEST()
/external/chromium/net/base/
Dgzip_filter.cc72 Filter::FilterStatus GZipFilter::ReadFilteredData(char* dest_buffer, in ReadFilteredData() argument
74 if (!dest_buffer || !dest_len || *dest_len <= 0) in ReadFilteredData()
82 return CopyOut(dest_buffer, dest_len); in ReadFilteredData()
118 return CopyOut(dest_buffer, dest_len); in ReadFilteredData()
132 status = DoInflate(dest_buffer, dest_len); in ReadFilteredData()
141 status = DoInflate(dest_buffer, dest_len); in ReadFilteredData()
201 Filter::FilterStatus GZipFilter::DoInflate(char* dest_buffer, int* dest_len) { in DoInflate() argument
203 if (!dest_buffer || !dest_len || *dest_len <= 0) // output in DoInflate()
214 zlib_stream_.get()->next_out = bit_cast<Bytef*>(dest_buffer); in DoInflate()
Dsdch_filter.cc145 Filter::FilterStatus SdchFilter::ReadFilteredData(char* dest_buffer, in ReadFilteredData() argument
150 if (!dest_buffer || available_space <= 0) in ReadFilteredData()
258 int amount = OutputBufferExcess(dest_buffer, available_space); in ReadFilteredData()
260 dest_buffer += amount; in ReadFilteredData()
278 FilterStatus result = CopyOut(dest_buffer, &available_space); in ReadFilteredData()
305 amount = OutputBufferExcess(dest_buffer, available_space); in ReadFilteredData()
307 dest_buffer += amount; in ReadFilteredData()
372 int SdchFilter::OutputBufferExcess(char* const dest_buffer, in OutputBufferExcess() argument
379 memcpy(dest_buffer, dest_buffer_excess_.data() + dest_buffer_excess_index_, in OutputBufferExcess()
Dfilter.cc87 Filter::FilterStatus Filter::ReadData(char* dest_buffer, int* dest_len) { in ReadData() argument
92 return last_status_ = ReadFilteredData(dest_buffer, dest_len); in ReadData()
94 return next_filter_->ReadData(dest_buffer, dest_len); in ReadData()
103 next_filter_->ReadData(dest_buffer, dest_len); in ReadData()
328 Filter::FilterStatus Filter::CopyOut(char* dest_buffer, int* dest_len) { in CopyOut() argument
337 memcpy(dest_buffer, next_stream_data_, out_len); in CopyOut()
Dfilter.h158 FilterStatus ReadData(char* dest_buffer, int* dest_len);
216 virtual FilterStatus ReadFilteredData(char* dest_buffer, int* dest_len) = 0;
219 FilterStatus CopyOut(char* dest_buffer, int* dest_len);
Dgzip_filter.h52 virtual FilterStatus ReadFilteredData(char* dest_buffer, int* dest_len);
97 FilterStatus DoInflate(char* dest_buffer, int* dest_len);
Dsdch_filter.h43 virtual FilterStatus ReadFilteredData(char* dest_buffer, int* dest_len);
65 int OutputBufferExcess(char* const dest_buffer, size_t available_space);
/external/chromium_org/net/base/
Dgzip_filter.cc67 Filter::FilterStatus GZipFilter::ReadFilteredData(char* dest_buffer, in ReadFilteredData() argument
69 if (!dest_buffer || !dest_len || *dest_len <= 0) in ReadFilteredData()
77 return CopyOut(dest_buffer, dest_len); in ReadFilteredData()
113 return CopyOut(dest_buffer, dest_len); in ReadFilteredData()
127 status = DoInflate(dest_buffer, dest_len); in ReadFilteredData()
136 status = DoInflate(dest_buffer, dest_len); in ReadFilteredData()
196 Filter::FilterStatus GZipFilter::DoInflate(char* dest_buffer, int* dest_len) { in DoInflate() argument
198 if (!dest_buffer || !dest_len || *dest_len <= 0) // output in DoInflate()
209 zlib_stream_.get()->next_out = bit_cast<Bytef*>(dest_buffer); in DoInflate()
Dsdch_filter.cc143 Filter::FilterStatus SdchFilter::ReadFilteredData(char* dest_buffer, in ReadFilteredData() argument
148 if (!dest_buffer || available_space <= 0) in ReadFilteredData()
256 int amount = OutputBufferExcess(dest_buffer, available_space); in ReadFilteredData()
258 dest_buffer += amount; in ReadFilteredData()
276 FilterStatus result = CopyOut(dest_buffer, &available_space); in ReadFilteredData()
303 amount = OutputBufferExcess(dest_buffer, available_space); in ReadFilteredData()
305 dest_buffer += amount; in ReadFilteredData()
370 int SdchFilter::OutputBufferExcess(char* const dest_buffer, in OutputBufferExcess() argument
377 memcpy(dest_buffer, dest_buffer_excess_.data() + dest_buffer_excess_index_, in OutputBufferExcess()
Dfilter.cc81 Filter::FilterStatus Filter::ReadData(char* dest_buffer, int* dest_len) { in ReadData() argument
86 return last_status_ = ReadFilteredData(dest_buffer, dest_len); in ReadData()
88 return next_filter_->ReadData(dest_buffer, dest_len); in ReadData()
97 next_filter_->ReadData(dest_buffer, dest_len); in ReadData()
321 Filter::FilterStatus Filter::CopyOut(char* dest_buffer, int* dest_len) { in CopyOut() argument
330 memcpy(dest_buffer, next_stream_data_, out_len); in CopyOut()
Dfilter.h158 FilterStatus ReadData(char* dest_buffer, int* dest_len);
216 virtual FilterStatus ReadFilteredData(char* dest_buffer, int* dest_len) = 0;
219 FilterStatus CopyOut(char* dest_buffer, int* dest_len);
Dgzip_filter.h51 virtual FilterStatus ReadFilteredData(char* dest_buffer,
97 FilterStatus DoInflate(char* dest_buffer, int* dest_len);
Dsdch_filter.h43 virtual FilterStatus ReadFilteredData(char* dest_buffer,
66 int OutputBufferExcess(char* const dest_buffer, size_t available_space);
/external/chromium_org/remoting/base/
Dutil.cc78 uint8* dest_buffer, in ConvertAndScaleYUVToRGB32Rect() argument
125 dest_buffer + rgb_offset, dest_stride, in ConvertAndScaleYUVToRGB32Rect()
154 dest_buffer + rgb_offset, in ConvertAndScaleYUVToRGB32Rect()
172 dest_buffer + rgb_offset, in ConvertAndScaleYUVToRGB32Rect()
214 uint8* dest_buffer, in CopyRGB32Rect() argument
226 dest_buffer += CalculateRGBOffset( in CopyRGB32Rect()
234 memcpy(dest_buffer, source_buffer, bytes_per_line); in CopyRGB32Rect()
236 dest_buffer += dest_stride; in CopyRGB32Rect()
Dutil.h47 uint8* dest_buffer,
82 uint8* dest_buffer,
/external/pixman/pixman/
Dpixman-general.c115 uint8_t *src_buffer, *mask_buffer, *dest_buffer; in general_composite_rect() local
146 dest_buffer = mask_buffer + width * Bpp; in general_composite_rect()
153 memset (dest_buffer, 0, width * Bpp); in general_composite_rect()
186 dest_buffer, narrow | op_flags[op].dst, info->dest_flags); in general_composite_rect()
/external/chromium_org/remoting/client/jni/
Djni_frame_consumer.cc65 uint8* dest_buffer = static_cast<uint8*>(bitmap_->pixels()); in ApplyBuffer() local
70 CopyRGB32Rect(buffer->data(), buffer->stride(), buffer_rect, dest_buffer, in ApplyBuffer()
/external/chromium_org/components/nacl/loader/
Dnacl_ipc_adapter.cc190 char* dest_buffer = static_cast<char*>(msg->iov[0].base); in Read() local
197 memcpy(dest_buffer, &data_[data_read_cursor_], bytes_to_write); in Read()
/external/chromium_org/skia/ext/
Dvector_platform_device_emf_win.cc940 unsigned char* dest_buffer = static_cast<unsigned char *>(bits); in InternalDrawBitmap() local
949 memcpy(dest_buffer + dest_offset, pixels + src_offset, dest_row_size); in InternalDrawBitmap()