/external/clang/test/CodeGenObjC/ |
newproperty-nested-synthesis-1.m | 9 @property char PropertyAtomic_char; 10 @property short PropertyAtomic_short; 11 @property int PropertyAtomic_int; 12 @property long PropertyAtomic_long; 13 @property long long PropertyAtomic_longlong; 14 @property float PropertyAtomic_float; 15 @property double PropertyAtomic_double; 16 @property(assign) id PropertyAtomic_id; 17 @property(retain) id PropertyAtomicRetained_id; 18 @property(copy) id PropertyAtomicRetainedCopied_id [all...] |
reorder-synthesized-ivars.m | 12 @property (readwrite) BOOL boolean1; 13 @property (readwrite, copy) id object1; 14 @property (readwrite) BOOL boolean2; 15 @property (readwrite, copy) id object2; 16 @property (readwrite) BOOL boolean3; 17 @property (readwrite, copy) id object3; 18 @property (readwrite) BOOL boolean4; 19 @property (readwrite, copy) id object4; 20 @property (readwrite) BOOL boolean5; 21 @property (readwrite, copy) id object5 [all...] |
/external/clang/test/Parser/ |
objc-synthesized-recover.m | 8 @property int value; 9 @property int value2; 13 @synthesize value, - value2; // expected-error{{expected a property name}}
|
/external/clang/test/SemaObjC/ |
property-2.m | 5 @property char PropertyAtomic_char; 6 @property short PropertyAtomic_short; 7 @property int PropertyAtomic_int; 8 @property long PropertyAtomic_long; 9 @property long long PropertyAtomic_longlong; 10 @property float PropertyAtomic_float; 11 @property double PropertyAtomic_double; 12 @property(assign) id PropertyAtomic_id; 13 @property(retain) id PropertyAtomicRetained_id; 14 @property(copy) id PropertyAtomicRetainedCopied_id [all...] |
unimplemented-protocol-prop.m | 5 @property float MyProperty0; // expected-note 2 {{property declared}} 10 @property float MyProperty; // expected-note 2 {{property declared}} 12 @property float OptMyProperty; 18 @implementation I @end // expected-warning {{property 'MyProperty0' requires method 'MyProperty0' to be defined}} \ 19 // expected-warning {{property 'MyProperty0' requires method 'setMyProperty0:' to be defined}}\ 20 // expected-warning {{property 'MyProperty' requires method 'MyProperty' to be defined}} \ 21 // expected-warning {{property 'MyProperty' requires method 'setMyProperty:' to be defined}} 24 // property is implemented in super class. No warnin [all...] |
property-13.m | 10 @property int required; 13 @property int optional; 14 @property int optional1; 15 @property int optional_preexisting_setter_getter; 16 @property (setter = setOptional_preexisting_setter_getter: , 19 @property int required1; 21 @property int optional_to_be_defined; 22 @property (readonly, getter = optional_preexisting_setter_getter) int optional_getter_attr; 30 @property int required; 31 @property int optional_to_be_defined [all...] |
block-attr.m | 6 @property void(^someBlock)(void); // expected-warning {{'copy' attribute must be specified for the block property}} 7 @property(copy) void(^OK)(void); 10 @property (readonly) void (^block)(void); // readonly property is OK
|
property-12.m | 4 @property(readonly,assign) id X; 8 @property(readonly,retain) id X; 12 @property(readonly,copy) id X; 16 @property(readonly,readwrite) id X; // expected-error {{property attributes 'readonly' and 'readwrite' are mutually exclusive}} 20 @property(assign,copy) id X; // expected-error {{property attributes 'assign' and 'copy' are mutually exclusive}} 24 @property(assign,retain) id X; // expected-error {{property attributes 'assign' and 'retain' are mutually exclusive}} 28 @property(copy,retain) id X; // expected-error {{property attributes 'copy' and 'retain' are mutually exclus (…) [all...] |
property-ambiguous-synthesis.m | 5 @property (copy) id foo; // expected-note 2 {{it could also be property of type 'id' declared here}} \\ 6 // expected-warning {{property of type 'id' was selected for synthesis}} 10 @property double foo; // expected-warning 2 {{property of type 'double' was selected for synthesis}} \ 11 // expected-note {{it could also be property of type 'double' declared here}} 15 @property short foo; // expected-note {{it could also be property of type 'short' declared here}} 27 @synthesize foo=_MyFooIvar; // expected-note {{property synthesized here}} 35 @synthesize foo=_MyFooIvar; // expected-note {{property synthesized here} [all...] |
property-impl-misuse.m | 6 @property int X; 7 @property int Y; 8 @property int Z; 13 @dynamic X; // expected-error {{property 'X' is already implemented}} 25 @property (readwrite, assign, nonatomic) id gradientStyle; 40 @property int P; // expected-error {{type of property 'P' ('int') does not match type of accessor 'P' ('void')}} 43 @property int P1; // expected-warning {{type of property 'P1' does not match type of accessor 'P1'}} 46 @property int P2; // expected-error {{type of property 'P2' ('int') does not match type of accessor 'P2' ('d (…) [all...] |
property-user-setter.m | 4 @property(readonly) int x; 5 @property(readonly) int y; 6 @property(readonly) int z; 23 self.z = 2; // expected-error {{assignment to readonly property}} 27 // Test when property is 'readonly' but it has a setter in 31 @property(readonly) int identifier; 48 @property(readonly) int rprop; 92 g(c.Foo); // expected-error {{no getter method for read from property}} 111 @property (copy) id p; 112 @property (copy) id r [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/ |
EnumerationValuesPropertyEditor.java | 11 package org.eclipse.wb.internal.core.model.property.editor; 16 import org.eclipse.wb.internal.core.model.property.Property; 26 * @coverage core.model.property.editor 59 public String getText(Property property) throws Exception { 60 Object value = property.getValue(); 62 if (value != Property.UNKNOWN_VALUE) { 80 if (value != Property.UNKNOWN_VALUE) { 96 // public String getClipboardSource(GenericProperty property) throws Exception [all...] |
TextDialogPropertyEditor.java | 11 package org.eclipse.wb.internal.core.model.property.editor; 13 import org.eclipse.wb.internal.core.model.property.Property; 14 import org.eclipse.wb.internal.core.model.property.editor.presentation.ButtonPropertyEditorPresentation; 15 import org.eclipse.wb.internal.core.model.property.editor.presentation.PropertyEditorPresentation; 16 import org.eclipse.wb.internal.core.model.property.table.PropertyTable; 24 * @coverage core.model.property.editor 34 protected void onClick(PropertyTable propertyTable, Property property) throws Exception { 35 openDialog(property); [all...] |
LocalePropertyEditor.java | 11 package org.eclipse.wb.internal.core.model.property.editor; 13 import org.eclipse.wb.internal.core.model.property.Property; 21 * @coverage core.model.property.editor 40 protected String getText(Property property) throws Exception { 41 Object value = property.getValue(); 55 protected void openDialog(Property property) throws Exception { 56 Object value = property.getValue() [all...] |
TextDisplayPropertyEditor.java | 11 package org.eclipse.wb.internal.core.model.property.editor; 14 import org.eclipse.wb.internal.core.model.property.Property; 15 import org.eclipse.wb.internal.core.model.property.table.PropertyTable; 16 import org.eclipse.wb.internal.core.model.property.table.PropertyTooltipProvider; 20 * Abstract {@link PropertyEditor} for displaying text as {@link Property} value in 24 * @coverage core.model.property.editor 33 public void paint(Property property, GC gc, int x, int y, int width, int height) throws Exception { 34 String text = getText(property); [all...] |
AbstractComboPropertyEditor.java | 11 package org.eclipse.wb.internal.core.model.property.editor; 14 import org.eclipse.wb.internal.core.model.property.Property; 15 import org.eclipse.wb.internal.core.model.property.table.PropertyTable; 33 * @coverage core.model.property.editor 45 public boolean activate(final PropertyTable propertyTable, final Property property, Point location) 52 addItems(property, m_combo); 54 selectItem(property, m_combo); 67 toProperty(propertyTable, property, index) [all...] |
AbstractListPropertyEditor.java | 11 package org.eclipse.wb.internal.core.model.property.editor; 14 import org.eclipse.wb.internal.core.model.property.Property; 24 * @coverage core.model.property.editor 35 public String getText(Property property) throws Exception { 37 Object value = property.getValue(); 38 if (value != Property.UNKNOWN_VALUE) { 60 if (value != Property.UNKNOWN_VALUE) { 76 //public String getClipboardSource(GenericProperty property) throws Exception [all...] |
PropertyEditor.java | 11 package org.eclipse.wb.internal.core.model.property.editor; 20 import org.eclipse.wb.internal.core.model.property.Property; 21 import org.eclipse.wb.internal.core.model.property.editor.presentation.PropertyEditorPresentation; 22 import org.eclipse.wb.internal.core.model.property.table.PropertyTable; 25 * Abstract editor for {@link Property}. 28 * @coverage core.model.property.editor 44 * Paints given {@link Property} given rectangle <code>(x, y, width, height)</code> of {@link GC}. 46 public abstract void paint(Property property, GC gc, int x, int y, int width, int height [all...] |
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/model/ |
PropertiesTableModel.java | 26 private List<ViewNode.Property> properties; 27 private List<ViewNode.Property> privateProperties = new ArrayList<ViewNode.Property>(); 44 ViewNode.Property property = new ViewNode.Property(); local 45 property.name = "absolute_x"; 46 property.value = String.valueOf(x); 47 privateProperties.add(property); 49 property = new ViewNode.Property() 63 ViewNode.Property property; local [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/presentation/ |
ButtonPropertyEditorPresentation.java | 11 package org.eclipse.wb.internal.core.model.property.editor.presentation; 15 import org.eclipse.wb.internal.core.model.property.Property; 16 import org.eclipse.wb.internal.core.model.property.table.PropertyTable; 27 * @coverage core.model.property.editor 56 * Sets "selection" property of {@link Button}. 58 public final void setSelection(PropertyTable propertyTable, Property property, boolean selected) { 59 m_impl.setSelection(propertyTable, property, selected); 69 final Property property [all...] |
PropertyEditorPresentation.java | 11 package org.eclipse.wb.internal.core.model.property.editor.presentation; 13 import org.eclipse.wb.internal.core.model.property.Property; 14 import org.eclipse.wb.internal.core.model.property.editor.PropertyEditor; 15 import org.eclipse.wb.internal.core.model.property.table.PropertyTable; 22 * @coverage core.model.property.editor 26 * Shows presentation for given {@link Property}. 31 Property property, 40 public abstract void hide(PropertyTable propertyTable, Property property) [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
VCardEntryTests.java | 113 VCardProperty property = new VCardProperty(); local 114 property.setName(VCardConstants.PROPERTY_N); 115 property.setValues("test1"); 116 entryConstructor.onPropertyCreated(property); 119 property = new VCardProperty(); 120 property.setName(VCardConstants.PROPERTY_N); 121 property.setValues("test2"); 122 entryConstructor.onPropertyCreated(property); 125 property = new VCardProperty(); 126 property.setName(VCardConstants.PROPERTY_TEL) 206 VCardProperty property = new VCardProperty(); local 317 VCardProperty property = new VCardProperty(); local 340 VCardProperty property = new VCardProperty(); local [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
TypedProperties.java | 45 * - property names: [._$a-zA-Z0-9] 144 /* A property name must be a valid fully-qualified class + package name. 177 // Read the property name. 180 throw new ParseException(st, "property name"); 184 throw new ParseException(st, "valid property name"); 207 // the same property is defined with a different type. 210 "(property previously declared as a different type)"); 313 // This property is a float; make sure the value fits. 322 // This property is a double; no need to truncate. 355 * <type> <property-name> = <value> [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
SettingsTest.java | 30 Settings.System.putInt(contentResolver, "property", 1); 31 assertThat(Settings.System.getInt(contentResolver, "property", 0), equalTo(1)); 35 assertThat(Settings.System.getInt(contentResolver, "property", 0), equalTo(1)); 40 Settings.System.putInt(contentResolver, "property", 1); 41 assertThat(Settings.System.getInt(contentResolver, "property", 0), equalTo(1)); 46 assertThat(Settings.System.getInt(contentResolver, "property", 0), equalTo(0)); 51 assertThat(Settings.System.getInt(contentResolver, "property", 0), equalTo(0)); 52 assertThat(Settings.System.getInt(contentResolver, "property", 2), equalTo(2)); 54 Settings.System.putInt(contentResolver, "property", 1); 55 assertThat(Settings.System.getInt(contentResolver, "property", 0), equalTo(1)) [all...] |
/external/mockftpserver/MockFtpServer/src/test/resources/ |
fakeftpserver-permissions-beans.xml | 28 <property name="serverControlPort" value="9981"/>
29 <property name="userAccounts">
32 <property name="username" value="joe"/>
33 <property name="password" value="password"/>
34 <property name="homeDirectory" value="c:\"/>
37 </property>
39 <property name="fileSystem">
41 <property name="createParentDirectoriesAutomatically" value="false"/>
42 <property name="entries">
45 <property name="path" value="c:\"/> [all...] |