HomeSort by relevance Sort by last modified time
    Searched refs:kRawBytes (Results 1 - 2 of 2) sorted by null

  /external/protobuf/src/google/protobuf/io/
coded_stream_unittest.cc 608 const char kRawBytes[] = "Some bytes which will be written and read raw.";
611 memcpy(buffer_, kRawBytes, sizeof(kRawBytes));
613 char read_buffer[sizeof(kRawBytes)];
618 EXPECT_TRUE(coded_input.ReadRaw(read_buffer, sizeof(kRawBytes)));
619 EXPECT_EQ(0, memcmp(kRawBytes, read_buffer, sizeof(kRawBytes)));
622 EXPECT_EQ(sizeof(kRawBytes), input.ByteCount());
631 coded_output.WriteRaw(kRawBytes, sizeof(kRawBytes));
    [all...]
  /external/v8/test/cctest/heap/
test-heap.cc 754 static const uint8_t kRawBytes[] = {0xc3, 0x7e, 0xa5, 0x5a};
755 static const int kRawBytesSize = sizeof(kRawBytes);
775 kRawBytesSize, kRawBytes, kFrameSize, kParameterCount, constant_pool);
778 CHECK_EQ(array->length(), (int)sizeof(kRawBytes));
786 CHECK_EQ(array->GetFirstBytecodeAddress()[i], kRawBytes[i]);
787 CHECK_EQ(array->get(i), kRawBytes[i]);
802 CHECK_EQ(array->get(i), kRawBytes[i]);
803 CHECK_EQ(array->GetFirstBytecodeAddress()[i], kRawBytes[i]);
    [all...]

Completed in 252 milliseconds