Home
last modified time | relevance | path

Searched refs:Field (Results 1 – 25 of 718) sorted by relevance

12345678910>>...29

/external/protobuf/src/google/protobuf/util/
Dtype_resolver_util_test.cc57 using google::protobuf::Field;
70 const Field* FindField(const Type& type, const string& name) { in FindField()
72 const Field& field = type.fields(i); in FindField()
84 bool HasField(const Type& type, Field::Cardinality cardinality, in HasField()
85 Field::Kind kind, const string& name, int number) { in HasField()
86 const Field* field = FindField(type, name); in HasField()
96 const Field* field = FindField(type, name); in CheckFieldTypeUrl()
105 const Field* field = FindField(type, name); in FieldInOneof()
114 const Field* field = FindField(type, name); in IsPacked()
164 EXPECT_TRUE(HasField(type, Field::CARDINALITY_OPTIONAL, in TEST_F()
[all …]
/external/protobuf/src/google/protobuf/
Dreflection_internal.h48 virtual Iterator* BeginIterator(const Field* data) const { in BeginIterator()
51 virtual Iterator* EndIterator(const Field* data) const { in EndIterator()
54 virtual Iterator* CopyIterator(const Field* data, in CopyIterator()
58 virtual Iterator* AdvanceIterator(const Field* data, in AdvanceIterator()
62 virtual bool EqualsIterator(const Field* data, in EqualsIterator()
67 virtual void DeleteIterator(const Field* data, Iterator* iterator) const { in DeleteIterator()
69 virtual const Value* GetIteratorValue(const Field* data, in GetIteratorValue()
92 virtual bool IsEmpty(const Field* data) const { in IsEmpty()
95 virtual int Size(const Field* data) const { in Size()
98 virtual const Value* Get(const Field* data, int index, in Get()
[all …]
Dtype.pb.cc75 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Field, kind_), in protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto()
76 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Field, cardinality_), in protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto()
77 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Field, number_), in protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto()
78 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Field, name_), in protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto()
79 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Field, type_url_), in protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto()
80 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Field, oneof_index_), in protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto()
81 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Field, packed_), in protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto()
82 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Field, options_), in protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto()
83 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Field, json_name_), in protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto()
84 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Field, default_value_), in protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto()
[all …]
Drepeated_field_reflection.h74 typedef void Field; typedef
79 virtual bool IsEmpty(const Field* data) const = 0;
80 virtual int Size(const Field* data) const = 0;
87 const Field* data, int index, Value* scratch_space) const = 0;
89 virtual void Clear(Field* data) const = 0;
90 virtual void Set(Field* data, int index, const Value* value) const = 0;
91 virtual void Add(Field* data, const Value* value) const = 0;
92 virtual void RemoveLast(Field* data) const = 0;
93 virtual void SwapElements(Field* data, int index1, int index2) const = 0;
94 virtual void Swap(Field* data, const RepeatedFieldAccessor* other_mutator,
[all …]
Dtype.proto50 repeated Field fields = 2;
62 message Field { message
65 // Field type unknown.
67 // Field type double.
69 // Field type float.
71 // Field type int64.
73 // Field type uint64.
75 // Field type int32.
77 // Field type fixed64.
79 // Field type fixed32.
[all …]
/external/pdfium/fpdfsdk/javascript/
DField.h75 class Field : public CJS_EmbedObj {
77 explicit Field(CJS_Object* pJSObject);
78 ~Field() override;
517 JS_STATIC_PROP(alignment, Field);
518 JS_STATIC_PROP(borderStyle, Field);
519 JS_STATIC_PROP(buttonAlignX, Field);
520 JS_STATIC_PROP(buttonAlignY, Field);
521 JS_STATIC_PROP(buttonFitBounds, Field);
522 JS_STATIC_PROP(buttonPosition, Field);
523 JS_STATIC_PROP(buttonScaleHow, Field);
[all …]
DField.cpp164 IMPLEMENT_JS_CLASS(CJS_Field, Field) in IMPLEMENT_JS_CLASS() argument
176 Field::Field(CJS_Object* pJSObject) in Field() function in Field
184 Field::~Field() {} in ~Field()
187 void Field::ParseFieldName(const std::wstring& strFieldNameParsed, in ParseFieldName()
213 bool Field::AttachField(Document* pDocument, in AttachField()
244 std::vector<CPDF_FormField*> Field::GetFormFields( in GetFormFields()
257 std::vector<CPDF_FormField*> Field::GetFormFields( in GetFormFields()
259 return Field::GetFormFields(m_pFormFillEnv.Get(), csFieldName); in GetFormFields()
262 void Field::UpdateFormField(CPDFSDK_FormFillEnvironment* pFormFillEnv, in UpdateFormField()
319 void Field::UpdateFormControl(CPDFSDK_FormFillEnvironment* pFormFillEnv, in UpdateFormControl()
[all …]
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DDateFormat.java1665 public static class Field extends Format.Field { class in DateFormat
1673 private static final Field[] CAL_FIELDS;
1676 private static final Map<String, Field> FIELD_NAME_MAP;
1681 CAL_FIELDS = new Field[CAL_FIELD_COUNT];
1682 FIELD_NAME_MAP = new HashMap<String, Field>(CAL_FIELD_COUNT);
1691 public static final Field AM_PM = new Field("am pm", Calendar.AM_PM);
1697 public static final Field DAY_OF_MONTH = new Field("day of month", Calendar.DAY_OF_MONTH);
1703 public static final Field DAY_OF_WEEK = new Field("day of week", Calendar.DAY_OF_WEEK);
1709 public static final Field DAY_OF_WEEK_IN_MONTH =
1710 new Field("day of week in month", Calendar.DAY_OF_WEEK_IN_MONTH);
[all …]
DSimpleDateFormat.java492 if (attr.equals(java.text.DateFormat.Field.AM_PM)) { in formatToCharacterIterator()
493 val = attr = Field.AM_PM; in formatToCharacterIterator()
494 } else if (attr.equals(java.text.DateFormat.Field.DAY_OF_MONTH)) { in formatToCharacterIterator()
495 val = attr = Field.DAY_OF_MONTH; in formatToCharacterIterator()
496 } else if (attr.equals(java.text.DateFormat.Field.DAY_OF_WEEK)) { in formatToCharacterIterator()
497 val = attr = Field.DAY_OF_WEEK ; in formatToCharacterIterator()
498 } else if (attr.equals(java.text.DateFormat.Field.DAY_OF_WEEK_IN_MONTH)) { in formatToCharacterIterator()
499 val = attr = Field.DAY_OF_WEEK_IN_MONTH ; in formatToCharacterIterator()
500 } else if (attr.equals(java.text.DateFormat.Field.DAY_OF_YEAR)) { in formatToCharacterIterator()
501 val = attr = Field.DAY_OF_YEAR; in formatToCharacterIterator()
[all …]
DNumberFormat.java1162 public static class Field extends Format.Field { class in NumberFormat
1169 public static final Field SIGN = new Field("sign");
1174 public static final Field INTEGER = new Field("integer");
1179 public static final Field FRACTION = new Field("fraction");
1184 public static final Field EXPONENT = new Field("exponent");
1189 public static final Field EXPONENT_SIGN = new Field("exponent sign");
1194 public static final Field EXPONENT_SYMBOL = new Field("exponent symbol");
1199 public static final Field DECIMAL_SEPARATOR = new Field("decimal separator");
1203 public static final Field GROUPING_SEPARATOR = new Field("grouping separator");
1208 public static final Field PERCENT = new Field("percent");
[all …]
DDecimalFormat.java1482 if (attr.equals(java.text.NumberFormat.Field.CURRENCY)) { in formatToCharacterIterator()
1483 val = attr = Field.CURRENCY; in formatToCharacterIterator()
1484 } else if (attr.equals(java.text.NumberFormat.Field.DECIMAL_SEPARATOR)) { in formatToCharacterIterator()
1485 val = attr = Field.DECIMAL_SEPARATOR; in formatToCharacterIterator()
1486 } else if (attr.equals(java.text.NumberFormat.Field.EXPONENT)) { in formatToCharacterIterator()
1487 val = attr = Field.EXPONENT; in formatToCharacterIterator()
1488 } else if (attr.equals(java.text.NumberFormat.Field.EXPONENT_SIGN)) { in formatToCharacterIterator()
1489 val = attr = Field.EXPONENT_SIGN; in formatToCharacterIterator()
1490 } else if (attr.equals(java.text.NumberFormat.Field.EXPONENT_SYMBOL)) { in formatToCharacterIterator()
1491 val = attr = Field.EXPONENT_SYMBOL; in formatToCharacterIterator()
[all …]
/external/clang/test/CodeGenCXX/
Dskip-vtable-pointer-initialization.cpp41 struct Field { struct
42 ~Field() { } in ~Field() argument
49 Field field;
67 struct Field { struct
68 ~Field() { f(); } in ~Field() argument
75 Field field;
91 struct Field { struct
92 ~Field();
99 Field field;
119 struct Field { struct
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateFormat.java2274 public static class Field extends Format.Field { class in DateFormat
2282 private static final Field[] CAL_FIELDS;
2285 private static final Map<String, Field> FIELD_NAME_MAP;
2290 CAL_FIELDS = new Field[CAL_FIELD_COUNT];
2291 FIELD_NAME_MAP = new HashMap<String, Field>(CAL_FIELD_COUNT);
2300 public static final Field AM_PM = new Field("am pm", Calendar.AM_PM);
2306 public static final Field DAY_OF_MONTH = new Field("day of month", Calendar.DAY_OF_MONTH);
2312 public static final Field DAY_OF_WEEK = new Field("day of week", Calendar.DAY_OF_WEEK);
2318 public static final Field DAY_OF_WEEK_IN_MONTH =
2319 new Field("day of week in month", Calendar.DAY_OF_WEEK_IN_MONTH);
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateFormat.java2112 public static class Field extends Format.Field { class in DateFormat
2120 private static final Field[] CAL_FIELDS;
2123 private static final Map<String, Field> FIELD_NAME_MAP;
2128 CAL_FIELDS = new Field[CAL_FIELD_COUNT];
2129 FIELD_NAME_MAP = new HashMap<String, Field>(CAL_FIELD_COUNT);
2137 public static final Field AM_PM = new Field("am pm", Calendar.AM_PM);
2142 public static final Field DAY_OF_MONTH = new Field("day of month", Calendar.DAY_OF_MONTH);
2147 public static final Field DAY_OF_WEEK = new Field("day of week", Calendar.DAY_OF_WEEK);
2152 public static final Field DAY_OF_WEEK_IN_MONTH =
2153 new Field("day of week in month", Calendar.DAY_OF_WEEK_IN_MONTH);
[all …]
/external/desugar/java/com/google/devtools/common/options/
DIsolatedOptionsData.java22 import java.lang.reflect.Field;
64 private final ImmutableMap<String, Field> nameToField;
67 private final ImmutableMap<Character, Field> abbrevToField;
73 private final ImmutableMap<Class<? extends OptionsBase>, ImmutableList<Field>> allOptionsFields;
82 private final Map<Field, Object> optionDefaults;
89 private final ImmutableMap<Field, Converter<?>> converters;
95 private final ImmutableMap<Field, Boolean> allowMultiple;
110 Map<String, Field> nameToField, in IsolatedOptionsData()
111 Map<Character, Field> abbrevToField, in IsolatedOptionsData()
112 Map<Class<? extends OptionsBase>, ImmutableList<Field>> allOptionsFields, in IsolatedOptionsData()
[all …]
/external/mockito/src/test/java/org/mockito/internal/util/reflection/
DSuperTypesLastSorterTest.java5 import java.lang.reflect.Field;
17 private static Comparator<Field> cmp = new Comparator<Field>() {
18 public int compare(Field o1, Field o2) {
23 List<Field> l = sortSuperTypesLast(Arrays.asList(o1, o2));
64 List<Field> unsortedFields = Arrays.asList( in using_Collections_dot_sort()
73 List<Field> sortedFields = sortSuperTypesLast(unsortedFields); in using_Collections_dot_sort()
88 List<Field> unsortedFields = Arrays.asList( in issue_352_order_was_different_between_JDK6_and_JDK7()
115 private static void assertSortConsistently(Field a, Field b, Field c) { in assertSortConsistently()
116 Field[][] initialOrderings = { in assertSortConsistently()
125 Set<List<Field>> results = new HashSet<List<Field>>(); in assertSortConsistently()
[all …]
/external/llvm/lib/Target/SystemZ/Disassembler/
DSystemZDisassembler.cpp268 static DecodeStatus decodeBDAddr12Operand(MCInst &Inst, uint64_t Field, in decodeBDAddr12Operand() argument
270 uint64_t Base = Field >> 12; in decodeBDAddr12Operand()
271 uint64_t Disp = Field & 0xfff; in decodeBDAddr12Operand()
278 static DecodeStatus decodeBDAddr20Operand(MCInst &Inst, uint64_t Field, in decodeBDAddr20Operand() argument
280 uint64_t Base = Field >> 20; in decodeBDAddr20Operand()
281 uint64_t Disp = ((Field << 12) & 0xff000) | ((Field >> 8) & 0xfff); in decodeBDAddr20Operand()
288 static DecodeStatus decodeBDXAddr12Operand(MCInst &Inst, uint64_t Field, in decodeBDXAddr12Operand() argument
290 uint64_t Index = Field >> 16; in decodeBDXAddr12Operand()
291 uint64_t Base = (Field >> 12) & 0xf; in decodeBDXAddr12Operand()
292 uint64_t Disp = Field & 0xfff; in decodeBDXAddr12Operand()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/reflection/
DReflectionClassDef.java43 import org.jf.dexlib2.iface.Field;
104 @Nonnull @Override public Iterable<? extends Field> getStaticFields() {
105 return new Iterable<Field>() {
106 @Nonnull @Override public Iterator<Field> iterator() {
107 Iterator<java.lang.reflect.Field> staticFields = Iterators.filter(
109 new Predicate<java.lang.reflect.Field>() {
110 … @Override public boolean apply(@Nullable java.lang.reflect.Field input) {
116 new Function<java.lang.reflect.Field, Field>() {
117 … @Nullable @Override public Field apply(@Nullable java.lang.reflect.Field input) {
126 @Nonnull @Override public Iterable<? extends Field> getInstanceFields() {
[all …]
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DSimpleDateFormatICU.java319 if (icuAttribute == DateFormat.Field.AM_PM) { in mapAttribute()
320 jdkAttribute = java.text.DateFormat.Field.AM_PM; in mapAttribute()
321 } else if (icuAttribute == DateFormat.Field.DAY_OF_MONTH) { in mapAttribute()
322 jdkAttribute = java.text.DateFormat.Field.DAY_OF_MONTH; in mapAttribute()
323 } else if (icuAttribute == DateFormat.Field.DAY_OF_WEEK) { in mapAttribute()
324 jdkAttribute = java.text.DateFormat.Field.DAY_OF_WEEK; in mapAttribute()
325 } else if (icuAttribute == DateFormat.Field.DAY_OF_WEEK_IN_MONTH) { in mapAttribute()
326 jdkAttribute = java.text.DateFormat.Field.DAY_OF_WEEK_IN_MONTH; in mapAttribute()
327 } else if (icuAttribute == DateFormat.Field.DAY_OF_YEAR) { in mapAttribute()
328 jdkAttribute = java.text.DateFormat.Field.DAY_OF_YEAR; in mapAttribute()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DIntlTestDecimalFormatAPIC.java359 v.add(new FieldContainer(0, 3, NumberFormat.Field.INTEGER)); in getNumberVectorUS()
360 v.add(new FieldContainer(3, 4, NumberFormat.Field.DECIMAL_SEPARATOR)); in getNumberVectorUS()
361 v.add(new FieldContainer(4, 6, NumberFormat.Field.FRACTION)); in getNumberVectorUS()
382 v.add(new FieldContainer(0, 1, NumberFormat.Field.CURRENCY)); in getPositiveCurrencyVectorUS()
383 v.add(new FieldContainer(1, 4, NumberFormat.Field.INTEGER)); in getPositiveCurrencyVectorUS()
384 v.add(new FieldContainer(4, 5, NumberFormat.Field.DECIMAL_SEPARATOR)); in getPositiveCurrencyVectorUS()
385 v.add(new FieldContainer(5, 7, NumberFormat.Field.FRACTION)); in getPositiveCurrencyVectorUS()
392 v.add(new FieldContainer(0, 1, NumberFormat.Field.SIGN)); in getNegativeCurrencyVectorUS()
393 v.add(new FieldContainer(1, 2, NumberFormat.Field.CURRENCY)); in getNegativeCurrencyVectorUS()
394 v.add(new FieldContainer(2, 5, NumberFormat.Field.INTEGER)); in getNegativeCurrencyVectorUS()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDecimalFormatAPIC.java358 v.add(new FieldContainer(0, 3, NumberFormat.Field.INTEGER)); in getNumberVectorUS()
359 v.add(new FieldContainer(3, 4, NumberFormat.Field.DECIMAL_SEPARATOR)); in getNumberVectorUS()
360 v.add(new FieldContainer(4, 6, NumberFormat.Field.FRACTION)); in getNumberVectorUS()
381 v.add(new FieldContainer(0, 1, NumberFormat.Field.CURRENCY)); in getPositiveCurrencyVectorUS()
382 v.add(new FieldContainer(1, 4, NumberFormat.Field.INTEGER)); in getPositiveCurrencyVectorUS()
383 v.add(new FieldContainer(4, 5, NumberFormat.Field.DECIMAL_SEPARATOR)); in getPositiveCurrencyVectorUS()
384 v.add(new FieldContainer(5, 7, NumberFormat.Field.FRACTION)); in getPositiveCurrencyVectorUS()
391 v.add(new FieldContainer(0, 1, NumberFormat.Field.SIGN)); in getNegativeCurrencyVectorUS()
392 v.add(new FieldContainer(1, 2, NumberFormat.Field.CURRENCY)); in getNegativeCurrencyVectorUS()
393 v.add(new FieldContainer(2, 5, NumberFormat.Field.INTEGER)); in getNegativeCurrencyVectorUS()
[all …]
/external/mockito/src/main/java/org/mockito/internal/util/reflection/
DSuperTypesLastSorter.java8 import java.lang.reflect.Field;
28 public static List<Field> sortSuperTypesLast(Collection<? extends Field> unsortedFields) { in sortSuperTypesLast()
29 List<Field> fields = new ArrayList<Field>(unsortedFields); in sortSuperTypesLast()
36 Field f = fields.get(i); in sortSuperTypesLast()
59 private static final Comparator<Field> compareFieldsByName = new Comparator<Field>() {
61 public int compare(Field o1, Field o2) {
/external/clang/lib/CodeGen/
DCGRecordLayoutBuilder.cpp80 enum InfoKind { VFPtr, VBPtr, Field, Base, VBase, Scissor } Kind; enumerator
100 return MemberInfo(Offset, MemberInfo::Field, Data); in StorageInfo()
175 void accumulateBitFields(RecordDecl::field_iterator Field,
295 for (const auto *Field : D->fields()) { in lowerUnion() local
296 if (Field->isBitField()) { in lowerUnion()
298 if (Field->getBitWidthValue(Context) == 0) in lowerUnion()
300 llvm::Type *FieldType = getStorageType(Field); in lowerUnion()
303 setBitFieldInfo(Field, CharUnits::Zero(), FieldType); in lowerUnion()
305 Fields[Field->getCanonicalDecl()] = 0; in lowerUnion()
306 llvm::Type *FieldType = getStorageType(Field); in lowerUnion()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DFieldUtil.java36 import org.jf.dexlib2.iface.Field;
42 public static Predicate<Field> FIELD_IS_STATIC = new Predicate<Field>() {
43 @Override public boolean apply(@Nullable Field input) {
48 public static Predicate<Field> FIELD_IS_INSTANCE = new Predicate<Field>() {
49 @Override public boolean apply(@Nullable Field input) {
54 public static boolean isStatic(@Nonnull Field field) { in isStatic()
/external/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitcodeHeader.cpp209 NaClBitcodeHeaderField *Field = new NaClBitcodeHeaderField(); in ReadFields() local
210 Fields.push_back(Field); in ReadFields()
211 if (!Field->Read(BufPtr, BufEnd - BufPtr)) in ReadFields()
213 size_t FieldSize = Field->GetTotalSize(); in ReadFields()
301 auto ReportProblemWithContents = [&](NaClBitcodeHeaderField *Field, in InstallFields()
304 UnsupportedMessage.append(Field->Contents()); in InstallFields()
310 NaClBitcodeHeaderField *Field = GetField(i); in InstallFields() local
311 if (!FieldIDs.insert(Field->GetID()).second) { in InstallFields()
313 UnsupportedMessage.append(Field->IDName()); in InstallFields()
317 NaClBitcodeHeaderField::FieldType ExpectedTy = ExpectedType[Field->GetID()]; in InstallFields()
[all …]

12345678910>>...29