Searched refs:kNumBytes (Results 1 – 2 of 2) sorted by relevance
20 const size_t kNumBytes = kNumInts * sizeof(int); in TEST() local26 SimplePlatformSharedBuffer::Create(kNumBytes)); in TEST()31 EXPECT_TRUE(buffer->IsValidMap(0, kNumBytes)); in TEST()32 scoped_ptr<PlatformSharedBufferMapping> mapping(buffer->Map(0, kNumBytes)); in TEST()45 ASSERT_TRUE(buffer->IsValidMap(0, kNumBytes)); in TEST()48 buffer->MapNoCheck(0, kNumBytes)); in TEST()78 EXPECT_TRUE(buffer->IsValidMap(sizeof(int), kNumBytes - sizeof(int))); in TEST()80 buffer->Map(sizeof(int), kNumBytes - sizeof(int))); in TEST()
65 const size_t kNumBytes = (MAX_VALID_FIELD_TYPE + 0x7) / 8; in EncodeFieldTypes() local68 std::vector<uint8> bit_field(kNumBytes, 0); in EncodeFieldTypes()