| /external/tpm2/ | 
| PolicyPCR.c | 26    BYTE              *buffer;  local 74   buffer = pcrs;
 76   pcrSize = TPML_PCR_SELECTION_Marshal(&in->pcrs, &buffer, &bufferSize);
 
 | 
| SequenceComplete_fp.h | 14   TPM2B_MAX_BUFFER buffer;  member in struct:__anon40488 29 // parameter fields in |target| from |buffer|.
 32                                      BYTE** buffer,
 35 // Marshals response handles and parameters from |source| to |buffer|. Computes
 41                                     BYTE** buffer,
 46 // global response buffer and computes |*response_handle_buffer_size| and
 
 | 
| /external/valgrind/none/tests/ | 
| coolo_sigaction.cpp | 43     char buffer[200];  local 47         int n = fread(buffer, 200, 1, p);
 48         __attribute__((unused)) ssize_t nw = write(2, buffer, n);
 
 | 
| mq.c | 20   char buffer[MSGSIZEMAX];  local 59   if ((len = mq_receive(mqdr, buffer, sizeof(buffer), &priority)) < 0)
 78   if (len != 4 || memcmp(buffer, "PING", 4) != 0)
 
 | 
| /external/valgrind/none/tests/s390x/ | 
| mvst.c | 3 char buffer[23] ="0123456789abcdef\0XXXXX";  variable 40 	printf("CC:%d\n", mvst(target, buffer));
 
 | 
| /external/vixl/test/aarch64/ | 
| test-fuzz-aarch64.cc | 50   Instruction buffer[kInstructionSize];  local 54     buffer->SetInstructionBits(instr);
 55     decoder.Decode(buffer);
 69   Instruction buffer[kInstructionSize];  local
 74     buffer->SetInstructionBits(instr);
 75     decoder.Decode(buffer);
 91   Instruction buffer[kInstructionSize];
 97     buffer->SetInstructionBits(static_cast<uint32_t>(i));
 98     decoder.Decode(buffer);
 107   Instruction buffer[kInstructionSize]
 [all...]
 | 
