Searched refs:data_size (Results 1 - 25 of 419) sorted by relevance

1234567891011>>

/external/chromium_org/content/public/browser/
H A Dlocal_storage_usage_info.cc10 : data_size(0) {}
H A Dlocal_storage_usage_info.h17 size_t data_size; member in struct:content::LocalStorageUsageInfo
/external/chromium_org/ui/base/resource/
H A Dresource_data_dll_win.cc22 size_t data_size; local
26 &data_size);
33 size_t data_size; local
37 &data_size)) {
38 data->set(static_cast<const char*>(data_ptr), data_size); local
47 size_t data_size; local
49 &data_size)) {
50 return new base::RefCountedStaticMemory(data_ptr, data_size);
/external/chromium_org/media/base/
H A Ddata_buffer.cc26 DataBuffer::DataBuffer(const uint8* data, int data_size) argument
27 : buffer_size_(data_size),
28 data_size_(data_size) {
30 CHECK_EQ(data_size, 0);
34 CHECK_GE(data_size, 0);
H A Ddata_buffer.h75 int data_size() const { function in class:media::DataBuffer
80 void set_data_size(int data_size) { argument
82 CHECK_LE(data_size, buffer_size_);
83 data_size_ = data_size;
92 // Allocates buffer of size |data_size|, copies [data,data+data_size) to
93 // the allocated buffer and sets data size to |data_size|.
96 DataBuffer(const uint8* data, int data_size);
/external/chromium_org/content/renderer/media/android/
H A Daudio_decoder_android.h18 size_t data_size,
/external/chromium_org/content/renderer/media/
H A Daudio_decoder.h16 size_t data_size);
/external/chromium_org/media/formats/webm/
H A Dwebm_crypto_helpers.cc27 bool WebMCreateDecryptConfig(const uint8* data, int data_size, argument
31 if (data_size < kWebMSignalByteSize) {
45 if (data_size < kWebMSignalByteSize + kWebMIvSize) {
46 DVLOG(1) << "Got an encrypted block with not enough data " << data_size;
H A Dwebm_crypto_helpers.h26 bool WebMCreateDecryptConfig(const uint8* data, int data_size,
/external/opencv/
H A DWLNonFileByteStream.h31 bool Open(int data_size);
41 void Allocate(int data_size);
H A DWLNonFileByteStream.cpp33 void WLNonFileByteStream::Allocate(int data_size) argument
36 m_start = new uchar[data_size];
38 m_end = m_start + data_size;
51 bool WLNonFileByteStream::Open(int data_size) argument
54 Allocate(data_size);
58 _size = data_size;
/external/chromium_org/third_party/libwebp/dec/
H A Dwebp.c62 size_t* const data_size, int have_all_data,
65 assert(data_size != NULL);
69 if (*data_size >= RIFF_HEADER_SIZE && !memcmp(*data, "RIFF", TAG_SIZE)) {
81 if (have_all_data && (size > *data_size - CHUNK_HEADER_SIZE)) {
87 *data_size -= RIFF_HEADER_SIZE;
101 size_t* const data_size,
107 assert(data_size != NULL);
112 if (*data_size < CHUNK_HEADER_SIZE) {
125 if (*data_size < vp8x_size) {
140 *data_size
61 ParseRIFF(const uint8_t** const data, size_t* const data_size, int have_all_data, size_t* const riff_size) argument
100 ParseVP8X(const uint8_t** const data, size_t* const data_size, int* const found_vp8x, int* const width_ptr, int* const height_ptr, uint32_t* const flags_ptr) argument
153 ParseOptionalChunks(const uint8_t** const data, size_t* const data_size, size_t const riff_size, const uint8_t** const alpha_data, size_t* const alpha_size) argument
229 ParseVP8Header(const uint8_t** const data_ptr, size_t* const data_size, int have_all_data, size_t riff_size, size_t* const chunk_size, int* const is_lossless) argument
284 ParseHeadersInternal(const uint8_t* data, size_t data_size, int* const width, int* const height, int* const has_alpha, int* const has_animation, int* const format, WebPHeaderStructure* const headers) argument
442 DecodeInto(const uint8_t* const data, size_t data_size, WebPDecParams* const params) argument
521 DecodeIntoRGBABuffer(WEBP_CSP_MODE colorspace, const uint8_t* const data, size_t data_size, uint8_t* const rgba, int stride, size_t size) argument
545 WebPDecodeRGBInto(const uint8_t* data, size_t data_size, uint8_t* output, size_t size, int stride) argument
550 WebPDecodeRGBAInto(const uint8_t* data, size_t data_size, uint8_t* output, size_t size, int stride) argument
555 WebPDecodeARGBInto(const uint8_t* data, size_t data_size, uint8_t* output, size_t size, int stride) argument
560 WebPDecodeBGRInto(const uint8_t* data, size_t data_size, uint8_t* output, size_t size, int stride) argument
565 WebPDecodeBGRAInto(const uint8_t* data, size_t data_size, uint8_t* output, size_t size, int stride) argument
570 WebPDecodeYUVInto(const uint8_t* data, size_t data_size, uint8_t* luma, size_t luma_size, int luma_stride, uint8_t* u, size_t u_size, int u_stride, uint8_t* v, size_t v_size, int v_stride) argument
599 Decode(WEBP_CSP_MODE mode, const uint8_t* const data, size_t data_size, int* const width, int* const height, WebPDecBuffer* const keep_info) argument
628 WebPDecodeRGB(const uint8_t* data, size_t data_size, int* width, int* height) argument
633 WebPDecodeRGBA(const uint8_t* data, size_t data_size, int* width, int* height) argument
638 WebPDecodeARGB(const uint8_t* data, size_t data_size, int* width, int* height) argument
643 WebPDecodeBGR(const uint8_t* data, size_t data_size, int* width, int* height) argument
648 WebPDecodeBGRA(const uint8_t* data, size_t data_size, int* width, int* height) argument
653 WebPDecodeYUV(const uint8_t* data, size_t data_size, int* width, int* height, uint8_t** u, uint8_t** v, int* stride, int* uv_stride) argument
676 GetFeatures(const uint8_t* const data, size_t data_size, WebPBitstreamFeatures* const features) argument
693 WebPGetInfo(const uint8_t* data, size_t data_size, int* width, int* height) argument
728 WebPGetFeaturesInternal(const uint8_t* data, size_t data_size, WebPBitstreamFeatures* features, int version) argument
740 WebPDecode(const uint8_t* data, size_t data_size, WebPDecoderConfig* config) argument
[all...]
H A Ddecode_vp8.h32 // io.data_size = size;
87 size_t data_size; member in struct:VP8Io
160 WEBP_EXTERN(int) VP8CheckSignature(const uint8_t* const data, size_t data_size);
167 size_t data_size, // data available so far
178 const uint8_t* data, size_t data_size, // data available so far
/external/webp/src/dec/
H A Dwebp.c62 size_t* const data_size, int have_all_data,
65 assert(data_size != NULL);
69 if (*data_size >= RIFF_HEADER_SIZE && !memcmp(*data, "RIFF", TAG_SIZE)) {
81 if (have_all_data && (size > *data_size - CHUNK_HEADER_SIZE)) {
87 *data_size -= RIFF_HEADER_SIZE;
101 size_t* const data_size,
107 assert(data_size != NULL);
112 if (*data_size < CHUNK_HEADER_SIZE) {
125 if (*data_size < vp8x_size) {
140 *data_size
61 ParseRIFF(const uint8_t** const data, size_t* const data_size, int have_all_data, size_t* const riff_size) argument
100 ParseVP8X(const uint8_t** const data, size_t* const data_size, int* const found_vp8x, int* const width_ptr, int* const height_ptr, uint32_t* const flags_ptr) argument
153 ParseOptionalChunks(const uint8_t** const data, size_t* const data_size, size_t const riff_size, const uint8_t** const alpha_data, size_t* const alpha_size) argument
229 ParseVP8Header(const uint8_t** const data_ptr, size_t* const data_size, int have_all_data, size_t riff_size, size_t* const chunk_size, int* const is_lossless) argument
284 ParseHeadersInternal(const uint8_t* data, size_t data_size, int* const width, int* const height, int* const has_alpha, int* const has_animation, int* const format, WebPHeaderStructure* const headers) argument
454 DecodeInto(const uint8_t* const data, size_t data_size, WebPDecParams* const params) argument
533 DecodeIntoRGBABuffer(WEBP_CSP_MODE colorspace, const uint8_t* const data, size_t data_size, uint8_t* const rgba, int stride, size_t size) argument
557 WebPDecodeRGBInto(const uint8_t* data, size_t data_size, uint8_t* output, size_t size, int stride) argument
562 WebPDecodeRGBAInto(const uint8_t* data, size_t data_size, uint8_t* output, size_t size, int stride) argument
567 WebPDecodeARGBInto(const uint8_t* data, size_t data_size, uint8_t* output, size_t size, int stride) argument
572 WebPDecodeBGRInto(const uint8_t* data, size_t data_size, uint8_t* output, size_t size, int stride) argument
577 WebPDecodeBGRAInto(const uint8_t* data, size_t data_size, uint8_t* output, size_t size, int stride) argument
582 WebPDecodeYUVInto(const uint8_t* data, size_t data_size, uint8_t* luma, size_t luma_size, int luma_stride, uint8_t* u, size_t u_size, int u_stride, uint8_t* v, size_t v_size, int v_stride) argument
611 Decode(WEBP_CSP_MODE mode, const uint8_t* const data, size_t data_size, int* const width, int* const height, WebPDecBuffer* const keep_info) argument
640 WebPDecodeRGB(const uint8_t* data, size_t data_size, int* width, int* height) argument
645 WebPDecodeRGBA(const uint8_t* data, size_t data_size, int* width, int* height) argument
650 WebPDecodeARGB(const uint8_t* data, size_t data_size, int* width, int* height) argument
655 WebPDecodeBGR(const uint8_t* data, size_t data_size, int* width, int* height) argument
660 WebPDecodeBGRA(const uint8_t* data, size_t data_size, int* width, int* height) argument
665 WebPDecodeYUV(const uint8_t* data, size_t data_size, int* width, int* height, uint8_t** u, uint8_t** v, int* stride, int* uv_stride) argument
688 GetFeatures(const uint8_t* const data, size_t data_size, WebPBitstreamFeatures* const features) argument
705 WebPGetInfo(const uint8_t* data, size_t data_size, int* width, int* height) argument
740 WebPGetFeaturesInternal(const uint8_t* data, size_t data_size, WebPBitstreamFeatures* features, int version) argument
752 WebPDecode(const uint8_t* data, size_t data_size, WebPDecoderConfig* config) argument
[all...]
H A Ddecode_vp8.h32 // io.data_size = size;
87 size_t data_size; member in struct:VP8Io
160 WEBP_EXTERN(int) VP8CheckSignature(const uint8_t* const data, size_t data_size);
167 size_t data_size, // data available so far
178 const uint8_t* data, size_t data_size, // data available so far
/external/chromium_org/media/cdm/ppapi/
H A Dcdm_file_io_test.h70 StepType type, Status status, const uint8* data, uint32 data_size);
79 TestStep(StepType type, Status status, const uint8* data, uint32 data_size) argument
80 : type(type), status(status), data(data), data_size(data_size) {}
89 uint32 data_size; member in struct:media::FileIOTest::TestStep
102 uint32_t data_size) OVERRIDE;
/external/chromium_org/chromecast/media/cma/base/
H A Ddecoder_buffer_adapter.cc32 int DecoderBufferAdapter::data_size() const { function in class:chromecast::media::DecoderBufferAdapter
33 return buffer_->data_size();
/external/chromium_org/ppapi/shared_impl/
H A Dmedia_stream_buffer.h27 uint32_t data_size; member in struct:ppapi::MediaStreamBuffer::Audio
38 uint32_t data_size; member in struct:ppapi::MediaStreamBuffer::Video
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_system_mock.h22 // path, and |data| and |data_size| are the data there. The data must
24 void AddRegularFile(const char* path, const char* data, size_t data_size);
/external/valgrind/main/drd/tests/
H A Dstd_string.cpp15 size_t data_size = 24; local
16 char *data = new char[data_size];
17 for (size_t i = 0; i < data_size; i++)
19 data[data_size - 1] = 0;
/external/chromium_org/v8/test/cctest/
H A Dtest-macro-assembler-mips.cc66 const int data_size = 1 * KB; local
71 static_cast<byte*>(v8::base::OS::Allocate(data_size, &act_size, 0));
73 CHECK(act_size >= static_cast<size_t>(data_size));
75 static_cast<byte*>(v8::base::OS::Allocate(data_size, &act_size, 0));
77 CHECK(act_size >= static_cast<size_t>(data_size));
103 for (int i = 0; i < data_size; i++) {
112 memset(dest_buffer, 0, data_size);
113 CHECK(dest + size < dest_buffer + data_size);
121 CHECK(all_zeroes(dest + size, dest_buffer + data_size));
129 for (int i = 0; i < data_size;
[all...]
/external/chromium_org/remoting/test/
H A Dfake_socket_factory.cc47 int data_size);
52 virtual int Send(const void* data, size_t data_size,
54 virtual int SendTo(const void* data, size_t data_size,
89 int data_size) {
91 this, data->data(), data_size, from, rtc::CreatePacketTime(0));
103 int FakeUdpSocket::Send(const void* data, size_t data_size, argument
109 int FakeUdpSocket::SendTo(const void* data, size_t data_size, argument
112 scoped_refptr<net::IOBuffer> buffer = new net::IOBuffer(data_size);
113 memcpy(buffer->data(), data, data_size);
114 dispatcher_->DeliverPacket(local_address_, address, buffer, data_size);
86 ReceivePacket(const rtc::SocketAddress& from, const rtc::SocketAddress& to, const scoped_refptr<net::IOBuffer>& data, int data_size) argument
151 PendingPacket( const rtc::SocketAddress& from, const rtc::SocketAddress& to, const scoped_refptr<net::IOBuffer>& data, int data_size) argument
264 ReceivePacket( const rtc::SocketAddress& from, const rtc::SocketAddress& to, const scoped_refptr<net::IOBuffer>& data, int data_size) argument
[all...]
/external/chromium_org/third_party/libwebp/webp/
H A Ddecode.h45 WEBP_EXTERN(int) WebPGetInfo(const uint8_t* data, size_t data_size,
53 WEBP_EXTERN(uint8_t*) WebPDecodeRGBA(const uint8_t* data, size_t data_size,
57 WEBP_EXTERN(uint8_t*) WebPDecodeARGB(const uint8_t* data, size_t data_size,
61 WEBP_EXTERN(uint8_t*) WebPDecodeBGRA(const uint8_t* data, size_t data_size,
66 WEBP_EXTERN(uint8_t*) WebPDecodeRGB(const uint8_t* data, size_t data_size,
70 WEBP_EXTERN(uint8_t*) WebPDecodeBGR(const uint8_t* data, size_t data_size,
83 WEBP_EXTERN(uint8_t*) WebPDecodeYUV(const uint8_t* data, size_t data_size,
97 const uint8_t* data, size_t data_size,
100 const uint8_t* data, size_t data_size,
103 const uint8_t* data, size_t data_size,
426 WebPGetFeatures( const uint8_t* data, size_t data_size, WebPBitstreamFeatures* features) argument
[all...]
/external/webp/include/webp/
H A Ddecode.h45 WEBP_EXTERN(int) WebPGetInfo(const uint8_t* data, size_t data_size,
53 WEBP_EXTERN(uint8_t*) WebPDecodeRGBA(const uint8_t* data, size_t data_size,
57 WEBP_EXTERN(uint8_t*) WebPDecodeARGB(const uint8_t* data, size_t data_size,
61 WEBP_EXTERN(uint8_t*) WebPDecodeBGRA(const uint8_t* data, size_t data_size,
66 WEBP_EXTERN(uint8_t*) WebPDecodeRGB(const uint8_t* data, size_t data_size,
70 WEBP_EXTERN(uint8_t*) WebPDecodeBGR(const uint8_t* data, size_t data_size,
83 WEBP_EXTERN(uint8_t*) WebPDecodeYUV(const uint8_t* data, size_t data_size,
97 const uint8_t* data, size_t data_size,
100 const uint8_t* data, size_t data_size,
103 const uint8_t* data, size_t data_size,
426 WebPGetFeatures( const uint8_t* data, size_t data_size, WebPBitstreamFeatures* features) argument
[all...]
/external/chromium_org/media/cdm/ppapi/external_clear_key/
H A Dlibvpx_cdm_video_decoder.cc92 const cdm::Size& data_size) {
94 (data_size.width % 2) == 0 && (data_size.height % 2) == 0 &&
95 data_size.width > 0 && data_size.height > 0 &&
96 data_size.width <= limits::kMaxDimension &&
97 data_size.height <= limits::kMaxDimension &&
98 data_size.width * data_size.height <= limits::kMaxCanvas);
91 IsValidOutputConfig(cdm::VideoFormat format, const cdm::Size& data_size) argument

Completed in 558 milliseconds

1234567891011>>