/external/clang/test/CodeGen/ |
address-space-cast.c | 3 volatile unsigned char* const __attribute__((address_space(1))) serial_ctrl = 0x02;
|
address-space-compound-literal.c | 3 typedef int a __attribute__((address_space(1)));
|
address-space.c | 7 int foo __attribute__((address_space(1))); 10 int ban[10] __attribute__((address_space(1))); 22 __attribute__((address_space(2))) int *A, *B; 41 void test4(MyStruct __attribute__((address_space(2))) *pPtr) {
|
address-space-field1.c | 26 #define __addr1 __attribute__((address_space(1))) 27 #define __addr2 __attribute__((address_space(2)))
|
atomic.c | 139 void addrspace(int __attribute__((address_space(256))) * P) {
|
/external/clang/test/Sema/ |
address_spaces.c | 3 #define _AS1 __attribute__((address_space(1))) 4 #define _AS2 __attribute__((address_space(2))) 5 #define _AS3 __attribute__((address_space(3))) 22 __attribute__((address_space(-1))) int *_boundsA; // expected-error {{address space is negative}} 23 __attribute__((address_space(0xFFFFFF))) int *_boundsB; 24 __attribute__((address_space(0x1000000))) int *_boundsC; // expected-error {{address space is larger than the maximum supported}} 26 __attribute__((address_space(4294967500))) int *_boundsD; // expected-error {{address space is larger than the maximum supported}} 33 } s __attribute ((address_space(1))) = {1, 1}; 37 __attribute__((address_space(256))) void * * const base = 0; 39 return base[0]; // expected-error {{returning '__attribute__((address_space(256))) void *' from a function with result type 'void *' changes address space of pointer} [all...] |
/external/clang/test/SemaTemplate/ |
address-spaces.cpp | 13 typedef int __attribute__((address_space(1))) int_1;; 14 typedef int __attribute__((address_space(2))) int_2;; 15 typedef int __attribute__((address_space(1))) *int_1_ptr; 41 struct is_pointer_in_address_space_1<T __attribute__((address_space(1))) *> { 53 T *x = 1; // expected-error{{cannot initialize a variable of type '__attribute__((address_space(1))) int *' with an rvalue of type 'int'}} \ 54 // expected-error{{cannot initialize a variable of type '__attribute__((address_space(3))) int *' with an rvalue of type 'int'}} 58 static __attribute__((address_space(3))) int array[17]; 66 identity<T> accept_arg_in_address_space_1(__attribute__((address_space(1))) T &ir1); 72 static int __attribute__((address_space(1))) int_1; 74 identity<int __attribute__((address_space(1)))> ii2 = accept_any_arg(int_1) [all...] |
/external/clang/test/CodeGenCXX/ |
mangle-address-space.cpp | 6 void f0(char __attribute__((address_space(1))) *p) { }
|
/external/clang/test/SemaCXX/ |
address-space-newdelete.cpp | 6 typedef int __attribute__((address_space(1))) int_1; 10 (void)new __attribute__((address_space(1))) int; // expected-error{{'new' cannot allocate objects of type 'int' in address space '1'}} 12 (void)new __attribute__((address_space(1))) int [5]; // expected-error{{'new' cannot allocate objects of type 'int' in address space '1'}} 16 (void)new (p) __attribute__((address_space(1))) int; // expected-error{{'new' cannot allocate objects of type 'int' in address space '1'}} 18 (void)new (p) __attribute__((address_space(1))) int [5]; // expected-error{{'new' cannot allocate objects of type 'int' in address space '1'}}
|
address-space-references.cpp | 3 typedef int __attribute__((address_space(1))) int_1; 4 typedef int __attribute__((address_space(2))) int_2; 7 // expected-note{{candidate function not viable: 1st argument ('int_2' (aka '__attribute__((address_space(2))) int')) is in address space 2, but parameter must be in address space 1}} 9 // expected-note{{candidate function not viable: 1st argument ('int_2' (aka '__attribute__((address_space(2))) int')) is in address space 2, but parameter must be in address space 1}}
|
address-space-conversion.cpp | 10 typedef void __attribute__((address_space(1))) *void_ptr_1; 11 typedef void __attribute__((address_space(2))) *void_ptr_2; 14 typedef int __attribute__((address_space(1))) *int_ptr_1; 15 typedef int __attribute__((address_space(2))) *int_ptr_2; 18 typedef A __attribute__((address_space(1))) *A_ptr_1; 19 typedef A __attribute__((address_space(2))) *A_ptr_2; 22 typedef B __attribute__((address_space(1))) *B_ptr_1; 23 typedef B __attribute__((address_space(2))) *B_ptr_2; 28 const int __attribute__((address_space(1))) *cip1) { 134 const void __attribute__((address_space(1))) *cvp1) [all...] |
value-dependent-exprs.cpp | 37 typedef int int_a0 __attribute__((address_space(1 + B)));
|
/external/kernel-headers/original/linux/ |
pagemap.h | 22 static inline gfp_t mapping_gfp_mask(struct address_space * mapping) 31 static inline void mapping_set_gfp_mask(struct address_space *m, gfp_t mask) 55 extern struct page *page_cache_alloc(struct address_space *x); 56 extern struct page *page_cache_alloc_cold(struct address_space *x); 58 static inline struct page *page_cache_alloc(struct address_space *x) 63 static inline struct page *page_cache_alloc_cold(struct address_space *x) 71 extern struct page * find_get_page(struct address_space *mapping, 73 extern struct page * find_lock_page(struct address_space *mapping, 76 struct address_space *mapping, unsigned long index); 77 extern struct page * find_or_create_page(struct address_space *mapping [all...] |
swap.h | 87 struct address_space; 187 extern int remove_mapping(struct address_space *mapping, struct page *page); 218 extern struct address_space swapper_space; 226 struct address_space *); 329 struct address_space *mapping)
|
mm.h | 74 * linkage into the address_space->i_mmap prio tree, or 76 * linkage of vma in the address_space->i_mmap_nonlinear list. 240 struct address_space *mapping; /* If low bit clear, points to 241 * inode address_space, or NULL. 370 * page's address_space. Usually, this is the address of a circular 561 * page->mapping points to its anon_vma, not to a struct address_space; 565 * address_space which maps the page from disk; whereas "page_mapped" 570 extern struct address_space swapper_space; 571 static inline struct address_space *page_mapping(struct page *page) 573 struct address_space *mapping = page->mapping [all...] |
compiler.h | 7 # define __user __attribute__((noderef, address_space(1))) 12 # define __iomem __attribute__((noderef, address_space(2)))
|
fs.h | 351 struct address_space; 360 int (*writepages)(struct address_space *, struct writeback_control *); 365 int (*readpages)(struct file *filp, struct address_space *mapping, 375 sector_t (*bmap)(struct address_space *, sector_t); 380 struct page* (*get_xip_page)(struct address_space *, sector_t, 383 int (*migratepage) (struct address_space *, 388 struct address_space { struct 402 spinlock_t private_lock; /* for use by the address_space */ 404 struct address_space *assoc_mapping; /* ditto */ 464 int mapping_tagged(struct address_space *mapping, int tag) [all...] |
blkdev.h | 637 static inline void blk_run_address_space(struct address_space *mapping)
|
pci_regs.h | 94 /* bit 1 is reserved if address_space = 1 */
|
/external/clang/test/PCH/ |
types.h | 4 typedef __attribute__((address_space(1))) int ASInt;
|
types.c | 11 __attribute__((address_space(1))) int int_as_one;
|
/external/clang/lib/Sema/ |
AttributeList.cpp | 159 .Case("address_space", AT_address_space)
|
/external/clang/lib/AST/ |
TypePrinter.cpp | 859 S += "address_space("; [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
pci_regs.h | 99 /* bit 1 is reserved if address_space = 1 */
|
/external/clang/include/clang/AST/ |
TypeLoc.h | 661 /// void *cur_thread __attribute__((address_space(21))) [all...] |