Home
last modified time | relevance | path

Searched refs:foo (Results 1 – 25 of 418) sorted by relevance

12345678910>>...17

/external/v8/test/mjsunit/
Dstring-replace-gc.js32 var foo = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; variable
34 foo = foo + foo;
35 foo = foo + foo;
36 foo = foo + foo;
37 foo = foo + foo;
38 foo = foo + foo;
39 foo = foo + foo;
40 foo = foo + foo;
41 foo = foo + foo;
42 foo = foo + foo;
[all …]
Dobject-create.js59 var protoFoo = { foo: function() { ctr++; }}; method
60 var fooValue = { foo: { writable: true, value: function() { ctr2++; }}}; property
61 var fooGetter = { foo: { get: function() { return ctr3++; }}}; property
62 var fooSetter = { foo: { set: function() { return ctr4++; }}}; property
63 var fooAmbiguous = { foo: { get: function() { return ctr3++; }, property
70 Object.create(protoFoo).foo();
74 Object.create(Object.create(protoFoo)).foo();
79 v.foo();
84 v.foo = 42;
85 assertEquals(42, v.foo);
[all …]
Dstring-index.js32 var foo = "Foo"; variable
33 assertEquals("Foo", foo);
34 assertEquals("F", foo[0]);
35 assertEquals("o", foo[1]);
36 assertEquals("o", foo[2]);
38 assertEquals("F", foo["0" + ""], "string index");
39 assertEquals("o", foo["1"], "string index");
40 assertEquals("o", foo["2"], "string index");
42 assertEquals("undefined", typeof(foo[3]), "out of range");
44 assertEquals("undefined", typeof(foo[-1]), "known failure in SpiderMonkey 1.5");
[all …]
Deval.js60 foo = 0;
63 var foo = 2;
69 foo = 0;
72 var foo = 1;
74 return foo;
77 assertEquals(0, foo);
86 foo = 0;
89 var foo = 2;
96 foo = 0;
98 assertEquals(2, foo);
[all …]
Ddont-reinit-global-var.js28 var foo = 'fisk'; variable
29 assertEquals('fisk', foo);
30 var foo; variable
31 assertEquals('fisk', foo);
32 var foo = 'hest';
33 assertEquals('hest', foo);
/external/bison/tests/
Doutput.at33 foo: {};
42 AT_CHECK_OUTPUT([foo.y], [], [-dv],
43 [foo.output foo.tab.c foo.tab.h])
44 AT_CHECK_OUTPUT([foo.y], [], [-dv],
45 [foo.output foo.tab.c foo.tab.h],
47 AT_CHECK_OUTPUT([foo.y], [], [-dv -o foo.c],
48 [foo.c foo.h foo.output])
49 AT_CHECK_OUTPUT([foo.y], [], [-dv -o foo.tab.c],
50 [foo.output foo.tab.c foo.tab.h])
51 AT_CHECK_OUTPUT([foo.y], [], [-dv -y],
[all …]
Dinput.at67 [[%token foo
70 exp: foo {} foo
71 | foo
160 [[%token foo "foo"
162 %type <bar> foo
163 %printer {bar} foo
164 %destructor {bar} foo
165 %left foo
167 %type <baz> "foo"
168 %printer {baz} "foo"
[all …]
/external/v8/test/mjsunit/compiler/
Dassignment.js44 b.foo = 5;
45 b.foo += 12;
47 assertEquals(17, b.foo);
65 b.foo = 5;
66 b.foo += 12;
68 assertEquals(17, b.foo);
87 b.foo = 5;
88 b.foo += 12;
90 assertEquals(17, b.foo);
94 function foo() { function
[all …]
/external/jsr305/sampleUses/src/main/java/edu/umd/cs/findbugs/examples/
DTest.java11 public void foo(@SlashedClassName String foo) {} in foo() argument
13 public void foo2(@DottedClassName String foo) { in foo2() argument
14 foo(foo); // should get warning here in foo2()
17 public void foo3(String foo) { in foo3() argument
18 foo(foo); in foo3()
20 public void foo4(@DottedClassName String foo) { in foo4() argument
21 foo3(foo); in foo4()
24 public void foo5(@SlashedClassName(when=When.MAYBE) String foo) { in foo5()
25 foo(foo); in foo5()
27 public void foo6(@SlashedClassName(when=When.UNKNOWN) String foo) { in foo6()
[all …]
/external/webkit/LayoutTests/storage/domstorage/localstorage/
Ddelete-removal-expected.txt2 foo (before anything) is: undefined
3 foo (after a named property settter set) is: bar
4 foo (after a delete) is: undefined
5 foo (after an indexed setter set) is: bar
6 foo (after deleting FOO (not foo)) is: bar
7 foo (after a delete) is: undefined
8 foo (after calling setItem) is: bar
9 foo (after a delete) is: undefined
10 foo (after a redundant delete) is: undefined
11 foo (after an implicit settter set) is: bar
[all …]
/external/webkit/LayoutTests/storage/domstorage/sessionstorage/
Ddelete-removal-expected.txt2 foo (before anything) is: undefined
3 foo (after a named property setter set) is: bar
4 foo (after a delete) is: undefined
5 foo (after an indexed setter set) is: bar
6 foo (after deleting FOO (not foo)) is : bar
7 foo (after a delete) is: undefined
8 foo (after calling setItem) is: bar
9 foo (after a delete) is: undefined
10 foo (after a redundant delete) is: undefined
11 foo (after a named property setter set) is: bar
[all …]
/external/webkit/LayoutTests/storage/domstorage/
Dcomplex-keys-expected.txt14 PASS storage.getItem('foo') is null
15 PASS storage.foo is undefined.
16 PASS storage['foo'] is undefined.
17 storage.foo = 'x'
18 PASS storage.foo is "x"
19 PASS storage['foo'] is "x"
20 PASS storage.getItem('foo') is "x"
21 storage['foo'] = 'y'
22 PASS storage.foo is "y"
23 PASS storage['foo'] is "y"
[all …]
/external/stlport/test/unit/
Dcstring_test.cpp50 const char* foo = "foo"; in import_checks() local
55 CPPUNIT_CHECK( std::strcat((char*)buf, foo) == (char*)buf ); // buf <- foo in import_checks()
56 CPPUNIT_CHECK( std::strchr(foo, 'o') != NULL ); in import_checks()
58 CPPUNIT_CHECK( std::strcpy((char*)buf, foo) == (char*)buf ); // buf <- foo in import_checks()
61 CPPUNIT_CHECK( std::strncat((char*)buf, foo, 2) == (char*)buf ); // buf <- foofo in import_checks()
63 CPPUNIT_CHECK( std::strncpy((char*)buf, foo, 3) == (char*)buf ); // buf <- foo in import_checks()
64 CPPUNIT_CHECK( std::strpbrk(foo, "abcdo") == foo + 1 ); in import_checks()
68 CPPUNIT_CHECK( std::strstr(foo, "") == foo ); in import_checks()
72 CPPUNIT_CHECK( std::strxfrm((char*)buf, foo, 3) != 0 ); in import_checks()
Diostream_test.cpp49 string foo; in manipulators() local
50 istr >> foo; in manipulators()
53 CPPUNIT_ASSERT( foo == "bar" ); in manipulators()
68 string foo; in manipulators() local
69 istr >> foo; in manipulators()
72 CPPUNIT_ASSERT( foo == "bar" ); in manipulators()
Dexception_test.cpp138 std::string foo = "foo"; in exception_emission() local
140 throw std::runtime_error(foo); in exception_emission()
143 CPPUNIT_ASSERT( foo == e.what() ); in exception_emission()
146 CPPUNIT_ASSERT(foo == clone.what() ); in exception_emission()
153 throw std::runtime_error(foo); in exception_emission()
156 CPPUNIT_ASSERT( foo == e.what() ); in exception_emission()
159 CPPUNIT_ASSERT(foo == clone.what() ); in exception_emission()
/external/oprofile/libpopt/
Dpoptint.h101 #define _(foo) gettext(foo) argument
103 #define _(foo) foo argument
108 #define POPT_(foo) D_("popt", foo) argument
111 #define POPT_(foo) foo argument
114 #define N_(foo) foo argument
/external/chromium/base/
Dstats_table_unittest.cc260 MockStatsCounter foo("foo"); in TEST_F() local
263 EXPECT_TRUE(foo.Enabled()); in TEST_F()
264 ASSERT_NE(foo.Pointer(), static_cast<int*>(0)); in TEST_F()
265 EXPECT_EQ(0, *(foo.Pointer())); in TEST_F()
269 while (*(foo.Pointer()) < 123) foo.Increment(); in TEST_F()
271 foo.Add(0); in TEST_F()
273 foo.Add(-1); in TEST_F()
277 foo.Set(0); in TEST_F()
279 foo.Set(100); in TEST_F()
281 foo.Set(-1); in TEST_F()
[all …]
/external/v8/test/mjsunit/regress/
Dregress-279.js29 return { foo: [] };
33 a.foo.push(5);
35 assertEquals(0, b.foo.length, "Array in object");
38 return { foo: {} };
42 a.foo.bar = 1;
44 assertEquals('undefined', typeof(b.foo.bar), "Object in object");
/external/webkit/JavaScriptCore/tests/mozilla/ecma/String/
D15.5.4.4-3.js70 var foo = new MyObject('hello');
73 … array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello'); ", "h", foo.charAt(0) );
74 … array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello'); ", "e", foo.charAt(1) );
75 … array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello'); ", "l", foo.charAt(2) );
76 … array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello'); ", "l", foo.charAt(3) );
77 … array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello'); ", "o", foo.charAt(4) );
78 …array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello'); ", "", foo.charAt(-1) );
79 … array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello'); ", "", foo.charAt(5) );
D15.5.4.5-3.js74 var foo = new MyObject('hello');
76 …stCase( SECTION, "var foo = new MyObject('hello');foo.charCodeAt(0)", 0x0068, foo.charCodeAt(0) );
77 …stCase( SECTION, "var foo = new MyObject('hello');foo.charCodeAt(1)", 0x0065, foo.charCodeAt(1) );
78 …stCase( SECTION, "var foo = new MyObject('hello');foo.charCodeAt(2)", 0x006c, foo.charCodeAt(2) );
79 …stCase( SECTION, "var foo = new MyObject('hello');foo.charCodeAt(3)", 0x006c, foo.charCodeAt(3) );
80 …stCase( SECTION, "var foo = new MyObject('hello');foo.charCodeAt(4)", 0x006f, foo.charCodeAt(4) );
81 … SECTION, "var foo = new MyObject('hello');foo.charCodeAt(-1)", Number.NaN, foo.charCodeAt(-1) );
82 …e( SECTION, "var foo = new MyObject('hello');foo.charCodeAt(5)", Number.NaN, foo.charCodeAt(5) );
/external/bluetooth/glib/tests/markups/
Dexpected-61 PASS '<!DOCTYPE foo "foo" [
2 <!ELEMENT foo ANY >
4 ELEMENT 'foo'
6 END 'foo'
/external/clearsilver/cs/
Dtest_iter.cs2 <?cs loop:foo = #0,#30 ?>
3 <?cs set:Loop[foo] = foo ?>
9 <?cs each:foo = Loop ?>
11 <?cs var:foo ?>
Dtest18.cs2 <?cs set:foo["baz"].right = "dot right" ?>
3 <?cs set:foo["baz"].right.label = "dot right" ?>
5 <? cs set:foo["baz"] + right = "plus right" ?>
17 <? cs call:style( foo ) ?>
29 <?cs # set:side.foo = row ?>
/external/webkit/LayoutTests/storage/domstorage/events/
Dcase-sensitive-expected.txt11 storage.foo = 'test'
14 storage.foo = 'test'
16 storage.foo = 'TEST'
25 storage.foo = 'test'
28 storage.foo = 'test'
30 storage.foo = 'TEST'
/external/v8/test/cctest/
Dtest-debug.cc1007 v8::Local<v8::Function> foo = in TEST() local
1013 CHECK(!HasDebugInfo(foo)); in TEST()
1016 int bp1 = SetBreakPoint(foo, 0); in TEST()
1018 CHECK(HasDebugInfo(foo)); in TEST()
1023 CHECK(HasDebugInfo(foo)); in TEST()
1028 CHECK(!HasDebugInfo(foo)); in TEST()
1033 CHECK(!HasDebugInfo(foo)); in TEST()
1047 v8::Local<v8::Function> foo = in TEST() local
1051 foo->Call(env->Global(), 0, NULL); in TEST()
1055 int bp = SetBreakPoint(foo, 0); in TEST()
[all …]

12345678910>>...17