HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 701 - 725 of 5558) sorted by null

<<21222324252627282930>>

  /external/srtp/crypto/test/
rand_gen.c 122 uint8_t buffer[BUF_LEN]; local
124 status = crypto_get_random(buffer, num_octets);
128 printf("%s\n", octet_string_hex_string(buffer, num_octets));
  /external/valgrind/main/none/tests/s390x/
icm.c 22 char buffer[256]; local
71 buffer[n] = n;
73 test(&buffer[0],0);
74 test(&buffer[60],16);
75 test(&buffer[120],32);
76 test(&buffer[180],48);
77 test(&buffer[240],64);
78 test(&buffer[252],80);
82 buffer[n] = 255-n;
83 test(&buffer[0],128)
    [all...]
stcke.c 6 unsigned long buffer[2]; member in union:stcke
37 cc = stcke(start.buffer);
42 cc = stcke(end.buffer);
  /external/webkit/Source/JavaScriptCore/API/
JSStringRefCF.cpp 45 OwnArrayPtr<UniChar> buffer = adoptArrayPtr(new UniChar[length]); local
46 CFStringGetCharacters(string, CFRangeMake(0, length), buffer.get());
48 return OpaqueJSString::create(reinterpret_cast<UChar*>(buffer.get()), length).leakRef();
  /external/webkit/Source/WebCore/platform/cf/
FileSystemCF.cpp 47 char* buffer; local
48 CString string = CString::newUninitialized(size, buffer);
50 if (!CFStringGetFileSystemRepresentation(cfString.get(), buffer, size)) {
  /external/webkit/Source/WebCore/platform/text/brew/
TextBoundariesBrew.cpp 37 int findNextWordFromIndex(const UChar* buffer, int len, int position, bool forward)
43 void findWordBoundary(const UChar* buffer, int len, int position, int* start, int* end)
51 String str(buffer, len);
  /external/webkit/Source/WebCore/platform/win/
SharedBufferWin.cpp 49 LOG_ERROR("Failed to open file %s to create shared buffer, GetLastError() = %u", filePath.ascii().data(), GetLastError());
58 Vector<char> buffer(bytesToRead);
60 if (ReadFile(fileHandle, buffer.data(), bytesToRead, &bytesRead, 0) && bytesToRead == bytesRead)
61 result = SharedBuffer::adoptVector(buffer);
  /frameworks/av/include/media/stagefright/
MediaAdapter.h 43 MediaBuffer **buffer, const ReadOptions *options = NULL);
49 virtual void signalBufferReturned(MediaBuffer *buffer);
56 // deep copy, such that after pushBuffer return, the buffer can be re-used.
57 status_t pushBuffer(MediaBuffer *buffer);
61 // Make sure the read() wait for the incoming buffer.
63 // Make sure the pushBuffer() wait for the current buffer consumed.
  /frameworks/av/media/libstagefright/rtsp/
AH263Assembler.cpp 75 sp<ABuffer> buffer = *queue->begin(); local
79 mNextExpectedSeqNo = (uint32_t)buffer->int32Data();
80 } else if ((uint32_t)buffer->int32Data() != mNextExpectedSeqNo) {
89 CHECK(buffer->meta()->findInt32("rtp-time", (int32_t *)&rtpTime));
96 // hexdump(buffer->data(), buffer->size());
98 if (buffer->size() < 2) {
105 unsigned payloadHeader = U16_AT(buffer->data());
137 buffer->setRange(buffer->offset() + skip, buffer->size() - skip)
    [all...]
  /frameworks/av/services/camera/libcameraservice/camera3/
Camera3InputStream.h 65 const camera3_stream_buffer &buffer,
75 virtual status_t getInputBufferLocked(camera3_stream_buffer *buffer);
77 const camera3_stream_buffer &buffer);
Camera3ZslStream.h 33 * most output buffers, and when directed, pushes a buffer back to the HAL for
51 * Locate a buffer matching this timestamp in the RingBufferConsumer,
88 virtual status_t getInputBufferLocked(camera3_stream_buffer *buffer);
90 const camera3_stream_buffer &buffer);
94 const camera3_stream_buffer &buffer,
  /frameworks/base/core/java/android/content/pm/
