mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
clang-format
This commit is contained in:
parent
16d904e174
commit
60541cc8ea
|
@ -254,7 +254,8 @@ void TestWriting(const char* mode, int tiled, int height) {
|
||||||
uint8_t expected_c = static_cast<uint8_t>(i);
|
uint8_t expected_c = static_cast<uint8_t>(i);
|
||||||
tilebuffer.fill(0);
|
tilebuffer.fill(0);
|
||||||
|
|
||||||
sapi::v::Array<uint8_t> tilebuffer_(tilebuffer.data(), tilebuffer.size());
|
sapi::v::Array<uint8_t> tilebuffer_(tilebuffer.data(),
|
||||||
|
tilebuffer.size());
|
||||||
|
|
||||||
status_or_long = api.TIFFReadEncodedTile(
|
status_or_long = api.TIFFReadEncodedTile(
|
||||||
&tif2, i, tilebuffer_.PtrBoth(), kTileBufferSize);
|
&tif2, i, tilebuffer_.PtrBoth(), kTileBufferSize);
|
||||||
|
|
|
@ -20,8 +20,8 @@
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
using ::sapi::IsOk;
|
using ::sapi::IsOk;
|
||||||
using ::testing::Ne;
|
|
||||||
using ::testing::IsTrue;
|
using ::testing::IsTrue;
|
||||||
|
using ::testing::Ne;
|
||||||
using ::testing::NotNull;
|
using ::testing::NotNull;
|
||||||
|
|
||||||
struct LongTag {
|
struct LongTag {
|
||||||
|
|
|
@ -21,8 +21,8 @@
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
using ::sapi::IsOk;
|
using ::sapi::IsOk;
|
||||||
using ::testing::Ne;
|
|
||||||
using ::testing::IsTrue;
|
using ::testing::IsTrue;
|
||||||
|
using ::testing::Ne;
|
||||||
using ::testing::NotNull;
|
using ::testing::NotNull;
|
||||||
|
|
||||||
constexpr uint16_t kSamplePerPixel = 3;
|
constexpr uint16_t kSamplePerPixel = 3;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user