/external/chromium_org/third_party/icu/source/test/intltest/ |
fldset.h | 72 * @param inheritFrom if a field's value is given as 0-length, such as NAME1 in "NAME1=,NAME2=VALUE2", 86 * @param inheritFrom if a field's value is given as 0-length, such as NAME1 in "NAME1=,NAME2=VALUE2", 99 * This function is called when parsing a field name, such as "MONTH" in "MONTH=4". 106 * @param name the field name (key side) 109 * @return field number, or negative if field should be skipped. 120 * @param field which field is being parsed 126 int32_t field, 133 * Implementations of this function should call set(field,...) on successful parse [all...] |
/external/icu4c/test/intltest/ |
fldset.h | 72 * @param inheritFrom if a field's value is given as 0-length, such as NAME1 in "NAME1=,NAME2=VALUE2", 86 * @param inheritFrom if a field's value is given as 0-length, such as NAME1 in "NAME1=,NAME2=VALUE2", 99 * This function is called when parsing a field name, such as "MONTH" in "MONTH=4". 106 * @param name the field name (key side) 109 * @return field number, or negative if field should be skipped. 120 * @param field which field is being parsed 126 int32_t field, 133 * Implementations of this function should call set(field,...) on successful parse [all...] |
/dalvik/dexgen/src/com/android/dexgen/rop/ |
StdField.java | 25 * Standard implementation of {@link Field}, which directly stores 28 public final class StdField extends StdMember implements Field { 43 * Constructs an instance having Java field as its pattern. 45 * @param field {@code non-null;} pattern for dex field 47 public StdField(java.lang.reflect.Field field) { 48 this(CstType.intern(field.getDeclaringClass()), 49 field.getModifiers(), 50 new CstNat(new CstUtf8(field.getName()) [all...] |
/dalvik/tests/064-field-access/src/ |
Main.java | 19 import java.lang.reflect.Field; 22 * Test field access through reflection. 41 * Get the field specified by "field" from "obj". 44 * field.getByte(). 51 public Object getValue(Field field, Object obj, char type, 58 result = new Boolean(field.getBoolean(obj)); 61 result = new Byte(field.getByte(obj)); 64 result = new Short(field.getShort(obj)) [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
TypeExtensions.cs | 43 public static object get( this FieldInfo field, object obj ) 45 return field.GetValue( obj ); 63 FieldInfo field = type.GetField( name ); 64 if ( field == null ) 67 return field;
|
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
udbgutil.cpp | 26 7. Define the field names, in order. 27 " static const Field names_UShoeSize[] = { 41 10. Find the function _udbg_enumFields and add the field macro: 49 struct Field { 61 * Define another field name. Used in an array of Field s 64 * @see Field 78 static const Field names_UCalendarDateFields[] = 107 static const Field names_UCalendarMonths[] = 128 static const Field names_UDateFormatStyle[] = [all...] |
/external/mockito/src/org/mockito/internal/util/reflection/ |
LenientCopyTool.java | 7 import java.lang.reflect.Field;
31 Field[] fields = classFrom.getDeclaredFields();
35 Field field = fields[i];
local 36 if (Modifier.isStatic(field.getModifiers())) {
41 accessibilityChanger.enableAccess(field);
42 fieldCopier.copyValue(from, mock, field);
44 //Ignore - be lenient - if some field cannot be copied then let's be it
46 accessibilityChanger.safelyDisableAccess(field);
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/ |
MailboxField.java | 20 package org.apache.james.mime4j.field;
26 import org.apache.james.mime4j.field.address.AddressList;
27 import org.apache.james.mime4j.field.address.Mailbox;
28 import org.apache.james.mime4j.field.address.MailboxList;
29 import org.apache.james.mime4j.field.address.parser.ParseException;
31 public class MailboxField extends Field {
52 public Field parse(final String name, final String body, final String raw) {
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
cpp_helpers.cc | 169 string FieldName(const FieldDescriptor* field) { 170 string result = field->name(); 178 string FieldConstantName(const FieldDescriptor *field) { 179 string field_name = UnderscoresToCamelCase(field->name(), true); 182 if (!field->is_extension() && 183 field->containing_type()->FindFieldByCamelcaseName( 184 field->camelcase_name()) != field) { 185 // This field's camelcase name is not unique. As a hack, add the field [all...] |
/external/chromium_org/v8/tools/ |
gc-nvp-trace-processor.py | 74 fields[field] = field_count 91 def __init__(self, title, field, axis = x1y1, **keywords): 95 if type(field) is types.ListType: 96 self.field = field 98 self.field = [field] 101 return self.field 105 'using %s' % context.format_fieldref(self.field), 142 return ':'.join([str(self.field_to_index[field]) for field in fieldref] [all...] |
/external/v8/tools/ |
gc-nvp-trace-processor.py | 74 fields[field] = field_count 91 def __init__(self, title, field, axis = x1y1, **keywords): 95 if type(field) is types.ListType: 96 self.field = field 98 self.field = [field] 101 return self.field 105 'using %s' % context.format_fieldref(self.field), 142 return ':'.join([str(self.field_to_index[field]) for field in fieldref] [all...] |
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
DataFormatFieldTest.java | 28 import java.text.DateFormat.Field; 37 MyField field = new MyField("day of month", Calendar.ERA); local 39 assertEquals("field has wrong name", "day of month", field.getName()); 40 assertEquals("field has wrong Calendar field number", Calendar.ERA, 41 field.getCalendarField()); 43 DateFormat.Field realField = DateFormat.Field 45 assertSame("Modified calendar field with the same field number" 70 MyField field = new MyField("a field", Calendar.DAY_OF_WEEK); local 86 MyField field = new MyField("day of month", Calendar.ERA); local 182 MyField field; local [all...] |
/external/chromium/chrome/browser/sync/syncable/ |
syncable.h | 263 inline void put(MetahandleField field, int64 value) { 264 int64_fields[field - INT64_FIELDS_BEGIN] = value; 266 inline void put(Int64Field field, int64 value) { 267 int64_fields[field - INT64_FIELDS_BEGIN] = value; 269 inline void put(IdField field, const Id& value) { 270 id_fields[field - ID_FIELDS_BEGIN] = value; 272 inline void put(BaseVersion field, int64 value) { 273 int64_fields[field - INT64_FIELDS_BEGIN] = value; 275 inline void put(IndexedBitField field, bool value) { 276 bit_fields[field - BIT_FIELDS_BEGIN] = value [all...] |
/external/chromium_org/ppapi/shared_impl/private/ |
ppb_x509_certificate_private_shared.h | 29 void SetField(PP_X509Certificate_Private_Field field, base::Value* value); 30 PP_Var GetFieldAsPPVar(PP_X509Certificate_Private_Field field) const; 60 virtual PP_Var GetField(PP_X509Certificate_Private_Field field) OVERRIDE;
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
text_format.h | 79 // Outputs a textual representation of the value of the field supplied on 82 // field if it is not set. 84 const FieldDescriptor* field, 107 const FieldDescriptor* field, 150 // Print a single field. 153 const FieldDescriptor* field, 156 // Print a repeated primitive field in short form. 159 const FieldDescriptor* field, 162 // Print the name of a field -- i.e. everything that comes before the 166 const FieldDescriptor* field, [all...] |
/external/compiler-rt/BlocksRuntime/tests/ |
objectRRGC.c | 39 long field; member in struct:MyStruct 48 xp->field = 10; 49 void (^myBlock)(void) = ^{ printf("field is %ld\n", xp->field); };
|
objectassign.c | 38 long field; member in struct:MyStruct 51 xp->field = 10; 52 void (^myBlock)(void) = ^{ printf("field is %ld\n", xp->field); };
|
/external/mockito/src/org/mockito/internal/configuration/ |
MockAnnotationProcessor.java | 11 import java.lang.reflect.Field; 14 * Instantiates a mock on a field annotated by {@link Mock} 17 public Object process(Mock annotation, Field field) { 23 mockSettings.name(field.getName()); 33 return Mockito.mock(field.getType(), mockSettings);
|
/external/mockito/src/org/mockito/internal/configuration/injection/filter/ |
TypeBasedCandidateFilter.java | 7 import java.lang.reflect.Field;
20 public OngoingInjecter filterCandidate(Collection<Object> mocks, Field field, Object fieldInstance) {
23 if (field.getType().isAssignableFrom(mock.getClass())) {
28 return next.filterCandidate(mockTypeMatches, field, fieldInstance);
|
/frameworks/base/core/tests/coretests/src/android/content/ |
ContentProviderOperationTest.java | 29 import java.lang.reflect.Field; 388 Field field; local 389 field = CLASS_BUILDER.getDeclaredField("mSelectionArgsBackReferences"); 390 field.setAccessible(true); 391 field.set(builder, selArgsBackRef); 397 Field field; local 398 field = CLASS_BUILDER.getDeclaredField("mValuesBackReferences"); 399 field.setAccessible(true) 406 Field field; local 415 Field field; local 424 Field field; local 433 Field field; local 441 final Field field = CLASS_OPERATION.getDeclaredField("mType"); local 448 final Field field = CLASS_OPERATION.getDeclaredField("mUri"); local 455 final Field field = CLASS_OPERATION.getDeclaredField("mSelection"); local 462 final Field field = CLASS_OPERATION.getDeclaredField("mSelectionArgs"); local 469 final Field field = CLASS_OPERATION.getDeclaredField("mValues"); local 476 final Field field = CLASS_OPERATION.getDeclaredField("mExpectedCount"); local 483 final Field field = CLASS_OPERATION.getDeclaredField("mValuesBackReferences"); local 491 final Field field = CLASS_OPERATION.getDeclaredField("mSelectionArgsBackReferences"); local [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
InputPort.java | 19 import java.lang.reflect.Field; 31 * InputPorts may be bound to fields of the Filter. When an input port is bound to a field, Frame 32 * values will be assigned to the field once a Frame is received on that port. The Frame value must 33 * be of a type that is compatible with the field type. 52 private Field mField; 54 public FieldBinding(Field field) { 55 mField = field; 69 throw new RuntimeException("Assigning frame " + frame + " to field " 107 * Bind this input port to the specified field 142 Field field = findFieldNamed(fieldName, mFilter.getClass()); local 314 Field field = null; local [all...] |
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
Message.java | 47 * the field values dynamically. 75 * contents (known and unknown field values). Subclasses must implement this; 115 * Merging occurs as follows. For each field:<br> 116 * * For singular primitive fields, if the field is set in {@code other}, 118 * * For singular message fields, if the field is set in {@code other}, 146 * field. Messages built with this can then be passed to setField(), 149 Builder newBuilderForField(Descriptors.FieldDescriptor field); 152 * Get a nested builder instance for the given field. 155 * message type field. Some implementations(the generated message builders), 157 * builder) for the field [all...] |
/external/emma/core/java12/com/vladium/jcd/cls/ |
FieldCollection.java | 44 final Field_info field = (Field_info) m_fields.get (f); local 46 if (field.getName (cls).equals (name)) 108 public int add (final Field_info field) 111 m_fields.add (field); 116 public Field_info set (final int offset, final Field_info field) 118 return (Field_info) m_fields.set (offset, field);
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
javamicro_helpers.h | 53 // Converts the field's name to camel-case, e.g. "foo_bar_baz" becomes 55 string UnderscoresToCamelCase(const FieldDescriptor* field); 56 string UnderscoresToCapitalizedCamelCase(const FieldDescriptor* field); 104 // Get the unqualified name that should be used for a field's field 106 string FieldConstantName(const FieldDescriptor *field); 122 inline JavaType GetJavaType(const FieldDescriptor* field) { 123 return GetJavaType(field->type()); 131 string DefaultValue(const Params& params, const FieldDescriptor* field);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/export/ |
ExportFieldsPart.java | 71 // Associate each field with the keyword in the properties files. 84 protected void setFieldModifyListener(Control field, ModifyListener markDirtyListener) { 85 super.setFieldModifyListener(field, markDirtyListener); 90 protected String getFieldText(Control field) { 92 return super.getFieldText(field); 96 protected void setFieldText(Control field, String value) { 98 super.setFieldText(field, value);
|