HomeSort by relevance Sort by last modified time
    Searched defs:alignment (Results 1 - 25 of 36) sorted by null

1 2

  /external/dbus/dbus/
dbus-marshal-byteswap.c 100 int alignment; local
103 alignment = _dbus_type_get_alignment (elem_type);
105 _dbus_assert ((array_len / alignment) < DBUS_MAXIMUM_ARRAY_LENGTH);
107 p = _DBUS_ALIGN_ADDRESS (p, alignment);
111 if (alignment > 1)
112 _dbus_swap_array (p, array_len / alignment, alignment);
dbus-marshal-validate.c 303 int alignment; local
329 alignment = _dbus_type_get_alignment (current_type);
330 a = _DBUS_ALIGN_ADDRESS (p, alignment);
348 p += alignment;
376 alignment = _dbus_type_get_alignment (array_elem_type);
377 p = _DBUS_ALIGN_ADDRESS (p, alignment);
dbus-marshal-basic.c 883 * @param alignment size of each element
888 int alignment)
893 _dbus_assert (_DBUS_ALIGN_ADDRESS (data, alignment) == data);
899 end = d + (n_elements * alignment);
901 if (alignment == 8)
913 else if (alignment == 4)
923 _dbus_assert (alignment == 2);
938 int alignment)
940 _dbus_assert (_DBUS_ALIGN_VALUE (array_start, alignment) == (unsigned) array_start);
948 n_elements, alignment);
1154 int alignment; local
1513 int alignment; local
1648 int alignment; local
    [all...]