| /external/webrtc/webrtc/modules/audio_device/mac/portaudio/ | 
| pa_ringbuffer.h | 6  * Ring Buffer utility. 53  @brief Single-reader single-writer lock-free ring buffer
 55  PaUtilRingBuffer is a ring buffer used to transport samples between
 59  to the ring buffer, another thread or callback reads from it).
 61  The PaUtilRingBuffer structure manages a ring buffer containing N
 65  The memory area used to store the buffer elements must be allocated by
 67  the use of the ring buffer.
 96     PaRingBufferSize  smallMask;  /**< Used for fitting indices to buffer. */
 98     char  *buffer;    /**< Pointer to the buffer containing the actual data. *  member in struct:PaUtilRingBuffer
 [all...]
 | 
| /external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/ | 
| rrtr_unittest.cc | 31   uint8_t buffer[Rrtr::kLength];  local 35   rrtr.Create(buffer);
 36   EXPECT_EQ(0, memcmp(buffer, kBlock, kBlockSizeBytes));
 
 | 
| /frameworks/av/include/private/media/ | 
| AudioEffectShared.h | 29 // Size of buffer used to exchange parameters between application and mediaserver processes. 40                 uint8_t*    buffer;         // start of parameter buffer  member in struct:android::effect_param_cblk_t
 
 | 
| /frameworks/base/tools/aapt2/io/ | 
| FileStream_test.cpp | 39   // Use a small buffer size so that we can call Next() a few times. 44   const char* buffer;  local
 46   ASSERT_TRUE(in.Next(reinterpret_cast<const void**>(&buffer), &size)) << in.GetError();
 48   ASSERT_THAT(buffer, NotNull());
 50   EXPECT_THAT(StringPiece(buffer, size), Eq("this is a "));
 52   ASSERT_TRUE(in.Next(reinterpret_cast<const void**>(&buffer), &size));
 54   ASSERT_THAT(buffer, NotNull());
 56   EXPECT_THAT(StringPiece(buffer, size), Eq("cool strin"));
 61   ASSERT_TRUE(in.Next(reinterpret_cast<const void**>(&buffer), &size));
 63   ASSERT_THAT(buffer, NotNull())
 96  char* buffer;  local
 [all...]
 | 
| StringStream_test.cpp | 39   const char* buffer;  local 41   ASSERT_TRUE(in.Next(reinterpret_cast<const void**>(&buffer), &size));
 43   ASSERT_THAT(buffer, NotNull());
 45   EXPECT_THAT(buffer[0], Eq(0x00));
 46   EXPECT_THAT(buffer[kCount - 1], Eq('\xff'));
 48   EXPECT_FALSE(in.Next(reinterpret_cast<const void**>(&buffer), &size));
 56   const char* buffer;  local
 58   ASSERT_TRUE(in.Next(reinterpret_cast<const void**>(&buffer), &size));
 60   ASSERT_THAT(buffer, NotNull());
 66   ASSERT_TRUE(in.Next(reinterpret_cast<const void**>(&buffer), &size))
 [all...]
 | 
| /frameworks/minikin/tests/perftests/ | 
| GraphemeBreak.cpp | 37     uint16_t buffer[12];  local 38     ParseUnicode(buffer, 12, ASCII_TEST_STR, &result_size, nullptr);
 42         GraphemeBreak::isGraphemeBreak(nullptr, buffer, 0, result_size, testIndex);
 52     uint16_t buffer[12];  local
 53     ParseUnicode(buffer, 12, EMOJI_TEST_STR, &result_size, nullptr);
 57         GraphemeBreak::isGraphemeBreak(nullptr, buffer, 0, result_size, testIndex);
 67     uint16_t buffer[12];  local
 68     ParseUnicode(buffer, 12, FLAGS_TEST_STR, &result_size, nullptr);
 72         GraphemeBreak::isGraphemeBreak(nullptr, buffer, 0, result_size, testIndex);
 
 | 
| /frameworks/native/cmds/bugreportz/ | 
| bugreportz.cpp | 48         char buffer[65536];  local 49         ssize_t bytes_read = TEMP_FAILURE_RETRY(read(s, buffer, sizeof(buffer)));
 63             char c = buffer[i];
 
 | 
| /frameworks/native/libs/gui/tests/ | 
| SurfaceTextureGLToGL_test.cpp | 43     // Start a buffer with our chosen size and transform hint moving 53     // The current buffer should either show the effects of the transform
 97     // This is needed to ensure we pick up a buffer of the correct size.
 195     // This test should have the only reference to buffer 0.
 198     // The GLConsumer should hold one reference to buffer 1 in its
 252     // element in the array will be equal meaning that buffer representing both
 264     sp<GraphicBuffer> buffer;  local
 284     buffer = mST->getCurrentBuffer();
 290     // make un-current, all references to buffer should be gone
 297     EXPECT_EQ(1, buffer->getStrongCount())
 302  sp<GraphicBuffer> buffer;  local
 [all...]
 | 
| /frameworks/native/libs/vr/libdvr/ | 
| dvr_internal.h | 37   // The slot nubmer of the buffer, a valid slot number must be in the range of 46   // The slot nubmer of the buffer, a valid slot number must be in the range of
 55   std::shared_ptr<android::dvr::IonBuffer> buffer;  member in struct:DvrBuffer
 
 | 
| /frameworks/native/services/surfaceflinger/tests/vsync/ | 
| vsync.cpp | 28     DisplayEventReceiver::Event buffer[1];  local 32     while ((n = q->getEvents(buffer, 1)) > 0) {
 34             if (buffer[i].header.type == DisplayEventReceiver::DISPLAY_EVENT_VSYNC) {
 35                 printf("event vsync: count=%d\t", buffer[i].vsync.count);
 38                 float t = float(buffer[i].header.timestamp - oldTimeStamp) / s2ns(1);
 41             oldTimeStamp = buffer[i].header.timestamp;
 
 | 
| /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ | 
| HSWanMetricsElementTest.java | 49         ByteBuffer buffer = ByteBuffer.allocate(HSWanMetricsElement.EXPECTED_BUFFER_SIZE)  local 54         buffer.put((byte) wanInfo);
 55         buffer.putInt((int) (TEST_DOWNLINK_SPEED & 0xFFFFFFFFL));
 56         buffer.putInt((int) (TEST_UPLINK_SPEED & 0xFFFFFFFFL));
 57         buffer.put((byte) (TEST_DOWNLINK_LOAD & 0xFF));
 58         buffer.put((byte) (TEST_UPLINK_LOAD & 0xFF));
 59         buffer.putShort((short) (TEST_LMD & 0xFFFF));
 60         buffer.position(0);
 61         return buffer;
 65      * Verify that ProtocolException will be thrown when parsing an empty buffer
 82  ByteBuffer buffer = ByteBuffer.allocate(HSWanMetricsElement.EXPECTED_BUFFER_SIZE - 1);  local
 96  ByteBuffer buffer = ByteBuffer.allocate(HSWanMetricsElement.EXPECTED_BUFFER_SIZE + 1);  local
 110  ByteBuffer buffer = getTestBuffer();  local
 [all...]
 | 
| /libcore/luni/src/test/java/libcore/java/io/ | 
| InputStreamReaderTest.java | 37         char[] buffer = new char[1024];  local 38         int count = reader.read(buffer);
 
 | 
| /libcore/support/src/test/java/tests/support/ | 
| Streams.java | 37         byte[] buffer = new byte[1024]; 40         while ((count = source.read(buffer)) != -1) {
 41             out.write(buffer, 0, count);
 50         char[] buffer = new char[1024];  local
 53         while ((count = fileReader.read(buffer)) != -1) {
 54             out.write(buffer, 0, count);
 
 | 
| /libnativehelper/tests/ | 
| JniInvocation_test.cpp | 47     auto get_library_system_property = [](char* buffer) -> int { 48         strcpy(buffer, kTestNonNull2);
 52     char buffer[PROPERTY_VALUE_MAX];  local
 54         JniInvocation::GetLibrary(NULL, buffer, is_debuggable, get_library_system_property);
 62         JniInvocation::GetLibrary(kTestNonNull, buffer, is_debuggable, get_library_system_property);
 77     char buffer[PROPERTY_VALUE_MAX];  local
 78     const char* result = JniInvocation::GetLibrary(NULL, buffer, is_debuggable, nullptr);
 86     result = JniInvocation::GetLibrary(kTestNonNull, buffer, is_debuggable, nullptr);
 
 | 
| /packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ | 
| jsoncheckertest.cpp | 29     char buffer[1024];
  local 32         sprintf(buffer, paths[i], filename);
 33         fp = fopen(buffer, "rb");
 
 | 
| simdtest.cpp | 45         char buffer[1025];  local 47             buffer[i] = " \t\r\n"[i % 4];
 49             buffer[i] = 'X';
 50         buffer[1024] = '\0';
 52         StreamType s(buffer);
 
 | 
| /packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/ | 
| byte_array_utils_test.cpp | 28     const uint8_t buffer[] = { 0x20u, 0x21u, 0x00u, 0x01u, 0x00u };  local 31     EXPECT_EQ(0x6f, ByteArrayUtils::readCodePointAndAdvancePosition(buffer, codePointTable, &pos));
 33     EXPECT_EQ(0x6b, ByteArrayUtils::readCodePointAndAdvancePosition(buffer, codePointTable, &pos));
 34     // Expect the original code point from buffer[2] to buffer[4], 0x100
 36     EXPECT_EQ(0x100, ByteArrayUtils::readCodePointAndAdvancePosition(buffer, codePointTable, &pos));
 40     const uint8_t buffer[] = { 0x1u, 0x8Au, 0x0u, 0xAAu };  local
 42     EXPECT_EQ(0x01u, ByteArrayUtils::readUint8(buffer, 0));
 43     EXPECT_EQ(0x8Au, ByteArrayUtils::readUint8(buffer, 1));
 44     EXPECT_EQ(0x0u, ByteArrayUtils::readUint8(buffer, 2))
 60  uint8_t buffer[4];  local
 74  const uint8_t buffer[] = { 0x10, 0xFF, 0x00u, 0x20u, 0x41u, 0x1Fu, 0x60 };  local
 92  uint8_t buffer[10];  local
 [all...]
 | 
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/storage.iterator/ | 
| raw_storage_iterator.base.pass.cpp | 37     Storage buffer;  local 38     std::raw_storage_iterator<A*, A> it((A*)&buffer);
 40     assert(it.base() == (A*)&buffer);
 44         A* ap = (A*)&buffer + i;
 
 | 
| /system/core/fastboot/ | 
| tcp_test.cpp | 116         std::string buffer(message.length(), '\0'); 117         return transport_->Read(&buffer[0], buffer.length()) ==
 119                buffer == message;
 201     char buffer[16];  local
 202     EXPECT_EQ(-1, transport_->Read(buffer, sizeof(buffer)));
 209     char buffer[16];  local
 210     EXPECT_EQ(-1, transport_->Read(buffer, sizeof(buffer)));
 224  char buffer[16];  local
 [all...]
 |