| /third_party/protobuf/objectivec/ |
| H A D | GPBDescriptor_PackagePrivate.h | 38 // Describes attributes of the field. 48 // Indicate that the field should "clear" when set to zero value. This is the in NS_OPTIONS() 52 // Indicates the field needs custom handling for the TextFormat name, if not in NS_OPTIONS() 55 // Indicates the field has an enum descriptor. in NS_OPTIONS() 61 // These bits are used to mark the field as a map and what the key in NS_OPTIONS() 80 // field/extension. 82 // Describes a single field in a protobuf as it is represented as an ivar. 97 // The field number for the ivar. 102 // < 0: in a oneOf, use a full int32 to record the field active. 113 // value. This struct provides the default along with the field inf 311 GPBFieldIsMapOrArray(GPBFieldDescriptor *field) GPBFieldIsMapOrArray() argument 316 GPBGetFieldDataType(GPBFieldDescriptor *field) GPBGetFieldDataType() argument 320 GPBFieldHasIndex(GPBFieldDescriptor *field) GPBFieldHasIndex() argument 324 GPBFieldNumber(GPBFieldDescriptor *field) GPBFieldNumber() argument [all...] |
| /third_party/ffmpeg/libavfilter/ |
| H A D | asrc_sine.c | 54 #define OPT_GENERIC(name, field, def, min, max, descr, type, deffield, ...) \ 55 { name, descr, offsetof(CONTEXT, field), AV_OPT_TYPE_ ## type, \ 58 #define OPT_INT(name, field, def, min, max, descr, ...) \ 59 OPT_GENERIC(name, field, def, min, max, descr, INT, i64, __VA_ARGS__) 61 #define OPT_DBL(name, field, def, min, max, descr, ...) \ 62 OPT_GENERIC(name, field, def, min, max, descr, DOUBLE, dbl, __VA_ARGS__) 64 #define OPT_DUR(name, field, def, min, max, descr, ...) \ 65 OPT_GENERIC(name, field, def, min, max, descr, DURATION, str, __VA_ARGS__) 67 #define OPT_STR(name, field, def, min, max, descr, ...) \ 68 OPT_GENERIC(name, field, de [all...] |
| /third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
| H A D | GregorianCalendar.java | 52 * <p>Values calculated for the <code>WEEK_OF_YEAR</code> field range from 1 to 70 * <p>Values calculated for the <code>WEEK_OF_MONTH</code> field range from 0 or 213 * Value of the <code>ERA</code> field indicating 223 * Value of the <code>ERA</code> field indicating 288 protected int handleGetLimit(int field, int limitType) { in handleGetLimit() argument 289 return LIMITS[field][limitType]; in handleGetLimit() 401 * @param year the value used to set the YEAR time field in the calendar. 402 * @param month the value used to set the MONTH time field in the calendar. 404 * @param date the value used to set the DATE time field in the calendar. 419 * @param year the value used to set the YEAR time field i 558 roll(int field, int amount) roll() argument 617 getActualMinimum(int field) getActualMinimum() argument 628 getActualMaximum(int field) getActualMaximum() argument [all...] |
| /third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
| H A D | GregorianCalendar.java | 53 * <p>Values calculated for the <code>WEEK_OF_YEAR</code> field range from 1 to 71 * <p>Values calculated for the <code>WEEK_OF_MONTH</code> field range from 0 or 213 * Value of the <code>ERA</code> field indicating 222 * Value of the <code>ERA</code> field indicating 285 protected int handleGetLimit(int field, int limitType) { in handleGetLimit() argument 286 return LIMITS[field][limitType]; in handleGetLimit() 390 * @param year the value used to set the YEAR time field in the calendar. 391 * @param month the value used to set the MONTH time field in the calendar. 393 * @param date the value used to set the DATE time field in the calendar. 407 * @param year the value used to set the YEAR time field i 538 roll(int field, int amount) roll() argument 596 getActualMinimum(int field) getActualMinimum() argument 606 getActualMaximum(int field) getActualMaximum() argument [all...] |
| /third_party/icu/icu4c/source/i18n/ |
| H A D | number_modifiers.h | 27 ConstantAffixModifier(const UnicodeString &prefix, const UnicodeString &suffix, Field field, in ConstantAffixModifier() argument 29 : fPrefix(prefix), fSuffix(suffix), fField(field), fStrong(strong) {} in ConstantAffixModifier() 40 bool containsField(Field field) const U_OVERRIDE; 59 SimpleModifier(const SimpleFormatter &simpleFormatter, Field field, bool strong); 61 SimpleModifier(const SimpleFormatter &simpleFormatter, Field field, bool strong, 76 bool containsField(Field field) const U_OVERRIDE; 120 Field field, UErrorCode& status); 169 bool containsField(Field field) const U_OVERRIDE; 258 bool containsField(Field field) const U_OVERRIDE { 259 (void)field; variable [all...] |
| H A D | ucal.cpp | 469 UCalendarDateFields field, in ucal_add() 476 ((Calendar*)cal)->add(field, amount, *status); in ucal_add() 481 UCalendarDateFields field, in ucal_roll() 488 ((Calendar*)cal)->roll(field, amount, *status); in ucal_roll() 493 UCalendarDateFields field, in ucal_get() 499 return ((Calendar*)cal)->get(field, *status); in ucal_get() 504 UCalendarDateFields field, in ucal_set() 508 ((Calendar*)cal)->set(field, value); in ucal_set() 513 UCalendarDateFields field) in ucal_isSet() 516 return ((Calendar*)cal)->isSet(field); in ucal_isSet() 468 ucal_add( UCalendar* cal, UCalendarDateFields field, int32_t amount, UErrorCode* status) ucal_add() argument 480 ucal_roll( UCalendar* cal, UCalendarDateFields field, int32_t amount, UErrorCode* status) ucal_roll() argument 492 ucal_get( const UCalendar* cal, UCalendarDateFields field, UErrorCode* status ) ucal_get() argument 503 ucal_set( UCalendar* cal, UCalendarDateFields field, int32_t value) ucal_set() argument 512 ucal_isSet( const UCalendar* cal, UCalendarDateFields field) ucal_isSet() argument 520 ucal_clearField( UCalendar* cal, UCalendarDateFields field) ucal_clearField() argument 535 ucal_getLimit( const UCalendar* cal, UCalendarDateFields field, UCalendarLimitType type, UErrorCode *status) ucal_getLimit() argument 653 ucal_getFieldDifference(UCalendar* cal, UDate target, UCalendarDateFields field, UErrorCode* status ) ucal_getFieldDifference() argument [all...] |
| H A D | dtptngen_impl.h | 115 UDateTimePatternField field; member 121 // A compact storage mechanism for skeleton field strings. Several dozen of these will be created 128 void clearField(int32_t field); 129 UChar getFieldChar(int32_t field) const; 130 int32_t getFieldLength(int32_t field) const; 131 void populate(int32_t field, const UnicodeString& value); 132 void populate(int32_t field, UChar repeatChar, int32_t repeatCount); 133 UBool isFieldEmpty(int32_t field) const; 135 UnicodeString& appendFieldTo(int32_t field, UnicodeString& string) const; 196 UBool isPatternSeparator(const UnicodeString& field) cons 222 addMissing(int32_t field) addMissing() argument 223 addExtra(int32_t field) addExtra() argument [all...] |
| /third_party/node/deps/icu-small/source/i18n/ |
| H A D | number_modifiers.h | 27 ConstantAffixModifier(const UnicodeString &prefix, const UnicodeString &suffix, Field field, in ConstantAffixModifier() argument 29 : fPrefix(prefix), fSuffix(suffix), fField(field), fStrong(strong) {} in ConstantAffixModifier() 40 bool containsField(Field field) const override; 59 SimpleModifier(const SimpleFormatter &simpleFormatter, Field field, bool strong); 61 SimpleModifier(const SimpleFormatter &simpleFormatter, Field field, bool strong, 76 bool containsField(Field field) const override; 120 Field field, UErrorCode& status); 169 bool containsField(Field field) const override; 258 bool containsField(Field field) const override { 259 (void)field; variable [all...] |
| H A D | dtptngen_impl.h | 115 UDateTimePatternField field; member 121 // A compact storage mechanism for skeleton field strings. Several dozen of these will be created 128 void clearField(int32_t field); 129 char16_t getFieldChar(int32_t field) const; 130 int32_t getFieldLength(int32_t field) const; 131 void populate(int32_t field, const UnicodeString& value); 132 void populate(int32_t field, char16_t repeatChar, int32_t repeatCount); 133 UBool isFieldEmpty(int32_t field) const; 135 UnicodeString& appendFieldTo(int32_t field, UnicodeString& string) const; 196 UBool isPatternSeparator(const UnicodeString& field) cons 222 addMissing(int32_t field) addMissing() argument 223 addExtra(int32_t field) addExtra() argument [all...] |
| /third_party/skia/third_party/externals/icu/source/i18n/ |
| H A D | number_modifiers.h | 27 ConstantAffixModifier(const UnicodeString &prefix, const UnicodeString &suffix, Field field, in ConstantAffixModifier() argument 29 : fPrefix(prefix), fSuffix(suffix), fField(field), fStrong(strong) {} in ConstantAffixModifier() 40 bool containsField(Field field) const U_OVERRIDE; 59 SimpleModifier(const SimpleFormatter &simpleFormatter, Field field, bool strong); 61 SimpleModifier(const SimpleFormatter &simpleFormatter, Field field, bool strong, 76 bool containsField(Field field) const U_OVERRIDE; 120 Field field, UErrorCode& status); 169 bool containsField(Field field) const U_OVERRIDE; 258 bool containsField(Field field) const U_OVERRIDE { 259 (void)field; variable [all...] |
| H A D | udatpg.cpp | 148 UDateTimePatternField field, in udatpg_setAppendItemFormat() 151 ((DateTimePatternGenerator *)dtpg)->setAppendItemFormat(field, valueString); in udatpg_setAppendItemFormat() 156 UDateTimePatternField field, in udatpg_getAppendItemFormat() 158 const UnicodeString &result=((const DateTimePatternGenerator *)dtpg)->getAppendItemFormat(field); in udatpg_getAppendItemFormat() 167 UDateTimePatternField field, in udatpg_setAppendItemName() 170 ((DateTimePatternGenerator *)dtpg)->setAppendItemName(field, valueString); in udatpg_setAppendItemName() 175 UDateTimePatternField field, in udatpg_getAppendItemName() 177 const UnicodeString &result=((const DateTimePatternGenerator *)dtpg)->getAppendItemName(field); in udatpg_getAppendItemName() 186 UDateTimePatternField field, in udatpg_getFieldDisplayName() 196 UnicodeString result = ((const DateTimePatternGenerator *)dtpg)->getFieldDisplayName(field,widt in udatpg_getFieldDisplayName() 147 udatpg_setAppendItemFormat(UDateTimePatternGenerator *dtpg, UDateTimePatternField field, const UChar *value, int32_t length) udatpg_setAppendItemFormat() argument 155 udatpg_getAppendItemFormat(const UDateTimePatternGenerator *dtpg, UDateTimePatternField field, int32_t *pLength) udatpg_getAppendItemFormat() argument 166 udatpg_setAppendItemName(UDateTimePatternGenerator *dtpg, UDateTimePatternField field, const UChar *value, int32_t length) udatpg_setAppendItemName() argument 174 udatpg_getAppendItemName(const UDateTimePatternGenerator *dtpg, UDateTimePatternField field, int32_t *pLength) udatpg_getAppendItemName() argument 185 udatpg_getFieldDisplayName(const UDateTimePatternGenerator *dtpg, UDateTimePatternField field, UDateTimePGDisplayWidth width, UChar *fieldName, int32_t capacity, UErrorCode *pErrorCode) udatpg_getFieldDisplayName() argument [all...] |
| H A D | ucal.cpp | 469 UCalendarDateFields field, in ucal_add() 476 ((Calendar*)cal)->add(field, amount, *status); in ucal_add() 481 UCalendarDateFields field, in ucal_roll() 488 ((Calendar*)cal)->roll(field, amount, *status); in ucal_roll() 493 UCalendarDateFields field, in ucal_get() 499 return ((Calendar*)cal)->get(field, *status); in ucal_get() 504 UCalendarDateFields field, in ucal_set() 508 ((Calendar*)cal)->set(field, value); in ucal_set() 513 UCalendarDateFields field) in ucal_isSet() 516 return ((Calendar*)cal)->isSet(field); in ucal_isSet() 468 ucal_add( UCalendar* cal, UCalendarDateFields field, int32_t amount, UErrorCode* status) ucal_add() argument 480 ucal_roll( UCalendar* cal, UCalendarDateFields field, int32_t amount, UErrorCode* status) ucal_roll() argument 492 ucal_get( const UCalendar* cal, UCalendarDateFields field, UErrorCode* status ) ucal_get() argument 503 ucal_set( UCalendar* cal, UCalendarDateFields field, int32_t value) ucal_set() argument 512 ucal_isSet( const UCalendar* cal, UCalendarDateFields field) ucal_isSet() argument 520 ucal_clearField( UCalendar* cal, UCalendarDateFields field) ucal_clearField() argument 535 ucal_getLimit( const UCalendar* cal, UCalendarDateFields field, UCalendarLimitType type, UErrorCode *status) ucal_getLimit() argument 653 ucal_getFieldDifference(UCalendar* cal, UDate target, UCalendarDateFields field, UErrorCode* status ) ucal_getFieldDifference() argument [all...] |
| H A D | dtptngen_impl.h | 115 UDateTimePatternField field; member 121 // A compact storage mechanism for skeleton field strings. Several dozen of these will be created 128 void clearField(int32_t field); 129 UChar getFieldChar(int32_t field) const; 130 int32_t getFieldLength(int32_t field) const; 131 void populate(int32_t field, const UnicodeString& value); 132 void populate(int32_t field, UChar repeatChar, int32_t repeatCount); 133 UBool isFieldEmpty(int32_t field) const; 135 UnicodeString& appendFieldTo(int32_t field, UnicodeString& string) const; 196 UBool isPatternSeparator(const UnicodeString& field) cons 222 addMissing(int32_t field) addMissing() argument 223 addExtra(int32_t field) addExtra() argument [all...] |
| /third_party/protobuf/src/google/protobuf/compiler/js/ |
| H A D | js_generator.h | 216 const FieldDescriptor* field, 220 const FieldDescriptor* field, 249 const FieldDescriptor* field, 277 const FieldDescriptor* field) const; 283 const FieldDescriptor* field) const; 302 const FieldDescriptor* field) const; 308 const FieldDescriptor* field) const; 316 const FieldDescriptor* field) const; 321 const FieldDescriptor* field, 327 const FieldDescriptor* field) cons [all...] |
| /third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/apple/ |
| H A D | RewriteRowMajorMatrices.cpp | 36 bool DoesFieldContainRowMajorMatrix(const TField *field, bool isBlockRowMajor) in DoesFieldContainRowMajorMatrix() argument 38 TLayoutMatrixPacking matrixPacking = field->type()->getLayoutQualifier().matrixPacking; in DoesFieldContainRowMajorMatrix() 40 // The field is row major if either explicitly specified as such, or if it inherits it from the in DoesFieldContainRowMajorMatrix() 47 // The field is qualified with row_major, but if it's not a matrix or a struct containing in DoesFieldContainRowMajorMatrix() 49 const TType *type = field->type(); in DoesFieldContainRowMajorMatrix() 53 TField *DuplicateField(const TField *field) in DuplicateField() argument 55 return new TField(new TType(*field->type()), field->name(), field->line(), field in DuplicateField() 210 const TField *field = interfaceBlock->fields()[fieldIndex]; IsConvertedField() local 733 convertField(const TField *field, TIntermSequence *newDeclarations) convertField() argument [all...] |
| /third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
| H A D | CalendarFieldsSet.java | 55 protected void handleParseValue(FieldsSet inheritFrom, int field, String substr) { in handleParseValue() argument 56 if(field == Calendar.MONTH) { in handleParseValue() 57 parseValueEnum(DebugUtilitiesData.UCalendarMonths, inheritFrom, field, substr); in handleParseValue() 60 parseValueDefault(inheritFrom, field, substr); in handleParseValue()
|
| /third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
| H A D | CalendarFieldsSet.java | 52 protected void handleParseValue(FieldsSet inheritFrom, int field, String substr) { in handleParseValue() argument 53 if(field == Calendar.MONTH) { in handleParseValue() 54 parseValueEnum(DebugUtilitiesData.UCalendarMonths, inheritFrom, field, substr); in handleParseValue() 57 parseValueDefault(inheritFrom, field, substr); in handleParseValue()
|
| /third_party/skia/experimental/tskit/go/gen_types/testdata/ |
| H A D | bindings1.cpp | 70 .field("columns", &SomeValueObject::columns) in EMSCRIPTEN_BINDINGS() 75 .field("object", &SomeValueObject::object) in EMSCRIPTEN_BINDINGS() 77 .field("name", &SomeValueObject::slot) in EMSCRIPTEN_BINDINGS() 81 .field("isInteger", &SomeValueObject::isInteger); in EMSCRIPTEN_BINDINGS()
|
| /third_party/python/Lib/test/ |
| H A D | test_dataclasses.py | 58 x: int = field(default=1, default_factory=int) 61 int_field = field(default=1, init=True, repr=False) 74 rec_field = field() 87 C: C = field() 117 # A derived class adds a non-default field after a default one. 129 # Override a base class field and add a default to 130 # a field which didn't use to have a default. 230 # But we do use 'self' if no field named self. 480 x: int = field() 493 x: object = field(defaul [all...] |
| /third_party/protobuf/src/google/protobuf/compiler/ |
| H A D | command_line_interface_unittest.cc | 676 // and custom options are in unknown field instead of uninterpreted_options. in TEST_F() 700 // Add custom message option to unknown field. This custom option is in TEST_F() 723 // Add custom message option to unknown field. This custom option is in TEST_F() 784 FieldDescriptorProto* field = message->add_field(); in TEST_F() local 785 field->set_type_name("Baz"); in TEST_F() 786 field->set_name("a"); in TEST_F() 787 field->set_number(1); in TEST_F() 801 field = message->add_field(); in TEST_F() 802 field->set_type_name("Baz"); in TEST_F() 803 field in TEST_F() 857 FieldDescriptorProto* field = message->add_field(); TEST_F() local 906 FieldDescriptorProto* field = message->add_field(); TEST_F() local [all...] |
| /third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
| H A D | FormattedValueStringBuilderImpl.java | 30 * Placeholder field used for calculating spans. 46 * Finds the index at which a span field begins. 48 * @param value The value of the span field to search for. 64 * Upgrade a range of a string to a span field. 96 // No field is set in nextFieldPosition() 138 // Backwards compatibility: field value = field in toCharacterIterator() 162 * Optional. If non-null, apply this field to the entire numeric portion of the string. 181 // Case 1: currently scanning a field. in nextPosition() 190 // Entire field positio in nextPosition() 304 isIntOrGroup(Object field) isIntOrGroup() argument 309 isNumericField(Object field) isNumericField() argument 314 isTrimmable(Object field) isTrimmable() argument [all...] |
| /third_party/mesa3d/src/gallium/drivers/radeonsi/ |
| H A D | si_shader.h | 288 #define ENCODE_FIELD(field, value) (((unsigned)(value) & field##__MASK) << field##__SHIFT) 289 #define CLEAR_FIELD(field) (~((unsigned)field##__MASK << field##__SHIFT)) 292 #define SET_FIELD(var, field, value) do { \ 293 assert((value) == ((unsigned)(value) & field##__MASK)); \ 294 (var) &= CLEAR_FIELD(field); \ 295 (var) |= ENCODE_FIELD(field, valu [all...] |
| /third_party/protobuf/src/google/protobuf/ |
| H A D | no_field_presence_test.cc | 237 // field-presence-related changes broke these. in TEST() 251 // Getter should fetch default instance, and not cause the field to become in TEST() 260 // Likewise for a lazy message field. in TEST() 262 // Getter should fetch default instance, and not cause the field to become in TEST() 271 // Test field presence of a message field on the default instance. in TEST() 288 const FieldDescriptor* field = desc->field(i); in TEST() local 289 if (field->is_repeated()) continue; in TEST() 290 EXPECT_EQ(false, r->HasField(message, field)); in TEST() 305 const FieldDescriptor* field = desc->field(i); TEST() local 502 const FieldDescriptor* field = desc->FindFieldByName("optional_lazy_message"); TEST() local [all...] |
| H A D | descriptor_unittest.cc | 748 foo_ = message_->field(0); in SetUp() 749 bar_ = message_->field(1); in SetUp() 750 baz_ = message_->field(2); in SetUp() 751 qux_ = message_->field(3); in SetUp() 757 foo2_ = message2_->field(0); in SetUp() 758 bar2_ = message2_->field(1); in SetUp() 759 quux2_ = message2_->field(2); in SetUp() 765 map_ = message3_->field(0); in SetUp() 819 EXPECT_EQ(foo_, message_->field(0)); in TEST_F() 820 EXPECT_EQ(bar_, message_->field( in TEST_F() 2287 FieldDescriptorProto* field = AddField( GetFieldDescriptorOfType() local 2311 const FieldDescriptor* field = GetFieldDescriptorOfType(type); GetTypeNameForFieldType() local 2316 const FieldDescriptor* field = GetFieldDescriptorOfType(type); GetCppTypeForFieldType() local 2322 const FieldDescriptor* field = GetFieldDescriptorOfType(type); GetCppTypeNameForFieldType() local 2328 const FieldDescriptor* field = GetFieldDescriptorOfType(type); GetMessageDescriptorForFieldType() local 2334 const FieldDescriptor* field = GetFieldDescriptorOfType(type); GetEnumDescriptorForFieldType() local 3002 const FieldDescriptor* field = message->FindFieldByName("field1"); TEST() local 3445 const FieldDescriptor* field = msg->FindFieldByName("fieldname"); TEST() local 7070 FieldDescriptorProto* field = message->add_field(); PopulateFile() local 7875 const FieldDescriptor* field = desc->FindFieldByName("bar"); TEST_F() local 7911 const FieldDescriptor* field = desc->FindFieldByName("enum1"); TEST_F() local 7956 const FieldDescriptor* field = desc->FindFieldByName("message1"); TEST_F() local [all...] |
| /third_party/rust/crates/libc/src/unix/hermit/ |
| H A D | mod.rs | 119 .field("d_ino", &self.d_ino) in fmt() 120 .field("d_off", &self.d_off) in fmt() 121 .field("d_reclen", &self.d_reclen) in fmt() 122 // FIXME: .field("d_name", &self.d_name) in fmt() 149 .field("sun_family", &self.sun_family) in fmt() 150 // FIXME: .field("sun_path", &self.sun_path) in fmt() 176 .field("sa_len", &self.sa_len) in fmt() 177 .field("sa_family", &self.sa_family) in fmt() 178 // FIXME: .field("sa_data", &self.sa_data) in fmt() 207 .field("sin_le in fmt() [all...] |