Home
last modified time | relevance | path

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

12345678910>>...45

/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/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DSearchableTableEmitter.cpp40 int getInt(Record *R, StringRef Field) { in getInt() argument
41 return getAsInt(R->getValueInit(Field)); in getInt()
81 for (const auto &Field : Fields) { in getFieldByName() local
82 if (Name == Field.Name) in getFieldByName()
83 return &Field; in getFieldByName()
110 std::string primaryRepresentation(const GenericField &Field, Init *I) { in primaryRepresentation() argument
119 else if (Field.IsIntrinsic) in primaryRepresentation()
121 else if (Field.IsInstruction) in primaryRepresentation()
123 else if (Field.Enum) in primaryRepresentation()
124 return Field.Enum->EntryMap[cast<DefInit>(I)->getDef()]->first; in primaryRepresentation()
[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 …]
/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 …]
/external/u-boot/arch/arm/include/asm/arch-pxa/
Dbitfield.h67 #define FSize(Field) ((Field) >> 16) argument
68 #define FShft(Field) ((Field) & 0x0000FFFF) argument
69 #define FMsk(Field) (((UData (1) << FSize (Field)) - 1) << FShft (Field)) argument
70 #define FAlnMsk(Field) ((UData (1) << FSize (Field)) - 1) argument
71 #define F1stBit(Field) (UData (1) << FShft (Field)) argument
89 #define FInsrt(Value, Field) \ argument
90 (UData (Value) << FShft (Field))
108 #define FExtr(Data, Field) \ argument
109 ((UData (Data) >> FShft (Field)) & FAlnMsk (Field))
/external/u-boot/arch/arm/include/asm/arch-sa1100/
Dbitfield.h67 #define FSize(Field) ((Field) >> 16) argument
68 #define FShft(Field) ((Field) & 0x0000FFFF) argument
69 #define FMsk(Field) (((UData (1) << FSize (Field)) - 1) << FShft (Field)) argument
70 #define FAlnMsk(Field) ((UData (1) << FSize (Field)) - 1) argument
71 #define F1stBit(Field) (UData (1) << FShft (Field)) argument
89 #define FInsrt(Value, Field) \ argument
90 (UData (Value) << FShft (Field))
108 #define FExtr(Data, Field) \ argument
109 ((UData (Data) >> FShft (Field)) & FAlnMsk (Field))
/external/pdfium/fxjs/
Dcjs_field.h30 class Field : public CJS_EmbedObj {
35 explicit Field(CJS_Object* pJSObject);
36 ~Field() override;
352 JS_STATIC_PROP(alignment, alignment, Field);
353 JS_STATIC_PROP(borderStyle, border_style, Field);
354 JS_STATIC_PROP(buttonAlignX, button_align_x, Field);
355 JS_STATIC_PROP(buttonAlignY, button_align_y, Field);
356 JS_STATIC_PROP(buttonFitBounds, button_fit_bounds, Field);
357 JS_STATIC_PROP(buttonPosition, button_position, Field);
358 JS_STATIC_PROP(buttonScaleHow, button_scale_how, Field);
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/tools/llvm-cfi-verify/
DGraphBuilder.cpp47 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()
192 Each(Field(&ConditionalBranchNode::CFIProtection, Eq(true)))); in TEST_F()
195 Contains(AllOf(Field(&ConditionalBranchNode::Address, Eq(0xDEADBEEF)), in TEST_F()
196 Field(&ConditionalBranchNode::Target, in TEST_F()
198 Field(&ConditionalBranchNode::Fallthrough, in TEST_F()
221 Each(Field(&ConditionalBranchNode::CFIProtection, Eq(true)))); in TEST_F()
[all …]
/external/libtextclassifier/annotator/duration/
Dduration_test.cc37 using testing::Field;
124 AllOf(Field(&ClassificationResult::collection, "duration"), in TEST_F()
125 Field(&ClassificationResult::duration_ms, 15 * 60 * 1000))); in TEST_F()
135 AllOf(Field(&ClassificationResult::collection, "duration"), in TEST_F()
136 Field(&ClassificationResult::duration_ms, 15 * 60 * 1000))); in TEST_F()
149 AllOf(Field(&AnnotatedSpan::span, CodepointSpan(14, 24)), in TEST_F()
150 Field(&AnnotatedSpan::classification, in TEST_F()
152 Field(&ClassificationResult::collection, "duration"), in TEST_F()
153 Field(&ClassificationResult::duration_ms, in TEST_F()
168 AllOf(Field(&AnnotatedSpan::span, CodepointSpan(16, 34)), in TEST_F()
[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/android_icu4j/src/main/java/android/icu/impl/number/
DNumberStringBuilder.java14 import android.icu.text.NumberFormat.Field;
33 private Field[] fields;
43 fields = new Field[capacity]; in NumberStringBuilder()
75 public Field fieldAt(int index) {
114 public int appendCodePoint(int codePoint, Field field) {
123 public int insertCodePoint(int index, int codePoint, Field field) {
138 public int append(CharSequence sequence, Field field) {
147 public int insert(int index, CharSequence sequence, Field field) {
166 public int insert(int index, CharSequence sequence, int start, int end, Field field) {
190 Field field) {
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DNumberStringBuilder.java13 import com.ibm.icu.text.NumberFormat.Field;
31 private Field[] fields;
41 fields = new Field[capacity]; in NumberStringBuilder()
73 public Field fieldAt(int index) {
112 public int appendCodePoint(int codePoint, Field field) {
121 public int insertCodePoint(int index, int codePoint, Field field) {
136 public int append(CharSequence sequence, Field field) {
145 public int insert(int index, CharSequence sequence, Field field) {
164 public int insert(int index, CharSequence sequence, int start, int end, Field field) {
188 Field field) {
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateFormat.java2281 public static class Field extends Format.Field { class in DateFormat
2289 private static final Field[] CAL_FIELDS;
2292 private static final Map<String, Field> FIELD_NAME_MAP;
2297 CAL_FIELDS = new Field[CAL_FIELD_COUNT];
2298 FIELD_NAME_MAP = new HashMap<String, Field>(CAL_FIELD_COUNT);
2307 public static final Field AM_PM = new Field("am pm", Calendar.AM_PM);
2313 public static final Field DAY_OF_MONTH = new Field("day of month", Calendar.DAY_OF_MONTH);
2319 public static final Field DAY_OF_WEEK = new Field("day of week", Calendar.DAY_OF_WEEK);
2325 public static final Field DAY_OF_WEEK_IN_MONTH =
2326 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.java2119 public static class Field extends Format.Field { class in DateFormat
2127 private static final Field[] CAL_FIELDS;
2130 private static final Map<String, Field> FIELD_NAME_MAP;
2135 CAL_FIELDS = new Field[CAL_FIELD_COUNT];
2136 FIELD_NAME_MAP = new HashMap<String, Field>(CAL_FIELD_COUNT);
2144 public static final Field AM_PM = new Field("am pm", Calendar.AM_PM);
2149 public static final Field DAY_OF_MONTH = new Field("day of month", Calendar.DAY_OF_MONTH);
2154 public static final Field DAY_OF_WEEK = new Field("day of week", Calendar.DAY_OF_WEEK);
2159 public static final Field DAY_OF_WEEK_IN_MONTH =
2160 new Field("day of week in month", Calendar.DAY_OF_WEEK_IN_MONTH);
[all …]
/external/capstone/arch/SystemZ/
DSystemZDisassembler.c185 static DecodeStatus decodeBDAddr12Operand(MCInst *Inst, uint64_t Field, in decodeBDAddr12Operand() argument
188 uint64_t Base = Field >> 12; in decodeBDAddr12Operand()
189 uint64_t Disp = Field & 0xfff; in decodeBDAddr12Operand()
198 static DecodeStatus decodeBDAddr20Operand(MCInst *Inst, uint64_t Field, in decodeBDAddr20Operand() argument
201 uint64_t Base = Field >> 20; in decodeBDAddr20Operand()
202 uint64_t Disp = ((Field << 12) & 0xff000) | ((Field >> 8) & 0xfff); in decodeBDAddr20Operand()
210 static DecodeStatus decodeBDXAddr12Operand(MCInst *Inst, uint64_t Field, in decodeBDXAddr12Operand() argument
213 uint64_t Index = Field >> 16; in decodeBDXAddr12Operand()
214 uint64_t Base = (Field >> 12) & 0xf; in decodeBDXAddr12Operand()
215 uint64_t Disp = Field & 0xfff; in decodeBDXAddr12Operand()
[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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/Disassembler/
DSystemZDisassembler.cpp292 static DecodeStatus decodeBDAddr12Operand(MCInst &Inst, uint64_t Field, in decodeBDAddr12Operand() argument
294 uint64_t Base = Field >> 12; in decodeBDAddr12Operand()
295 uint64_t Disp = Field & 0xfff; in decodeBDAddr12Operand()
302 static DecodeStatus decodeBDAddr20Operand(MCInst &Inst, uint64_t Field, in decodeBDAddr20Operand() argument
304 uint64_t Base = Field >> 20; in decodeBDAddr20Operand()
305 uint64_t Disp = ((Field << 12) & 0xff000) | ((Field >> 8) & 0xfff); in decodeBDAddr20Operand()
312 static DecodeStatus decodeBDXAddr12Operand(MCInst &Inst, uint64_t Field, in decodeBDXAddr12Operand() argument
314 uint64_t Index = Field >> 16; in decodeBDXAddr12Operand()
315 uint64_t Base = (Field >> 12) & 0xf; in decodeBDXAddr12Operand()
316 uint64_t Disp = Field & 0xfff; in decodeBDXAddr12Operand()
[all …]
/external/perfetto/include/perfetto/protozero/
Dproto_decoder.h53 Field ReadField();
56 Field FindField(uint32_t field_id);
102 const Field* begin, in RepeatedFieldIterator()
103 const Field* end, in RepeatedFieldIterator()
104 const Field* last) in RepeatedFieldIterator()
109 inline const Field* operator->() const { return &*iter_; }
110 inline const Field& operator*() const { return *iter_; }
138 const Field* iter_;
141 const Field* end_;
144 const Field* last_;
[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/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/u-boot/arch/arm/dts/
Dsocfpga_arria10_socdk_sdmmc_handoff.dtsi73 vco0-psrc = <0>; /* Field: vco0.psrc */
74 vco1-denom = <1>; /* Field: vco1.denom */
75 vco1-numer = <191>; /* Field: vco1.numer */
76 mpuclk-cnt = <0>; /* Field: mpuclk.cnt */
77 mpuclk-src = <0>; /* Field: mpuclk.src */
78 nocclk-cnt = <0>; /* Field: nocclk.cnt */
79 nocclk-src = <0>; /* Field: nocclk.src */
80 cntr2clk-cnt = <900>; /* Field: cntr2clk.cnt */
81 cntr3clk-cnt = <900>; /* Field: cntr3clk.cnt */
82 cntr4clk-cnt = <900>; /* Field: cntr4clk.cnt */
[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 …]

12345678910>>...45