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

1234

/external/webkit/Source/WebCore/platform/network/
H A DMIMESniffing.cpp145 static inline void skipWhiteSpace(const char* data, size_t& pos, size_t dataSize) argument
147 while (pos < dataSize && isWhiteSpace(data[pos]))
233 static inline bool maskedCompare(const MagicNumbers& info, const char* data, size_t dataSize) argument
235 if (dataSize < info.size)
269 static inline bool compare(const MagicNumbers& info, const char* data, size_t dataSize) argument
273 skipWhiteSpace(data, pos, dataSize);
275 dataSize -= pos;
282 result = dataSize >= info.size && !memcmp(data, info.pattern, info.size);
287 static inline const char* findMIMEType(const char* data, size_t dataSize, const MagicNumbers* types, size_t typesCount) argument
290 if (compare(types[i], data, dataSize))
296 findSimpleMIMEType(const char* data, size_t dataSize, const MagicNumbers* types, size_t typesCount) argument
318 internalTextOrBinaryTypeSniffingProcedure(const char* data, size_t dataSize) argument
340 textOrBinaryTypeSniffingProcedure(const char* data, size_t dataSize) argument
348 unknownTypeSniffingProcedure(const char* data, size_t dataSize) argument
375 imageTypeSniffingProcedure(const char* data, size_t dataSize) argument
380 checkText(const char* data, size_t& pos, size_t dataSize, const char* text, size_t textSize) argument
392 checkRDF(const char* data, size_t pos, size_t dataSize) argument
417 skipTag(const char*& data, size_t& pos, size_t dataSize, const char* tag, size_t tagSize, const char* tagEnd, size_t tagEndSize) argument
429 feedTypeSniffingProcedure(const char* data, size_t dataSize) argument
484 static const size_t dataSize = dataSizeNeededForImageSniffing(); local
[all...]
H A DMIMESniffing.h31 size_t dataSize() const { return m_dataSize; } function in class:MIMESniffer
H A DHTTPHeaderMap.cpp63 size_t dataSize = data->size(); local
64 for (size_t index = 0; index < dataSize; ++index) {
/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/webkit/Source/WebCore/platform/audio/chromium/
H A DAudioBusChromium.cpp51 PassOwnPtr<AudioBus> createBusFromInMemoryAudioFile(const void* data, size_t dataSize, bool mixToMono, double sampleRate) argument
54 OwnPtr<AudioBus> audioBus = PlatformBridge::decodeAudioFileData(static_cast<const char*>(data), dataSize, sampleRate);
/external/webkit/Source/WebCore/platform/audio/mac/
H A DAudioFileReaderMac.h45 AudioFileReader(const void* data, size_t dataSize);
52 size_t dataSize() const { return m_dataSize; } function in class:WebCore::AudioFileReader
H A DAudioFileReaderMac.cpp81 AudioFileReader::AudioFileReader(const void* data, size_t dataSize) argument
83 , m_dataSize(dataSize)
115 size_t dataSize = audioFileReader->dataSize(); local
119 if (static_cast<UInt64>(position) < dataSize) {
120 size_t bytesAvailable = dataSize - static_cast<size_t>(position);
135 return audioFileReader->dataSize();
250 PassOwnPtr<AudioBus> createBusFromInMemoryAudioFile(const void* data, size_t dataSize, bool mixToMono, double sampleRate) argument
252 AudioFileReader reader(data, dataSize);
/external/webkit/Source/WebCore/platform/network/qt/
H A DQtMIMETypeSniffer.cpp44 if (!m_reply->isFinished() && m_reply->bytesAvailable() < m_sniffer.dataSize())
47 QByteArray data = m_reply->peek(m_sniffer.dataSize());
/external/webkit/Source/WebCore/platform/audio/
H A DAudioFileReader.h45 PassOwnPtr<AudioBus> createBusFromInMemoryAudioFile(const void* data, size_t dataSize, bool mixToMono, double sampleRate);
/external/skia/tests/
H A DFlateTest.cpp40 size_t dataSize) {
44 SkMemoryStream testData(dataSize);
47 for (size_t i = 0; i < dataSize; i++)
50 testStream->setMemory(testData.getMemoryBase(), dataSize, true);
65 if (dataSize < 1024)
39 TestFlate(skiatest::Reporter* reporter, SkMemoryStream* testStream, size_t dataSize) argument
/external/webkit/Source/WebCore/platform/image-decoders/webp/
H A DWEBPImageDecoder.cpp85 const size_t dataSize = m_data->size(); local
86 if (dataSize < sizeOfHeader)
91 if (!WebPGetInfo(dataBytes, dataSize, &width, &height))
115 if (!WebPDecodeRGBInto(dataBytes, dataSize, m_rgbOutput.data(), m_rgbOutput.size(), stride))
124 const VP8StatusCode status = WebPIUpdate(m_decoder, dataBytes, dataSize);
/external/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/webkit/Tools/DumpRenderTree/gtk/
H A DWorkQueueItemGtk.cpp33 size_t dataSize = JSStringGetMaximumUTF8CStringSize(jsString); local
34 gchar* utf8 = (gchar*)g_malloc(dataSize);
35 JSStringGetUTF8CString(jsString, utf8, dataSize);
/external/icu4c/io/
H A Dustdio.c410 int32_t dataSize; local
420 dataSize = (int32_t)(str->fLimit - str->fPos);
421 if (f->fFileno == 0 && dataSize > 0) {
427 if(dataSize != 0) {
428 uprv_memmove(f->fUCBuffer, str->fPos, dataSize * sizeof(UChar));
433 availLength = UFILE_UCHARBUFFER_SIZE - dataSize;
457 myTarget = f->fUCBuffer + dataSize;
486 int32_t dataSize; local
509 dataSize = (int32_t)(str->fLimit - str->fPos);
512 if (dataSize
695 int32_t dataSize; local
[all...]
/external/webkit/Source/WebCore/loader/archive/
H A DArchiveResource.cpp50 unsigned dataSize = data->size(); local
52 ResourceResponse(url, mimeType, dataSize, textEncoding, String())));
/external/sonivox/arm-fm-22k/host_src/
H A Deas_wave.h63 EAS_U32 dataSize; member in struct:__anon9648
/external/sonivox/arm-hybrid-22k/host_src/
H A Deas_wave.h63 EAS_U32 dataSize; member in struct:__anon9698
/external/sonivox/arm-wt-22k/host_src/
H A Deas_wave.h63 EAS_U32 dataSize; member in struct:__anon9749
/external/webkit/Source/WebCore/webaudio/
H A DAudioBuffer.h47 static PassRefPtr<AudioBuffer> createFromAudioFileData(const void* data, size_t dataSize, bool mixToMono, double sampleRate);
H A DAudioBuffer.cpp47 PassRefPtr<AudioBuffer> AudioBuffer::createFromAudioFileData(const void* data, size_t dataSize, bool mixToMono, double sampleRate) argument
49 OwnPtr<AudioBus> bus = createBusFromInMemoryAudioFile(data, dataSize, mixToMono, sampleRate);
/external/webkit/Source/WebCore/platform/graphics/mac/
H A DWebGLLayer.mm126 size_t dataSize = rowBytes * height;
127 void* data = fastMalloc(dataSize);
134 CGDataProviderRef provider = CGDataProviderCreateWithData(0, data, dataSize, freeData);
/external/webkit/Source/JavaScriptCore/runtime/
H A DPropertyMapHashTable.h219 size_t dataSize();
241 , m_index(static_cast<unsigned*>(fastZeroedMalloc(dataSize())))
251 , m_index(static_cast<unsigned*>(fastMalloc(dataSize())))
257 memcpy(m_index, other.m_index, dataSize());
274 , m_index(static_cast<unsigned*>(fastZeroedMalloc(dataSize())))
465 size_t result = sizeof(PropertyTable) + dataSize();
497 m_index = static_cast<unsigned*>(fastZeroedMalloc(dataSize()));
537 inline size_t PropertyTable::dataSize() function in class:JSC::PropertyTable
/external/javassist/src/main/javassist/bytecode/
H A DCodeAnalyzer.java231 stack += Descriptor.dataSize(desc) - 1;
235 stack += Descriptor.dataSize(desc);
240 stack += Descriptor.dataSize(desc) - 1;
260 return Descriptor.dataSize(desc);
/external/webkit/Source/WebCore/platform/graphics/win/
H A DQTMovie.h93 unsigned dataSize() const;
H A DQTPixelBuffer.h71 size_t dataSize() const;

Completed in 2602 milliseconds

1234