/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
ByteString.java | 212 * @param bytes source buffer 344 * buffer in one read() call. 446 * Copies bytes into a buffer at the given offset. 448 * @param target buffer to copy into 449 * @param offset in the target buffer 457 * Copies bytes into a buffer. 459 * @param target buffer to copy into 461 * @param targetOffset offset within the target buffer 721 // Current buffer to which we are writing 722 private byte[] buffer; field in class:ByteString.Output 896 private final byte[] buffer; field in class:ByteString.CodedBuilder [all...] |
/external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
pb_bufmgr_cache.c | 30 * Buffer cache. 58 * Wrapper around a pipe buffer which adds delayed destruction. 64 struct pb_buffer *buffer; member in struct:pb_cache_buffer 105 * Actually destroy the buffer. 116 pb_reference(&buf->buffer, NULL); 173 return pb_map(buf->buffer, flags, flush_ctx); 181 pb_unmap(buf->buffer); 191 return pb_validate(buf->buffer, vl, flags); 200 pb_fence(buf->buffer, fence); 210 pb_get_base_buffer(buf->buffer, base_buf, offset) [all...] |
/external/opencv/otherlibs/highgui/ |
grfmt_pxm.cpp | 199 uchar buffer[buffer_size]; local 203 uchar* src = buffer; 347 if( src != buffer ) 390 int bufferSize = 128; // buffer that should fit a header 391 char* buffer = 0; local 401 buffer = new char[bufferSize]; 402 if( !buffer ) 409 sprintf( buffer, "P%c\n%d %d\n%d\n", 413 m_strm.PutBytes( buffer, (int)strlen(buffer) ); [all...] |
/external/protobuf/src/google/protobuf/io/ |
zero_copy_stream_unittest.cc | 198 scoped_array<char> buffer(new char[str.size() + 1]); 199 buffer[str.size()] = '\0'; 200 EXPECT_EQ(ReadFromInput(input, buffer.get(), str.size()), str.size()); 201 EXPECT_STREQ(str.c_str(), buffer.get()); 271 uint8 buffer[kBufferSize]; local 277 ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); 281 ArrayInputStream input(buffer, size, kBlockSizes[j]); 291 uint8* buffer = new uint8[kBufferSize]; local 298 ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); 306 ArrayInputStream input(buffer, size, kBlockSizes[j]) 319 uint8* buffer = new uint8[kBufferSize]; local 347 uint8* buffer = new uint8[kBufferSize]; local 392 const void* buffer; local 559 const void* buffer; local 572 void* buffer; local 657 uint8 buffer[kBufferSize]; local 690 uint8 buffer[kBufferSize]; local [all...] |
/art/compiler/ |
file_output_stream.h | 32 virtual bool WriteFully(const void* buffer, int64_t byte_count);
|
/bionic/libc/include/sys/ |
sha1.h | 21 u_char buffer[64]; member in struct:__anon131
|
/cts/libs/util/src/android/provider/cts/ |
FileCopyHelper.java | 78 byte[] buffer = new byte[1024]; 79 for (int len = source.read(buffer); len > 0; len = source.read(buffer)) { 80 target.write(buffer, 0, len);
|
/cts/suite/audio_quality/lib/include/audio/ |
AudioPlaybackLocal.h | 34 bool doPlaybackOrRecord(android::sp<Buffer>& buffer);
|
AudioRecordingLocal.h | 34 bool doPlaybackOrRecord(android::sp<Buffer>& buffer); 45 // alsa buffer size
|
/cts/suite/audio_quality/lib/src/audio/ |
AudioRemote.cpp | 45 bool AudioRemotePlayback::startPlaybackOrRecord(android::sp<Buffer>& buffer, int numberRepetition) 72 bool AudioRemoteRecording::startPlaybackOrRecord(android::sp<Buffer>& buffer, 75 bool stereo = buffer->isStereo(); 76 return mRemote->startRecording(stereo, mSamplingRate, mMode, mVolume, buffer);
|
/cts/suite/pts/deviceTests/opengl/jni/graphics/ |
GLUtils.cpp | 48 char* buffer = new char[length + 1]; local 49 int num = AAsset_read(asset, buffer, length); 53 delete[] buffer; 56 buffer[length] = '\0'; 57 return buffer; 93 char* buffer = openTextFile(path); local 94 if (buffer == NULL) { 98 int numVertices = readInt(buffer + index); 106 vertices[vIndex + 0] = readFloat(buffer + index); 108 vertices[vIndex + 1] = readFloat(buffer + index) [all...] |
/development/host/windows/usb/api/ |
adb_interface.cpp | 34 bool AdbInterfaceObject::GetInterfaceName(void* buffer,
42 // Lets see if buffer is big enough
44 if ((NULL == buffer) || (*buffer_char_size < name_len)) {
52 wcscpy(reinterpret_cast<wchar_t*>(buffer), interface_name().c_str());
61 reinterpret_cast<PSTR>(buffer),
|
/development/ndk/platforms/android-3/include/ |
sha1.h | 21 u_char buffer[64]; member in struct:__anon1283
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
NetscapeDraftHeaderParser.java | 59 final CharArrayBuffer buffer, 61 if (buffer == null) { 62 throw new IllegalArgumentException("Char array buffer may not be null"); 67 NameValuePair nvp = this.nvpParser.parseNameValuePair(buffer, cursor, DELIMITERS); 70 NameValuePair param = this.nvpParser.parseNameValuePair(buffer, cursor, DELIMITERS);
|
/external/apache-http/src/org/apache/http/impl/io/ |
ContentLengthInputStream.java | 94 * @param in The session input buffer to wrap 120 byte buffer[] = new byte[BUFFER_SIZE]; 121 while (read(buffer) >= 0) { 183 * @return The number of bytes read into the buffer. 203 byte[] buffer = new byte[BUFFER_SIZE]; 210 int l = read(buffer, 0, (int)Math.min(BUFFER_SIZE, remaining));
|
/external/chromium/base/ |
string_util_win.h | 36 inline int vsnprintf(char* buffer, size_t size, 38 int length = vsnprintf_s(buffer, size, size - 1, format, arguments); 44 inline int vswprintf(wchar_t* buffer, size_t size, 48 int length = _vsnwprintf_s(buffer, size, size - 1, format, arguments);
|
/external/chromium/testing/gtest/xcode/Samples/FrameworkSample/ |
widget.h | 53 void GetCharPtrValue(char* buffer, size_t max_size) const;
|
/external/chromium/webkit/glue/ |
webclipboard_impl.cc | 66 bool WebClipboardImpl::isFormatAvailable(Format format, Buffer buffer) { 68 ui::Clipboard::Buffer buffer_type; 70 if (!ConvertBufferType(buffer, &buffer_type)) 98 WebString WebClipboardImpl::readPlainText(Buffer buffer) { 99 ui::Clipboard::Buffer buffer_type; 100 if (!ConvertBufferType(buffer, &buffer_type)) 122 WebString WebClipboardImpl::readHTML(Buffer buffer, WebURL* source_url) [all...] |
/external/chromium_org/base/allocator/ |
allocator_extension.h | 28 // buffer[0,buffer_length-1]. 30 // |buffer| must point to a valid piece of memory 32 BASE_EXPORT void GetStats(char* buffer, int buffer_length);
|
allocator_extension_thunks.h | 23 typedef void (*GetStatsFunction)(char* buffer, int buffer_length);
|
/external/chromium_org/base/ |
sync_socket.h | 50 // buffer is a pointer to the data to send. 53 virtual size_t Send(const void* buffer, size_t length); 56 // buffer is a pointer to the buffer to receive data. 59 virtual size_t Receive(void* buffer, size_t length); 104 virtual size_t Receive(void* buffer, size_t length) OVERRIDE; 108 // and we fill the local socket buffer. When the buffer is full, this 112 virtual size_t Send(const void* buffer, size_t length) OVERRIDE;
|
/external/chromium_org/cc/scheduler/ |
texture_uploader_unittest.cc | 216 uint8 buffer[256 * 256 * 4]; local 219 memset(buffer, 0, sizeof(buffer)); 222 buffer[i * 4 * 256] = 0x1; 223 buffer[(i + 1) * 4 * 256 - 1] = 0x2; 225 UploadTexture(uploader.get(), GL_RGBA, gfx::Size(256, 256), buffer); 228 memset(buffer, 0, sizeof(buffer)); 231 buffer[i * 4 * 41] = 0x1; 232 buffer[(i + 1) * 4 * 41 - 1] = 0x2 [all...] |
/external/chromium_org/content/browser/device_orientation/ |
data_fetcher_shared_memory.h | 29 // buffer with the latest device motion data. 30 // Returns true if there was any motion data to update the buffer with. 40 DeviceMotionHardwareBuffer* buffer);
|
/external/chromium_org/content/renderer/ |
webclipboard_impl.cc | 49 uint64 WebClipboardImpl::sequenceNumber(Buffer buffer) { 50 ui::Clipboard::Buffer buffer_type; 51 if (!ConvertBufferType(buffer, &buffer_type)) 57 bool WebClipboardImpl::isFormatAvailable(Format format, Buffer buffer) { 58 ui::Clipboard::Buffer buffer_type = ui::Clipboard::BUFFER_STANDARD; 60 if (!ConvertBufferType(buffer, &buffer_type)) 88 Buffer buffer, bool* contains_filenames) [all...] |
/external/chromium_org/media/audio/ |
audio_power_monitor.cc | 32 void AudioPowerMonitor::Scan(const AudioBus& buffer, int num_frames) { 33 DCHECK_LE(num_frames, buffer.frames()); 34 const int num_channels = buffer.channels(); 39 // over the audio samples in |buffer|. 47 const float* p = buffer.channel(i); 56 // If data in audio buffer is garbage, ignore its effect on the result.
|