Searched refs:field (Results 151 - 175 of 1411) sorted by relevance

1234567891011>>

/external/nist-sip/java/gov/nist/javax/sip/header/
H A DSIPHeaderNamesCache.java17 Field field = fields[i];
18 if (field.getType().equals(String.class) && Modifier.isStatic(field.getModifiers())) {
20 String value = (String) field.get(null);
/external/protobuf/java/core/src/main/java/com/google/protobuf/
H A DMessageOrBuilder.java49 * Returns a list of field paths (e.g. "foo.bar.baz") of required fields
78 * field is set iff hasField() returns true for that field. A "repeated"
79 * field is set iff getRepeatedFieldCount() is greater than zero. The
81 * {@link #getField(Descriptors.FieldDescriptor)} for each field. The map
83 * in order by field number.
100 * if no field is set.
106 * Returns true if the given field is set. This is exactly equivalent to
107 * calling the generated "has" accessor method corresponding to the field.
108 * @throws IllegalArgumentException The field i
111 hasField(Descriptors.FieldDescriptor field) argument
120 getField(Descriptors.FieldDescriptor field) argument
129 getRepeatedFieldCount(Descriptors.FieldDescriptor field) argument
139 getRepeatedField(Descriptors.FieldDescriptor field, int index) argument
[all...]
/external/v8/tools/clang/blink_gc_plugin/
H A DCheckFinalizerVisitor.h16 // fields that are potentially finalized. A potentially finalized field is
18 // contains Members. Invalid uses are currently identified as passing the field
26 FieldPoint* field)
29 field(field) {}
33 FieldPoint* field; member in struct:CheckFinalizerVisitor::Error
24 Error(clang::MemberExpr* member, bool as_eagerly_finalized, FieldPoint* field) argument
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_format_rgb9e5.h56 } field; member in union:__anon14513
73 } field; member in union:__anon14515
98 return (f.field.biasedexponent - 127);
141 retval.field.r = rm;
142 retval.field.g = gm;
143 retval.field.b = bm;
144 retval.field.biasedexponent = exp_shared;
156 exponent = v.field.biasedexponent - RGB9E5_EXP_BIAS - RGB9E5_MANTISSA_BITS;
159 retval[0] = v.field.r * scale;
160 retval[1] = v.field
[all...]
/external/mockito/src/main/java/org/mockito/internal/configuration/
H A DIndependentAnnotationEngine.java37 private Object createMockFor(Annotation annotation, Field field) { argument
38 return forAnnotation(annotation).process(annotation, field);
46 public Object process(A annotation, Field field) {
59 for (Field field : fields) {
61 for(Annotation annotation : field.getAnnotations()) {
62 Object mock = createMockFor(annotation, field);
64 throwIfAlreadyAssigned(field, alreadyAssigned);
67 setField(testInstance, field,mock);
69 throw new MockitoException("Problems setting field " + field
77 throwIfAlreadyAssigned(Field field, boolean alreadyAssigned) argument
[all...]
/external/autotest/frontend/client/src/autotest/common/table/
H A DDataSource.java13 private String field; field in class:DataSource.SortSpec
16 public SortSpec(String field, SortDirection direction) { argument
17 this.field = field;
21 public SortSpec(String field) { argument
22 this(field, SortDirection.ASCENDING);
30 return field;
43 return prefix + field;
70 * first field, then the second, etc.
/external/doclava/src/com/google/doclava/
H A DLinter.java20 public void lintField(FieldInfo field); argument
28 public void lintField(FieldInfo field) { argument
/external/emma/core/java12/com/vladium/jcd/cls/
H A DIFieldCollection.java32 * @param offset field offset [must be in [0, size()) range; input not checked]
47 * @param name field name [null or empty will result in no matches]
48 * @return array of field offsets in no particular order [never null; could be empty]
71 * that all data referenced in 'field' will eventually appear in the
74 * @param field new field descriptor [may not be null]
75 * @return new field's offset
77 int add (Field_info field); argument
81 * checks are made. No field type compatibility checks are made. It is
83 * in 'field' wil
91 set(int offset, Field_info field) argument
[all...]
/external/protobuf/objectivec/
H A DGPBRootObject_PackagePrivate.h40 + (void)globallyRegisterExtension:(GPBExtensionDescriptor *)field;
/external/clang/test/CodeGenCXX/
H A Dskip-vtable-pointer-initialization.cpp49 Field field; member in struct:Test3::A
75 Field field; member in struct:Test4::A
99 Field field; member in struct:Test5::A
127 Field field; member in struct:Test6::A
153 Field field; member in struct:Test7::A
179 Field field; member in struct:Test8::A
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
H A DDateTimeStyleSet.java48 protected void handleParseValue(FieldsSet inheritFrom, int field, String substr) { argument
50 parseValueEnum(DebugUtilitiesData.UDateFormatStyle, inheritFrom, field, substr.substring(kRELATIVE_.length()));
51 if(isSet(field)) {
52 set(field, get(field) | DateFormat.RELATIVE);
55 parseValueEnum(DebugUtilitiesData.UDateFormatStyle, inheritFrom, field, substr);
65 throw new IllegalArgumentException("Bad field: " + name);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DDateTimeStyleSet.java47 protected void handleParseValue(FieldsSet inheritFrom, int field, String substr) { argument
49 parseValueEnum(DebugUtilitiesData.UDateFormatStyle, inheritFrom, field, substr.substring(kRELATIVE_.length()));
50 if(isSet(field)) {
51 set(field, get(field) | DateFormat.RELATIVE);
54 parseValueEnum(DebugUtilitiesData.UDateFormatStyle, inheritFrom, field, substr);
64 throw new IllegalArgumentException("Bad field: " + name);
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/
H A DSpyOnInjectedFieldsHandler.java21 * Handler for field annotated with @InjectMocks and @Spy.
24 * The handler assumes that field initialization AND injection already happened.
25 * So if the field is still null, then nothing will happen there.
31 protected boolean processInjection(Field field, Object fieldOwner, Set<Object> mockCandidates) { argument
32 FieldReader fieldReader = new FieldReader(fieldOwner, field);
35 if(!fieldReader.isNull() && field.isAnnotationPresent(Spy.class)) {
46 .name(field.getName()));
47 setField(fieldOwner, field, mock);
50 throw new MockitoException("Problems initiating spied field " + field
[all...]
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/scanner/
H A DInjectMocksScanner.java19 * Scan field for injection.
52 for (Field field : fields) {
53 if (null != field.getAnnotation(InjectMocks.class)) {
54 assertNoAnnotations(field, Mock.class, Captor.class);
55 mockDependentFields.add(field);
62 private static void assertNoAnnotations(Field field, Class<? extends Annotation>... annotations) { argument
64 if (field.isAnnotationPresent(annotation)) {
/external/mockito/src/main/java/org/mockito/internal/util/reflection/
H A DBeanPropertySetter.java21 private final Field field; field in class:BeanPropertySetter
26 * @param propertyField The field that should be accessed with the setter
30 this.field = propertyField;
56 writeMethod = target.getClass().getMethod(setterName(field.getName()), field.getType());
64 throw new RuntimeException("Access not authorized on field '" + field + "' of object '" + target + "' with value: '" + value + "'", e);
78 * Retrieve the setter name from the field name.
94 throw new RuntimeException("Problems setting value on object: [" + target + "] for property : [" + field.getName() + "], setter not found");
/external/mockito/src/test/java/org/mockitousage/configuration/
H A DCustomizedAnnotationForSmartMockTest.java45 for (Field field : clazz.getDeclaredFields()) {
46 if (field.isAnnotationPresent(SmartMock.class)) {
47 field.setAccessible(true);
49 field.set(Modifier.isStatic(field.getModifiers()) ? null : testClassInstance, Mockito.mock(field.getType(), Mockito.RETURNS_SMART_NULLS));
/external/nanopb-c/examples/using_union_messages/
H A Dencode.c14 * field tag before the message. The pointer to MsgType_fields array is
19 const pb_field_t *field; local
20 for (field = UnionMessage_fields; field->tag != 0; field++)
22 if (field->ptr == messagetype)
24 /* This is our field, encode the message using it. */
25 if (!pb_encode_tag_for_field(stream, field))
32 /* Didn't find the field for messagetype */
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
H A DFieldMaskTree.java46 * a field path in the FieldMask.
87 * Adds a field path to the tree. In a FieldMask, every field path matches the
88 * specified field as well as all its sub-fields. For example, a field path
89 * "foo.bar" matches field "foo.bar" and also "foo.bar.baz", etc. When adding
90 * a field path to the tree, redundant sub-paths will be removed. That is,
93 * Likewise, if the field path to add is a sub-path of an existing leaf node,
125 * Merges all field paths in a FieldMask into this tree.
144 /** Gathers all field path
[all...]
/external/webrtc/webrtc/libjingle/xmpp/
H A Dmucroomdiscoverytask.cc56 for (const XmlElement* field = data_x->FirstNamed(QN_XDATA_FIELD);
57 field != NULL; field = field->NextNamed(QN_XDATA_FIELD)) {
58 const std::string key(field->Attr(QN_VAR));
59 extended_info[key] = field->Attr(QN_XDATA_VALUE);
/external/desugar/java/com/google/devtools/common/options/
H A DIsolatedOptionsData.java64 /** Mapping from each Option-annotated field to the default value for that field. */
69 * Mapping from each Option-annotated field to the proper converter.
76 * Mapping from each Option-annotated field to a boolean for whether that field allows multiple
135 public Object getDefaultValue(Field field) { argument
136 return optionDefaults.get(field);
139 public Converter<?> getConverter(Field field) { argument
140 return converters.get(field);
143 public boolean getAllowMultiple(Field field) { argument
152 getFieldSingularType(Field field, Option annotation) argument
173 isBooleanField(Field field) argument
180 isVoidField(Field field) argument
[all...]
/external/autotest/frontend/client/src/autotest/tko/
H A DHeaderSelect.java41 for (HeaderField field : headerFields) {
42 if (field.isUserSelectable()) {
43 multiListSelect.addItem(field.getItem());
85 for (HeaderField field : fields) {
86 Item item = field.getItem();
90 fieldNames.add(field.getName());
99 public void setSelectedItem(HeaderField field) { argument
100 setSelectedItems(Arrays.asList(new HeaderField[] {field}));
103 public void selectItemInView(HeaderField field) { argument
105 if (!fields.contains(field)) {
111 deselectItemInView(HeaderField field) argument
[all...]
H A DParameterizedFieldListPresenter.java74 ParameterizedField field = createField(type, value);
75 if (fieldIds.contains(field.getIdentifier())) {
76 NotifyManager.getInstance().showError("This field already exists: " + field.getName());
80 addField(field);
89 private void addField(final ParameterizedField field) { argument
90 headerFields.add(field);
92 Display.FieldWidget fieldWidget = display.addFieldWidget(field.getName(),
93 field.getFilteringName());
94 fieldInputMap.put(field, fieldWidge
113 deleteField(ParameterizedField field) argument
[all...]
/external/protobuf/src/google/protobuf/compiler/java/
H A Djava_context.cc71 *info = "both repeated field \"" + field1->name() + "\" and singular " +
72 "field \"" + field2->name() + "\" generates the method \"" +
77 *info = "both repeated field \"" + field1->name() + "\" and singular " +
78 "field \"" + field2->name() + "\" generates the method \"" +
113 fields.push_back(message->field(i));
128 // Find out all fields that conflict with some other field in the same
133 const FieldDescriptor* field = fields[i]; local
134 const string& name = UnderscoresToCapitalizedCamelCase(field);
141 "capitalized name of field \"" + field
155 const FieldDescriptor* field = fields[i]; local
[all...]
/external/libchrome/base/json/
H A Djson_value_converter.h54 // for an int field. Do not report failures for missing fields.
58 // For nested field, the internal message also has to implement the registration
69 // For repeated field, we just assume ScopedVector for its container
114 virtual bool Convert(const base::Value& value, FieldType* field) const = 0;
121 FieldType StructType::* field,
124 field_pointer_(field),
146 bool Convert(const base::Value& value, int* field) const override;
158 bool Convert(const base::Value& value, std::string* field) const override;
170 bool Convert(const base::Value& value, string16* field) const override;
181 bool Convert(const base::Value& value, double* field) cons
120 FieldConverter(const std::string& path, FieldType StructType::* field, ValueConverter<FieldType>* converter) argument
366 RegisterIntField(const std::string& field_name, int StructType::* field) argument
372 RegisterStringField(const std::string& field_name, std::string StructType::* field) argument
378 RegisterStringField(const std::string& field_name, string16 StructType::* field) argument
384 RegisterBoolField(const std::string& field_name, bool StructType::* field) argument
390 RegisterDoubleField(const std::string& field_name, double StructType::* field) argument
397 RegisterNestedField( const std::string& field_name, NestedType StructType::* field) argument
406 RegisterCustomField( const std::string& field_name, FieldType StructType::* field, bool (*convert_func)(const StringPiece&, FieldType*)) argument
417 RegisterCustomValueField( const std::string& field_name, FieldType StructType::* field, bool (*convert_func)(const base::Value*, FieldType*)) argument
427 RegisterRepeatedInt(const std::string& field_name, ScopedVector<int> StructType::* field) argument
434 RegisterRepeatedString(const std::string& field_name, ScopedVector<std::string> StructType::* field) argument
443 RegisterRepeatedString(const std::string& field_name, ScopedVector<string16> StructType::* field) argument
452 RegisterRepeatedDouble(const std::string& field_name, ScopedVector<double> StructType::* field) argument
459 RegisterRepeatedBool(const std::string& field_name, ScopedVector<bool> StructType::* field) argument
467 RegisterRepeatedCustomValue( const std::string& field_name, ScopedVector<NestedType> StructType::* field, bool (*convert_func)(const base::Value*, NestedType*)) argument
480 RegisterRepeatedMessage(const std::string& field_name, ScopedVector<NestedType> StructType::* field) argument
497 const base::Value* field = NULL; local
[all...]
/external/toolchain-utils/crosperf/
H A Dexperiment_file.py74 """Parse a key/value field."""
97 field = self._ParseField(reader)
98 settings.SetField(field[0], field[1], field[2])
122 field = self._ParseField(reader)
123 self.global_settings.SetField(field[0], field[1], field[2])
135 field
[all...]

Completed in 930 milliseconds

1234567891011>>