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

  /external/chromium_org/sdch/open-vcdiff/src/
compile_assert.h 23 // The VCD_COMPILE_ASSERT macro can be used to verify that a compile-time
27 // VCD_COMPILE_ASSERT(ARRAYSIZE(content_type_names) == CONTENT_NUM_TYPES,
32 // VCD_COMPILE_ASSERT(sizeof(foo) < 128, foo_too_large);
34 // For the second argument to VCD_COMPILE_ASSERT, the programmer should supply
41 // is what differentiates VCD_COMPILE_ASSERT from Boost static asserts.
49 #define VCD_COMPILE_ASSERT(expr, msg) \
53 // Implementation details of VCD_COMPILE_ASSERT:
55 // - VCD_COMPILE_ASSERT works by defining an array type that has -1
60 // #define VCD_COMPILE_ASSERT(expr, msg) typedef char msg[(expr) ? 1 : -1]
68 // VCD_COMPILE_ASSERT(foo, msg); // not supposed to compile as foo i
    [all...]
rolling_hash.h 178 VCD_COMPILE_ASSERT(window_size >= 2,
blockhash.cc 44 VCD_COMPILE_ASSERT(BlockHash::kBlockSize >= 2, kBlockSize_must_be_at_least_2);
53 VCD_COMPILE_ASSERT((BlockHash::kBlockSize & (BlockHash::kBlockSize - 1)) == 0,
235 VCD_COMPILE_ASSERT((BlockHash::kBlockSize % sizeof(uword_t)) == 0,

Completed in 302 milliseconds