HomeSort by relevance Sort by last modified time
    Searched refs:field (Results 226 - 250 of 5806) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/mockito/src/main/java/org/mockito/internal/configuration/
SpyAnnotationEngine.java 9 import java.lang.reflect.Field;
31 * Will try transform the field in a spy as with <code>Mockito.spy()</code>.
35 * If the field is not initialized, will try to initialize it, with a no-arg constructor.
39 * If the field is also annotated with the <strong>compatible</strong> &#64;InjectMocks then the field will be ignored,
43 * <p>This engine will fail, if the field is also annotated with incompatible Mockito annotations.
50 Field[] fields = context.getDeclaredFields();
51 for (Field field : fields) {
52 if (field.isAnnotationPresent(Spy.class) && !field.isAnnotationPresent(InjectMocks.class))
    [all...]
  /external/guice/extensions/testlib/src/com/google/inject/testing/fieldbinder/
BoundFieldModule.java 32 import java.lang.reflect.Field;
46 * For each {@link Bind} annotated field of an object and its superclasses, this module will bind
47 * that field's type to that field's value at injector creation time. This includes both instance
51 * If {@link Bind#to} is specified, the field's value will be bound to the class specified by
52 * {@link Bind#to} instead of the field's actual type.
55 * If a {@link BindingAnnotation} or {@link javax.inject.Qualifier} is present on the field,
56 * that field will be bound using that annotation via {@link AnnotatedBindingBuilder#annotatedWith}.
62 * If the field is of type {@link Provider}, the field's value will be bound as a {@link Provider
129 final Field field; field in class:BoundFieldModule.BoundFieldInfo
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/number/
ConstantAffixModifier.java 6 import android.icu.text.NumberFormat.Field;
19 private final Field field; field in class:ConstantAffixModifier
32 * @param field
33 * The field type to be associated with this modifier. Can be null.
36 * @see Field
38 public ConstantAffixModifier(String prefix, String suffix, Field field, boolean strong) {
43 this.field = field;
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
ConstantAffixModifier.java 5 import com.ibm.icu.text.NumberFormat.Field;
17 private final Field field; field in class:ConstantAffixModifier
30 * @param field
31 * The field type to be associated with this modifier. Can be null.
34 * @see Field
36 public ConstantAffixModifier(String prefix, String suffix, Field field, boolean strong) {
41 this.field = field;
    [all...]
  /external/javaparser/javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/visitor/
VoidVisitorAdapterGenerator.java 28 for (PropertyMetaModel field : node.getAllPropertyMetaModels()) {
29 final String getter = field.getGetterMethodName() + "()";
30 if (field.getNodeReference().isPresent()) {
31 if (field.isOptional() && field.isNodeList()) {
33 } else if (field.isOptional()) {
35 } else if (field.isNodeList()) {
  /external/mockito/src/test/java/org/mockito/internal/util/reflection/
GenericMasterTest.java 9 import java.lang.reflect.Field;
40 assertEquals(String.class, m.getGenericType(field("one")));
41 assertEquals(Integer.class, m.getGenericType(field("two")));
42 assertEquals(Double.class, m.getGenericType(field("map")));
47 assertEquals(Object.class, m.getGenericType(field("nonGeneric")));
52 assertEquals(Set.class, m.getGenericType(field("nested")));
53 assertEquals(Set.class, m.getGenericType(field("multiNested")));
56 private Field field(String fieldName) throws SecurityException, NoSuchFieldException { method in class:GenericMasterTest
  /external/nanopb-c/examples/using_union_messages/
decode.c 27 const pb_field_t *field; local
28 for (field = UnionMessage_fields; field->tag != 0; field++)
30 if (field->tag == tag && (field->type & PB_LTYPE_SUBMESSAGE))
32 /* Found our field. */
33 return field->ptr;
38 /* Wasn't our field.. */
  /external/protobuf/src/google/protobuf/compiler/javamicro/
javamicro_helpers.cc 58 const string& FieldName(const FieldDescriptor* field) {
59 // Groups are hacky: The name of the field is just the lower-cased name
62 if (field->type() == FieldDescriptor::TYPE_GROUP) {
63 return field->message_type()->name();
65 return field->name();
102 string UnderscoresToCamelCase(const FieldDescriptor* field) {
103 return UnderscoresToCamelCaseImpl(FieldName(field), false);
106 string UnderscoresToCapitalizedCamelCase(const FieldDescriptor* field) {
107 return UnderscoresToCamelCaseImpl(FieldName(field), true);
194 string FieldConstantName(const FieldDescriptor *field) {
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
FieldPool.java 34 import org.jf.dexlib2.iface.Field;
41 implements FieldSection<CharSequence, CharSequence, FieldReference, Field> {
47 public void intern(@Nonnull FieldReference field) {
48 Integer prev = internedItems.put(field, 0);
50 dexPool.typeSection.intern(field.getDefiningClass());
51 dexPool.stringSection.intern(field.getName());
52 dexPool.typeSection.intern(field.getType());
68 @Override public int getFieldIndex(@Nonnull Field field) {
69 return getItemIndex(field);
    [all...]
  /external/strace/
print_struct_stat.c 69 #define PRINT_ST_TIME(field) \
71 tprintf(", st_" #field "=%lld", (long long) st->field); \
72 tprints_comment(sprinttime_nsec(st->field, \
73 zero_extend_signed_to_ull(st->field ## _nsec)));\
75 tprintf(", st_" #field "_nsec=%llu", \
77 st->field ## _nsec)); \
  /external/toolchain-utils/crosperf/
help.py 25 field = fields[field_name]
26 res += 'Field:\t\t%s\n' % field.name
27 res += self._WrapLine('Description:\t%s' % field.description) + '\n'
28 res += 'Type:\t\t%s\n' % type(field).__name__.replace('Field', '')
29 res += 'Required:\t%s\n' % field.required
30 if field.default:
31 res += 'Default:\t%s\n' % field.default
  /libcore/luni/src/test/java/libcore/java/text/
OldNumberFormatFieldTest.java 32 MyNumberFormat field = new MyNumberFormat(name); local
33 assertEquals("field has wrong name", name, field.getName());
35 field = new MyNumberFormat(null);
36 assertEquals("field has wrong name", null, field.getName());
48 MyNumberFormat field; local
50 NumberFormat.Field nfield = NumberFormat.Field.CURRENCY;
52 field = new MyNumberFormat(null)
    [all...]
  /cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/db/
Entity.java 33 private final List<Field> mFields;
34 private final Map<String, Field> mFieldMap;
47 for (final Field field : mFields) {
48 if (field.pos > 0) sb.append(", ");
49 sb.append(field.name).append(" ").append(field.sqLiteType);
50 if (field.name.equals(BaseColumns._ID)) {
57 public Field getField(final String fieldName) {
65 private final List<Field> mFields = new ArrayList<>()
87 final Field field = Field.newInstance(mPos++, name, fieldType); local
    [all...]
  /external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
FieldDefinition.java 35 import org.jf.dexlib2.iface.Field;
44 public static void writeTo(BaksmaliOptions options, IndentingWriter writer, Field field,
46 EncodedValue initialValue = field.getInitialValue();
47 int accessFlags = field.getAccessFlags();
54 writer.write("# The value of this static final field might be set in the static constructor\n");
62 writer.write(".field ");
63 writeAccessFlags(writer, field.getAccessFlags());
64 writer.write(field.getName());
66 writer.write(field.getType())
    [all...]
  /cts/tests/tests/hardware/src/android/hardware/cts/
GeomagneticFieldTest.java 56 GeomagneticField field = local
58 assertEquals(t.declinationDegree, field.getDeclination(), DECLINATION_THRESHOLD);
59 assertEquals(t.inclinationDegree, field.getInclination(), INCLINATION_THRESHOLD);
60 assertEquals(t.fieldStrengthNanoTesla, field.getFieldStrength(),
65 assertEquals(horizontalFieldStrengthNanoTesla, field.getHorizontalStrength(),
70 assertEquals(verticalFieldStrengthNanoTesla, field.getZ(), FIELD_STRENGTH_THRESHOLD);
73 Math.toDegrees(Math.atan2(field.getY(), field.getX())));
76 Math.sqrt(field.getX() * field.getX() + field.getY() * field.getY())
    [all...]
  /external/clang/test/CodeGenCXX/
reference-in-blocks.cpp 15 A() : field(10), d1(3.14) {}
18 printf(" field = %d\n", field);
19 printf(" field = %f\n", d1);
21 int field; member in class:A
  /external/clang/test/SemaTemplate/
instantiate-deeply.cpp 8 e field; member in struct:A::B::C::D::E
9 E() : field(0) {
14 field += v2 + v4;
  /external/libevent/
ht-internal.h 105 #define HT_SET_HASH_(elm, field, hashfn) \
106 do { (elm)->field.hte_hash = hashfn(elm); } while (0)
107 #define HT_SET_HASHVAL_(elm, field, val) \
108 do { (elm)->field.hte_hash = (val); } while (0)
109 #define HT_ELT_HASH_(elm, field, hashfn) \
110 ((elm)->field.hte_hash)
112 #define HT_SET_HASH_(elm, field, hashfn) \
114 #define HT_ELT_HASH_(elm, field, hashfn) \
116 #define HT_SET_HASHVAL_(elm, field, val) \
121 #define HT_BUCKET_(head, field, elm, hashfn)
    [all...]
  /frameworks/base/libs/services/src/os/
StatsDimensionsValue.cpp 33 StatsDimensionsValue::StatsDimensionsValue(int32_t field, String16 value) :
34 mField(field),
38 StatsDimensionsValue::StatsDimensionsValue(int32_t field, int32_t value) :
39 mField(field),
43 StatsDimensionsValue::StatsDimensionsValue(int32_t field, int64_t value) :
44 mField(field),
48 StatsDimensionsValue::StatsDimensionsValue(int32_t field, bool value) :
49 mField(field),
53 StatsDimensionsValue::StatsDimensionsValue(int32_t field, float value) :
54 mField(field),
    [all...]
  /libcore/ojluni/src/main/java/java/time/chrono/
HijrahEra.java 127 * Gets the range of valid values for the specified field.
129 * The range object expresses the minimum and maximum valid values for a field.
131 * If it is not possible to return the range, because the field is not supported
134 * If the field is a {@link ChronoField} then the query is implemented here.
135 * The {@code ERA} field returns the range.
138 * If the field is not a {@code ChronoField}, then the result of this method
141 * Whether the range can be obtained is determined by the field.
143 * The {@code ERA} field returns a range for the one valid Hijrah era.
145 * @param field the field to query the range for, not nul
    [all...]
  /external/flatbuffers/src/
idl_gen_python.cpp 30 static std::string GenMethod(const FieldDef &field);
36 static std::string TypeName(const FieldDef &field);
42 // Most field accessors need to retrieve and test the field offset first,
44 std::string OffsetPrefix(const FieldDef &field) {
48 NumToString(field.value.offset) +
113 const FieldDef &field,
118 code += MakeCamel(field.name) + "Length(self";
119 code += "):" + OffsetPrefix(field);
126 const FieldDef &field,
327 auto &field = **it; local
360 auto &field = **it; local
499 auto &field = **it; local
530 auto &field = **it; local
    [all...]
  /external/syslinux/gpxe/src/drivers/net/
etherfabric.h 48 /** Dummy field low bit number */
50 /** Dummy field width */
69 /** Specified attribute (e.g. LBN) of the specified field */
70 #define EFAB_VAL(field,attribute) field ## _ ## attribute
71 /** Low bit number of the specified field */
72 #define EFAB_LOW_BIT( field ) EFAB_VAL ( field, LBN )
73 /** Bit width of the specified field */
74 #define EFAB_WIDTH( field ) EFAB_VAL ( field, WIDTH
    [all...]
  /external/syslinux/gpxe/src/net/
dhcppkt.c 44 * Calculate used length of an IPv4 field within a DHCP packet
46 * @v data Field data
47 * @v len Length of field
48 * @ret used Used length of field
57 * Calculate used length of a string field within a DHCP packet
59 * @v data Field data
60 * @v len Length of field
61 * @ret used Used length of field
67 /** A dedicated field within a DHCP packet */
73 /** Length of field */
125 struct dhcp_packet_field *field; local
148 struct dhcp_packet_field *field; local
186 struct dhcp_packet_field *field; local
    [all...]
  /libcore/ojluni/src/main/java/java/time/
Month.java 200 * The conversion extracts the {@link ChronoField#MONTH_OF_YEAR MONTH_OF_YEAR} field.
259 * Checks if the specified field is supported.
261 * This checks if this month-of-year can be queried for the specified field.
265 * If the field is {@link ChronoField#MONTH_OF_YEAR MONTH_OF_YEAR} then
269 * If the field is not a {@code ChronoField}, then the result of this method
272 * Whether the field is supported is determined by the field.
274 * @param field the field to check, null returns false
275 * @return true if the field is supported on this month-of-year, false if no
    [all...]
  /external/nanopb-c/generator/google/protobuf/internal/
python_message.py 92 for field in descriptor.fields:
93 _AttachFieldHelpers(cls, field)
116 of a protocol message field.
119 proto_field_name: The protocol message field name, exactly
132 # getattr() and setattr() to reflectively manipulate field values. If we
134 # the same transformation. Note that currently if you name a field "yield",
182 def _IsMessageSetExtension(field):
183 return (field.is_extension and
184 field.containing_type.has_options and
185 field.containing_type.GetOptions().message_set_wire_format an
    [all...]

Completed in 1152 milliseconds

1 2 3 4 5 6 7 8 91011>>