OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:STATIC_ASSERT
(Results
1 - 25
of
212
) sorted by null
1
2
3
4
5
6
7
8
9
/ndk/tests/build/wchar_t-size/jni/
test_8bit_cplusplus_stdc_limit_macros.cpp
19
#define
STATIC_ASSERT
(condition) \
23
STATIC_ASSERT
(sizeof(__WCHAR_TYPE__) == 1);
25
STATIC_ASSERT
(sizeof(__WCHAR_TYPE__) == 4);
30
STATIC_ASSERT
(sizeof(wchar_t) == 4);
34
STATIC_ASSERT
(WCHAR_MIN == 0x80000000);
35
STATIC_ASSERT
(WCHAR_MAX == 0x7fffffff);
test_default.c
13
#define
STATIC_ASSERT
(condition) \
16
STATIC_ASSERT
(sizeof(wchar_t) == 4);
19
STATIC_ASSERT
(WCHAR_MIN == 0U);
20
STATIC_ASSERT
(WCHAR_MAX == 2*2147483647U + 1U);
22
STATIC_ASSERT
(WCHAR_MIN == -1-2147483647);
23
STATIC_ASSERT
(WCHAR_MAX == 2147483647);
test_8bit_cplusplus.cpp
17
#define
STATIC_ASSERT
(condition) \
21
STATIC_ASSERT
(sizeof(__WCHAR_TYPE__) == 1);
23
STATIC_ASSERT
(sizeof(__WCHAR_TYPE__) == 4);
28
STATIC_ASSERT
(sizeof(wchar_t) == 4);
34
STATIC_ASSERT
(WCHAR_MIN == 0);
35
STATIC_ASSERT
(WCHAR_MAX == 255);
37
STATIC_ASSERT
(WCHAR_MIN == 0x80000000);
38
STATIC_ASSERT
(WCHAR_MAX == 0x7fffffff);
test_always_signed.c
10
#define
STATIC_ASSERT
(condition) \
13
STATIC_ASSERT
(sizeof(wchar_t) == 4);
15
STATIC_ASSERT
(WCHAR_MIN == -1-2147483647);
16
STATIC_ASSERT
(WCHAR_MAX == 2147483647);
test_8bit.c
17
#define
STATIC_ASSERT
(condition) \
21
STATIC_ASSERT
(sizeof(__WCHAR_TYPE__) == 1);
22
STATIC_ASSERT
(sizeof(wchar_t) == 1);
24
STATIC_ASSERT
(sizeof(__WCHAR_TYPE__) == 4);
25
STATIC_ASSERT
(sizeof(wchar_t) == 4);
30
STATIC_ASSERT
(WCHAR_MIN == 0x80000000);
31
STATIC_ASSERT
(WCHAR_MAX == 0x7fffffff);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/
tgsi_strings.c
175
STATIC_ASSERT
(Elements(tgsi_file_names) == TGSI_FILE_COUNT);
176
STATIC_ASSERT
(Elements(tgsi_semantic_names) == TGSI_SEMANTIC_COUNT);
177
STATIC_ASSERT
(Elements(tgsi_texture_names) == TGSI_TEXTURE_COUNT);
178
STATIC_ASSERT
(Elements(tgsi_property_names) == TGSI_PROPERTY_COUNT);
179
STATIC_ASSERT
(Elements(tgsi_primitive_names) == PIPE_PRIM_MAX);
180
STATIC_ASSERT
(Elements(tgsi_interpolate_names) == TGSI_INTERPOLATE_COUNT);
/external/mesa3d/src/gallium/auxiliary/tgsi/
tgsi_strings.c
175
STATIC_ASSERT
(Elements(tgsi_file_names) == TGSI_FILE_COUNT);
176
STATIC_ASSERT
(Elements(tgsi_semantic_names) == TGSI_SEMANTIC_COUNT);
177
STATIC_ASSERT
(Elements(tgsi_texture_names) == TGSI_TEXTURE_COUNT);
178
STATIC_ASSERT
(Elements(tgsi_property_names) == TGSI_PROPERTY_COUNT);
179
STATIC_ASSERT
(Elements(tgsi_primitive_names) == PIPE_PRIM_MAX);
180
STATIC_ASSERT
(Elements(tgsi_interpolate_names) == TGSI_INTERPOLATE_COUNT);
/libcore/include/
StaticAssert.h
21
* Similar to C++0x's
static_assert
. Message argument must be a valid identifier, not a string.
25
#define
STATIC_ASSERT
(exp, msg) typedef StaticAssert<(bool(exp))> msg[bool(exp) ? 1 : -1]
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
st_atom_depth.c
52
STATIC_ASSERT
(PIPE_FUNC_NEVER == GL_NEVER - GL_NEVER);
53
STATIC_ASSERT
(PIPE_FUNC_LESS == GL_LESS - GL_NEVER);
54
STATIC_ASSERT
(PIPE_FUNC_EQUAL == GL_EQUAL - GL_NEVER);
55
STATIC_ASSERT
(PIPE_FUNC_LEQUAL == GL_LEQUAL - GL_NEVER);
56
STATIC_ASSERT
(PIPE_FUNC_GREATER == GL_GREATER - GL_NEVER);
57
STATIC_ASSERT
(PIPE_FUNC_NOTEQUAL == GL_NOTEQUAL - GL_NEVER);
58
STATIC_ASSERT
(PIPE_FUNC_GEQUAL == GL_GEQUAL - GL_NEVER);
59
STATIC_ASSERT
(PIPE_FUNC_ALWAYS == GL_ALWAYS - GL_NEVER);
st_atom_clip.c
50
STATIC_ASSERT
(sizeof(clip.ucp) <= sizeof(ctx->Transform._ClipUserPlane));
st_context.c
221
STATIC_ASSERT
(MESA_SHADER_VERTEX == PIPE_SHADER_VERTEX);
222
STATIC_ASSERT
(MESA_SHADER_FRAGMENT == PIPE_SHADER_FRAGMENT);
223
STATIC_ASSERT
(MESA_SHADER_GEOMETRY == PIPE_SHADER_GEOMETRY);
st_draw.c
166
STATIC_ASSERT
(GL_POINTS == PIPE_PRIM_POINTS);
167
STATIC_ASSERT
(GL_QUADS == PIPE_PRIM_QUADS);
168
STATIC_ASSERT
(GL_TRIANGLE_STRIP_ADJACENCY == PIPE_PRIM_TRIANGLE_STRIP_ADJACENCY);
/external/mesa3d/src/mesa/state_tracker/
st_atom_depth.c
52
STATIC_ASSERT
(PIPE_FUNC_NEVER == GL_NEVER - GL_NEVER);
53
STATIC_ASSERT
(PIPE_FUNC_LESS == GL_LESS - GL_NEVER);
54
STATIC_ASSERT
(PIPE_FUNC_EQUAL == GL_EQUAL - GL_NEVER);
55
STATIC_ASSERT
(PIPE_FUNC_LEQUAL == GL_LEQUAL - GL_NEVER);
56
STATIC_ASSERT
(PIPE_FUNC_GREATER == GL_GREATER - GL_NEVER);
57
STATIC_ASSERT
(PIPE_FUNC_NOTEQUAL == GL_NOTEQUAL - GL_NEVER);
58
STATIC_ASSERT
(PIPE_FUNC_GEQUAL == GL_GEQUAL - GL_NEVER);
59
STATIC_ASSERT
(PIPE_FUNC_ALWAYS == GL_ALWAYS - GL_NEVER);
st_atom_clip.c
50
STATIC_ASSERT
(sizeof(clip.ucp) <= sizeof(ctx->Transform._ClipUserPlane));
st_context.c
221
STATIC_ASSERT
(MESA_SHADER_VERTEX == PIPE_SHADER_VERTEX);
222
STATIC_ASSERT
(MESA_SHADER_FRAGMENT == PIPE_SHADER_FRAGMENT);
223
STATIC_ASSERT
(MESA_SHADER_GEOMETRY == PIPE_SHADER_GEOMETRY);
st_draw.c
166
STATIC_ASSERT
(GL_POINTS == PIPE_PRIM_POINTS);
167
STATIC_ASSERT
(GL_QUADS == PIPE_PRIM_QUADS);
168
STATIC_ASSERT
(GL_TRIANGLE_STRIP_ADJACENCY == PIPE_PRIM_TRIANGLE_STRIP_ADJACENCY);
/external/chromium_org/v8/src/
elements-kind.cc
94
STATIC_ASSERT
(FAST_SMI_ELEMENTS == FIRST_FAST_ELEMENTS_KIND);
103
STATIC_ASSERT
(FAST_SMI_ELEMENTS + kFastElementsKindPackedToHoley ==
105
STATIC_ASSERT
(FAST_DOUBLE_ELEMENTS + kFastElementsKindPackedToHoley ==
107
STATIC_ASSERT
(FAST_ELEMENTS + kFastElementsKindPackedToHoley ==
preparse-data.cc
69
STATIC_ASSERT
(PreparseDataConstants::kMessageStartPos == 0);
71
STATIC_ASSERT
(PreparseDataConstants::kMessageEndPos == 1);
73
STATIC_ASSERT
(PreparseDataConstants::kMessageArgCountPos == 2);
75
STATIC_ASSERT
(PreparseDataConstants::kMessageTextPos == 3);
small-pointer-list.h
178
STATIC_ASSERT
(kTagMask + 1 <= kPointerAlignment);
182
STATIC_ASSERT
(kSingletonTag == 0);
runtime-profiler.cc
78
STATIC_ASSERT
(kProfilerTicksBeforeOptimization < 256);
79
STATIC_ASSERT
(kProfilerTicksBeforeReenablingOptimization < 256);
80
STATIC_ASSERT
(kTicksWhenNotEnoughTypeInfo < 256);
/external/v8/src/
preparse-data.cc
69
STATIC_ASSERT
(PreparseDataConstants::kMessageStartPos == 0);
71
STATIC_ASSERT
(PreparseDataConstants::kMessageEndPos == 1);
73
STATIC_ASSERT
(PreparseDataConstants::kMessageArgCountPos == 2);
75
STATIC_ASSERT
(PreparseDataConstants::kMessageTextPos == 3);
small-pointer-list.h
168
STATIC_ASSERT
(kTagMask + 1 <= kPointerAlignment);
172
STATIC_ASSERT
(kSingletonTag == 0);
scanner.h
59
STATIC_ASSERT
((kLanguageModeMask & CLASSIC_MODE) == CLASSIC_MODE);
60
STATIC_ASSERT
((kLanguageModeMask & STRICT_MODE) == STRICT_MODE);
61
STATIC_ASSERT
((kLanguageModeMask & EXTENDED_MODE) == EXTENDED_MODE);
450
STATIC_ASSERT
(kCharacterLookaheadBufferSize == 1);
/external/chromium_org/v8/src/ia32/
code-stubs-ia32.cc
625
STATIC_ASSERT
(kDoubleSize == 2 * kPointerSize);
724
STATIC_ASSERT
(kSmiTagSize == 1);
[
all
...]
/external/chromium_org/v8/src/mips/
code-stubs-mips.cc
537
STATIC_ASSERT
(HeapNumber::kSignMask == 0x80000000u);
731
STATIC_ASSERT
(HeapNumber::kSignMask == 0x80000000u);
[
all
...]
Completed in 1734 milliseconds
1
2
3
4
5
6
7
8
9