OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:alignment
(Results
1 - 25
of
3208
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/valgrind/main/none/tests/
pth_stackalign.stdout.exp
0
alignment
= 0
/external/webkit/Source/JavaScriptGlue/ForwardingHeaders/wtf/
Alignment.h
1
#include <JavaScriptCore/
Alignment
.h>
/external/webkit/Tools/DumpRenderTree/ForwardingHeaders/wtf/
Alignment.h
1
#include <JavaScriptCore/
Alignment
.h>
/external/webkit/Source/WebCore/ForwardingHeaders/wtf/
Alignment.h
3
#include <JavaScriptCore/
Alignment
.h>
/external/chromium/chrome/browser/themes/
theme_service_unittest.cc
13
int
alignment
= ThemeService::StringToAlignment(top_left);
local
15
alignment
);
16
EXPECT_EQ(top_left, ThemeService::AlignmentToString(
alignment
));
18
alignment
= ThemeService::StringToAlignment("top");
19
EXPECT_EQ(ThemeService::ALIGN_TOP,
alignment
);
20
EXPECT_EQ("top", ThemeService::AlignmentToString(
alignment
));
22
alignment
= ThemeService::StringToAlignment("left");
23
EXPECT_EQ(ThemeService::ALIGN_LEFT,
alignment
);
24
EXPECT_EQ("left", ThemeService::AlignmentToString(
alignment
));
26
alignment
= ThemeService::StringToAlignment("right")
37
int
alignment
= ThemeService::StringToAlignment("right bottom");
local
[
all
...]
/external/llvm/lib/Target/XCore/
README.txt
6
* Investigate loop
alignment
/external/clang/test/Sema/
pragma-pack-3.c
3
// Stack: [],
Alignment
: 8
6
// Stack: [8],
Alignment
: 1
9
// Stack: [8, 1],
Alignment
: 4
12
// top stack entry and resets the current
alignment
. This is both
18
// Stack: [8, 1],
Alignment
: 8
21
// Stack: [8],
Alignment
: 1
29
// Stack: [],
Alignment
: 8
alignas.c
4
_Alignas(3) int align_illegal; //expected-error {{requested
alignment
is not a power of 2}}
15
_Static_assert(alignof(align_big) == alignof(int), "k's
alignment
is wrong");
16
_Static_assert(alignof(align_small) == 1, "j's
alignment
is wrong");
17
_Static_assert(alignof(align_multiple) == 8, "l's
alignment
is wrong");
18
_Static_assert(alignof(struct align_member) == 8, "quuux's
alignment
is wrong");
20
_Static_assert(alignof(align_typedef) == 8, "typedef's
alignment
is wrong");
/external/clang/test/SemaCXX/
attr-cxx0x.cpp
3
int align_illegal alignas(3); //expected-error {{requested
alignment
is not a power of 2}}
15
template <typename... T> alignas(T...) struct align_class_temp_pack_type {}; // expected-error{{pack expansions in
alignment
specifiers are not supported yet}}
16
template <unsigned... A> alignas(A...) struct align_class_temp_pack_expr {}; // expected-error{{pack expansions in
alignment
specifiers are not supported yet}}
21
static_assert(alignof(align_big) == alignof(int), "k's
alignment
is wrong");
22
static_assert(alignof(align_small) == 1, "j's
alignment
is wrong");
23
static_assert(alignof(align_multiple) == 8, "l's
alignment
is wrong");
24
static_assert(alignof(align_member) == 8, "quuux's
alignment
is wrong");
26
static_assert(alignof(align_typedef) == 8, "typedef's
alignment
is wrong");
27
static_assert(alignof(align_class_template<8>) == 8, "template's
alignment
is wrong");
28
static_assert(alignof(align_class_template<16>) == 16, "template's
alignment
is wrong")
[
all
...]
warn-new-overaligned.cpp
15
new Test; // expected-warning {{type 'test1::Test' requires 256 bytes of
alignment
and the default allocator only guarantees}}
16
new Test[10]; // expected-warning {{type 'test1::Test' requires 256 bytes of
alignment
and the default allocator only guarantees}}
28
new Test; // expected-warning {{type 'test2::Test' requires 256 bytes of
alignment
and the default allocator only guarantees}}
29
new Test[10]; // expected-warning {{type 'test2::Test' requires 256 bytes of
alignment
and the default allocator only guarantees}}
50
new Test[10]; // expected-warning {{type 'test3::Test' requires 256 bytes of
alignment
and the default allocator only guarantees}}
70
new Test; // expected-warning {{type 'test4::Test' requires 256 bytes of
alignment
and the default allocator only guarantees}}
/cts/tests/tests/text/src/android/text/style/cts/
AlignmentSpan_StandardTest.java
21
import android.text.Layout.
Alignment
;
31
new Standard(
Alignment
.ALIGN_CENTER);
33
Standard standard = new Standard(
Alignment
.ALIGN_NORMAL);
45
Standard standard = new Standard(
Alignment
.ALIGN_NORMAL);
46
assertEquals(
Alignment
.ALIGN_NORMAL, standard.getAlignment());
48
standard = new Standard(
Alignment
.ALIGN_OPPOSITE);
49
assertEquals(
Alignment
.ALIGN_OPPOSITE, standard.getAlignment());
51
standard = new Standard(
Alignment
.ALIGN_CENTER);
52
assertEquals(
Alignment
.ALIGN_CENTER, standard.getAlignment());
56
Standard standard = new Standard(
Alignment
.ALIGN_NORMAL)
[
all
...]
/external/iproute2/include/linux/
socket.h
5
* Desired design of maximum size and
alignment
(see RFC2553)
9
/* Implementation specific desired
alignment
*/
17
} __attribute__ ((aligned(_K_SS_ALIGNSIZE))); /* force desired
alignment
*/
/external/llvm/test/CodeGen/X86/
alignment.ll
3
; This cannot get rounded up to the preferred
alignment
(16) if they have an
4
; explicit
alignment
specified.
13
; Common variables should not get rounded up to the preferred
alignment
(16) if
14
; they have an explicit
alignment
specified.
27
; This cannot get rounded up to the preferred
alignment
(16) if they have an
28
; explicit
alignment
specified *and* a section specified.
36
; Common variables should not get rounded up to the preferred
alignment
(16) if
37
; they have an explicit
alignment
specified and a section specified.
/external/skia/tests/
MemsetTest.cpp
50
for (int
alignment
= 0;
alignment
< MAX_ALIGNMENT; ++
alignment
) {
53
uint16_t* base = &buffer[PAD +
alignment
];
56
compare16(buffer, 0, PAD +
alignment
);
58
compare16(base + count, 0, TOTAL - count - PAD -
alignment
);
67
for (int
alignment
= 0;
alignment
< MAX_ALIGNMENT; ++
alignment
) {
70
uint32_t* base = &buffer[PAD +
alignment
];
[
all
...]
/external/clang/test/CodeGen/
2005-07-26-UnionInitCrash.c
3
union { char bytes[8]; double
alignment
; }EQ1 = {0,0,0,0,0,0,0,0};
member in union:__anon5680
/external/webkit/Source/JavaScriptCore/wtf/
TCSystemAlloc.cpp
65
// Structure for discovering
alignment
119
static void* TrySbrk(size_t size, size_t *actual_size, size_t
alignment
) {
120
size = ((size +
alignment
- 1) /
alignment
) *
alignment
;
135
if ((ptr & (
alignment
-1)) == 0) return result;
137
// Try to get more memory for
alignment
138
size_t extra =
alignment
- (ptr & (
alignment
-1));
145
// Give up and ask for "size +
alignment
- 1" bytes s
[
all
...]
/build/tools/zipalign/
README.txt
1
zipalign -- zip archive
alignment
tool
6
-c : check
alignment
only (does not modify file)
9
<align> is in bytes, e.g. "4" provides 32-bit
alignment
15
with a particular
alignment
relative to the start of the file. This
17
contain binary data with
alignment
restrictions.
25
need to adjust its
alignment
.
28
potentially disrupt the
alignment
of the modified entry and all later
ZipAlign.cpp
18
* Zip
alignment
tool
32
fprintf(stderr, "Zip
alignment
utility\n");
38
" <align>:
alignment
in bytes, e.g. '4' provides 32-bit
alignment
\n");
39
fprintf(stderr, " -c: check
alignment
only (does not modify file)\n");
47
static int copyAndAlign(ZipFile* pZin, ZipFile* pZout, int
alignment
)
77
padding = (
alignment
- (newOffset %
alignment
)) %
alignment
;
101
int
alignment
, bool force
200
int
alignment
;
local
[
all
...]
/external/llvm/include/llvm/Support/
AlignOf.h
1
//===--- AlignOf.h - Portable calculation of type
alignment
-----*- C++ -*-===//
32
/// the
alignment
of the template argument. For example,
33
/// AlignOf<int>::
Alignment
represents the
alignment
of type "int". The
34
///
alignment
calculated is the minimum
alignment
, and not necessarily
35
/// the "desired"
alignment
returned by GCC's __alignof__ (for example). Note
36
/// that because the
alignment
is an enum value, it can be used as a
40
enum {
Alignment
=
43
enum { Alignment_GreaterEqual_2Bytes =
Alignment
>= 2 ? 1 : 0 }
[
all
...]
/external/llvm/include/llvm/Target/
TargetData.h
1
//===-- llvm/Target/TargetData.h - Data size &
alignment
info ---*- C++ -*-===//
10
// This file defines target properties related to datatype size/offset/
alignment
39
/// Enum used to categorize the
alignment
types stored by TargetAlignElem
41
INTEGER_ALIGN = 'i', ///< Integer type
alignment
42
VECTOR_ALIGN = 'v', ///< Vector type
alignment
43
FLOAT_ALIGN = 'f', ///< Floating point type
alignment
44
AGGREGATE_ALIGN = 'a', ///< Aggregate
alignment
45
STACK_ALIGN = 's' ///< Stack objects
alignment
48
/// Target
alignment
element.
50
/// Stores the
alignment
data associated with a given alignment type (pointer
[
all
...]
/external/webrtc/src/system_wrappers/source/
aligned_malloc.cc
34
// Ok reference on memory
alignment
:
35
// http://stackoverflow.com/questions/227897/solve-the-memory-
alignment
-in-c-interview-question-that-stumped-me
48
void* AlignedMalloc(size_t size, size_t
alignment
)
50
if(
alignment
== 0)
52
// Don't allow
alignment
0 since it's undefined.
55
// Make sure that the
alignment
is an integer power of two or fail.
56
if(
alignment
& (
alignment
- 1))
68
//
alignment
- 1 bytes needs to be allocated.
72
alignment
- 1)
[
all
...]
/frameworks/base/core/java/android/text/style/
AlignmentSpan.java
25
public Layout.
Alignment
getAlignment();
29
public Standard(Layout.
Alignment
align) {
34
mAlignment = Layout.
Alignment
.valueOf(src.readString());
49
public Layout.
Alignment
getAlignment() {
53
private final Layout.
Alignment
mAlignment;
/external/llvm/unittests/Support/
AlignOfTest.cpp
1
//===- llvm/unittest/Support/AlignOfTest.cpp -
Alignment
utility tests ----===//
20
// We're testing that even questionable types work with the
alignment
utilities.
25
// Define some fixed
alignment
types to use in these tests.
75
// Ensure
alignment
is a compile-time constant.
77
[AlignOf<char>::
Alignment
> 0]
78
[AlignOf<short>::
Alignment
> 0]
79
[AlignOf<int>::
Alignment
> 0]
80
[AlignOf<long>::
Alignment
> 0]
81
[AlignOf<long long>::
Alignment
> 0]
82
[AlignOf<float>::
Alignment
> 0
[
all
...]
/dalvik/dexgen/src/com/android/dexgen/dex/file/
Section.java
34
/** {@code > 0;}
alignment
requirement for the final output;
36
private final int
alignment
;
field in class:Section
47
* Validates an
alignment
.
49
* @param
alignment
the
alignment
50
* @throws IllegalArgumentException thrown if {@code
alignment
}
53
public static void validateAlignment(int
alignment
) {
54
if ((
alignment
<= 0) ||
55
(
alignment
& (
alignment
- 1)) != 0)
[
all
...]
/dalvik/dx/src/com/android/dx/dex/file/
Section.java
34
/** {@code > 0;}
alignment
requirement for the final output;
36
private final int
alignment
;
field in class:Section
47
* Validates an
alignment
.
49
* @param
alignment
the
alignment
50
* @throws IllegalArgumentException thrown if {@code
alignment
}
53
public static void validateAlignment(int
alignment
) {
54
if ((
alignment
<= 0) ||
55
(
alignment
& (
alignment
- 1)) != 0)
[
all
...]
Completed in 706 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>