/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/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
11.4.3.js | 24 ECMA Section: 11.4.3 typeof operator 25 Description: typeof evaluates unary expressions: 44 var TITLE = " The typeof operator"; 49 testcases[testcases.length] = new TestCase( SECTION, "typeof(void(0))", "undefined", typeof(void(0)) ); 50 testcases[testcases.length] = new TestCase( SECTION, "typeof(null)", "object", typeof(null) ); 51 testcases[testcases.length] = new TestCase( SECTION, "typeof(true)", "boolean", typeof(true) ); 52 testcases[testcases.length] = new TestCase( SECTION, "typeof(false)", "boolean", typeof(false) ) [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...] |
/external/webkit/LayoutTests/fast/dom/DeviceMotion/script-tests/ |
create-event.js | 5 shouldBeTrue("typeof event == 'object'"); 15 shouldBeTrue("typeof event.type == 'string'"); 16 shouldBeTrue("typeof event.bubbles == 'boolean'"); 17 shouldBeTrue("typeof event.cancelable == 'boolean'"); 18 shouldBeTrue("typeof event.acceleration == 'object'"); 19 shouldBeTrue("typeof event.accelerationIncludingGravity == 'object'"); 20 shouldBeTrue("typeof event.rotationRate == 'object'"); 21 shouldBeTrue("typeof event.interval == 'object'");
|
window-property.js | 12 shouldBeTrue("typeof window.DeviceMotionEvent == 'object'"); 13 shouldBeFalse("typeof window.DeviceMotionEvent == 'function'"); 27 shouldBeTrue("typeof window.ondevicemotion == 'object'");
|
/external/webkit/LayoutTests/fast/dom/HTMLFormElement/ |
move-option-between-documents-expected.txt | 1 PASS typeof select.options.namedItem('option') is 'undefined'
|
/external/webkit/LayoutTests/fast/dom/DeviceOrientation/script-tests/ |
create-event.js | 5 shouldBeTrue("typeof event == 'object'"); 14 shouldBeTrue("typeof event.type == 'string'"); 15 shouldBeTrue("typeof event.bubbles == 'boolean'"); 16 shouldBeTrue("typeof event.cancelable == 'boolean'"); 17 shouldBeTrue("typeof event.alpha == 'object'"); 18 shouldBeTrue("typeof event.beta == 'object'"); 19 shouldBeTrue("typeof event.gamma == 'object'");
|
window-property.js | 12 shouldBeTrue("typeof window.DeviceOrientationEvent == 'object'"); 13 shouldBeFalse("typeof window.DeviceOrientationEvent == 'function'"); 27 shouldBeTrue("typeof window.ondeviceorientation == 'object'");
|
/external/webkit/LayoutTests/storage/domstorage/ |
complex-values-expected.txt | 10 PASS typeof storage['foo'] is "undefined" 12 PASS typeof storage.foo is "undefined" 14 PASS typeof storage.getItem('foo') is "object" 18 PASS typeof storage['foo1'] is "string" 20 PASS typeof storage.foo1 is "string" 22 PASS typeof storage.getItem('foo1') is "string" 25 PASS typeof storage['foo2'] is "string" 27 PASS typeof storage.foo2 is "string" 29 PASS typeof storage.getItem('foo2') is "string" 32 PASS typeof storage['foo3'] is "string [all...] |
/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/webkit/LayoutTests/fast/dom/DeviceMotion/ |
create-event-expected.txt | 6 PASS typeof event == 'object' is true 14 PASS typeof event.type == 'string' is true 15 PASS typeof event.bubbles == 'boolean' is true 16 PASS typeof event.cancelable == 'boolean' is true 17 PASS typeof event.acceleration == 'object' is true 18 PASS typeof event.accelerationIncludingGravity == 'object' is true 19 PASS typeof event.rotationRate == 'object' is true 20 PASS typeof event.interval == 'object' is true
|
window-property-expected.txt | 6 PASS typeof window.DeviceMotionEvent == 'object' is true 7 PASS typeof window.DeviceMotionEvent == 'function' is false 11 PASS typeof window.ondevicemotion == 'object' is true
|
/external/webkit/LayoutTests/fast/dom/DeviceOrientation/ |
create-event-expected.txt | 6 PASS typeof event == 'object' is true 13 PASS typeof event.type == 'string' is true 14 PASS typeof event.bubbles == 'boolean' is true 15 PASS typeof event.cancelable == 'boolean' is true 16 PASS typeof event.alpha == 'object' is true 17 PASS typeof event.beta == 'object' is true 18 PASS typeof event.gamma == 'object' is true
|
window-property-expected.txt | 6 PASS typeof window.DeviceOrientationEvent == 'object' is true 7 PASS typeof window.DeviceOrientationEvent == 'function' is false 11 PASS typeof window.ondeviceorientation == 'object' is true
|
/external/clang/test/CodeGen/ |
cxx-value-init.cpp | 9 _Complex int v4 = typeof(_Complex int)(); 10 _Complex float v5 = typeof(_Complex float)();
|
/external/clang/test/SemaTemplate/ |
instantiate-type.cpp | 8 typedef typeof(T*) typeof_type; 9 typedef typeof(f(T())) typeof_expr;
|
/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/clang/test/Sema/ |
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}} 24 void wee() { typeof(t) y; }
|
/external/webkit/LayoutTests/storage/domstorage/localstorage/ |
string-conversion.html | 25 log("Type/value for null is " + typeof localStorage.a + "/" + localStorage.a); 27 log("Type/value for 0 is " + typeof localStorage.b + "/" + localStorage.b); 29 log("Type/value for function(){} is " + typeof localStorage.c + "/" + localStorage.c); 33 log("Type/value for null is " + typeof localStorage.d + "/" + localStorage.d); 35 log("Type/value for 0 is " + typeof localStorage.e + "/" + localStorage.e); 37 log("Type/value for function(){} is " + typeof localStorage.f + "/" + localStorage.f); 41 log("Type/value for null is " + typeof localStorage.g + "/" + localStorage.g); 43 log("Type/value for 0 is " + typeof localStorage.h + "/" + localStorage.h); 45 log("Type/value for function(){} is " + typeof localStorage.i + "/" + localStorage.i);
|
/external/webkit/LayoutTests/storage/domstorage/sessionstorage/ |
string-conversion.html | 25 log("Type/value for null is " + typeof sessionStorage.a + "/" + sessionStorage.a); 27 log("Type/value for 0 is " + typeof sessionStorage.b + "/" + sessionStorage.b); 29 log("Type/value for function(){} is " + typeof sessionStorage.c + "/" + sessionStorage.c); 33 log("Type/value for null is " + typeof sessionStorage.d + "/" + sessionStorage.d); 35 log("Type/value for 0 is " + typeof sessionStorage.e + "/" + sessionStorage.e); 37 log("Type/value for function(){} is " + typeof sessionStorage.f + "/" + sessionStorage.f); 41 log("Type/value for null is " + typeof sessionStorage.g + "/" + sessionStorage.g); 43 log("Type/value for 0 is " + typeof sessionStorage.h + "/" + sessionStorage.h); 45 log("Type/value for function(){} is " + typeof sessionStorage.i + "/" + sessionStorage.i);
|
/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/ |
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...] |