MacAuthenticatedInputStream.java 71 public int read(byte[] buffer, int offset, int count) throws IOException {
72 int numRead = super.read(buffer, offset, count);
74 mMac.update(buffer, offset, numRead);
  /frameworks/base/core/jni/android/graphics/
Utils.cpp 31 size_t AssetStreamAdaptor::read(void* buffer, size_t size) {
34 if (NULL == buffer) {
53 amount = fAsset->read(buffer, size);
  /hardware/samsung_slsi/exynos5/include/
ion.h 38 * IMSYNC_DEV_TO_READ: Device only reads the buffer
39 * IMSYNC_DEV_TO_WRITE: Device may writes to the buffer
40 * IMSYNC_DEV_TO_RW: Device reads and writes to the buffer
42 * IMSYNC_SYNC_FOR_DEV: ion_msync() for device to access the buffer
43 * IMSYNC_SYNC_FOR_CPU: ion_msync() for CPU to access the buffer after device
71 * An identifier of a buffer allocated from ION. You must obtain to access
72 * a buffer allocated from ION. If you have an effective ion_buffer, you have
74 * - To access the buffer, you can request an address (user virtual address)
75 * of the buffer with ion_map().
76 * - To pass the buffer to the kernel, you can pass the ion_buffer to th
    [all...]
  /hardware/samsung_slsi/exynos5/mobicore/daemon/Common/
Connection.h 81 * @param buffer Pointer to destination buffer.
88 virtual size_t readData(void *buffer, uint32_t len, int32_t timeout);
93 * @param buffer Pointer to destination buffer.
97 virtual size_t readData(void *buffer, uint32_t len);
102 * @param buffer Pointer to source buffer.
107 virtual size_t writeData(void *buffer, uint32_t len);
  /libcore/luni/src/main/java/java/io/
FilterOutputStream.java 92 * Writes {@code count} bytes from the byte array {@code buffer} starting at
95 * @param buffer
96 * the buffer to write.
98 * the index of the first byte in {@code buffer} to write.
100 * the number of bytes in {@code buffer} to write.
104 * {@code buffer}.
109 public void write(byte[] buffer, int offset, int length) throws IOException {
110 Arrays.checkOffsetAndCount(buffer.length, offset, length);
114 write(buffer[offset + i]);
  /libcore/luni/src/main/java/libcore/net/http/
FixedLengthOutputStream.java 35 @Override public void write(byte[] buffer, int offset, int count) throws IOException {
37 Arrays.checkOffsetAndCount(buffer.length, offset, count);
41 socketOut.write(buffer, offset, count);
RetryableOutputStream.java 54 @Override public synchronized void write(byte[] buffer, int offset, int count)
57 Arrays.checkOffsetAndCount(buffer.length, offset, count);
61 content.write(buffer, offset, count);
  /ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/storage.iterator/
raw_storag_iterator.pass.cpp 34 Storage buffer; local
35 std::raw_storage_iterator<A*, A> it((A*)&buffer);
40 A* ap = (A*)&buffer + i;
  /ndk/sources/host-tools/sed-4.2.1/sed/
utils.h 43 struct buffer *init_buffer P_((void));
44 char *get_buffer P_((struct buffer *b));
45 size_t size_buffer P_((struct buffer *b));
46 char *add_buffer P_((struct buffer *b, const char *p, size_t n));
47 char *add1_buffer P_((struct buffer *b, int ch));
48 void free_buffer P_((struct buffer *b));
  /packages/apps/Nfc/src/com/android/nfc/snep/
SnepMessenger.java 45 byte[] buffer = msg.toByteArray();
52 if (DBG) Log.d(TAG, "about to send a " + buffer.length + " byte message");
55 int length = Math.min(buffer.length, mFragmentLength);
56 byte[] tmpBuffer = Arrays.copyOfRange(buffer, 0, length);
60 if (length == buffer.length) {
82 while (offset < buffer.length) {
83 length = Math.min(buffer.length - offset, mFragmentLength);
84 tmpBuffer = Arrays.copyOfRange(buffer, offset, offset + length);
92 ByteArrayOutputStream buffer = new ByteArrayOutputStream(mFragmentLength); local
127 buffer.write(partial, 0, size)
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/extensions/
lbxzlib.h 55 extern int ZlibStuffInput ( int fd, unsigned char *buffer, int buflen );
58 extern int ZlibWrite ( int fd, unsigned char *buffer, int buflen );
60 extern int ZlibRead ( int fd, unsigned char *buffer, int buflen );
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/X11/extensions/
lbxzlib.h 55 extern int ZlibStuffInput ( int fd, unsigned char *buffer, int buflen );
58 extern int ZlibWrite ( int fd, unsigned char *buffer, int buflen );
60 extern int ZlibRead ( int fd, unsigned char *buffer, int buflen );
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/X11/extensions/
lbxzlib.h 55 extern int ZlibStuffInput ( int fd, unsigned char *buffer, int buflen );
58 extern int ZlibWrite ( int fd, unsigned char *buffer, int buflen );
60 extern int ZlibRead ( int fd, unsigned char *buffer, int buflen );
  /external/chromium/webkit/glue/media/
buffered_resource_loader_unittest.cc 209 void ReadLoader(int64 position, int size, uint8* buffer) {
210 loader_->Read(position, size, buffer,
214 // Verifis that data in buffer[0...size] is equal to data_[pos...pos+size].
215 void VerifyBuffer(uint8* buffer, int pos, int size) {
216 EXPECT_EQ(0, memcmp(buffer, data_ + pos, size));
332 uint8 buffer[10]; local
338 ReadLoader(10, 10, buffer);
339 VerifyBuffer(buffer, 10, 10);
344 ReadLoader(20, 5, buffer);
345 VerifyBuffer(buffer, 20, 5)
383 uint8 buffer[10]; local
412 uint8 buffer[10]; local
431 uint8 buffer[10]; local
453 uint8 buffer[10]; local
484 uint8 buffer[10]; local
    [all...]

Completed in 2272 milliseconds

<<21222324252627282930>>