Home
last modified time | relevance | path

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

12345678910>>...21

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DComputeLayoutMemoryBufferTests.cpp76 struct Field { struct
87 Field& PaddedSize(uint32_t value) { in PaddedSize() argument
95 Field& Strided() { in Strided() argument
102 Field& StorageBufferOnly() { in StorageBufferOnly() argument
126 std::ostream& operator<<(std::ostream& o, Field field) { in operator <<()
132 DAWN_TEST_PARAM_STRUCT(ComputeLayoutMemoryBufferTestParams, StorageClass, Field);
166 const Field& field = GetParam().mField; in TEST_P()
361 Field{"i32", /* align */ 4, /* size */ 4}, in GenerateParams()
362 Field{"u32", /* align */ 4, /* size */ 4}, in GenerateParams()
363 Field{"f32", /* align */ 4, /* size */ 4}, in GenerateParams()
[all …]
/third_party/protobuf/src/google/protobuf/util/
Dtype_resolver_util_test.cc56 using google::protobuf::Field;
71 const Field* FindField(const Type& type, const std::string& name) { in FindField()
73 const Field& field = type.fields(i); in FindField()
81 bool HasField(const Type& type, Field::Cardinality cardinality, in HasField()
82 Field::Kind kind, const std::string& name, int number) { in HasField()
83 const Field* field = FindField(type, name); in HasField()
93 const Field* field = FindField(type, name); in CheckFieldTypeUrl()
102 const Field* field = FindField(type, name); in FieldInOneof()
111 const Field* field = FindField(type, name); in IsPacked()
181 EXPECT_TRUE(HasField(type, Field::CARDINALITY_OPTIONAL, Field::TYPE_INT32, in TEST_F()
[all …]
/third_party/protobuf/src/google/protobuf/
Dreflection_internal.h46 Iterator* BeginIterator(const Field* data) const override { in BeginIterator()
49 Iterator* EndIterator(const Field* data) const override { in EndIterator()
52 Iterator* CopyIterator(const Field* data, in CopyIterator()
56 Iterator* AdvanceIterator(const Field* data, in AdvanceIterator()
60 bool EqualsIterator(const Field* data, const Iterator* a, in EqualsIterator()
64 void DeleteIterator(const Field* data, Iterator* iterator) const override {} in DeleteIterator()
65 const Value* GetIteratorValue(const Field* data, const Iterator* iterator, in GetIteratorValue()
89 bool IsEmpty(const Field* data) const override { in IsEmpty()
92 int Size(const Field* data) const override { in Size()
95 const Value* Get(const Field* data, int index, in Get()
[all …]
Dtype.pb.h67 class Field; variable
80 …late<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Field* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_…
308 PROTOBUF_NAMESPACE_ID::Field* mutable_fields(int index);
309 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Field >*
312 const PROTOBUF_NAMESPACE_ID::Field& _internal_fields(int index) const;
313 PROTOBUF_NAMESPACE_ID::Field* _internal_add_fields();
315 const PROTOBUF_NAMESPACE_ID::Field& fields(int index) const;
316 PROTOBUF_NAMESPACE_ID::Field* add_fields();
317 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Field >&
412 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Field > fields_;
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dformatted_string_builder.h59 struct U_I18N_API Field { struct
62 Field() = default; argument
63 constexpr Field(uint8_t category, uint8_t field);
69 inline bool operator==(const Field& other) const;
70 inline bool operator!=(const Field& other) const;
85 inline Field fieldAt(int32_t index) const { in fieldAt()
102 inline int32_t appendChar16(char16_t codeUnit, Field field, UErrorCode& status) { in appendChar16()
108 inline int32_t insertChar16(int32_t index, char16_t codeUnit, Field field, UErrorCode& status) { in insertChar16()
114 inline int32_t appendCodePoint(UChar32 codePoint, Field field, UErrorCode &status) { in appendCodePoint()
119 int32_t insertCodePoint(int32_t index, UChar32 codePoint, Field field, UErrorCode &status);
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dformatted_string_builder.h59 struct U_I18N_API Field { struct
62 Field() = default; argument
63 constexpr Field(uint8_t category, uint8_t field);
69 inline bool operator==(const Field& other) const;
70 inline bool operator!=(const Field& other) const;
85 inline Field fieldAt(int32_t index) const { in fieldAt()
102 inline int32_t appendChar16(char16_t codeUnit, Field field, UErrorCode& status) { in appendChar16()
108 inline int32_t insertChar16(int32_t index, char16_t codeUnit, Field field, UErrorCode& status) { in insertChar16()
114 inline int32_t appendCodePoint(UChar32 codePoint, Field field, UErrorCode &status) { in appendCodePoint()
119 int32_t insertCodePoint(int32_t index, UChar32 codePoint, Field field, UErrorCode &status);
[all …]
/third_party/icu/icu4c/source/i18n/
Dformatted_string_builder.h59 struct U_I18N_API Field { struct
62 Field() = default; argument
63 constexpr Field(uint8_t category, uint8_t field);
69 inline bool operator==(const Field& other) const;
70 inline bool operator!=(const Field& other) const;
85 inline Field fieldAt(int32_t index) const { in fieldAt()
102 inline int32_t appendChar16(char16_t codeUnit, Field field, UErrorCode& status) { in appendChar16()
108 inline int32_t insertChar16(int32_t index, char16_t codeUnit, Field field, UErrorCode& status) { in insertChar16()
114 inline int32_t appendCodePoint(UChar32 codePoint, Field field, UErrorCode &status) { in appendCodePoint()
119 int32_t insertCodePoint(int32_t index, UChar32 codePoint, Field field, UErrorCode &status);
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DDateFormat.java2179 public static class Field extends Format.Field { class in DateFormat
2187 private static final Field[] CAL_FIELDS;
2190 private static final Map<String, Field> FIELD_NAME_MAP;
2195 CAL_FIELDS = new Field[CAL_FIELD_COUNT];
2196 FIELD_NAME_MAP = new HashMap<String, Field>(CAL_FIELD_COUNT);
2204 public static final Field AM_PM = new Field("am pm", Calendar.AM_PM);
2209 public static final Field DAY_OF_MONTH = new Field("day of month", Calendar.DAY_OF_MONTH);
2214 public static final Field DAY_OF_WEEK = new Field("day of week", Calendar.DAY_OF_WEEK);
2219 public static final Field DAY_OF_WEEK_IN_MONTH =
2220 new Field("day of week in month", Calendar.DAY_OF_WEEK_IN_MONTH);
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateFormat.java2338 public static class Field extends Format.Field { class in DateFormat
2346 private static final Field[] CAL_FIELDS;
2349 private static final Map<String, Field> FIELD_NAME_MAP;
2354 CAL_FIELDS = new Field[CAL_FIELD_COUNT];
2364 public static final Field AM_PM = new Field("am pm", Calendar.AM_PM);
2370 public static final Field DAY_OF_MONTH = new Field("day of month", Calendar.DAY_OF_MONTH);
2376 public static final Field DAY_OF_WEEK = new Field("day of week", Calendar.DAY_OF_WEEK);
2382 public static final Field DAY_OF_WEEK_IN_MONTH =
2383 new Field("day of week in month", Calendar.DAY_OF_WEEK_IN_MONTH);
2389 public static final Field DAY_OF_YEAR = new Field("day of year", Calendar.DAY_OF_YEAR);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/Disassembler/
DSystemZDisassembler.cpp291 static DecodeStatus decodeBDAddr12Operand(MCInst &Inst, uint64_t Field, in decodeBDAddr12Operand() argument
293 uint64_t Base = Field >> 12; in decodeBDAddr12Operand()
294 uint64_t Disp = Field & 0xfff; in decodeBDAddr12Operand()
301 static DecodeStatus decodeBDAddr20Operand(MCInst &Inst, uint64_t Field, in decodeBDAddr20Operand() argument
303 uint64_t Base = Field >> 20; in decodeBDAddr20Operand()
304 uint64_t Disp = ((Field << 12) & 0xff000) | ((Field >> 8) & 0xfff); in decodeBDAddr20Operand()
311 static DecodeStatus decodeBDXAddr12Operand(MCInst &Inst, uint64_t Field, in decodeBDXAddr12Operand() argument
313 uint64_t Index = Field >> 16; in decodeBDXAddr12Operand()
314 uint64_t Base = (Field >> 12) & 0xf; in decodeBDXAddr12Operand()
315 uint64_t Disp = Field & 0xfff; in decodeBDXAddr12Operand()
[all …]
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DUnknownFieldSetTest.java66 private UnknownFieldSet.Field getField(String name) { in getField()
78 UnknownFieldSet.Field varintField = UnknownFieldSet.Field.newBuilder().addVarint(1).build(); in getBizarroData()
79 UnknownFieldSet.Field fixed32Field = UnknownFieldSet.Field.newBuilder().addFixed32(1).build(); in getBizarroData()
81 for (Map.Entry<Integer, UnknownFieldSet.Field> entry : unknownFields.asMap().entrySet()) { in getBizarroData()
106 UnknownFieldSet.Field.Builder fieldBuilder = UnknownFieldSet.Field.newBuilder(); in testFieldBuildersAreReusable()
108 UnknownFieldSet.Field first = fieldBuilder.build(); in testFieldBuildersAreReusable()
109 UnknownFieldSet.Field second = fieldBuilder.build(); in testFieldBuildersAreReusable()
111 UnknownFieldSet.Field third = fieldBuilder.build(); in testFieldBuildersAreReusable()
119 UnknownFieldSet.Field.Builder fieldBuilder = UnknownFieldSet.Field.newBuilder(); in testClone()
131 .addField(997, UnknownFieldSet.Field.newBuilder().addVarint(99).build()) in testClone_lengthDelimited()
[all …]
/third_party/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 …]
/third_party/protobuf/js/experimental/runtime/kernel/
Dindexer_test.js17 const {Field, IndexEntry} = goog.require('protobuf.binary.field');
88 Field.encodeIndexEntry(WireType.VARINT, /* startIndex= */ 1),
89 Field.encodeIndexEntry(WireType.VARINT, /* startIndex= */ 3));
97 Field.encodeIndexEntry(WireType.VARINT, /* startIndex= */ 2));
114 Field.encodeIndexEntry(WireType.VARINT, /* startIndex= */ 1));
130 Field.encodeIndexEntry(WireType.FIXED64, /* startIndex= */ 1),
131 Field.encodeIndexEntry(WireType.FIXED64, /* startIndex= */ 10));
148 Field.encodeIndexEntry(WireType.FIXED64, /* startIndex= */ 1));
166 Field.encodeIndexEntry(WireType.FIXED64, /* startIndex= */ 1));
177 Field.encodeIndexEntry(WireType.DELIMITED, /* startIndex= */ 1),
[all …]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DFieldInfo.java36 import java.lang.reflect.Field;
41 private final Field field;
45 private final Field presenceField;
50 private final Field cachedSizeField;
65 Field field, int fieldNumber, FieldType fieldType, boolean enforceUtf8) { in forField()
90 Field field, int fieldNumber, FieldType fieldType, Field cachedSizeField) { in forPackedField()
115 Field field, int fieldNumber, FieldType fieldType, Class<?> messageClass) { in forRepeatedMessageField()
137 Field field, int fieldNumber, FieldType fieldType, EnumVerifier enumVerifier) { in forFieldWithEnumVerifier()
157 Field field, in forPackedFieldWithEnumVerifier()
161 Field cachedSizeField) { in forPackedFieldWithEnumVerifier()
[all …]
DUnknownFieldSet.java60 private final TreeMap<Integer, Field> fields;
65 UnknownFieldSet(TreeMap<Integer, Field> fields) { in UnknownFieldSet()
90 new UnknownFieldSet(new TreeMap<Integer, Field>());
111 public Map<Integer, Field> asMap() { in asMap()
112 return (Map<Integer, Field>) fields.clone(); in asMap()
121 public Field getField(int number) { in getField()
122 Field result = fields.get(number); in getField()
123 return (result == null) ? Field.getDefaultInstance() : result; in getField()
129 for (Map.Entry<Integer, Field> entry : fields.entrySet()) { in writeTo()
130 Field field = entry.getValue(); in writeTo()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DFormattedValueStringBuilderImpl.java8 import java.text.Format.Field;
35 public Field normalField;
40 public Field unwrap() { in unwrap()
78 newField.normalField = (java.text.Format.Field) oldField; in applySpanRange()
87 java.text.Format.Field rawField = fp.getFieldAttribute(); in nextFieldPosition()
92 rawField = NumberFormat.Field.INTEGER; in nextFieldPosition()
94 rawField = NumberFormat.Field.FRACTION; in nextFieldPosition()
101 if (!(rawField instanceof NumberFormat.Field)) { in nextFieldPosition()
117 if (rawField == NumberFormat.Field.FRACTION && fp.getEndIndex() == 0) { in nextFieldPosition()
121 … if (isIntOrGroup(self.fields[i]) || self.fields[i] == NumberFormat.Field.DECIMAL_SEPARATOR) { in nextFieldPosition()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DIntlTestDecimalFormatAPIC.java355 v.add(new FieldContainer(0, 3, NumberFormat.Field.INTEGER)); in getNumberVectorUS()
356 v.add(new FieldContainer(3, 4, NumberFormat.Field.DECIMAL_SEPARATOR)); in getNumberVectorUS()
357 v.add(new FieldContainer(4, 6, NumberFormat.Field.FRACTION)); in getNumberVectorUS()
378 v.add(new FieldContainer(0, 1, NumberFormat.Field.CURRENCY)); in getPositiveCurrencyVectorUS()
379 v.add(new FieldContainer(1, 4, NumberFormat.Field.INTEGER)); in getPositiveCurrencyVectorUS()
380 v.add(new FieldContainer(4, 5, NumberFormat.Field.DECIMAL_SEPARATOR)); in getPositiveCurrencyVectorUS()
381 v.add(new FieldContainer(5, 7, NumberFormat.Field.FRACTION)); in getPositiveCurrencyVectorUS()
388 v.add(new FieldContainer(0, 1, NumberFormat.Field.SIGN)); in getNegativeCurrencyVectorUS()
389 v.add(new FieldContainer(1, 2, NumberFormat.Field.CURRENCY)); in getNegativeCurrencyVectorUS()
390 v.add(new FieldContainer(2, 5, NumberFormat.Field.INTEGER)); in getNegativeCurrencyVectorUS()
[all …]
DFormattedValueTest.java14 import java.text.Format.Field;
49 cfpos.constrainField(NumberFormat.Field.COMPACT); in testSetters()
54 NumberFormat.Field.COMPACT, in testSetters()
60 cfpos.constrainFieldAndValue(NumberFormat.Field.COMPACT, 42); in testSetters()
65 NumberFormat.Field.COMPACT, in testSetters()
71 cfpos.constrainClass(NumberFormat.Field.class); in testSetters()
93 cfpos.setState(NumberFormat.Field.COMPACT, BigDecimal.ONE, 5, 10); in testSetters()
98 NumberFormat.Field.COMPACT, in testSetters()
131 Field field, in assertAllPartsEqual()
143 ((matching & 1) != 0), cfpos.matchesField(NumberFormat.Field.INTEGER, null)); in assertAllPartsEqual()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDecimalFormatAPIC.java352 v.add(new FieldContainer(0, 3, NumberFormat.Field.INTEGER)); in getNumberVectorUS()
353 v.add(new FieldContainer(3, 4, NumberFormat.Field.DECIMAL_SEPARATOR)); in getNumberVectorUS()
354 v.add(new FieldContainer(4, 6, NumberFormat.Field.FRACTION)); in getNumberVectorUS()
375 v.add(new FieldContainer(0, 1, NumberFormat.Field.CURRENCY)); in getPositiveCurrencyVectorUS()
376 v.add(new FieldContainer(1, 4, NumberFormat.Field.INTEGER)); in getPositiveCurrencyVectorUS()
377 v.add(new FieldContainer(4, 5, NumberFormat.Field.DECIMAL_SEPARATOR)); in getPositiveCurrencyVectorUS()
378 v.add(new FieldContainer(5, 7, NumberFormat.Field.FRACTION)); in getPositiveCurrencyVectorUS()
385 v.add(new FieldContainer(0, 1, NumberFormat.Field.SIGN)); in getNegativeCurrencyVectorUS()
386 v.add(new FieldContainer(1, 2, NumberFormat.Field.CURRENCY)); in getNegativeCurrencyVectorUS()
387 v.add(new FieldContainer(2, 5, NumberFormat.Field.INTEGER)); in getNegativeCurrencyVectorUS()
[all …]
DFormattedValueTest.java13 import java.text.Format.Field;
46 cfpos.constrainField(NumberFormat.Field.COMPACT); in testSetters()
51 NumberFormat.Field.COMPACT, in testSetters()
57 cfpos.constrainFieldAndValue(NumberFormat.Field.COMPACT, 42); in testSetters()
62 NumberFormat.Field.COMPACT, in testSetters()
68 cfpos.constrainClass(NumberFormat.Field.class); in testSetters()
90 cfpos.setState(NumberFormat.Field.COMPACT, BigDecimal.ONE, 5, 10); in testSetters()
95 NumberFormat.Field.COMPACT, in testSetters()
128 Field field, in assertAllPartsEqual()
140 ((matching & 1) != 0), cfpos.matchesField(NumberFormat.Field.INTEGER, null)); in assertAllPartsEqual()
[all …]
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DUnknownFieldSetTest.java59 UnknownFieldSet.Field getField(String name) { in getField()
71 UnknownFieldSet.Field varintField = in getBizarroData()
72 UnknownFieldSet.Field.newBuilder().addVarint(1).build(); in getBizarroData()
73 UnknownFieldSet.Field fixed32Field = in getBizarroData()
74 UnknownFieldSet.Field.newBuilder().addFixed32(1).build(); in getBizarroData()
76 for (Map.Entry<Integer, UnknownFieldSet.Field> entry : in getBizarroData()
102 UnknownFieldSet.Field field = getField("optional_int32"); in testVarint()
109 UnknownFieldSet.Field field = getField("optional_fixed32"); in testFixed32()
116 UnknownFieldSet.Field field = getField("optional_fixed64"); in testFixed64()
123 UnknownFieldSet.Field field = getField("optional_bytes"); in testLengthDelimited()
[all …]
/third_party/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectsource.cc78 const google::protobuf::Field* FindFieldByNumber(
82 bool IsPackable(const google::protobuf::Field& field);
92 const google::protobuf::Field& field) { in MapKeyDefaultValueAsString()
94 case google::protobuf::Field::TYPE_BOOL: in MapKeyDefaultValueAsString()
96 case google::protobuf::Field::TYPE_INT32: in MapKeyDefaultValueAsString()
97 case google::protobuf::Field::TYPE_INT64: in MapKeyDefaultValueAsString()
98 case google::protobuf::Field::TYPE_UINT32: in MapKeyDefaultValueAsString()
99 case google::protobuf::Field::TYPE_UINT64: in MapKeyDefaultValueAsString()
100 case google::protobuf::Field::TYPE_SINT32: in MapKeyDefaultValueAsString()
101 case google::protobuf::Field::TYPE_SINT64: in MapKeyDefaultValueAsString()
[all …]
Dproto_writer.cc273 std::set<const google::protobuf::Field*> GetRequiredFields( in GetRequiredFields()
275 std::set<const google::protobuf::Field*> required; in GetRequiredFields()
277 const google::protobuf::Field& field = type.fields(i); in GetRequiredFields()
278 if (field.cardinality() == google::protobuf::Field::CARDINALITY_REQUIRED) { in GetRequiredFields()
306 const google::protobuf::Field* field, in ProtoElement()
316 field->kind() == google::protobuf::Field::TYPE_MESSAGE in ProtoElement()
331 if (field->kind() == google::protobuf::Field::TYPE_MESSAGE) { in ProtoElement()
350 for (std::set<const google::protobuf::Field*>::iterator it = in pop()
381 const google::protobuf::Field* field) { in RegisterField()
383 field->cardinality() == google::protobuf::Field::CARDINALITY_REQUIRED) { in RegisterField()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DFormattedValueStringBuilderImpl.java9 import java.text.Format.Field;
38 public Field normalField;
61 java.text.Format.Field rawField = fp.getFieldAttribute(); in nextFieldPosition()
66 rawField = NumberFormat.Field.INTEGER; in nextFieldPosition()
68 rawField = NumberFormat.Field.FRACTION; in nextFieldPosition()
75 if (!(rawField instanceof NumberFormat.Field)) { in nextFieldPosition()
91 if (rawField == NumberFormat.Field.FRACTION && fp.getEndIndex() == 0) { in nextFieldPosition()
95 … if (isIntOrGroup(self.fields[i]) || self.fields[i] == NumberFormat.Field.DECIMAL_SEPARATOR) { in nextFieldPosition()
108 … AttributedCharacterIterator toCharacterIterator(FormattedStringBuilder self, Field numericField) { in toCharacterIterator()
122 static class NullField extends Field {
[all …]
/third_party/typescript/tests/baselines/reference/
DinferentialTypingUsingApparentType3.symbols2 interface Field<T> {
3 >Field : Symbol(Field, Decl(inferentialTypingUsingApparentType3.ts, 0, 0))
7 >clean : Symbol(Field.clean, Decl(inferentialTypingUsingApparentType3.ts, 0, 20))
13 class CharField implements Field<string> {
15 >Field : Symbol(Field, Decl(inferentialTypingUsingApparentType3.ts, 0, 0))
25 class NumberField implements Field<number> {
27 >Field : Symbol(Field, Decl(inferentialTypingUsingApparentType3.ts, 0, 0))
37 class ObjectField<A, T extends { [name: string]: Field<any> }> {
42 >Field : Symbol(Field, Decl(inferentialTypingUsingApparentType3.ts, 0, 0))

12345678910>>...21