/external/clang/test/PCH/ |
D | exprs.h | 6 typedef typeof(i) int_decl_ref; 7 typedef typeof(Enumerator) enum_decl_ref; 10 typedef typeof(17) integer_literal; 11 typedef typeof(17l) long_literal; 14 typedef typeof((42.5)) floating_literal; 17 typedef typeof(17.0i) imaginary_literal; 23 typedef typeof('a') char_literal; 26 typedef typeof(-Enumerator) negate_enum; 38 typedef typeof(__builtin_offsetof(struct Z, y.array[1 + 2].member)) 42 typedef typeof(sizeof(int)) typeof_sizeof; [all …]
|
D | objc_exprs.h | 6 typedef typeof(@"foo" "bar") objc_string; 7 typedef typeof(@encode(int)) objc_encode; 8 typedef typeof(@protocol(foo)) objc_protocol; 9 typedef typeof(@selector(noArgs)) objc_selector_noArgs; 10 typedef typeof(@selector(oneArg:)) objc_selector_oneArg; 11 typedef typeof(@selector(foo:bar:)) objc_selector_twoArg; 15 typedef typeof(id<foo>) objc_id_protocol_ty; 17 typedef typeof(itf*) objc_interface_ty; 18 typedef typeof(itf<foo>*) objc_qual_interface_ty;
|
/external/llvm-project/clang/test/PCH/ |
D | exprs.h | 6 typedef typeof(i) int_decl_ref; 7 typedef typeof(Enumerator) enum_decl_ref; 10 typedef typeof(17) integer_literal; 11 typedef typeof(17l) long_literal; 14 typedef typeof((42.5)) floating_literal; 17 typedef typeof(17.0i) imaginary_literal; 23 typedef typeof('a') char_literal; 26 typedef typeof(-Enumerator) negate_enum; 38 typedef typeof(__builtin_offsetof(struct Z, y.array[1 + 2].member)) 42 typedef typeof(sizeof(int)) typeof_sizeof; [all …]
|
D | objc_exprs.h | 8 typedef typeof(@"foo" "bar") objc_string; 9 typedef typeof(@encode(int)) objc_encode; 10 typedef typeof(@protocol(foo2)) objc_protocol; 11 typedef typeof(@selector(noArgs)) objc_selector_noArgs; 12 typedef typeof(@selector(oneArg:)) objc_selector_oneArg; 13 typedef typeof(@selector(foo:bar:)) objc_selector_twoArg; 17 typedef typeof(id<foo>) objc_id_protocol_ty; 19 typedef typeof(itf*) objc_interface_ty; 20 typedef typeof(itf<foo>*) objc_qual_interface_ty;
|
/external/llvm-project/clang/test/Modules/ |
D | odr_hash-gnu.cpp | 39 typeof(1 + 2) x; 43 typeof(global) x; 46 typeof(3) x; 47 typeof(x) y; 48 typeof(Valid*) self; 52 typeof(3) x; 56 typeof(global) x; 59 typeof(3) x; 60 typeof(x) y; 61 typeof(Valid*) self; [all …]
|
/external/python/cffi/testing/cffi1/ |
D | test_recompiler.py | 273 assert ffi.typeof(lib.FOOBAR) == ffi.typeof("double *") 299 assert ffi.typeof("struct foo_s").cname == "struct foo_s" 305 assert ffi.typeof("union foo_s").cname == "union foo_s" 314 ffi.typeof("struct bar_s *") 329 assert ffi.typeof(ffi.addressof(p[0])) is ffi.typeof("struct foo_s *") 330 assert ffi.typeof(ffi.addressof(p, "b")) is ffi.typeof("int *") 349 assert ffi1.typeof("long") is ffi2.typeof("long") 350 assert ffi1.typeof("long**") is ffi2.typeof("long * *") 351 assert ffi1.typeof("long(*)(int, ...)") is ffi2.typeof("long(*)(int, ...)") 353 assert ffi1.typeof("struct foo_s") is not ffi2.typeof("struct foo_s") [all …]
|
D | test_ffi_obj.py | 27 t1 = ffi.typeof("int **") 28 t2 = ffi.typeof("int *") 31 assert ffi.typeof("int[][10]") is ffi.typeof("int[][10]") 32 assert ffi.typeof("int(*)()") is ffi.typeof("int(*)()") 37 t1 = ffi.typeof("int **") 38 t2 = ffi.typeof("int *") 46 assert ffi.typeof(ffi.new("int **")[0]) is t2 49 t1 = ffi.typeof("int ***") 50 t2 = ffi.typeof("int **") 58 assert ffi.typeof("int * *") is t1.item [all …]
|
/external/bcc/src/lua/bpf/ |
D | proto.lua | 17 local BPF = ffi.typeof('struct bpf') 279 t.__dissector=ffi.typeof(typestr) 286 M.dot1q = function (...) return dissector(ffi.typeof('struct dot1q_t'), ...) end 287 M.arp = function (...) return dissector(ffi.typeof('struct arp_t'), ...) end 288 M.icmp = function (...) return dissector(ffi.typeof('struct icmp_t'), ...) end 289 M.ip = function (...) return dissector(ffi.typeof('struct ip_t'), ...) end 290 M.icmp6 = function (...) return dissector(ffi.typeof('struct icmp6_t'), ...) end 291 M.ip6 = function (...) return dissector(ffi.typeof('struct ip6_t'), ...) end 292 M.ip6_opt = function (...) return dissector(ffi.typeof('struct ip6_opt_t'), ...) end 293 M.udp = function (...) return dissector(ffi.typeof('struct udp_t'), ...) end [all …]
|
/external/pdfium/testing/resources/javascript/ |
D | document_methods_expected.txt | 2 Alert: PASS: typeof this.addAnnot = function 5 Alert: PASS: typeof this.addField = function 8 Alert: PASS: typeof this.addLink = function 11 Alert: PASS: typeof this.closeDoc = function 14 Alert: PASS: typeof this.createDataObject = function 17 Alert: PASS: typeof this.deletePages = function 20 Alert: PASS: typeof this.exportAsFDF = function 23 Alert: PASS: typeof this.exportAsText = function 26 Alert: PASS: typeof this.exportAsXFDF = function 29 Alert: PASS: typeof this.extractPages = function [all …]
|
D | document_methods.in | 91 expect('typeof ' + str, 'function'); 98 expect('typeof this.addIcon', 'function'); 114 expect('typeof this.calculateNow', 'function'); 123 expect('typeof this.getAnnot', 'function'); 135 expect('typeof this.getAnnots', 'function'); 142 expect('typeof this.getField', 'function'); 152 expect('typeof this.getIcon', 'function'); 163 expect('typeof this.getNthFieldName', 'function'); 180 expect('typeof this.getPageNthWord', 'function'); 195 expect('typeof this.getPageNthWordQuads', 'function'); [all …]
|
/external/blktrace/iowatcher/ |
D | list.h | 35 const typeof( ((type *)0)->member ) *__mptr = (ptr); \ 337 for (pos = list_entry((head)->next, typeof(*pos), member); \ 339 pos = list_entry(pos->member.next, typeof(*pos), member)) 348 for (pos = list_entry((head)->prev, typeof(*pos), member); \ 350 pos = list_entry(pos->member.prev, typeof(*pos), member)) 361 ((pos) ? : list_entry(head, typeof(*pos), member)) 373 for (pos = list_entry(pos->member.next, typeof(*pos), member); \ 375 pos = list_entry(pos->member.next, typeof(*pos), member)) 387 pos = list_entry(pos->member.next, typeof(*pos), member)) 397 for (pos = list_entry((head)->next, typeof(*pos), member), \ [all …]
|
/external/ltp/testcases/realtime/include/ |
D | list.h | 253 const typeof( ((type *)0)->member ) *__mptr = (ptr); \ 301 for (pos = list_entry((head)->next, typeof(*pos), member); \ 303 pos = list_entry(pos->member.next, typeof(*pos), member)) 312 for (pos = list_entry((head)->prev, typeof(*pos), member); \ 314 pos = list_entry(pos->member.prev, typeof(*pos), member)) 324 ((pos) ? : list_entry(head, typeof(*pos), member)) 334 for (pos = list_entry(pos->member.next, typeof(*pos), member); \ 336 pos = list_entry(pos->member.next, typeof(*pos), member)) 346 for (pos = list_entry((head)->next, typeof(*pos), member), \ 347 n = list_entry(pos->member.next, typeof(*pos), member); \ [all …]
|
/external/clang/test/Parser/ |
D | typeof.c | 8 …int typeof (int) aIntInt; // expected-error{{cannot combine with previous 'int' declaration specif… in test() 9 short typeof (int) aShortInt; // expected-error{{'short typeof' is invalid}} in test() 11 typeof(TInt) anInt; in test() 14 …typeof(void ary[7]) anIntError; // expected-error{{expected ')'}} expected-note {{to match this '(… in test() 15 typeof(const int) aci; in test() 16 const typeof (*pi) aConstInt; in test()
|
D | builtin_types_compatible.c | 11 typeof(expr) tmp; \ 12 if (__builtin_types_compatible_p(typeof(expr), int)) funcInt(tmp); \ 13 else if (__builtin_types_compatible_p(typeof(expr), float)) funcFloat(tmp); \ 14 else if (__builtin_types_compatible_p(typeof(expr), double)) funcDouble(tmp); \ 17 __builtin_choose_expr(__builtin_types_compatible_p(typeof(expr), int), funcInt(expr), \ 18 __builtin_choose_expr(__builtin_types_compatible_p(typeof(expr), float), funcFloat(expr), \ 19 …__builtin_choose_expr(__builtin_types_compatible_p(typeof(expr), double), funcDouble(expr), (void)…
|
/external/llvm-project/clang/test/Parser/ |
D | typeof.c | 8 …int typeof (int) aIntInt; // expected-error{{cannot combine with previous 'int' declaration specif… in test() 9 short typeof (int) aShortInt; // expected-error{{'short typeof' is invalid}} in test() 11 typeof(TInt) anInt; in test() 14 …typeof(void ary[7]) anIntError; // expected-error{{expected ')'}} expected-note {{to match this '(… in test() 15 typeof(const int) aci; in test() 16 const typeof (*pi) aConstInt; in test()
|
D | builtin_types_compatible.c | 11 typeof(expr) tmp; \ 12 if (__builtin_types_compatible_p(typeof(expr), int)) funcInt(tmp); \ 13 else if (__builtin_types_compatible_p(typeof(expr), float)) funcFloat(tmp); \ 14 else if (__builtin_types_compatible_p(typeof(expr), double)) funcDouble(tmp); \ 17 __builtin_choose_expr(__builtin_types_compatible_p(typeof(expr), int), funcInt(expr), \ 18 __builtin_choose_expr(__builtin_types_compatible_p(typeof(expr), float), funcFloat(expr), \ 19 …__builtin_choose_expr(__builtin_types_compatible_p(typeof(expr), double), funcDouble(expr), (void)…
|
/external/linux-kselftest/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/ |
D | percpu.h | 29 ((typeof(ptr)) ((char *) (ptr) + PERCPU_OFFSET * cpu)) 33 #define __this_cpu_sub(pcp, n) __this_cpu_add(pcp, -(typeof(pcp)) (n)) 37 #define this_cpu_sub(pcp, n) this_cpu_add(pcp, -(typeof(pcp)) (n)) 49 typeof(ptr) this_cpu_add_helper_ptr = (ptr); \ 50 typeof(ptr) this_cpu_add_helper_x = (x); \ 51 typeof(*ptr) this_cpu_add_helper_temp; \ 70 (typeof(pcp)) (n)); \ 77 (typeof(pcp)) (n)); \
|
/external/python/cffi/testing/cffi0/ |
D | test_ffi_backend.py | 28 assert ffi.typeof("long").kind == "primitive" 29 assert ffi.typeof("long(*)(long, long**, ...)").cname == ( 31 assert ffi.typeof("long(*)(long, long**, ...)").ellipsis is True 37 assert ffi.typeof(p) == ffi.typeof("void *") 75 assert ffi.typeof(p1) == ffi.typeof("int[10]") 77 assert ffi.typeof(p2) == ffi.typeof("int[]") 102 assert ffi.typeof(p1) == ffi.typeof("int[10]") 140 ctype = ffi.typeof("struct s1") 289 assert ffi.typeof(p.a) is ffi.typeof("int[]") 297 assert ffi.typeof(q.a) is ffi.typeof("int *") # no length recorded [all …]
|
/external/pdfium/testing/resources/javascript/xfa_specific/ |
D | xfa_node.in | 32 expect("typeof my_doc.applyXSL", "function"); 33 expect("typeof my_doc.assignNode", "function"); 34 expect("typeof my_doc.clone", "function"); 35 expect("typeof my_doc.getAttribute", "function"); 36 expect("typeof my_doc.getElement", "function"); 37 expect("typeof my_doc.isPropertySpecified", "function"); 38 expect("typeof my_doc.loadXML", "function"); 39 expect("typeof my_doc.saveFilteredXML", "function"); 40 expect("typeof my_doc.saveXML", "function"); 41 expect("typeof my_doc.setAttribute", "function"); [all …]
|
D | xfa_node_expected.txt | 11 Alert: PASS: typeof my_doc.applyXSL = function 12 Alert: PASS: typeof my_doc.assignNode = function 13 Alert: PASS: typeof my_doc.clone = function 14 Alert: PASS: typeof my_doc.getAttribute = function 15 Alert: PASS: typeof my_doc.getElement = function 16 Alert: PASS: typeof my_doc.isPropertySpecified = function 17 Alert: PASS: typeof my_doc.loadXML = function 18 Alert: PASS: typeof my_doc.saveFilteredXML = function 19 Alert: PASS: typeof my_doc.saveXML = function 20 Alert: PASS: typeof my_doc.setAttribute = function [all …]
|
/external/bcc/src/lua/bpf/spec/ |
D | codegen_spec.lua | 35 if not key_ctype then key_ctype = ffi.typeof('uint32_t') end 36 if not val_ctype then val_ctype = ffi.typeof('uint32_t') end 41 key = ffi.new(ffi.typeof('$ [1]', key_ctype)), 42 val = ffi.new(ffi.typeof('$ [1]', val_ctype)), 641 local array_map = makemap('array', 256, ffi.typeof(kv_t), ffi.typeof(kv_t)) 675 local array_map = makemap('array', 256, ffi.typeof(kv_t), ffi.typeof(kv_t)) 705 local array_map = makemap('array', 256, ffi.typeof(kv_t), ffi.typeof(kv_t)) 735 local array_map = makemap('array', 256, ffi.typeof(kv_t), ffi.typeof(kv_t)) 765 local array_map = makemap('array', 256, ffi.typeof(kv_t), ffi.typeof(kv_t)) 795 local array_map = makemap('array', 256, ffi.typeof(kv_t), ffi.typeof(kv_t))
|
/external/llvm-project/clang/test/Sema/ |
D | typeof-use-deprecated.c | 5 typeof(x) y; // expected-warning {{'s' is deprecated}} 9 typeof( u) z; // expected-warning {{'un' is deprecated}} 13 typeof( e) w; // expected-warning {{'E' is deprecated}} 19 int main() { typeof(x1) y; } // expected-warning {{'foo' is deprecated}} in main() 24 void wee() { typeof(t) y; } in wee()
|
/external/clang/test/Sema/ |
D | typeof-use-deprecated.c | 5 typeof(x) y; // expected-warning {{'s' is deprecated}} 9 typeof( u) z; // expected-warning {{'un' is deprecated}} 13 typeof( e) w; // expected-warning {{'E' is deprecated}} 19 int main() { typeof(x1) y; } // expected-warning {{'foo' is deprecated}} in main() 24 void wee() { typeof(t) y; } in wee()
|
/external/erofs-utils/include/erofs/ |
D | defs.h | 35 const typeof(((type *)0)->member) *__mptr = (ptr); \ 102 const typeof(y) __y = y; \ 108 typeof(x) __x = (x); \ 114 typeof(x) _min1 = (x); \ 115 typeof(y) _min2 = (y); \ 120 typeof(x) _max1 = (x); \ 121 typeof(y) _max2 = (y); \ 140 typeof(x) _x = (x); \ 141 typeof(y) _y = (y); \
|
/external/iproute2/include/ |
D | list.h | 8 const typeof( ((type *)0)->member ) *__mptr = (ptr); \ 62 list_entry((pos)->member.next, typeof(*(pos)), member) 65 list_entry((pos)->member.prev, typeof(*(pos)), member) 68 for (pos = list_first_entry(head, typeof(*pos), member); \ 73 for (pos = list_first_entry(head, typeof(*pos), member), \ 79 for (pos = list_last_entry(head, typeof(*pos), member); \ 119 ({ typeof(ptr) ____ptr = (ptr); \ 124 for (pos = hlist_entry_safe((head)->first, typeof(*(pos)), member);\ 126 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
|