HomeSort by relevance Sort by last modified time
    Searched refs:field (Results 101 - 125 of 3501) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/mockito/src/org/mockito/internal/util/reflection/
InstanceField.java 10 import java.lang.reflect.Field;
13 * Represents an accessible instance field.
15 * Contains the instance reference on which the field can be read adn write.
18 private final Field field; field in class:InstanceField
25 * @param field The field that should be accessed, note that no checks are performed to ensure
26 * the field belong to this instance class.
27 * @param instance The instance from which the field shall be accessed.
29 public InstanceField(Field field, Object instance)
    [all...]
FieldCopier.java 7 import java.lang.reflect.Field;
11 public <T> void copyValue(T from, T to, Field field) throws IllegalAccessException {
12 Object value = field.get(from);
13 field.set(to, value);
  /external/chromium_org/sync/syncable/
entry.h 58 // Field accessors.
59 inline int64 Get(MetahandleField field) const {
61 return kernel_->ref(field);
63 inline Id Get(IdField field) const {
65 return kernel_->ref(field);
67 inline int64 Get(Int64Field field) const {
69 return kernel_->ref(field);
71 inline const base::Time& Get(TimeField field) const {
73 return kernel_->ref(field);
75 inline int64 Get(BaseVersion field) const
    [all...]
syncable_columns.h 70 static inline const char* ColumnName(int field) {
71 DCHECK(field < BEGIN_TEMPS);
72 return g_metas_columns[field].name;
  /art/runtime/entrypoints/quick/
quick_field_entrypoints.cc 32 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveRead, local
34 if (LIKELY(field != NULL)) {
35 return field->Get32(field->GetDeclaringClass());
38 field = FindFieldFromCode(field_idx, referrer, self, StaticPrimitiveRead, sizeof(int32_t), true);
39 if (LIKELY(field != NULL)) {
40 return field->Get32(field->GetDeclaringClass());
49 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveRead, local
51 if (LIKELY(field != NULL))
66 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticObjectRead, local
84 mirror::ArtField* field = FindFieldFast(field_idx, referrer, InstancePrimitiveRead, local
107 mirror::ArtField* field = FindFieldFast(field_idx, referrer, InstancePrimitiveRead, local
131 mirror::ArtField* field = FindFieldFast(field_idx, referrer, InstanceObjectRead, local
154 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveWrite, local
172 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveWrite, local
191 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticObjectWrite, local
212 mirror::ArtField* field = FindFieldFast(field_idx, referrer, InstancePrimitiveWrite, local
239 mirror::ArtField* field = FindFieldFast(field_idx, referrer, InstancePrimitiveWrite, local
266 mirror::ArtField* field = FindFieldFast(field_idx, referrer, InstanceObjectWrite, local
    [all...]
  /external/chromium_org/components/autofill/core/browser/
phone_field_unittest.cc 48 FormFieldData field; local
49 field.form_control_type = "text";
51 field.label = ASCIIToUTF16("Phone");
52 field.name = ASCIIToUTF16("phone");
53 list_.push_back(new AutofillField(field, ASCIIToUTF16("phone1")));
65 FormFieldData field; local
66 field.form_control_type = "text";
68 field.label = ASCIIToUTF16("Area Code");
69 field.name = ASCIIToUTF16("area code");
70 list_.push_back(new AutofillField(field, ASCIIToUTF16("areacode1")))
94 FormFieldData field; local
138 FormFieldData field; local
169 FormFieldData field; local
205 FormFieldData field; local
    [all...]
form_field_unittest.cc 15 AutofillField field; local
18 EXPECT_TRUE(FormField::Match(&field, base::string16(),
22 field.label = ASCIIToUTF16("a");
23 EXPECT_TRUE(FormField::Match(&field, base::string16(),
27 field.label = base::string16();
28 EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("^$"),
32 field.label = ASCIIToUTF16("a");
33 EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("^$"),
37 field.label = base::string16();
38 EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("a")
    [all...]
autofill_common_test.cc 33 FormFieldData* field) {
34 field->label = ASCIIToUTF16(label);
35 field->name = ASCIIToUTF16(name);
36 field->value = ASCIIToUTF16(value);
37 field->form_control_type = type;
47 FormFieldData field; local
48 test::CreateTestFormField("First Name", "firstname", "", "text", &field);
49 form->fields.push_back(field);
50 test::CreateTestFormField("Middle Name", "middlename", "", "text", &field);
51 form->fields.push_back(field);
    [all...]
  /external/valgrind/main/none/tests/s390x/
test.h 25 static inline void dump_field(void *field, int size)
29 printf("%2.2X ", ((char *) field)[i]);
  /external/junit/src/org/junit/internal/runners/rules/
RuleFieldValidator.java 53 private void validateField(FrameworkField field, List<Throwable> errors) {
54 optionallyValidateStatic(field, errors);
55 validatePublic(field, errors);
56 validateTestRuleOrMethodRule(field, errors);
59 private void optionallyValidateStatic(FrameworkField field,
61 if (fOnlyStaticFields && !field.isStatic())
62 addError(errors, field, "must be static.");
65 private void validatePublic(FrameworkField field, List<Throwable> errors) {
66 if (!field.isPublic())
67 addError(errors, field, "must be public.")
    [all...]
  /external/protobuf/src/google/protobuf/
generated_message_reflection.cc 79 // a string field).
84 const Descriptor* descriptor, const FieldDescriptor* field,
90 " Field : " << field->full_name() << "\n"
109 const Descriptor* descriptor, const FieldDescriptor* field,
116 " Field : " << field->full_name() << "\n"
117 " Problem : Field is not the right type for this message:\n"
119 " Field type: " << cpptype_names_[field->cpp_type()]
221 const FieldDescriptor* field = descriptor_->field(i); local
342 const FieldDescriptor* field = descriptor_->field(i); local
650 const FieldDescriptor* field = descriptor_->field(i); local
    [all...]
  /external/chromium/chrome/browser/sync/syncable/
syncable_columns.h 66 static inline const char* ColumnName(int field) {
67 DCHECK(field < BEGIN_TEMPS);
68 return g_metas_columns[field].name;
  /external/mockito/src/org/mockito/internal/configuration/
MockitoAnnotationsMockAnnotationProcessor.java 10 import java.lang.reflect.Field;
13 * Instantiates a mock on a field annotated by {@link Mock}
18 public Object process(Mock annotation, Field field) {
19 return Mockito.mock(field.getType(), field.getName());
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
BaseNode.java 20 package org.apache.james.mime4j.field.address.parser;
22 import org.apache.james.mime4j.field.address.parser.Node;
23 import org.apache.james.mime4j.field.address.parser.Token;
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
FieldAnnotationStruct.java 26 * Association of a field and its annotations.
30 /** {@code non-null;} the field in question */
31 private final CstFieldRef field; field in class:FieldAnnotationStruct
39 * @param field {@code non-null;} the field in question
42 public FieldAnnotationStruct(CstFieldRef field,
44 if (field == null) {
45 throw new NullPointerException("field == null");
52 this.field = field;
    [all...]
  /dalvik/dx/src/com/android/dx/dex/file/
FieldAnnotationStruct.java 26 * Association of a field and its annotations.
30 /** {@code non-null;} the field in question */
31 private final CstFieldRef field; field in class:FieldAnnotationStruct
39 * @param field {@code non-null;} the field in question
42 public FieldAnnotationStruct(CstFieldRef field,
44 if (field == null) {
45 throw new NullPointerException("field == null");
52 this.field = field;
    [all...]
  /external/dexmaker/src/dx/java/com/android/dx/dex/file/
FieldAnnotationStruct.java 26 * Association of a field and its annotations.
30 /** {@code non-null;} the field in question */
31 private final CstFieldRef field; field in class:FieldAnnotationStruct
39 * @param field {@code non-null;} the field in question
42 public FieldAnnotationStruct(CstFieldRef field,
44 if (field == null) {
45 throw new NullPointerException("field == null");
52 this.field = field;
    [all...]
  /external/chromium/chrome/browser/autofill/
personal_data_manager_unittest.cc 522 webkit_glue::FormField field; local
524 "First name:", "first_name", "George", "text", &field);
525 form.fields.push_back(field);
527 "Last name:", "last_name", "Washington", "text", &field);
528 form.fields.push_back(field);
530 "Email:", "email", "theprez@gmail.com", "text", &field);
531 form.fields.push_back(field);
533 "Address:", "address1", "21 Laussat St", "text", &field);
534 form.fields.push_back(field);
536 "City:", "city", "San Francisco", "text", &field);
569 webkit_glue::FormField field; local
611 webkit_glue::FormField field; local
643 webkit_glue::FormField field; local
754 webkit_glue::FormField field; local
849 webkit_glue::FormField field; local
948 webkit_glue::FormField field; local
1063 webkit_glue::FormField field; local
1154 webkit_glue::FormField field; local
1249 webkit_glue::FormField field; local
1294 webkit_glue::FormField field; local
1374 webkit_glue::FormField field; local
1444 webkit_glue::FormField field; local
1526 webkit_glue::FormField field; local
1597 webkit_glue::FormField field; local
1670 webkit_glue::FormField field; local
    [all...]
  /external/chromium_org/tools/json_to_struct/
struct_generator.py 6 """Generate a string defining an array field in a C structure.
9 contents['field'] = '* ' + field_info['field']
13 ' const size_t %s_size') % field_info['field'];
16 """Generate a string defining a field of the type specified by
19 field = field_info['field']
22 return 'const int %s' % field
24 return 'const char* const %s' % field
26 return 'const wchar_t* const %s' % field
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/
neg_format.pass.cpp 61 assert(p.field[0] == std::money_base::symbol);
62 assert(p.field[1] == std::money_base::sign);
63 assert(p.field[2] == std::money_base::none);
64 assert(p.field[3] == std::money_base::value);
69 assert(p.field[0] == std::money_base::symbol);
70 assert(p.field[1] == std::money_base::sign);
71 assert(p.field[2] == std::money_base::none);
72 assert(p.field[3] == std::money_base::value);
77 assert(p.field[0] == std::money_base::symbol);
78 assert(p.field[1] == std::money_base::sign)
    [all...]
pos_format.pass.cpp 61 assert(p.field[0] == std::money_base::symbol);
62 assert(p.field[1] == std::money_base::sign);
63 assert(p.field[2] == std::money_base::none);
64 assert(p.field[3] == std::money_base::value);
69 assert(p.field[0] == std::money_base::symbol);
70 assert(p.field[1] == std::money_base::sign);
71 assert(p.field[2] == std::money_base::none);
72 assert(p.field[3] == std::money_base::value);
77 assert(p.field[0] == std::money_base::symbol);
78 assert(p.field[1] == std::money_base::sign)
    [all...]
  /external/chromium/third_party/libevent/
event-internal.h 77 #define TAILQ_NEXT(elm, field) ((elm)->field.tqe_next)
78 #define TAILQ_FOREACH(var, head, field) \
81 (var) = TAILQ_NEXT(var, field))
82 #define TAILQ_INSERT_BEFORE(listelm, elm, field) do { \
83 (elm)->field.tqe_prev = (listelm)->field.tqe_prev; \
84 (elm)->field.tqe_next = (listelm); \
85 *(listelm)->field.tqe_prev = (elm); \
86 (listelm)->field.tqe_prev = &(elm)->field.tqe_next;
    [all...]
  /external/chromium_org/third_party/libevent/
event-internal.h 77 #define TAILQ_NEXT(elm, field) ((elm)->field.tqe_next)
78 #define TAILQ_FOREACH(var, head, field) \
81 (var) = TAILQ_NEXT(var, field))
82 #define TAILQ_INSERT_BEFORE(listelm, elm, field) do { \
83 (elm)->field.tqe_prev = (listelm)->field.tqe_prev; \
84 (elm)->field.tqe_next = (listelm); \
85 *(listelm)->field.tqe_prev = (elm); \
86 (listelm)->field.tqe_prev = &(elm)->field.tqe_next;
    [all...]
  /development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/inject/
Injector.java 22 import java.lang.reflect.Field;
66 * For each field marked with the InjectView annotation, a call to
69 * will be assigned to the field.
75 for (Field field : mActivity.getClass().getDeclaredFields()) {
76 for (Annotation annotation : field.getAnnotations()) {
79 Class<?> fieldType = field.getType();
81 field.setAccessible(true);
86 field + ", can't inject");
88 field.set(mActivity, injectedValue)
    [all...]
  /frameworks/base/test-runner/src/android/test/
ActivityTestCase.java 21 import java.lang.reflect.Field;
63 final Field[] fields = getClass().getDeclaredFields();
64 for (Field field : fields) {
65 final Class<?> fieldClass = field.getDeclaringClass();
66 if (testCaseClass.isAssignableFrom(fieldClass) && !field.getType().isPrimitive()
67 && (field.getModifiers() & Modifier.FINAL) == 0) {
69 field.setAccessible(true);
70 field.set(this, null);
72 android.util.Log.d("TestCase", "Error: Could not nullify field!");
    [all...]

Completed in 748 milliseconds

1 2 3 45 6 7 8 91011>>