dbus-marshal-recursive.c 180 /* struct and dict entry have 8 byte alignment */
229 int alignment; local
240 alignment = element_type_get_alignment (sub->type_str,
243 sub->value_pos = _DBUS_ALIGN_VALUE (sub->value_pos, alignment);
915 int alignment; local
927 alignment = _dbus_type_get_alignment (element_type);
950 *n_elements = remaining_len / alignment;
951 _dbus_assert ((remaining_len % alignment) == 0);
1784 int alignment; local
    [all...]
  /external/libffi/src/arm/
ffi.c 58 if (((*p_arg)->alignment - 1) & (unsigned) argp) {
59 argp = (char *) ALIGN(argp, (*p_arg)->alignment);
253 size_t alignment = (*p_arg)->alignment; local
254 if (alignment < 4)
255 alignment = 4;
257 if ((alignment - 1) & (unsigned) argp) {
258 argp = (char *) ALIGN(argp, alignment);
  /build/tools/zipalign/
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...]
  /dalvik/dx/src/com/android/dx/dex/file/
UniformItemSection.java 36 * @param alignment {@code > 0;} alignment requirement for the final output;
39 public UniformItemSection(String name, DexFile file, int alignment) {
40 super(name, file, alignment);
84 int alignment = getAlignment(); local
88 out.alignTo(alignment);
OffsettedItem.java 27 /** {@code > 0;} alignment requirement */
28 private final int alignment; field in class:OffsettedItem
65 * @param alignment {@code > 0;} output alignment requirement; must be a
70 public OffsettedItem(int alignment, int writeSize) {
71 Section.validateAlignment(alignment);
77 this.alignment = alignment;
165 out.alignTo(alignment);
221 * in order to meet its alignment constrain
    [all...]
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...]
  /frameworks/base/include/utils/
TextOutput.h 102 inline HexDump& setAlignment(size_t alignment);
109 inline size_t alignment() const;
173 inline HexDump& HexDump::setAlignment(size_t alignment) {
174 mAlignment = alignment; return *this;
184 inline size_t HexDump::alignment() const { return mAlignment; } function in class:android::HexDump
  /external/libffi/darwin-x86/
ffi.h 94 unsigned short alignment; member in struct:_ffi_type
  /external/libffi/include/
ffi_real.h 95 unsigned short alignment; member in struct:_ffi_type
  /hardware/qcom/media/mm-video/vidc/venc/src/
video_encoder_device.cpp 171 unsigned int alignment = 0,buffer_size = 0, temp =0; local
329 + (m_sInput_buff_property.datasize % m_sInput_buff_property.alignment) ;
343 + (m_sOutput_buff_property.datasize % m_sOutput_buff_property.alignment) ;
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/nio/internal/
FileChannelImpl.java 186 long alignment = position - position % ALLOC_GRANULARITY; local
187 int offset = (int) (position - alignment);
189 alignment, size + offset, mapMode);
  /external/webkit/WebCore/html/
HTMLElement.cpp 614 // vertical alignment with respect to the current baseline of the text
619 const AtomicString& alignment = attr->value(); local
620 if (equalIgnoringCase(alignment, "absmiddle"))
622 else if (equalIgnoringCase(alignment, "absbottom"))
624 else if (equalIgnoringCase(alignment, "left")) {
627 } else if (equalIgnoringCase(alignment, "right")) {
630 } else if (equalIgnoringCase(alignment, "top"))
632 else if (equalIgnoringCase(alignment, "middle"))
634 else if (equalIgnoringCase(alignment, "center"))
636 else if (equalIgnoringCase(alignment, "bottom")
    [all...]
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
som.h 147 unsigned int alignment :27; member in struct:subspace_dictionary_record
  /frameworks/base/core/java/com/android/internal/widget/
SlidingTab.java 159 * Tab alignment - determines which side the tab should be drawn on
178 private int alignment = ALIGN_UNKNOWN; field in class:SlidingTab.Slider
235 boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT;
236 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getRight()
238 int dy = horiz ? 0 : (alignment == ALIGN_TOP ? alignment_value - tab.getBottom()
254 boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT;
255 int dx = horiz ? (alignment == ALIGN_LEFT ? tab.getWidth() : -tab.getWidth()) : 0;
256 int dy = horiz ? 0: (alignment == ALIGN_TOP ? tab.getHeight() : -tab.getHeight())
    [all...]
  /dalvik/vm/compiler/codegen/arm/
Assemble.c 2102 int alignment = addr & 0x3; local
2176 int alignment = addr & 0x3; local
    [all...]
  /external/bison/src/
vcg.h 121 /* VCG alignment for node alignement. */
122 enum alignment enum
757 /* Node alignment specified the vertical alignment of nodes at the
763 enum alignment node_alignment;
    [all...]
  /external/elfcopy/
elfcopy.c 246 INFO("\t%03d: Updating section %s (index %d, address %lld offset %lld, size %lld, alignment %d)...\n",
2795 Elf64_Xword alignment; local
    [all...]
  /hardware/qcom/media/mm-video/vidc/vdec/src/
omx_vdec.cpp 808 unsigned int alignment = 0,buffer_size = 0; local
2297 unsigned int alignment = 0,buffer_size = 0; local
5227 unsigned int alignment = 0,buffer_size = 0; local
    [all...]
  /bionic/libc/kernel/common/linux/
msm_vidc_dec.h 157 uint32_t alignment; member in struct:vdec_allocatorproperty
msm_vidc_enc.h 272 unsigned long alignment; member in struct:venc_allocatorproperty
  /external/webkit/WebCore/rendering/
RenderBlock.cpp 5014 CaretAlignment alignment = alignLeft; local
    [all...]
  /system/core/libacc/
acc.cpp 192 int alignment; // for structs only member in struct:acc::Compiler::Type
547 * Memory alignment (in bytes) for this type of data
552 * Array element alignment (in bytes) for this type of data.
1010 // STACK_ALIGNMENT, so it won't affect the stack alignment.
1015 // Round local variable size up to a multiple of stack alignment
5486 size_t alignment = pGen->alignmentOf(pItem); local
5750 size_t alignment = pGen->alignmentOf(pDecl); local
5922 size_t alignment = pGen->alignmentOf(pPassingType); local
    [all...]

Completed in 2792 milliseconds

1 2