/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
generated_message_reflection.h | 87 // the appropriate type. For primitive fields and string fields, each field 97 // of whatever type the individual field would be. Strings and 112 // the start of the message object, of each field. These can 119 // corresponding field of the message has been initialized. 120 // The bit for field index i is obtained by the expression: 149 // For each oneof field, the offset is relative to the 153 // For each none oneof field, the offset is related to 164 // methods will return if the field is not set. 167 // indicates what field is set for each oneof. 219 bool HasField(const Message& message, const FieldDescriptor* field) const [all...] |
/prebuilts/go/darwin-x86/test/fixedbugs/bug460.dir/ |
b.go | 12 x.int = 20 // ERROR "unexported field" 13 x.int8 = 20 // ERROR "unexported field" 14 x.error = nil // ERROR "unexported field" 15 x.rune = 'a' // ERROR "unexported field" 16 x.byte = 20 // ERROR "unexported field"
|
/prebuilts/go/linux-x86/test/fixedbugs/bug460.dir/ |
b.go | 12 x.int = 20 // ERROR "unexported field" 13 x.int8 = 20 // ERROR "unexported field" 14 x.error = nil // ERROR "unexported field" 15 x.rune = 'a' // ERROR "unexported field" 16 x.byte = 20 // ERROR "unexported field"
|
/libcore/ojluni/src/main/java/java/text/ |
FieldPosition.java | 49 * <li>By a <code>Format.Field</code> constant, see <code>ERA_FIELD</code> 54 * field within the formatted output with two indices: the index 55 * of the first character of the field and the index of the last 56 * character of the field. 63 * formatted output (such as the position of a field). 76 * Input: Desired field to determine start and end offsets for. 79 int field = 0; field in class:FieldPosition 82 * Output: End offset of field in text. 83 * If the field does not occur in the text, 0 is returned. 88 * Output: Start offset of field in text [all...] |
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
CalendarICU.java | 45 public void add(int field, int amount) { 47 fIcuCal.add(field, amount); 66 //public void clear(int field) 103 public int get(int field) { 105 return fIcuCal.get(field); 109 public int getActualMaximum(int field) { 110 return fIcuCal.getActualMaximum(field); 114 public int getActualMinimum(int field) { 115 return fIcuCal.getActualMinimum(field); 119 public String getDisplayName(int field, int style, Locale locale) [all...] |
/external/nanopb-c/generator/google/protobuf/ |
text_format.py | 69 for field, value in message.ListFields(): 70 if field.label == descriptor.FieldDescriptor.LABEL_REPEATED: 72 PrintField(field, element, out, indent, as_utf8, as_one_line) 74 PrintField(field, value, out, indent, as_utf8, as_one_line) 77 def PrintField(field, value, out, indent=0, as_utf8=False, as_one_line=False): 78 """Print a single field name/value pair. For repeated fields, the value 82 if field.is_extension: 84 if (field.containing_type.GetOptions().message_set_wire_format and 85 field.type == descriptor.FieldDescriptor.TYPE_MESSAGE and 86 field.message_type == field.extension_scope an [all...] |
/external/smali/smali/src/test/java/org/jf/smali/ |
ImplicitReferenceTest.java | 39 import org.jf.dexlib2.iface.Field; 58 * Tests for method/field references that use an implicit type 114 ".field public static field1:Ljava/lang/reflect/Method; = toString()V\n" + 115 ".field public static field2:Ljava/lang/reflect/Method; = V()V\n" + 116 ".field public static field3:Ljava/lang/reflect/Method; = I()V\n" + 117 ".field public static field4:Ljava/lang/Class; = I"); 119 Map<String, Field> fields = Maps.newHashMap(); 120 for (Field field: classDef.getFields()) { 121 fields.put(field.getName(), field) local 124 Field field = fields.get("field1"); local 185 FieldReference field = (FieldReference)instruction.getReference(); local 215 fields.put(field.getName(), field); local 218 Field field = fields.get("field1"); local [all...] |
/libcore/ojluni/src/main/java/java/time/ |
DayOfWeek.java | 178 * The conversion extracts the {@link ChronoField#DAY_OF_WEEK DAY_OF_WEEK} field. 232 * Checks if the specified field is supported. 234 * This checks if this day-of-week can be queried for the specified field. 238 * If the field is {@link ChronoField#DAY_OF_WEEK DAY_OF_WEEK} then 242 * If the field is not a {@code ChronoField}, then the result of this method 245 * Whether the field is supported is determined by the field. 247 * @param field the field to check, null returns false 248 * @return true if the field is supported on this day-of-week, false if no [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowContentProviderResult.java | 3 import java.lang.reflect.Field; 16 Field field = realResult.getClass().getField("uri"); local 17 field.setAccessible(true); 18 field.set(realResult, uri); 22 Field field = realResult.getClass().getField("count"); local 23 field.setAccessible(true); 24 field.set(realResult, count);
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
AbstractDateTimeTest.java | 103 for (TemporalField field : validFields()) { 104 assertEquals(sample.isSupported(field), true, "Failed on " + sample + " " + field); local 112 for (TemporalField field : invalidFields()) { 113 assertEquals(sample.isSupported(field), false, "Failed on " + sample + " " + field); local 131 for (TemporalField field : validFields()) { 132 sample.range(field); // no exception 140 for (TemporalField field : invalidFields()) { 142 sample.range(field); [all...] |
/hardware/intel/img/psb_video/src/hwdefs/ |
reg_io2.h | 55 This macro is used to extract a field from a register. 60 the field is to be extracted. 62 @Input reg: The name of the register from which the field is to 65 @Input field: The name of the field to be extracted. 67 @Return IMG_UINT32: The value of the field - right aligned. 70 IMG_UINT32 REGIO_READ_FIELD(IMG_UINT32 ui32RegValue, group, reg, field); 84 the field is to be extracted. 86 @Input reg: The name of the register from which the field is to 89 @Input field: The name of the field to be extracted [all...] |
/art/runtime/mirror/ |
field-inl.h | 20 #include "field.h" 30 inline mirror::Field* Field::CreateFromArtField(Thread* self, ArtField* field, bool force_resolve) { 33 Handle<mirror::Class> type = hs.NewHandle(field->GetType<true>()); 50 auto ret = hs.NewHandle(ObjPtr<Field>::DownCast(StaticClass()->AllocObject(self))); 55 auto dex_field_index = field->GetDexFieldIndex(); 56 auto* resolved_field = field->GetDexCache()->GetResolvedField(dex_field_index, kPointerSize); 57 if (field->GetDeclaringClass()->IsProxyClass()) { 58 DCHECK(field->IsStatic()) [all...] |
/external/autotest/scheduler/ |
scheduler_config.py | 35 for field, data_type in self.FIELDS: 36 setattr(self, field, config.get_config_value(CONFIG_SECTION, 37 field,
|
/external/clang/test/SemaObjC/Inputs/ |
arc-system-header.h | 14 id *field; member in struct:Test3 25 id field; member in struct:Test5 56 id field; member in struct:__anon15973
|
/external/r8/src/main/java/com/android/tools/r8/ir/code/ |
FieldInstruction.java | 18 protected final DexField field; field in class:FieldInstruction 20 protected FieldInstruction(MemberType type, DexField field, Value dest, Value object) { 23 assert field != null; 25 this.field = field; 28 protected FieldInstruction(MemberType type, DexField field, Value dest, List<Value> values) { 31 assert field != null; 33 this.field = field; 41 return field; [all...] |
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
DataBindingMapperTest.java | 20 import java.lang.reflect.Field; 25 for (Field field : BR.class.getDeclaredFields()) { 26 assertEquals(field.getName(), 27 DataBindingUtil.convertBrIdToString((int) field.get(BR.class)));
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/field/ |
FiniteField.java | 1 package org.bouncycastle.math.field;
|
/external/clang/test/PCH/ |
cxx-variadic-templates-with-default-params.cpp | 19 int field[T]; member in class:dummy
|
/external/compiler-rt/test/asan/TestCases/Windows/ |
wrong_downcast_on_stack.cc | 6 int field; member in class:Parent
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
DebugUtilities.java | 48 * @param field which enum value to look up 51 public static String enumString(int type, int field) { 52 return DebugUtilitiesData.NAMES[type][field]; 73 * @return the expected ordinal value (should be equal to "field") 76 public static int enumArrayValue(int type, int field) { 77 return DebugUtilitiesData.VALUES[type][field];
|
/external/icu/icu4c/source/common/unicode/ |
umisc.h | 31 /** A struct representing a range of text containing a specific field 36 * The field 39 int32_t field; member in struct:UFieldPosition 41 * The start of the text range containing field 46 * The limit of the text range containing field
|
/external/libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct/locale.moneypunct.members/ |
neg_format.pass.cpp | 59 assert(p.field[0] == std::money_base::symbol); 60 assert(p.field[1] == std::money_base::sign); 61 assert(p.field[2] == std::money_base::none); 62 assert(p.field[3] == std::money_base::value); 67 assert(p.field[0] == std::money_base::symbol); 68 assert(p.field[1] == std::money_base::sign); 69 assert(p.field[2] == std::money_base::none); 70 assert(p.field[3] == std::money_base::value); 75 assert(p.field[0] == std::money_base::symbol); 76 assert(p.field[1] == std::money_base::sign) [all...] |
pos_format.pass.cpp | 59 assert(p.field[0] == std::money_base::symbol); 60 assert(p.field[1] == std::money_base::sign); 61 assert(p.field[2] == std::money_base::none); 62 assert(p.field[3] == std::money_base::value); 67 assert(p.field[0] == std::money_base::symbol); 68 assert(p.field[1] == std::money_base::sign); 69 assert(p.field[2] == std::money_base::none); 70 assert(p.field[3] == std::money_base::value); 75 assert(p.field[0] == std::money_base::symbol); 76 assert(p.field[1] == std::money_base::sign) [all...] |
/external/mockito/src/main/java/org/mockito/internal/configuration/ |
CaptorAnnotationProcessor.java | 12 import java.lang.reflect.Field; 15 * Instantiate {@link ArgumentCaptor} a field annotated by @Captor. 18 public Object process(Captor annotation, Field field) { 19 Class<?> type = field.getType(); 21 throw new MockitoException("@Captor field must be of the type ArgumentCaptor.\n" + "Field: '" 22 + field.getName() + "' has wrong type\n" 25 Class<?> cls = new GenericMaster().getGenericType(field);
|
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/scanner/ |
MockScanner.java | 12 import java.lang.reflect.Field; 55 for (Field field : clazz.getDeclaredFields()) { 57 FieldReader fieldReader = new FieldReader(instance, field); 59 Object mockInstance = preparedMock(fieldReader.read(), field); 67 private Object preparedMock(Object instance, Field field) { 68 if (isAnnotatedByMockOrSpy(field)) { 72 MockUtil.maybeRedefineMockName(instance, field.getName()); 78 private boolean isAnnotatedByMockOrSpy(Field field) [all...] |