/external/webkit/Source/WebCore/html/canvas/ |
Uint8Array.h | 40 static PassRefPtr<Uint8Array> create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length); 50 Uint8Array(PassRefPtr<ArrayBuffer> buffer,
|
/external/webkit/Source/WebCore/loader/appcache/ |
ApplicationCacheResource.h | 45 static PassRefPtr<ApplicationCacheResource> create(const KURL& url, const ResourceResponse& response, unsigned type, PassRefPtr<SharedBuffer> buffer = SharedBuffer::create(), const String& path = String()) 48 return adoptRef(new ApplicationCacheResource(url, response, type, buffer, path));
|
/external/webkit/Source/WebCore/platform/graphics/ |
StringTruncator.cpp | 43 typedef unsigned TruncationFunction(const String&, unsigned length, unsigned keepCount, UChar* buffer); 60 static unsigned centerTruncateToBuffer(const String& string, unsigned length, unsigned keepCount, UChar* buffer) 73 memcpy(buffer, string.characters(), sizeof(UChar) * omitStart); 74 buffer[omitStart] = horizontalEllipsis; 75 memcpy(&buffer[omitStart + 1], &string.characters()[omitEnd], sizeof(UChar) * (length - omitEnd)); 80 static unsigned rightTruncateToBuffer(const String& string, unsigned length, unsigned keepCount, UChar* buffer) 89 memcpy(buffer, string.characters(), sizeof(UChar) * keepLength); 90 buffer[keepLength] = horizontalEllipsis;
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
GlyphPageTreeNodeCairoWin.cpp | 36 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) 38 // bufferLength will be greater than the requested number of glyphs if the buffer contains surrogate pairs. 53 DWORD result = GetGlyphIndices(dc, buffer, bufferLength, localGlyphBuffer, 0);
|
/external/webkit/Source/WebCore/platform/haiku/ |
PasteboardHaiku.cpp | 143 const char* buffer = 0; local 146 if (data->FindData("text/plain", B_MIME_TYPE, reinterpret_cast<const void**>(&buffer), &bufferLength) == B_OK) 147 string.Append(buffer, bufferLength); 165 const char* buffer = 0; local 167 if (data->FindData("text/html", B_MIME_TYPE, reinterpret_cast<const void**>(&buffer), &bufferLength) == B_OK) { 169 String html = decoder->decode(buffer, bufferLength); 182 if (data->FindData("text/plain", B_MIME_TYPE, reinterpret_cast<const void**>(&buffer), &bufferLength) == B_OK) { 183 BString plainText(buffer, bufferLength);
|
/external/webkit/Source/WebCore/webaudio/ |
AudioBufferSourceNode.idl | 31 attribute [JSCCustomSetter] AudioBuffer buffer;
|
/external/webkit/Source/WebKit/win/ |
WebKitGraphics.cpp | 146 unsigned CenterTruncateStringToWidth(LPCTSTR text, int length, const WebFontDescription& description, float width, WCHAR* buffer) 148 ASSERT(buffer); 151 memcpy(buffer, result.characters(), result.length() * sizeof(UChar)); 152 buffer[result.length()] = '\0'; 156 unsigned RightTruncateStringToWidth(LPCTSTR text, int length, const WebFontDescription& description, float width, WCHAR* buffer) 158 ASSERT(buffer); 161 memcpy(buffer, result.characters(), result.length() * sizeof(UChar)); 162 buffer[result.length()] = '\0';
|
WebKitGraphics.h | 70 // buffer must be large enough to hold all of "text", including its null terminator. Returns the number of characters put in buffer (excluding the null terminator). 71 unsigned CenterTruncateStringToWidth(LPCTSTR text, int length, const WebFontDescription&, float width, WCHAR* buffer); 72 unsigned RightTruncateStringToWidth(LPCTSTR text, int length, const WebFontDescription&, float width, WCHAR* buffer);
|
/external/webkit/Source/WebKit2/Shared/API/c/ |
WKString.h | 53 WK_EXPORT size_t WKStringGetCharacters(WKStringRef string, WKChar* buffer, size_t bufferLength); 56 WK_EXPORT size_t WKStringGetUTF8CString(WKStringRef string, char* buffer, size_t bufferSize);
|
/external/webkit/Source/WebKit2/WebProcess/WebPage/ |
DecoderAdapter.cpp | 33 DecoderAdapter::DecoderAdapter(const uint8_t* buffer, size_t bufferSize) 34 : m_decoder(buffer, bufferSize)
|
/frameworks/av/include/media/ |
IAudioTrack.h | 69 /* Allocate a shared memory buffer suitable for holding timed audio 72 sp<IMemory>* buffer) = 0; 74 /* Queue a buffer obtained via allocateTimedBuffer for playback at the given 76 virtual status_t queueTimedBuffer(const sp<IMemory>& buffer,
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
StreamingSource.cpp | 73 char buffer[188]; local 75 ssize_t n = mStreamListener->read(buffer, sizeof(buffer), &extra); 103 if (buffer[0] == 0x00) { 110 uint8_t type = buffer[1]; 114 memcpy(&mediaTimeUs, &buffer[2], sizeof(mediaTimeUs)); 125 status_t err = mTSParser->feedTSPacket(buffer, sizeof(buffer));
|
/frameworks/av/media/libstagefright/include/ |
OMXNodeInstance.h | 63 OMX::buffer_id *buffer); 67 OMX::buffer_id *buffer); 75 OMX_U32 portIndex, size_t size, OMX::buffer_id *buffer, 80 OMX::buffer_id *buffer); 82 status_t freeBuffer(OMX_U32 portIndex, OMX::buffer_id buffer); 84 status_t fillBuffer(OMX::buffer_id buffer); 87 OMX::buffer_id buffer, 135 OMX::buffer_id *buffer);
|
/frameworks/av/media/libstagefright/rtsp/ |
AAVCAssembler.h | 51 void addSingleNALUnit(const sp<ABuffer> &buffer); 53 bool addSingleTimeAggregationPacket(const sp<ABuffer> &buffer);
|
/frameworks/av/services/audioflinger/ |
RecordTracks.h | 39 // clear the buffer overflow flag 41 // set the buffer overflow flag and return previous value 46 void dump(char* buffer, size_t size); 55 virtual status_t getNextBuffer(AudioBufferProvider::Buffer* buffer, 59 bool mOverflow; // overflow on most recent attempt to fill client buffer
|
/frameworks/base/core/java/android/speech/ |
IRecognitionListener.aidl | 50 * @param buffer the byte buffer containing a sequence of 16-bit shorts. 52 void onBufferReceived(in byte[] buffer);
|
/frameworks/base/core/java/android/util/ |
LogWriter.java | 48 * Same as above, but buffer is one of the LOG_ID_ constants from android.util.Log. 50 public LogWriter(int priority, String tag, int buffer) { 53 mBuffer = buffer;
|
/frameworks/base/core/jni/ |
android_net_TrafficStats.cpp | 83 char buffer[384]; local 88 while (fgets(buffer, sizeof(buffer), fp) != NULL) { 89 int matched = sscanf(buffer, "%31s %llu %llu %llu %llu " 127 char buffer[384]; local 132 while (fgets(buffer, sizeof(buffer), fp) != NULL) { 133 if (sscanf(buffer, "%d %31s 0x%llx %u %u %llu %llu %llu %llu", &idx,
|
/frameworks/base/media/libdrm/mobile1/src/parser/ |
parser_dcf.c | 20 static int32_t drm_parseUintVar(uint8_t * buffer, uint8_t * len) 26 if (NULL == buffer) 30 while ((buffer[byteLen] & UINT_VAR_FLAG) > 0 && byteLen < MAX_UINT_VAR_BYTE) /* UINT_VAR_FLAG == 0x80 */ 37 sum = buffer[byteLen]; 39 sum += ((buffer[i] & UINT_VAR_DATA) << 7 * (byteLen - i)); /* UINT_VAR_DATA == 0x7F */ 45 int32_t drm_dcfParser(uint8_t *buffer, int32_t bufferLen, T_DRM_DCF_Info *pDcfInfo, 53 if (NULL == buffer || bufferLen <= 0 || NULL == pDcfInfo) 56 tmpBuf = buffer;
|
/frameworks/compile/libbcc/bcinfo/Wrap/ |
file_wrapper_input.cpp | 35 size_t FileWrapperInput::Read(uint8_t* buffer, size_t wanted) { 36 size_t found = fread((char*) buffer, 1, wanted, _file);
|
/hardware/invensense/mlsdk/mllite/ |
mlFIFOHW.c | 103 * @param buffer 105 * Note that this buffer <b>must</b> be large enough 111 uint_fast16_t inv_get_fifo(uint_fast16_t length, unsigned char *buffer) 121 if (length > MAX_FIFO_LENGTH || toRead > length || NULL == buffer) { 131 // fifo_objHW.fifoCount is the footer size left in the buffer, or 140 0 ? buffer : buffer + FIFO_FOOTER_SIZE, toRead); 163 if (buffer[kk] != gFifoFooter[kk]) { 165 buffer[0], buffer[1]) [all...] |
/libcore/luni/src/main/java/java/io/ |
FilterInputStream.java | 119 * byte array {@code buffer} starting at {@code offset}. Returns the number 124 * @param buffer 127 * the initial position in {@code buffer} to store the bytes 130 * the maximum number of bytes to store in {@code buffer}. 137 public int read(byte[] buffer, int offset, int count) throws IOException { 138 return in.read(buffer, offset, count);
|
FilterReader.java | 120 * in the byte array {@code buffer} starting at {@code offset}. Returns the 124 * @param buffer 127 * the initial position in {@code buffer} to store the characters 130 * the maximum number of characters to store in {@code buffer}. 137 public int read(char[] buffer, int offset, int count) throws IOException { 139 return in.read(buffer, offset, count);
|
FilterWriter.java | 77 * Writes {@code count} characters from the char array {@code buffer} 80 * @param buffer 81 * the buffer to write. 83 * the index of the first character in {@code buffer} to write. 85 * the number of characters in {@code buffer} to write. 90 public void write(char[] buffer, int offset, int count) throws IOException { 92 out.write(buffer, offset, count);
|
PipedOutputStream.java | 118 * Writes {@code count} bytes from the byte array {@code buffer} starting at 126 * @param buffer 127 * the buffer to write. 129 * the index of the first byte in {@code buffer} to write. 131 * the number of bytes from {@code buffer} to write to this 135 * offset + count} is bigger than the length of {@code buffer}. 146 public void write(byte[] buffer, int offset, int count) throws IOException { 147 super.write(buffer, offset, count);
|