/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_mm.c | 109 int reserved, int alignment) 107 SliceBlock(struct mem_block *p, int startofs, int size, int reserved, int alignment) argument
|
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/sw/null/ |
H A D | null_sw_winsys.c | 86 unsigned alignment, 82 null_sw_displaytarget_create(struct sw_winsys *winsys, unsigned tex_usage, enum pipe_format format, unsigned width, unsigned height, unsigned alignment, unsigned *stride) argument
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | mm.c | 100 unsigned reserved, unsigned alignment) 98 SliceBlock(struct mem_block *p, unsigned startofs, unsigned size, unsigned reserved, unsigned alignment) argument
|
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
H A D | st_context.c | 148 unsigned alignment = local 151 st->constbuf_uploader = u_upload_create(pipe, 128 * 1024, alignment,
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
H A D | memfs_malloc.cc | 99 void* Alloc(size_t size, size_t *actual_size, size_t alignment); 105 void* AllocInternal(size_t size, size_t *actual_size, size_t alignment); 118 size_t alignment) { 120 return fallback_->Alloc(size, actual_size, alignment); 126 return fallback_->Alloc(size, actual_size, alignment); 129 // Enforce huge page alignment. Be careful to deal with overflow. 130 size_t new_alignment = alignment; 135 return fallback_->Alloc(size, actual_size, alignment); 148 return fallback_->Alloc(size, actual_size, alignment); 152 size_t alignment) { 117 Alloc(size_t size, size_t *actual_size, size_t alignment) argument 151 AllocInternal(size_t size, size_t* actual_size, size_t alignment) argument [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
H A D | system-alloc_unittest.cc | 58 void* Alloc(size_t size, size_t *actual_size, size_t alignment) { argument 72 // Try to get more memory for alignment 73 size_t extra = alignment - (ptr & (alignment-1)); 77 if ((ptr & (alignment-1)) != 0) { 78 ptr += alignment - (ptr & (alignment-1));
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
H A D | common.cc | 56 int alignment = kAlignment; local 58 // Cap alignment at kPageSize for large sizes. 59 alignment = kPageSize; 61 // Space wasted due to alignment is at most 1/8, i.e., 12.5%. 62 alignment = (1 << LgFloor(size)) / 8; 64 // We need an alignment of at least 16 bytes to satisfy 66 alignment = 16; 68 // Maximum alignment allowed is page size alignment. 69 if (alignment > kPageSiz 112 int alignment = kAlignment; local [all...] |
H A D | memfs_malloc.cc | 99 void* Alloc(size_t size, size_t *actual_size, size_t alignment); 105 void* AllocInternal(size_t size, size_t *actual_size, size_t alignment); 118 size_t alignment) { 120 return fallback_->Alloc(size, actual_size, alignment); 126 return fallback_->Alloc(size, actual_size, alignment); 129 // Enforce huge page alignment. Be careful to deal with overflow. 130 size_t new_alignment = alignment; 135 return fallback_->Alloc(size, actual_size, alignment); 148 return fallback_->Alloc(size, actual_size, alignment); 152 size_t alignment) { 117 Alloc(size_t size, size_t *actual_size, size_t alignment) argument 151 AllocInternal(size_t size, size_t* actual_size, size_t alignment) argument [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
H A D | system-alloc_unittest.cc | 58 void* Alloc(size_t size, size_t *actual_size, size_t alignment) { argument 72 // Try to get more memory for alignment 73 size_t extra = alignment - (ptr & (alignment-1)); 77 if ((ptr & (alignment-1)) != 0) { 78 ptr += alignment - (ptr & (alignment-1));
|
/external/chromium_org/ui/base/models/ |
H A D | table_model.cc | 19 alignment(LEFT), 26 TableColumn::TableColumn(int id, Alignment alignment, int width, float percent) argument 29 alignment(alignment),
|
/external/chromium_org/ui/views/bubble/ |
H A D | bubble_border_unittest.cc | 359 BubbleBorder::BubbleAlignment alignment; member in struct:views::TestCase 404 SCOPED_TRACE(base::StringPrintf("i=%d arrow=%d alignment=%d", 405 static_cast<int>(i), cases[i].arrow, cases[i].alignment)); 407 border.set_alignment(cases[i].alignment);
|
/external/chromium_org/ui/views/controls/table/ |
H A D | table_utils.cc | 94 ui::TableColumn::Alignment alignment) { 95 switch (alignment) { 93 TableColumnAlignmentToCanvasAlignment( ui::TableColumn::Alignment alignment) argument
|
/external/chromium_org/v8/src/ |
H A D | allocation.cc | 86 void* AlignedAlloc(size_t size, size_t alignment) { argument 87 DCHECK_LE(V8_ALIGNOF(void*), alignment); local 88 DCHECK(base::bits::IsPowerOfTwo32(alignment)); 91 ptr = _aligned_malloc(size, alignment); 95 ptr = memalign(alignment, size); 97 if (posix_memalign(&ptr, alignment, size)) ptr = NULL;
|
/external/clang/lib/AST/ |
H A D | RecordLayout.cpp | 32 CharUnits alignment, 37 : Size(size), DataSize(datasize), Alignment(alignment), 48 CharUnits size, CharUnits alignment, 65 : Size(size), DataSize(datasize), Alignment(alignment), 31 ASTRecordLayout(const ASTContext &Ctx, CharUnits size, CharUnits alignment, CharUnits requiredAlignment, CharUnits datasize, const uint64_t *fieldoffsets, unsigned fieldcount) argument 47 ASTRecordLayout(const ASTContext &Ctx, CharUnits size, CharUnits alignment, CharUnits requiredAlignment, bool hasOwnVFPtr, bool hasExtendableVFPtr, CharUnits vbptroffset, CharUnits datasize, const uint64_t *fieldoffsets, unsigned fieldcount, CharUnits nonvirtualsize, CharUnits nonvirtualalignment, CharUnits SizeOfLargestEmptySubobject, const CXXRecordDecl *PrimaryBase, bool IsPrimaryBaseVirtual, const CXXRecordDecl *BaseSharingVBPtr, bool HasZeroSizedSubObject, bool LeadsWithZeroSizedBase, const BaseOffsetsMapTy& BaseOffsets, const VBaseOffsetsMapTy& VBaseOffsets) argument
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
H A D | 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) { argument 71 Section.validateAlignment(alignment); 77 this.alignment = alignment; 165 out.alignTo(alignment); 221 * in order to meet its alignment constrain [all...] |
/external/dexmaker/src/dx/java/com/android/dx/util/ |
H A D | Output.java | 124 * force alignment of the output cursor as given. 126 * @param alignment {@code > 0;} the alignment; must be a power of two 128 public void alignTo(int alignment); argument
|
/external/jemalloc/src/ |
H A D | chunk_dss.c | 69 chunk_alloc_dss(size_t size, size_t alignment, bool *zero) argument 75 assert(alignment > 0 && (alignment & chunksize_mask) == 0); 106 * necessary to satisfy alignment. This space can be 111 alignment);
|
H A D | chunk_mmap.c | 22 static void *chunk_alloc_mmap_slow(size_t size, size_t alignment, 166 chunk_alloc_mmap_slow(size_t size, size_t alignment, bool *zero) argument 171 alloc_size = size + alignment - PAGE; 179 leadsize = ALIGNMENT_CEILING((uintptr_t)pages, alignment) - 190 chunk_alloc_mmap(size_t size, size_t alignment, bool *zero) argument 196 * Ideally, there would be a way to specify alignment to mmap() (like 208 assert(alignment != 0); 209 assert((alignment & chunksize_mask) == 0); 214 offset = ALIGNMENT_ADDR2OFFSET(ret, alignment); 217 return (chunk_alloc_mmap_slow(size, alignment, zer [all...] |
H A D | zone.c | 29 static void *zone_memalign(malloc_zone_t *zone, size_t alignment, 110 zone_memalign(malloc_zone_t *zone, size_t alignment, size_t size) argument 114 je_posix_memalign(&ret, alignment, size);
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_vs.c | 64 const int alignment = 16; local 67 if (((uintptr_t)constants) & (alignment - 1)) { 75 align_malloc(size, alignment);
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_struct.c | 153 unsigned alignment) 160 lp_set_load_alignment(res, alignment); 185 unsigned alignment) 191 lp_set_store_alignment(instr, alignment); 150 lp_build_pointer_get_unaligned(LLVMBuilderRef builder, LLVMValueRef ptr, LLVMValueRef index, unsigned alignment) argument 181 lp_build_pointer_set_unaligned(LLVMBuilderRef builder, LLVMValueRef ptr, LLVMValueRef index, LLVMValueRef value, unsigned alignment) argument
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_mm.c | 109 int reserved, int alignment) 107 SliceBlock(struct mem_block *p, int startofs, int size, int reserved, int alignment) argument
|
/external/mesa3d/src/gallium/winsys/sw/null/ |
H A D | null_sw_winsys.c | 86 unsigned alignment, 82 null_sw_displaytarget_create(struct sw_winsys *winsys, unsigned tex_usage, enum pipe_format format, unsigned width, unsigned height, unsigned alignment, unsigned *stride) argument
|
/external/mesa3d/src/mesa/main/ |
H A D | mm.c | 100 unsigned reserved, unsigned alignment) 98 SliceBlock(struct mem_block *p, unsigned startofs, unsigned size, unsigned reserved, unsigned alignment) argument
|
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_context.c | 148 unsigned alignment = local 151 st->constbuf_uploader = u_upload_create(pipe, 128 * 1024, alignment,
|