/external/webkit/Source/JavaScriptCore/API/ |
JSStringRef.cpp | 84 size_t JSStringGetUTF8CString(JSStringRef string, char* buffer, size_t bufferSize) 86 if (!bufferSize) 91 ConversionResult result = convertUTF16ToUTF8(&d, d + string->length(), &p, p + bufferSize - 1, true);
|
JSStringRef.h | 116 representation of string. If bufferSize is too small, buffer will contain only 117 partial results. If buffer is not at least bufferSize bytes in size, 119 @param bufferSize The size of the external buffer in bytes. 122 JS_EXPORT size_t JSStringGetUTF8CString(JSStringRef string, char* buffer, size_t bufferSize);
|
/external/webkit/Source/WebCore/platform/ |
FileStream.cpp | 118 int FileStream::read(char* buffer, int bufferSize) 124 int bytesToRead = (remaining < bufferSize) ? static_cast<int>(remaining) : bufferSize;
|
SharedBuffer.cpp | 199 unsigned bufferSize = m_buffer.size(); 200 if (m_size > bufferSize) { 202 char* destination = m_buffer.data() + bufferSize; 203 unsigned bytesLeft = m_size - bufferSize;
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
PlatformCanvas.cpp | 57 size_t bufferSize = size.width() * size.height() * 4; 58 m_pixelData = adoptArrayPtr(new uint8_t[bufferSize]); 59 memset(m_pixelData.get(), 0, bufferSize);
|
/external/webkit/Source/WebKit2/Platform/CoreIPC/ |
ArgumentDecoder.h | 41 ArgumentDecoder(const uint8_t* buffer, size_t bufferSize); 42 ArgumentDecoder(const uint8_t* buffer, size_t bufferSize, Deque<Attachment>&); 110 void initialize(const uint8_t* buffer, size_t bufferSize);
|
/external/webkit/Source/WebKit2/Shared/ |
WebString.h | 72 size_t getUTF8CString(char* buffer, size_t bufferSize) 74 if (!bufferSize) 78 WTF::Unicode::ConversionResult result = WTF::Unicode::convertUTF16ToUTF8(&d, d + m_string.length(), &p, p + bufferSize - 1, /* strict */ true);
|
/external/webkit/Tools/WebKitTestRunner/ |
StringFunctions.h | 69 size_t bufferSize = WKStringGetMaximumUTF8CStringSize(string); 70 OwnArrayPtr<char> buffer = adoptArrayPtr(new char[bufferSize]); 71 size_t stringLength = WKStringGetUTF8CString(string, buffer.get(), bufferSize);
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
gltrace_transport.cpp | 141 BufferedOutputStream::BufferedOutputStream(TCPStream *stream, size_t bufferSize) { 144 mBufferSize = bufferSize; 146 mStringBuffer.reserve(bufferSize);
|
gltrace_transport.h | 66 * Construct a Buffered stream of size @bufferSize, using @stream as 69 BufferedOutputStream(TCPStream *stream, size_t bufferSize);
|
/external/qemu/distrib/sdl-1.2.15/src/audio/nds/ |
SDL_ndsaudio.c | 151 if((soundsystem->soundcursor + soundsystem->numsamples) > soundsystem->buffersize) 153 SoundMixCallback(&soundsystem->mixbuffer[soundsystem->soundcursor],soundsystem->buffersize - soundsystem->soundcursor); 154 remain = soundsystem->numsamples - (soundsystem->buffersize - soundsystem->soundcursor); 164 if((soundsystem->soundcursor + soundsystem->numsamples) > (soundsystem->buffersize >> 1)) 166 SoundMixCallback(&soundsystem->mixbuffer[soundsystem->soundcursor << 1],(soundsystem->buffersize >> 1) - soundsystem->soundcursor); 167 remain = soundsystem->numsamples - ((soundsystem->buffersize >> 1) - soundsystem->soundcursor);
|
/frameworks/base/core/jni/android/graphics/ |
BitmapRegionDecoder.cpp | 53 size_t bufferSize = 4096; 56 char* data = (char*)sk_malloc_throw(bufferSize); 59 bufferSize - streamLen)) != 0) { 61 if (streamLen == bufferSize) { 62 bufferSize *= 2; 63 data = (char*)sk_realloc_throw(data, bufferSize);
|
/external/llvm/runtime/libprofile/ |
BasicBlockTracing.c | 52 const unsigned BufferSize = 128 * 1024; 58 ArraySize = BufferSize / sizeof (unsigned);
|
/external/webkit/Source/WebKit2/Shared/API/c/ |
WKString.cpp | 66 size_t WKStringGetUTF8CString(WKStringRef stringRef, char* buffer, size_t bufferSize) 68 return toImpl(stringRef)->getUTF8CString(buffer, bufferSize);
|
/external/webkit/Source/WebKit2/WebProcess/WebPage/ |
DecoderAdapter.cpp | 33 DecoderAdapter::DecoderAdapter(const uint8_t* buffer, size_t bufferSize) 34 : m_decoder(buffer, bufferSize)
|
/libcore/dalvik/src/main/java/dalvik/system/ |
VMDebug.java | 163 * @param bufferSize the maximum size of both files combined. If passed 168 public static void startMethodTracing(String traceFileName, int bufferSize, int flags) { 174 startMethodTracingNative(traceFileName, null, bufferSize, flags); 183 FileDescriptor fd, int bufferSize, int flags) 192 startMethodTracingNative(traceFileName, fd, bufferSize, flags); 200 public static void startMethodTracingDdms(int bufferSize, int flags) { 201 startMethodTracingNative(null, null, bufferSize, flags); 208 FileDescriptor fd, int bufferSize, int flags);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
BytesBufferPool.java | 68 public BytesBufferPool(int poolSize, int bufferSize) { 71 mBufferSize = bufferSize;
|
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
OMXCapabilities.cpp | 230 size_t bufferSize) { 242 strncat(buffer, cap[i].param, bufferSize - 1); 243 strncat(buffer, PARAM_SEP, bufferSize - 1); 257 size_t bufferSize) { 272 strncat(buffer, cap[i].param, bufferSize - 1); 273 strncat(buffer, PARAM_SEP, bufferSize - 1); 287 strncat(buffer, tmpBuffer, bufferSize - 1); 288 strncat(buffer, PARAM_SEP, bufferSize - 1); 294 strncat(buffer, tmpBuffer, bufferSize - 1); 295 strncat(buffer, PARAM_SEP, bufferSize - 1) [all...] |
/external/skia/legacy/src/core/ |
SkStream.cpp | 352 SkBufferStream::SkBufferStream(SkStream* proxy, size_t bufferSize) 357 this->init(NULL, bufferSize); 360 SkBufferStream::SkBufferStream(SkStream* proxy, void* buffer, size_t bufferSize) 364 SkASSERT(buffer == NULL || bufferSize != 0); // init(addr, 0) makes no sense, we must know how big their buffer is 366 this->init(buffer, bufferSize); 369 void SkBufferStream::init(void* buffer, size_t bufferSize) 371 if (bufferSize == 0) 372 bufferSize = kDefaultBufferSize; 374 fOrigBufferSize = bufferSize; 375 fBufferSize = bufferSize; [all...] |
/external/skia/src/core/ |
SkStream.cpp | 393 SkBufferStream::SkBufferStream(SkStream* proxy, size_t bufferSize) 398 this->init(NULL, bufferSize); 401 SkBufferStream::SkBufferStream(SkStream* proxy, void* buffer, size_t bufferSize) 405 SkASSERT(buffer == NULL || bufferSize != 0); // init(addr, 0) makes no sense, we must know how big their buffer is 407 this->init(buffer, bufferSize); 410 void SkBufferStream::init(void* buffer, size_t bufferSize) 412 if (bufferSize == 0) 413 bufferSize = kDefaultBufferSize; 415 fOrigBufferSize = bufferSize; 416 fBufferSize = bufferSize; [all...] |
/external/chromium/sdch/open-vcdiff/vsprojects/ |
vcdiff_test.bat | 262 -buffersize ^ 263 && ( echo -buffersize option with no argument should fail, but succeeded ^ 267 rem Using -buffersize=1 should still work. 272 -buffersize 1 ^ 274 || ( echo vcdiff test with -buffersize=1 failed ^ 280 rem Using -buffersize=1 with stdin/stdout means that vcdiff 283 -buffersize 1 ^ 287 || ( echo Encode using stdin/stdout with -buffersize=1 failed ^ 290 -buffersize 1 ^ 294 || ( echo Decode using stdin/stdout with -buffersize=1 failed [all...] |
/external/open-vcdiff/vsprojects/ |
vcdiff_test.bat | 262 -buffersize ^ 263 && ( echo -buffersize option with no argument should fail, but succeeded ^ 267 rem Using -buffersize=1 should still work. 272 -buffersize 1 ^ 274 || ( echo vcdiff test with -buffersize=1 failed ^ 280 rem Using -buffersize=1 with stdin/stdout means that vcdiff 283 -buffersize 1 ^ 287 || ( echo Encode using stdin/stdout with -buffersize=1 failed ^ 290 -buffersize 1 ^ 294 || ( echo Decode using stdin/stdout with -buffersize=1 failed [all...] |
/external/llvm/include/llvm/Support/ |
FormattedStream.h | 109 if (size_t BufferSize = TheStream->GetBufferSize()) 110 SetBufferSize(BufferSize); 133 else if (size_t BufferSize = GetBufferSize()) 134 TheStream->SetBufferSize(BufferSize);
|
/external/protobuf/src/google/protobuf/io/ |
coded_stream.cc | 65 int backup_bytes = BufferSize() + buffer_size_after_limit_ + overflow_bytes_; 70 total_bytes_read_ -= BufferSize() + buffer_size_after_limit_; 93 (BufferSize() + buffer_size_after_limit_); 130 (BufferSize() + buffer_size_after_limit_); 140 (BufferSize() + buffer_size_after_limit_); 157 const int original_buffer_size = BufferSize(); 192 if (BufferSize() == 0 && !Refresh()) return false; 195 *size = BufferSize(); 201 while ((current_buffer_size = BufferSize()) < size) { 227 while ((current_buffer_size = BufferSize()) < size) [all...] |
/external/svox/pico/lib/ |
picoctrl.h | 80 picoos_int16 bufferSize,
|