/external/chromium/base/nix/ |
xdg_util_unittest.cc | 36 MockEnvironment getter; local 37 EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false)); 38 EXPECT_CALL(getter, GetVar(StrEq("DESKTOP_SESSION"), _)) 42 GetDesktopEnvironment(&getter)); 46 MockEnvironment getter; local 47 EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false)); 48 EXPECT_CALL(getter, GetVar(StrEq("DESKTOP_SESSION"), _)) 52 GetDesktopEnvironment(&getter)); 56 MockEnvironment getter; local 57 EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false)) 66 MockEnvironment getter; local [all...] |
/external/clang/test/SemaObjC/ |
error-missing-getter.m | 12 if (x.setterOnly) { // expected-error {{expected getter method not found on object of type 'Subclass *'}} 15 func(x.setterOnly + 1, x); // expected-error {{expected getter method not found on object of type 'Subclass *'}} 16 int i = x.setterOnly + 1; // expected-error {{expected getter method not found on object of type 'Subclass *'}} 17 return x.setterOnly + 1; // expected-error {{expected getter method not found on object of type 'Subclass *'}}
|
super-property-notation.m | 5 -(int) getter; 21 int x = super.getter;
|
no-warning-unavail-unimp.m | 5 @property (getter=getVal) int val __attribute__((unavailable));
|
property-13.m | 16 getter = optional_preexisting_setter_getter) int optional_with_setter_getter_attr; 21 @property (readonly, getter = optional_preexisting_setter_getter) int optional_getter_attr; 61 /* 3. Test of optional property with pre-sxisting defined setter/getter */ 66 /* 4. Test of optional property with setter/getter attribute */ 71 /* 5. Test of optional property with getter attribute and default setter method. */
|
atomoic-property-synnthesis-rules.m | 7 3. the current @implementation contains a hand-written setter XOR getter 12 manually-implemented getter, which may break atomicity. 13 warning: Atomic property 'x' has a synthesized getter and a 243 GET(Get) // expected-warning {{writable atomic property 'Get' cannot pair a synthesized setter/getter with a user defined setter/getter}} 244 SET(Set) // expected-warning {{writable atomic property 'Set' cannot pair a synthesized setter/getter with a user defined setter/getter}} 261 GET(Get_ReadWriteInExt) // expected-warning {{writable atomic property 'Get_ReadWriteInExt' cannot pair a synthesized setter/getter with a user defined setter/getter}} 262 SET(Set_ReadWriteInExt) // expected-warning {{writable atomic property 'Set_ReadWriteInExt' cannot pair a synthesized setter/getter with a user defined setter/getter} [all...] |
arc-decls.m | 58 @synthesize newFoo; // expected-error {{property's synthesized getter follows Cocoa naming convention for returning}} 59 @synthesize copyBar; // expected-error {{property's synthesized getter follows Cocoa naming convention for returning}} 60 @synthesize allocBaz; // expected-error {{property's synthesized getter follows Cocoa naming convention for returning}}
|
property-ns-returns-not-retained-attr.m | 11 - (id) newName2; // expected-warning {{property declared as returning non-retained objects; getter returning retained objects}}
|
/libcore/luni/src/main/native/ |
toStringArray.h | 23 template <typename Counter, typename Getter> 24 jobjectArray toStringArray(JNIEnv* env, Counter* counter, Getter* getter) { 31 ScopedLocalRef<jstring> s(env, env->NewStringUTF((*getter)(i))); 43 template <typename Counter, typename Getter> 44 jobjectArray toStringArray16(JNIEnv* env, Counter* counter, Getter* getter) { 52 const jchar* chars = (*getter)(&charCount);
|
toStringArray.cpp | 40 VectorGetter getter(strings); 41 return toStringArray<VectorCounter, VectorGetter>(env, &counter, &getter); 66 ArrayGetter getter(strings); 67 return toStringArray(env, &counter, &getter);
|
/external/clang/test/CodeGenObjC/ |
super-dotsyntax-property.m | 11 -(int) getter; 29 super.getter = 200; 30 int x = super.getter;
|
dot-syntax-1.m | 13 @property(getter=_getX,setter=_setX:) int x; 49 @property(getter=_getX,setter=_setX:) int x; 72 // Mixed setter & getter (variant 1) 80 @property(getter=_getX,setter=_setX:) int x; 103 // Mixed setter & getter (variant 2) 111 @property(getter=_getX,setter=_setX:) int x; 134 // Mixed setter & getter (variant 3) 137 @property(getter=_getX,setter=_setX:) int x; 165 // Mixed setter & getter (variant 4) 168 @property(getter=_getX,setter=_setX:) int x [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/GetSet/ |
getset-001.js | 32 TestObject.prototype.y getter = 57 printStatus ("Basic Getter/ Setter test"); 60 reportCompare ("got <initial y>", t.y, "y getter, before set"); 63 reportCompare ("got new y", t.y, "y getter, after set"); 66 reportCompare (2, t.y, "y getter, after numeric set"); 70 reportCompare (d, t.y, "y getter, after date set");
|
getset-002.js | 28 y getter: function get_y () 52 printStatus ("Basic Getter/ Setter test (object literal notation)"); 56 reportCompare ("got <initial y>", t.y, "y getter, before set"); 59 reportCompare ("got new y", t.y, "y getter, after set"); 62 reportCompare (2, t.y, "y getter, after numeric set"); 66 reportCompare (d, t.y, "y getter, after date set");
|
getset-006.js | 26 * o.__lookupGetter__('p') returns the getter function for o.p, 27 * or undefined if o.p has no getter. Users can wrap and layer." 51 // The only setter and getter functions we'll use in the three sections below - 57 // SECTION1: define getter/setter directly on an object (not its prototype) 66 status ='In SECTION1 of test; looking up extant getter/setter'; 71 status = 'In SECTION1 of test; looking up nonexistent getter/setter'; 76 status = 'In SECTION1 of test; looking up getter/setter on nonexistent property'; 83 // SECTION2: define getter/setter in Object.prototype 93 status = 'In SECTION2 of test looking up extant getter/setter'; 98 status = 'In SECTION2 of test; looking up nonexistent getter/setter' [all...] |
/external/v8/test/mjsunit/ |
debug-stepin-accessor.js | 66 return this.name; // getter 1 69 return { // getter 2 79 return this.name; // getter y 83 return this.name; // getter 3 100 expected_source_line_text = ' return this.name; // getter 1'; 107 expected_source_line_text = ' return this.name; // getter 1'; 114 expected_source_line_text = ' return this.name; // getter 1'; 117 var x = c['getter' + i]; 123 expected_source_line_text = ' return this.name; // getter 1'; 130 expected_source_line_text = ' return this.name; // getter 1' [all...] |
/external/webkit/Source/WebCore/xml/ |
XPathResult.idl | 36 getter raises (DOMException); 39 getter raises (DOMException); 42 getter raises (DOMException); 45 getter raises (DOMException); 49 getter raises (DOMException);
|
XMLHttpRequest.idl | 90 readonly attribute [CustomGetter] DOMString responseText // The custom getter implements ConvertNullStringTo=Null 91 getter raises(DOMException); 93 getter raises(DOMException); 96 getter raises(DOMException); 102 getter raises(DOMException); 105 getter raises(DOMException); 107 getter raises(DOMException);
|
/external/chromium/base/threading/ |
thread_local_unittest.cc | 82 GetThreadLocal getter(&tlp, &done); 83 getter.set_ptr(&tls_val); 88 tp1.AddWork(&getter); 94 tp2.AddWork(&getter); 109 tp1.AddWork(&getter); 116 tp2.AddWork(&getter); 129 tp2.AddWork(&getter); 136 tp1.AddWork(&getter);
|
/external/webkit/Source/JavaScriptCore/runtime/ |
GetterSetter.h | 35 // This is an internal value object which stores getter and setter functions 47 JSObject* getter() const { return m_getter.get(); } function in class:JSC::GetterSetter 48 void setGetter(JSGlobalData& globalData, JSObject* getter) { m_getter.set(globalData, this, getter); }
|
PropertyDescriptor.cpp | 75 JSValue PropertyDescriptor::getter() const function in class:JSC::PropertyDescriptor 91 if (attributes & (Getter | Setter)) { 93 m_getter = accessor->getter(); 104 void PropertyDescriptor::setAccessorDescriptor(JSValue getter, JSValue setter, unsigned attributes) 106 ASSERT(attributes & (Getter | Setter)); 107 ASSERT(getter || setter); 109 m_getter = getter; 149 void PropertyDescriptor::setGetter(JSValue getter) 151 m_getter = getter; 152 m_attributes |= Getter; [all...] |
/external/webkit/Source/WebCore/dom/ |
Range.idl | 27 getter raises(DOMException); 29 getter raises(DOMException); 31 getter raises(DOMException); 33 getter raises(DOMException); 35 getter raises(DOMException); 37 getter raises(DOMException);
|
/external/v8/test/mjsunit/regress/ |
regress-874.js | 30 var getter = function(){ return 42; }; function 32 x.__defineGetter__(0, getter); 36 assertEquals (getter, Object.getOwnPropertyDescriptor(x, 0).get);
|
/external/webkit/Source/WebCore/storage/ |
IDBRequest.idl | 36 getter raises (IDBDatabaseException); 38 getter raises (IDBDatabaseException); 40 getter raises (IDBDatabaseException);
|
/external/clang/test/ASTMerge/Inputs/ |
property2.m | 7 @property (getter = getProp2, setter = setProp2:) int Prop2;
|