/external/clang/test/PCH/ |
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;
|
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...] |
/external/v8/test/mjsunit/regress/ |
regress-674753.js | 29 assertTrue(typeof 0 == 'number'); 30 assertTrue(typeof 0 === 'number'); 31 assertTrue(typeof 1.2 == 'number'); 32 assertTrue(typeof 1.2 === 'number'); 33 assertFalse(typeof 'x' == 'number'); 34 assertFalse(typeof 'x' === 'number'); 37 assertTrue(typeof 'x' == 'string'); 38 assertTrue(typeof 'x' === 'string'); 39 assertTrue(typeof ('x' + 'x') == 'string'); 40 assertTrue(typeof ('x' + 'x') === 'string') [all...] |
regress-406.js | 32 assertFalse(typeof(0) == "zero"); 33 assertTrue(typeof(0) != "zero"); 36 assertFalse(typeof(0) == "zero" && typeof(0) == "zero"); 37 assertFalse(typeof(0) == "zero" && typeof(0) != "zero"); 38 assertFalse(typeof(0) != "zero" && typeof(0) == "zero"); 39 assertTrue(typeof(0) != "zero" && typeof(0) != "zero") [all...] |
regress-542100.js | 9 assertEquals("undefined", typeof f); 12 assertEquals("function", typeof f); 19 assertEquals("undefined", typeof g); 22 assertEquals("function", typeof g);
|
regress-3138.js | 8 assertEquals("function", typeof f); 13 assertEquals("undefined", typeof f); 18 assertEquals("undefined", typeof f); 22 assertEquals("undefined", typeof f); 30 assertEquals("undefined", typeof a);
|
/external/compiler-rt/lib/asan/ |
asan_android_stub.cc | 4 typeof(__asan_init) *__asan_preinit =__asan_init;
|
/external/clang/test/Parser/ |
typeof.c | 8 int typeof (int) aIntInt; // expected-error{{cannot combine with previous 'int' declaration specifier}} 9 short typeof (int) aShortInt; // expected-error{{'short typeof' is invalid}} 11 typeof(TInt) anInt; 14 typeof(void ary[7]) anIntError; // expected-error{{expected ')'}} expected-note {{to match this '('}} expected-error {{variable has incomplete type 'typeof(void)' (aka 'void')}} 15 typeof(const int) aci; 16 const typeof (*pi) aConstInt;
|
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)0)))
|
/external/v8/test/mjsunit/ |
constant-fold-control-instructions.js | 8 assertEquals("string", typeof ""); 9 assertEquals("number", typeof 1.1); 10 assertEquals("number", typeof 1); 11 assertEquals("boolean", typeof true); 12 assertEquals("function", typeof function() {}); 13 assertEquals("object", typeof null); 14 assertEquals("object", typeof {}); 15 assertEquals("object", typeof /regex/);
|
eval-enclosing-function-name.js | 31 var f = function y() { return typeof y; }; 35 f = function y() { return eval('typeof y'); }; 39 f = function y() { y = 3; return typeof y; }; 43 f = function y() { y += 3; return typeof y; }; 47 f = function y() { y &= y; return typeof y; }; 51 f = function y() { y = 3; return eval('typeof y'); } 55 f = function y() { var y = 3; return typeof y; } 59 f = function y() { var y = 3; return eval('typeof y'); } 63 f = function y() { eval('y = 3'); return typeof y; } 67 f = function y() { eval('y = 3'); return eval('typeof y'); [all...] |
accessors-no-prototype.js | 11 assertEquals('function', typeof desc.get); 25 assertEquals('function', typeof desc.set); 40 assertEquals('function', typeof desc.get); 41 assertEquals('function', typeof desc.set);
|
/external/fio/ |
minmax.h | 6 typeof(x) _x = (x); \ 7 typeof(y) _y = (y); \ 14 typeof(x) _x = (x); \ 15 typeof(y) _y = (y); \
|
/external/v8/test/webkit/ |
typeof-constant-string.js | 25 "This test checks that using the typeof operator on a JavaScript value and comparing it to a constant string works as expected." 30 return typeof a == "undefined"; 38 return typeof a === "undefined"; 46 return typeof a == "boolean"; 55 return typeof a === "boolean"; 64 return typeof a == "number"; 72 return typeof a === "number"; 80 return typeof a == "string"; 88 return typeof a === "string"; 96 return typeof a == "object" [all...] |
typeof-codegen-crash-expected.txt | 24 This test for a crash when optimizing expressions of the form 'typeof o == constant' where 'constant' is not a string. 29 PASS typeof o == undefined is false 30 PASS typeof o == null is false 31 PASS typeof o == true is false 32 PASS typeof o == false is false 33 PASS typeof o == 1 is false 34 PASS typeof o == 1.0 is false 35 PASS typeof o == { } is false
|
typeof-codegen-crash.js | 25 "This test for a crash when optimizing expressions of the form 'typeof o == constant' where 'constant' is not a string." 30 shouldBeFalse("typeof o == undefined"); 31 shouldBeFalse("typeof o == null"); 32 shouldBeFalse("typeof o == true"); 33 shouldBeFalse("typeof o == false"); 34 shouldBeFalse("typeof o == 1"); 35 shouldBeFalse("typeof o == 1.0"); 36 shouldBeFalse("typeof o == { }");
|
/external/v8/test/mjsunit/wasm/ |
wasm-object-api.js | 9 assertEquals("function", typeof _WASMEXP_.verifyModule); 10 assertEquals("function", typeof _WASMEXP_.verifyFunction); 11 assertEquals("function", typeof _WASMEXP_.compileRun);
|
/external/clang/test/CodeGen/ |
cxx-value-init.cpp | 9 _Complex int v4 = typeof(_Complex int)(); 10 _Complex float v5 = typeof(_Complex float)();
|
/external/safe-iop/include/ |
safe_iop.h | 23 * - added typeless functions using gcc magic (typeof) 80 ((typeof(_a))(~((typeof(_a)) 1 << ((sizeof(typeof(_a)) * CHAR_BIT) - 1)))) 82 ((typeof(_a))(-__sio(m)(smax)(_a) - 1)) 83 #define OPAQUE_SAFE_IOP_PREFIX_MACRO_umax(_a) ((typeof(_a))(~((typeof(_a)) 0))) 86 ((((__sio(m)(smin)(__A) <= ((typeof(__A))0)) && \ 87 (__sio(m)(smin)(__B) <= ((typeof(__B))0))) || \ 88 (((__sio(m)(smin)(__A) > ((typeof(__A))0))) && [all...] |
/external/pdfium/testing/resources/javascript/ |
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 = functio [all...] |
/prebuilts/go/darwin-x86/test/ |
convert.go | 13 func typeof(x interface{}) string { return reflect.TypeOf(x).String() } func 31 want := typeof(g) 32 if t := typeof(f); t != want { 37 want = typeof(a) 38 if t := typeof(+a); t != want { 42 if t := typeof(a + 0); t != want {
|
/prebuilts/go/linux-x86/test/ |
convert.go | 13 func typeof(x interface{}) string { return reflect.TypeOf(x).String() } func 31 want := typeof(g) 32 if t := typeof(f); t != want { 37 want = typeof(a) 38 if t := typeof(+a); t != want { 42 if t := typeof(a + 0); t != want {
|
/external/clang/test/Preprocessor/ |
extension-warning.c | 5 #define TY typeof 6 #define TY1 typeof(1) 16 // inline, restrict, asm, typeof, _asm
|
/external/v8/test/mjsunit/harmony/regress/ |
regress-4482.js | 7 assertEquals("function", (function f() { f = 42; return typeof f })()); 9 (function* g() { g = 42; yield typeof g })().next().value);
|
/prebuilts/go/darwin-x86/src/cmd/fix/ |
typecheck.go | 79 // typeof returns the type of the given name, which may be of 81 func (cfg *TypeConfig) typeof(name string) string { func 133 // typeof maps AST nodes to type information in gofmt string form. 136 func typecheck(cfg *TypeConfig, f *ast.File) (typeof map[interface{}]string, assign map[string][]interface{}) { 137 typeof = make(map[interface{}]string) 149 typecheck1(cfg, fn.Type, typeof, assign) 150 t := typeof[fn.Type] 153 rcvr := typeof[fn.Recv] 159 typeof[fn.Recv.List[0].Type] = rcvr 165 typeof[rcvr+"."+fn.Name.Name] = [all...] |