/toolchain/binutils/binutils-2.27/gas/testsuite/gas/tic54x/ |
field.s | 2 * test .field directive 6 f1: .field 0ABCh, 14 ; f1=0x0 7 f2: .field 0Ah, 5 ; should align to next word, f2=0x1 8 f3: .field 0Ch, 4 ; should be packed in previous word, f3=0x1 9 f4: .field f3 ; align at word 0x2 10 f5: .field 04321h, 32 ; 11 f6: .field 01111b ; default to 16-bit field 12 f7: .field 3,3 13 f8: .field 69,15 ; align at next wor [all...] |
/art/test/035-enum/src/ |
Main.java | 17 import java.lang.reflect.Field; 26 Field field; local 28 field = Shubbery.class.getDeclaredField("CRAWLING"); 33 System.out.println("found field " + field.getName()); 34 System.out.println(" synthetic? " + field.isSynthetic()); 35 System.out.println(" enum? " + field.isEnumConstant());
|
/external/dhcpcd-6.8.2/compat/ |
queue.h | 68 #define TAILQ_NEXT(elm, field) ((elm)->field.tqe_next) 71 #define TAILQ_PREV(elm, headname, field) \ 72 (*(((struct headname *)((elm)->field.tqe_prev))->tqh_last)) 77 #define TAILQ_FOREACH(var, head, field) \ 80 (var) = ((var)->field.tqe_next)) 82 #define TAILQ_FOREACH_REVERSE(var, head, headname, field) \ 85 (var) = (*(((struct headname *)((var)->field.tqe_prev))->tqh_last))) 94 #define TAILQ_INSERT_HEAD(head, elm, field) do { \ 95 if (((elm)->field.tqe_next = (head)->tqh_first) != TAILQ_END(head)) [all...] |
/prebuilts/misc/darwin-x86_64/protobuf2.5/include/google/protobuf/ |
generated_message_reflection.h | 82 // the appropriate type. For primitive fields and string fields, each field 92 // of whatever type the individual field would be. Strings and 107 // the start of the message object, of each field. These can 114 // corresponding field of the message has been initialized. 115 // The bit for field index i is obtained by the expression: 146 bool HasField(const Message& message, const FieldDescriptor* field) const; 147 int FieldSize(const Message& message, const FieldDescriptor* field) const; 148 void ClearField(Message* message, const FieldDescriptor* field) const; 149 void RemoveLast(Message* message, const FieldDescriptor* field) const; 150 Message* ReleaseLast(Message* message, const FieldDescriptor* field) const [all...] |
/prebuilts/misc/linux-x86_64/protobuf2.5/include/google/protobuf/ |
generated_message_reflection.h | 82 // the appropriate type. For primitive fields and string fields, each field 92 // of whatever type the individual field would be. Strings and 107 // the start of the message object, of each field. These can 114 // corresponding field of the message has been initialized. 115 // The bit for field index i is obtained by the expression: 146 bool HasField(const Message& message, const FieldDescriptor* field) const; 147 int FieldSize(const Message& message, const FieldDescriptor* field) const; 148 void ClearField(Message* message, const FieldDescriptor* field) const; 149 void RemoveLast(Message* message, const FieldDescriptor* field) const; 150 Message* ReleaseLast(Message* message, const FieldDescriptor* field) const [all...] |
/prebuilts/misc/windows/protobuf2.5/include/google/protobuf/ |
generated_message_reflection.h | 82 // the appropriate type. For primitive fields and string fields, each field 92 // of whatever type the individual field would be. Strings and 107 // the start of the message object, of each field. These can 114 // corresponding field of the message has been initialized. 115 // The bit for field index i is obtained by the expression: 146 bool HasField(const Message& message, const FieldDescriptor* field) const; 147 int FieldSize(const Message& message, const FieldDescriptor* field) const; 148 void ClearField(Message* message, const FieldDescriptor* field) const; 149 void RemoveLast(Message* message, const FieldDescriptor* field) const; 150 Message* ReleaseLast(Message* message, const FieldDescriptor* field) const [all...] |
/prebuilts/tools/linux-x86_64/protoc/include/google/protobuf/ |
generated_message_reflection.h | 82 // the appropriate type. For primitive fields and string fields, each field 92 // of whatever type the individual field would be. Strings and 107 // the start of the message object, of each field. These can 114 // corresponding field of the message has been initialized. 115 // The bit for field index i is obtained by the expression: 146 bool HasField(const Message& message, const FieldDescriptor* field) const; 147 int FieldSize(const Message& message, const FieldDescriptor* field) const; 148 void ClearField(Message* message, const FieldDescriptor* field) const; 149 void RemoveLast(Message* message, const FieldDescriptor* field) const; 150 Message* ReleaseLast(Message* message, const FieldDescriptor* field) const [all...] |
/external/mockito/src/main/java/org/mockito/internal/util/reflection/ |
FieldInitializer.java | 14 import java.lang.reflect.Field; 23 * Initialize a field with type instance if a default constructor can be found. 26 * If the given field is already initialized, then <strong>the actual instance is returned</strong>. 34 private final Field field; field in class:FieldInitializer 39 * Prepare initializer with the given field on the given instance. 42 * This constructor fail fast if the field type cannot be handled. 46 * @param field Field to be initialize. 48 public FieldInitializer(Object fieldOwner, Field field) 176 private final Field field; field in class:FieldInitializer.NoArgConstructorInstantiator 227 private final Field field; field in class:FieldInitializer.ParameterizedConstructorInstantiator [all...] |
FieldSetter.java | 7 import java.lang.reflect.Field; 13 public static void setField(Object target, Field field,Object value) { 15 changer.enableAccess(field); 17 field.set(target, value); 19 throw new RuntimeException("Access not authorized on field '" + field + "' of object '" + target + "' with value: '" + value + "'", e); 21 throw new RuntimeException("Wrong argument on field '" + field + "' of object '" + target + "' with value: '" + value + "', \n" + 24 changer.safelyDisableAccess(field); [all...] |
/art/test/408-move-bug/src/ |
Main.java | 37 foo1.field = b; 38 foo2.field = b; 39 foo3.field = b; 40 foo4.field = b; 51 foo1.field = b; 52 foo2.field = b; 53 foo3.field = b; 54 foo4.field = b; 66 boolean field; field in class:Main
|
/libcore/ojluni/src/main/java/java/security/spec/ |
EllipticCurve.java | 45 private final ECField field; field in class:EllipticCurve 50 // Check coefficient c is a valid element in ECField field. 51 private static void checkValidity(ECField field, BigInteger c, 53 // can only perform check if field is ECFieldFp or ECFieldF2m. 54 if (field instanceof ECFieldFp) { 55 BigInteger p = ((ECFieldFp)field).getP(); 61 } else if (field instanceof ECFieldF2m) { 62 int m = ((ECFieldF2m)field).getM(); 70 * Creates an elliptic curve with the specified elliptic field 71 * {@code field} and the coefficients {@code a} an [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
FieldsSet.java | 31 throw new InternalError("Preposterous field count " + fieldsCount); 52 public void clear(int field) { 53 fValues[field] = -1; 54 fIsSet[field] = false; 57 public void set(int field, int amount) { 58 fValues[field] = amount; 59 fIsSet[field] = true; 62 public boolean isSet(int field) { 63 return fIsSet[field]; 66 public int get(int field) { 139 int field = handleParseName(inheritFrom, key, value); local 166 int field = -1; local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
FieldsSet.java | 28 throw new InternalError("Preposterous field count " + fieldsCount); 49 public void clear(int field) { 50 fValues[field] = -1; 51 fIsSet[field] = false; 54 public void set(int field, int amount) { 55 fValues[field] = amount; 56 fIsSet[field] = true; 59 public boolean isSet(int field) { 60 return fIsSet[field]; 63 public int get(int field) { 136 int field = handleParseName(inheritFrom, key, value); local 163 int field = -1; local [all...] |
/toolchain/binutils/binutils-2.27/binutils/ |
elfcomm.c | 64 byte_put_little_endian (unsigned char * field, elf_vma value, int size) 69 field[7] = (((value >> 24) >> 24) >> 8) & 0xff; 70 field[6] = ((value >> 24) >> 24) & 0xff; 71 field[5] = ((value >> 24) >> 16) & 0xff; 72 field[4] = ((value >> 24) >> 8) & 0xff; 75 field[3] = (value >> 24) & 0xff; 78 field[2] = (value >> 16) & 0xff; 81 field[1] = (value >> 8) & 0xff; 84 field[0] = value & 0xff; 94 byte_put_big_endian (unsigned char * field, elf_vma value, int size [all...] |
/external/javaparser/javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/visitor/ |
CloneVisitorGenerator.java | 29 for (PropertyMetaModel field : node.getAllPropertyMetaModels()) { 30 final String getter = field.getGetterMethodName() + "()"; 31 if (field.getNodeReference().isPresent()) { 32 if (field.isOptional() && field.isNodeList()) { 33 body.addStatement(f("NodeList<%s> %s = cloneList(n.%s.orElse(null), arg);", field.getTypeNameGenerified(), field.getName(), getter)); 34 } else if (field.isNodeList()) { 35 body.addStatement(f("NodeList<%s> %s = cloneList(n.%s, arg);", field.getTypeNameGenerified(), field.getName(), getter)) [all...] |
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/ |
ReflectionFieldDeclaration.java | 25 import java.lang.reflect.Field; 33 private Field field; field in class:ReflectionFieldDeclaration 37 public ReflectionFieldDeclaration(Field field, TypeSolver typeSolver) { 38 this.field = field; 43 private ReflectionFieldDeclaration(Field field, TypeSolver typeSolver, ResolvedType type) { 44 this.field = field [all...] |
/external/junit/src/main/java/org/junit/runners/model/ |
FrameworkField.java | 4 import java.lang.reflect.Field; 9 * Represents a field on a test class (currently used only for Rules in 15 private final Field field; field in class:FrameworkField 17 FrameworkField(Field field) { 18 if (field == null) { 20 "FrameworkField cannot be created without an underlying field."); 22 this.field = field; [all...] |
/art/test/565-checker-condition-liveness/src/ |
Main.java | 43 int y = field; 49 public static int field = 42; field in class:Main
|
/external/droiddriver/src/io/appium/droiddriver/helpers/ |
D2ActivityInstrumentationTestCase2.java | 23 import java.lang.reflect.Field; 50 final Field[] fields = getClass().getDeclaredFields(); 51 for (Field field : fields) { 52 final Class<?> fieldClass = field.getDeclaringClass(); 53 if (testCaseClass.isAssignableFrom(fieldClass) && !field.getType().isPrimitive() 54 && !Modifier.isFinal(field.getModifiers()) && !Modifier.isStatic(field.getModifiers())) { 56 field.setAccessible(true); 57 field.set(this, null) [all...] |
/external/syslinux/gpxe/src/core/ |
cpio.c | 32 * Set field within a CPIO header 34 * @v field Field within CPIO header 37 void cpio_set_field ( char *field, unsigned long value ) { 41 memcpy ( field, buf, 8 );
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/ |
FieldWithIndex.kt | 20 * A common value object when we need to associate a Field with an Index 23 * If we are sure that the field will be there at compile time, we set it to always Exists so that 26 data class FieldWithIndex(val field: Field, val indexVar: String, val alwaysExists: Boolean) { 28 fun byOrder(fields: List<Field>): List<FieldWithIndex> { 29 return fields.mapIndexed { index, field -> 30 FieldWithIndex(field = field,
|
/libcore/luni/src/test/java/libcore/java/time/ |
ZoneOffsetTest.java | 38 for (ChronoField field : ChronoField.values()) { 40 assertEquals("isSupported(" + field + ")", 41 field == ChronoField.OFFSET_SECONDS, OFFSET_P1.isSupported(field)); 58 for (ChronoField field : ChronoField.values()) { 60 if (field == ChronoField.OFFSET_SECONDS) { 64 OFFSET_P1.range(field); 65 fail("ZoneOffset.range(" + field + ") should have failed.");
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/ |
ResourceRemapper.java | 5 import java.lang.reflect.Field; 60 for (Field field : aClass.getFields()) { 62 localAttributeIds.put(field.getInt(null), field.getName()); 64 throw new RuntimeException("Could not read attr value for " + field.getName(), e); 73 for (Field field : innerClass.getFields()) { 75 if (!isPrimary && Modifier.isFinal(field.getModifiers())) { 79 String resourceName = resourceType + "/" + field.getName() [all...] |
/external/annotation-tools/annotation-file-utilities/tests/ |
FieldGenericArray.java | 6 List<Integer>[] field; field in class:FieldGenericArray
|
FieldSimpleGeneric.java | 6 List<Integer> field; field in class:FieldSimpleGeneric
|