Searched refs:dataSize (Results 1 - 25 of 182) sorted by relevance

12345678

/external/chromium_org/third_party/WebKit/Source/wtf/
H A DArrayBufferBuilderTest.cpp59 size_t dataSize = sizeof(data) - 1; local
61 ArrayBufferBuilder builder(2 * dataSize);
63 EXPECT_EQ(dataSize, builder.append(data, dataSize));
64 EXPECT_EQ(dataSize, builder.byteLength());
65 EXPECT_EQ(dataSize * 2, builder.capacity());
67 EXPECT_EQ(dataSize, builder.append(data, dataSize));
68 EXPECT_EQ(dataSize * 2, builder.byteLength());
69 EXPECT_EQ(dataSize *
79 size_t dataSize = sizeof(data) - 1; local
93 size_t dataSize = sizeof(data) - 1; local
107 size_t dataSize = sizeof(data) - 1; local
149 size_t dataSize = sizeof(data) - 1; local
192 size_t dataSize = sizeof(data) - 1; local
208 size_t dataSize = sizeof(data) - 1; local
227 size_t dataSize = sizeof(data) - 1; local
[all...]
/external/chromium_org/third_party/opus/src/silk/float/
H A Dscale_vector_FLP.c38 opus_int dataSize
44 dataSize4 = dataSize & 0xFFFC;
53 for( ; i < dataSize; i++ ) {
H A Denergy_FLP.c37 opus_int dataSize
45 dataSize4 = dataSize & 0xFFFC;
54 for( ; i < dataSize; i++ ) {
H A Dinner_product_FLP.c38 opus_int dataSize
46 dataSize4 = dataSize & 0xFFFC;
55 for( ; i < dataSize; i++ ) {
H A Dscale_copy_vector_FLP.c39 opus_int dataSize
45 dataSize4 = dataSize & 0xFFFC;
54 for( ; i < dataSize; i++ ) {
/external/libopus/silk/float/
H A Dscale_vector_FLP.c38 opus_int dataSize
44 dataSize4 = dataSize & 0xFFFC;
53 for( ; i < dataSize; i++ ) {
H A Denergy_FLP.c37 opus_int dataSize
45 dataSize4 = dataSize & 0xFFFC;
54 for( ; i < dataSize; i++ ) {
H A Dinner_product_FLP.c38 opus_int dataSize
46 dataSize4 = dataSize & 0xFFFC;
55 for( ; i < dataSize; i++ ) {
H A Dscale_copy_vector_FLP.c39 opus_int dataSize
45 dataSize4 = dataSize & 0xFFFC;
54 for( ; i < dataSize; i++ ) {
/external/chromium_org/third_party/skia/tests/
H A DFlateTest.cpp30 static SkData* new_test_data(size_t dataSize) { argument
31 SkAutoTMalloc<uint8_t> testBuffer(dataSize);
32 for (size_t i = 0; i < dataSize; ++i) {
35 return SkData::NewFromMalloc(testBuffer.detach(), dataSize);
39 size_t dataSize) {
42 SkAutoDataUnref testData(new_test_data(dataSize));
43 SkASSERT(testData->size() == dataSize);
45 testStream->setMemory(testData->data(), dataSize, /*copyData=*/ true);
55 REPORTER_ASSERT(reporter, dataSize == inputSize);
56 if (dataSize
38 TestFlate(skiatest::Reporter* reporter, SkMemoryStream* testStream, size_t dataSize) argument
[all...]
/external/deqp/framework/delibs/decpp/
H A DdeRingBuffer.cpp42 int dataSize = rnd.getInt(100, 10000); local
44 vector<int> data (dataSize);
46 for (int i = 0; i < dataSize; i++)
52 while (writePos < dataSize || readPos < dataSize)
55 bool canWrite = writePos < dataSize && buffer.getNumFree() > 0;
77 int numBytes = rnd.getInt(1, de::min(dataSize-writePos, buffer.getNumFree()));
/external/deqp/execserver/
H A DxsProtocol.hpp77 static void parseHeader (const deUint8* data, int dataSize, MessageType& type, int& messageSize);
92 SimpleMessage (const deUint8* data, int dataSize) : Message((MessageType)MsgType) { DE_UNREF(data); XS_CHECK_MSG(dataSize == 0, "No payload expected"); } argument
108 HelloMessage (const deUint8* data, int dataSize);
123 ExecuteBinaryMessage (const deUint8* data, int dataSize);
135 ProcessLogDataMessage (const deUint8* data, int dataSize);
146 ProcessLaunchFailedMessage (const deUint8* data, int dataSize);
158 ProcessFinishedMessage (const deUint8* data, int dataSize);
170 InfoMessage (const deUint8* data, int dataSize);
182 TestMessage (const deUint8* data, int dataSize);
[all...]
H A DxsProtocol.cpp50 MessageParser (const deUint8* data, int dataSize) argument
52 , m_size (dataSize)
141 void Message::parseHeader (const deUint8* data, int dataSize, MessageType& type, int& size) argument
143 XS_CHECK_MSG(dataSize >= MESSAGE_HEADER_SIZE, "Incomplete header");
144 MessageParser parser(data, dataSize);
163 HelloMessage::HelloMessage (const deUint8* data, int dataSize) argument
166 MessageParser parser(data, dataSize);
177 TestMessage::TestMessage (const deUint8* data, int dataSize) argument
180 MessageParser parser(data, dataSize);
191 ExecuteBinaryMessage::ExecuteBinaryMessage (const deUint8* data, int dataSize) argument
211 ProcessLogDataMessage(const deUint8* data, int dataSize) argument
225 ProcessLaunchFailedMessage(const deUint8* data, int dataSize) argument
239 ProcessFinishedMessage(const deUint8* data, int dataSize) argument
253 InfoMessage(const deUint8* data, int dataSize) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DImageData.cpp41 Checked<int, RecordOverflow> dataSize = 4; local
42 dataSize *= size.width();
43 dataSize *= size.height();
44 if (dataSize.hasOverflowed())
52 Checked<int, RecordOverflow> dataSize = 4; local
53 dataSize *= size.width();
54 dataSize *= size.height();
55 if (dataSize.hasOverflowed())
58 if (dataSize.unsafeGet() < 0
59 || static_cast<unsigned>(dataSize
76 Checked<unsigned, RecordOverflow> dataSize = 4; local
[all...]
/external/chromium_org/third_party/angle/src/libGLESv2/
H A DUniform.cpp33 size_t bytes = dataSize();
70 size_t LinkedUniform::dataSize() const function in class:gl::LinkedUniform
81 UniformBlock::UniformBlock(const std::string &name, unsigned int elementIndex, unsigned int dataSize) argument
84 dataSize(dataSize),
H A DUniform.h35 size_t dataSize() const;
61 UniformBlock(const std::string &name, unsigned int elementIndex, unsigned int dataSize);
69 const unsigned int dataSize; member in struct:gl::UniformBlock
/external/javassist/src/main/javassist/
H A DCtPrimitiveType.java29 private int dataSize; field in class:CtPrimitiveType
41 dataSize = size;
110 public int getDataSize() { return dataSize; }
/external/chromium_org/third_party/WebKit/Source/platform/audio/
H A DAudioFileReader.h44 PLATFORM_EXPORT PassRefPtr<AudioBus> createBusFromInMemoryAudioFile(const void* data, size_t dataSize, bool mixToMono, float sampleRate);
/external/chromium_org/third_party/opus/src/silk/fixed/
H A Dvector_ops_FIX.c39 const opus_int dataSize /* I Length */
45 for( i = 0; i < dataSize; i++ ) {
55 opus_int dataSize /* I length */
60 for( i = 0; i < dataSize; i++ ) {
/external/libopus/silk/fixed/
H A Dvector_ops_FIX.c39 const opus_int dataSize /* I Length */
45 for( i = 0; i < dataSize; i++ ) {
55 opus_int dataSize /* I length */
60 for( i = 0; i < dataSize; i++ ) {
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/
H A DBufferD3D.cpp69 void BufferD3D::promoteStaticUsage(int dataSize) argument
73 mUnmodifiedDataUse += dataSize;
/external/skia/tests/
H A DFlateTest.cpp32 size_t dataSize) {
36 SkMemoryStream testData(dataSize);
39 for (size_t i = 0; i < dataSize; i++)
42 testStream->setMemory(testData.getMemoryBase(), dataSize, true);
57 if (dataSize < 1024)
31 TestFlate(skiatest::Reporter* reporter, SkMemoryStream* testStream, size_t dataSize) argument
/external/chromium_org/third_party/zlib/contrib/minizip/
H A Dmztools.c109 int dataSize = cpsize; local
110 if (dataSize == 0) {
111 dataSize = uncpsize;
113 if (dataSize > 0) {
114 char* data = malloc(dataSize);
116 if ((int)fread(data, 1, dataSize, fpZip) == dataSize) {
117 if ((int)fwrite(data, 1, dataSize, fpOut) == dataSize) {
118 offset += dataSize;
[all...]
/external/zlib/src/contrib/minizip/
H A Dmztools.c119 int dataSize = cpsize; local
120 if (dataSize == 0) {
121 dataSize = uncpsize;
123 if (dataSize > 0) {
124 char* data = malloc(dataSize);
126 if ((int)fread(data, 1, dataSize, fpZip) == dataSize) {
127 if ((int)fwrite(data, 1, dataSize, fpOut) == dataSize) {
128 offset += dataSize;
[all...]
/external/chromium_org/third_party/WebKit/public/platform/
H A DWebCrypto.h120 virtual bool consume(const unsigned char* data, unsigned dataSize) { return false; } argument
208 virtual void encrypt(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char* data, unsigned dataSize, WebCryptoResult result) { result.completeWithError(WebCryptoErrorTypeNotSupported, ""); } argument
209 virtual void decrypt(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char* data, unsigned dataSize, WebCryptoResult result) { result.completeWithError(WebCryptoErrorTypeNotSupported, ""); } argument
210 virtual void sign(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char* data, unsigned dataSize, WebCryptoResult result) { result.completeWithError(WebCryptoErrorTypeNotSupported, ""); } argument
211 virtual void verifySignature(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char* signature, unsigned signatureSize, const unsigned char* data, unsigned dataSize, WebCryptoResult result) { result.completeWithError(WebCryptoErrorTypeNotSupported, ""); } argument
212 virtual void digest(const WebCryptoAlgorithm&, const unsigned char* data, unsigned dataSize, WebCryptoResult result) { result.completeWithError(WebCryptoErrorTypeNotSupported, ""); } argument

Completed in 390 milliseconds

12345678