Home
last modified time | relevance | path

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

12345678910>>...66

/external/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 …]
/external/vixl/src/aarch64/
Dcpu-aarch64.h55 class Field {
62 explicit constexpr Field(int lsb, Type type = kUnsigned)
84 int Get(Field field) const;
97 static const Field kFP;
98 static const Field kAdvSIMD;
99 static const Field kRAS;
100 static const Field kSVE;
101 static const Field kDIT;
102 static const Field kCSV2;
103 static const Field kCSV3;
[all …]
Dcpu-aarch64.cc40 const IDRegister::Field AA64PFR0::kFP(16, Field::kSigned);
41 const IDRegister::Field AA64PFR0::kAdvSIMD(20, Field::kSigned);
42 const IDRegister::Field AA64PFR0::kRAS(28);
43 const IDRegister::Field AA64PFR0::kSVE(32);
44 const IDRegister::Field AA64PFR0::kDIT(48);
45 const IDRegister::Field AA64PFR0::kCSV2(56);
46 const IDRegister::Field AA64PFR0::kCSV3(60);
48 const IDRegister::Field AA64PFR1::kBT(0);
49 const IDRegister::Field AA64PFR1::kSSBS(4);
50 const IDRegister::Field AA64PFR1::kMTE(8);
[all …]
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dmodernize-use-equals-default-copy.cpp9 int Field; member
11 OL::OL(const OL &Other) : Field(Other.Field) {} in OL()
15 Field = Other.Field; in operator =()
23 IL(const IL &Other) : Field(Other.Field) {} in IL()
27 Field = Other.Field; in operator =()
32 int Field; member
44 Qual(const Qual &Other) : Field(Other.Field), Volatile(Other.Volatile), in Qual()
51 int Field; member
85 /* don't delete */ : /* this comment */ Field(Other.Field) {} in Comments()
88 int Field; member
[all …]
/external/libtextclassifier/native/annotator/duration/
Dduration_test.cc37 using testing::Field;
128 AllOf(Field(&ClassificationResult::collection, "duration"), in TEST_F()
129 Field(&ClassificationResult::duration_ms, 15 * 60 * 1000))); in TEST_F()
139 AllOf(Field(&ClassificationResult::collection, "duration"), in TEST_F()
140 Field(&ClassificationResult::duration_ms, 15 * 60 * 1000))); in TEST_F()
160 AllOf(Field(&AnnotatedSpan::span, CodepointSpan(14, 24)), in TEST_F()
161 Field(&AnnotatedSpan::classification, in TEST_F()
163 Field(&ClassificationResult::collection, "duration"), in TEST_F()
164 Field(&ClassificationResult::duration_ms, in TEST_F()
179 AllOf(Field(&AnnotatedSpan::span, CodepointSpan(16, 34)), in TEST_F()
[all …]
/external/llvm-project/llvm/utils/TableGen/
DSearchableTableEmitter.cpp40 int getInt(Record *R, StringRef Field) { in getInt() argument
41 return getAsInt(R->getValueInit(Field)); in getInt()
84 for (const auto &Field : Fields) { in getFieldByName() local
85 if (Name == Field.Name) in getFieldByName()
86 return &Field; in getFieldByName()
113 std::string primaryRepresentation(SMLoc Loc, const GenericField &Field, in primaryRepresentation() argument
116 if (Field.IsCode || SI->hasCodeFormat()) in primaryRepresentation()
124 else if (Field.IsIntrinsic) in primaryRepresentation()
126 else if (Field.IsInstruction) in primaryRepresentation()
128 else if (Field.Enum) { in primaryRepresentation()
[all …]
/external/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 …]
/external/llvm-project/libc/benchmarks/
DJSONTest.cpp19 using testing::Field;
50 return ExplainMatchResult(AllOf(Field(&CacheInfo::Type, B.Type),
51 Field(&CacheInfo::Level, B.Level),
52 Field(&CacheInfo::Size, B.Size),
53 Field(&CacheInfo::NumSharing, B.NumSharing)),
59 Field(&HostState::CpuName, H.CpuName), in Equals()
60 Field(&HostState::CpuFrequency, H.CpuFrequency), in Equals()
61 Field(&HostState::Caches, Pointwise(EqualsCacheInfo(), H.Caches))); in Equals()
66 Field(&BenchmarkOptions::MinDuration, BO.MinDuration), in Equals()
67 Field(&BenchmarkOptions::MaxDuration, BO.MaxDuration), in Equals()
[all …]
/external/perfetto/tools/ftrace_proto_gen/
Dftrace_proto_gen_unittest.cc24 using Field = FtraceEvent::Field; in TEST() typedef
25 EXPECT_EQ(InferProtoType(Field{"char foo[16]", 0, 16, false}).ToString(), in TEST()
27 EXPECT_EQ(InferProtoType(Field{"char bar_42[64]", 0, 64, false}).ToString(), in TEST()
30 InferProtoType(Field{"__data_loc char[] foo", 0, 4, false}).ToString(), in TEST()
32 EXPECT_EQ(InferProtoType(Field{"char[] foo", 0, 8, false}).ToString(), in TEST()
34 EXPECT_EQ(InferProtoType(Field{"char * foo", 0, 8, false}).ToString(), in TEST()
37 EXPECT_EQ(InferProtoType(Field{"int foo", 0, 4, true}).ToString(), "int32"); in TEST()
38 EXPECT_EQ(InferProtoType(Field{"s32 signal", 50, 4, true}).ToString(), in TEST()
41 EXPECT_EQ(InferProtoType(Field{"unsigned int foo", 0, 4, false}).ToString(), in TEST()
43 EXPECT_EQ(InferProtoType(Field{"u32 control_freq", 44, 4, false}).ToString(), in TEST()
[all …]
/external/icu/libicu/cts_headers/
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 …]
/external/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 …]
/external/llvm-project/llvm/unittests/XRay/
DProfileTest.cpp21 using ::testing::Field;
74 Field(&Profile::Block::Thread, Eq(Profile::ThreadID{1})), in TEST()
75 Field(&Profile::Block::PathData, in TEST()
78 AllOf(Field(&Profile::Data::CallCount, Eq(1u)), in TEST()
79 Field(&Profile::Data::CumulativeLocalTime, in TEST()
82 AllOf(Field(&Profile::Data::CallCount, Eq(10u)), in TEST()
83 Field(&Profile::Data::CumulativeLocalTime, in TEST()
98 Field(&Profile::Block::Thread, Eq(Profile::ThreadID{1})), in TEST()
99 Field(&Profile::Block::PathData, in TEST()
102 AllOf(Field(&Profile::Data::CallCount, Eq(1u)), in TEST()
[all …]
DFDRTraceWriterTest.cpp27 using testing::Field;
65 EXPECT_THAT(Trace, ElementsAre(Field(&XRayRecord::FuncId, Eq(1)), in TEST()
66 Field(&XRayRecord::FuncId, Eq(1)))); in TEST()
67 EXPECT_THAT(Trace, ElementsAre(Field(&XRayRecord::TId, Eq(1u)), in TEST()
68 Field(&XRayRecord::TId, Eq(1u)))); in TEST()
69 EXPECT_THAT(Trace, ElementsAre(Field(&XRayRecord::PId, Eq(1u)), in TEST()
70 Field(&XRayRecord::PId, Eq(1u)))); in TEST()
71 EXPECT_THAT(Trace, ElementsAre(Field(&XRayRecord::CPU, Eq(1u)), in TEST()
72 Field(&XRayRecord::CPU, Eq(1u)))); in TEST()
74 ElementsAre(Field(&XRayRecord::Type, Eq(RecordTypes::ENTER)), in TEST()
[all …]
/external/python/parse_type/tests/
Dtest_parse_util.py10 import Field, FieldParser, FormatSpec, make_format_spec
18 Field(), #< Empty field.
19 Field("name"), #< Named field without format.
20 Field("name", ""), #< Named field with format=empty-string.
21 Field(format=""), #< Field with format=empty-string.
24 Field(format="Number"), #< Typed field without name".
25 Field("name", "Number"), #< Named and typed field".
28 Field(format="<"), #< Align without type.
29 Field(format="_<"), #< Fill and align without type.
30 Field(format="_<10"), #< Fill, align and width without type.
[all …]
/external/llvm-project/llvm/unittests/tools/llvm-cfi-verify/
DGraphBuilder.cpp46 using ::testing::Field;
166 Each(Field(&ConditionalBranchNode::CFIProtection, Eq(true)))); in TEST_F()
169 Contains(AllOf(Field(&ConditionalBranchNode::Address, Eq(0xDEADBEEF)), in TEST_F()
170 Field(&ConditionalBranchNode::Target, in TEST_F()
172 Field(&ConditionalBranchNode::Fallthrough, in TEST_F()
193 Each(Field(&ConditionalBranchNode::CFIProtection, Eq(true)))); in TEST_F()
196 Contains(AllOf(Field(&ConditionalBranchNode::Address, Eq(0xDEADBEEF)), in TEST_F()
197 Field(&ConditionalBranchNode::Target, in TEST_F()
199 Field(&ConditionalBranchNode::Fallthrough, in TEST_F()
223 Each(Field(&ConditionalBranchNode::CFIProtection, Eq(true)))); in TEST_F()
[all …]
/external/llvm-project/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/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/capstone/arch/SystemZ/
DSystemZDisassembler.c257 static DecodeStatus decodeBDAddr12Operand(MCInst *Inst, uint64_t Field, in decodeBDAddr12Operand() argument
260 uint64_t Base = Field >> 12; in decodeBDAddr12Operand()
261 uint64_t Disp = Field & 0xfff; in decodeBDAddr12Operand()
270 static DecodeStatus decodeBDAddr20Operand(MCInst *Inst, uint64_t Field, in decodeBDAddr20Operand() argument
273 uint64_t Base = Field >> 20; in decodeBDAddr20Operand()
274 uint64_t Disp = ((Field << 12) & 0xff000) | ((Field >> 8) & 0xfff); in decodeBDAddr20Operand()
282 static DecodeStatus decodeBDXAddr12Operand(MCInst *Inst, uint64_t Field, in decodeBDXAddr12Operand() argument
285 uint64_t Index = Field >> 16; in decodeBDXAddr12Operand()
286 uint64_t Base = (Field >> 12) & 0xf; in decodeBDXAddr12Operand()
287 uint64_t Disp = Field & 0xfff; in decodeBDXAddr12Operand()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateFormat.java2345 public static class Field extends Format.Field { class in DateFormat
2353 private static final Field[] CAL_FIELDS;
2356 private static final Map<String, Field> FIELD_NAME_MAP;
2361 CAL_FIELDS = new Field[CAL_FIELD_COUNT];
2371 public static final Field AM_PM = new Field("am pm", Calendar.AM_PM);
2377 public static final Field DAY_OF_MONTH = new Field("day of month", Calendar.DAY_OF_MONTH);
2383 public static final Field DAY_OF_WEEK = new Field("day of week", Calendar.DAY_OF_WEEK);
2389 public static final Field DAY_OF_WEEK_IN_MONTH =
2390 new Field("day of week in month", Calendar.DAY_OF_WEEK_IN_MONTH);
2396 public static final Field DAY_OF_YEAR = new Field("day of year", Calendar.DAY_OF_YEAR);
[all …]
/external/icu/android_icu4j/src/main/java/android/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];
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);
2225 public static final Field DAY_OF_YEAR = new Field("day of year", Calendar.DAY_OF_YEAR);
[all …]
/external/llvm-project/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 …]
/external/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 …]
/external/mockito/src/test/java/org/mockito/internal/util/reflection/
DSuperTypesLastSorterTest.java9 import java.lang.reflect.Field;
21 private static Comparator<Field> cmp = new Comparator<Field>() {
22 public int compare(Field o1, Field o2) {
27 List<Field> l = sortSuperTypesLast(Arrays.asList(o1, o2));
68 List<Field> unsortedFields = Arrays.asList( in using_Collections_dot_sort()
77 List<Field> sortedFields = sortSuperTypesLast(unsortedFields); in using_Collections_dot_sort()
92 List<Field> unsortedFields = Arrays.asList( in issue_352_order_was_different_between_JDK6_and_JDK7()
119 private static void assertSortConsistently(Field a, Field b, Field c) { in assertSortConsistently()
120 Field[][] initialOrderings = { in assertSortConsistently()
129 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/llvm-project/llvm/lib/Support/
DOptimizedStructLayout.cpp17 using Field = OptimizedStructLayoutField; typedef
20 static void checkValidLayout(ArrayRef<Field> Fields, uint64_t Size, in checkValidLayout()
24 for (auto &Field : Fields) { in checkValidLayout() local
25 assert(Field.hasFixedOffset() && in checkValidLayout()
27 assert(isAligned(Field.Alignment, Field.Offset) && in checkValidLayout()
29 assert(Field.Offset >= LastEnd && in checkValidLayout()
31 LastEnd = Field.getEndOffset(); in checkValidLayout()
32 assert(Field.Alignment <= MaxAlign && in checkValidLayout()
34 ComputedMaxAlign = std::max(Field.Alignment, MaxAlign); in checkValidLayout()
42 llvm::performOptimizedStructLayout(MutableArrayRef<Field> Fields) { in performOptimizedStructLayout()
[all …]

12345678910>>...66