| /third_party/mesa3d/src/compiler/glsl/ |
| H A D | gl_nir_lower_xfb_varying.c | 99 char *field = get_field_name(name + 1); in get_deref() local 101 assert(*type != NULL && glsl_type_is_struct(*type) && field != NULL); in get_deref() 103 int idx = glsl_get_field_index(*type, field); in get_deref() 106 name += 1 + strlen(field); in get_deref() 107 free(field); in get_deref() 111 char *field = get_field_name(name); in get_deref() local 112 name += strlen(field); in get_deref() 113 free(field); in get_deref()
|
| /third_party/protobuf/benchmarks/util/ |
| H A D | schema_proto2_to_proto3_util.h | 35 auto field = old_file->extension(i); in StripFile() local 36 if (field->type() == FieldDescriptor::TYPE_GROUP || in StripFile() 37 IsMessageSet(field->message_type()) || in StripFile() 38 IsMessageSet(field->containing_type())) { in StripFile() 56 if (old_message->field(i)->type() == FieldDescriptor::TYPE_GROUP || in StripMessage() 57 IsMessageSet(old_message->field(i)->message_type())) { in StripMessage() 166 static bool ShouldClearLabel(const FieldDescriptorProto *field) { in ShouldClearLabel() argument 167 return field->label() == FieldDescriptorProto::LABEL_REQUIRED; in ShouldClearLabel()
|
| /third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
| H A D | SymbolEnv.h | 33 VarField(const TField &field) : mField(&field) {} in VarField() argument 37 ANGLE_INLINE const TField *field() const { return mField; } in field() function in sh::VarField 64 const sh::TField *field = x.field(); in operator ()() local 65 return std::hash<const sh::TField *>()(field); in operator ()() 156 // not have a sampler, yet the A' struct field still contains the sampler field. 188 void markAsPacked(const TField &field); 189 bool isPacked(const TField &field) cons [all...] |
| /third_party/toybox/toys/pending/ |
| H A D | mdev.c | 28 field is a regular expression matching one or more device names, 30 matching devices. Fourth field is optional. It could be used to change 98 int field; in make_device() local 107 for (field = 4; field; field--) { in make_device() 113 switch(field) { in make_device() 179 // Try to look for name or path (optional field) in make_device() 212 // Note: Last field is optional. in make_device() 213 if ((field> in make_device() [all...] |
| /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...] |
| /arkcompiler/runtime_core/bytecode_optimizer/tests/ |
| H A D | runtime_adapter_test.cpp | 44 std::vector<RuntimeInterface::FieldPtr> field; member 65 pointers.field.push_back(field_ptr); in GetPointers() 90 ASSERT_EQ(pointers.field.size(), 0); in TEST() 120 i32 field in TEST() 134 ASSERT_EQ(pointers.field.size(), 1); in TEST() 178 ASSERT_EQ(pointers.field.size(), 0); in TEST() 207 i32 field in TEST() 225 ASSERT_EQ(pointers.field.size(), 2); in TEST() 230 auto field = pointers.field[ in TEST() local [all...] |
| /arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/ |
| H A D | runtime_adapter_test.cpp | 44 std::vector<RuntimeInterface::FieldPtr> field; member 65 pointers.field.push_back(fieldPtr); in GetPointers() 90 ASSERT_EQ(pointers.field.size(), 0U); in TEST() 120 i32 field in TEST() 134 ASSERT_EQ(pointers.field.size(), 1U); in TEST() 178 ASSERT_EQ(pointers.field.size(), 0U); in TEST() 207 i32 field in TEST() 225 ASSERT_EQ(pointers.field.size(), 2U); in TEST() 230 auto field = pointers.field[ in TEST() local [all...] |
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/types/ |
| H A D | ets_object_test.cpp | 230 EtsField *field = klass->GetFieldIDByName("Width"); in TEST_F() local 232 obj->SetFieldPrimitive<int32_t>(field, testNmb1); in TEST_F() 233 ASSERT_EQ(obj->GetFieldPrimitive<int32_t>(field), testNmb1); in TEST_F() 235 field = klass->GetFieldIDByName("Height"); in TEST_F() 237 obj->SetFieldPrimitive<float>(field, testNmb2); in TEST_F() 238 ASSERT_EQ(obj->GetFieldPrimitive<float>(field), testNmb2); in TEST_F() 245 EtsField *field = klass->GetFieldIDByName("Width"); in TEST_F() local 248 obj->SetFieldPrimitive(field, firNmb); in TEST_F() 249 obj->CompareAndSetFieldPrimitive(field->GetOffset(), firNmb, secNmb, std::memory_order_relaxed, true); in TEST_F() 250 ASSERT_EQ(obj->GetFieldPrimitive<int32_t>(field), secNm in TEST_F() [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...] |
| /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...] |
| /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...] |
| /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...] |