Home
last modified time | relevance | path

Searched refs:field (Results 226 - 250 of 1822) sorted by relevance

12345678910>>...73

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/
H A DPropertiesTest.java74 for (Field field : fields) { in testFieldCoverage()
75 if (Modifier.isStatic(field.getModifiers())) { in testFieldCoverage()
80 String fieldNamePascalCase = Character.toUpperCase(field.getName().charAt(0)) in testFieldCoverage()
81 + field.getName().substring(1); in testFieldCoverage()
88 field.getType(), in testFieldCoverage()
91 fail("Could not find method " + getterName + " for field " + field); in testFieldCoverage()
94 fail("Could not access method " + getterName + " for field " + field); in testFieldCoverage()
98 setter = DecimalFormatProperties.class.getMethod(setterName, field in testFieldCoverage()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
H A DPropertiesTest.java71 for (Field field : fields) { in testFieldCoverage()
72 if (Modifier.isStatic(field.getModifiers())) { in testFieldCoverage()
77 String fieldNamePascalCase = Character.toUpperCase(field.getName().charAt(0)) in testFieldCoverage()
78 + field.getName().substring(1); in testFieldCoverage()
85 field.getType(), in testFieldCoverage()
88 fail("Could not find method " + getterName + " for field " + field); in testFieldCoverage()
91 fail("Could not access method " + getterName + " for field " + field); in testFieldCoverage()
95 setter = DecimalFormatProperties.class.getMethod(setterName, field in testFieldCoverage()
[all...]
/third_party/protobuf/src/google/protobuf/
H A Dtext_format.h92 // Outputs a textual representation of the value of the field supplied on
95 // field if it is not set.
97 const FieldDescriptor* field, int index,
143 const FieldDescriptor* field,
147 const FieldDescriptor* field,
185 const FieldDescriptor* field) const;
215 // Try to find an extension of *message by fully-qualified field
235 // Find the message factory for the given extension field. This can be used
239 const FieldDescriptor* field) const;
260 const FieldDescriptor* field, in
630 RecordLocation(ParseInfoTree* info_tree, const FieldDescriptor* field, ParseLocation location) RecordLocation() argument
636 CreateNested( ParseInfoTree* info_tree, const FieldDescriptor* field) CreateNested() argument
[all...]
/third_party/rust/crates/libc/src/
H A Dmacros.rs65 ($($(#[$attr:meta])* pub $t:ident $i:ident { $($field:tt)* })*) => ($(
66 s!(it: $(#[$attr])* pub $t $i { $($field)* });
68 (it: $(#[$attr:meta])* pub union $i:ident { $($field:tt)* }) => (
71 (it: $(#[$attr:meta])* pub struct $i:ident { $($field:tt)* }) => (
77 pub struct $i { $($field)* }
89 ($($(#[$attr:meta])* pub $t:ident $i:ident { $($field:tt)* })*) => ($(
90 s_no_extra_traits!(it: $(#[$attr])* pub $t $i { $($field)* });
92 (it: $(#[$attr:meta])* pub union $i:ident { $($field:tt)* }) => (
98 pub union $i { $($field)* }
108 (it: $(#[$attr:meta])* pub struct $i:ident { $($field
[all...]
/third_party/protobuf/src/google/protobuf/compiler/java/
H A Djava_helpers.h56 // annotation's comments field. delimiter should be the Printer's delimiter
77 // Converts the field's name to camel-case, e.g. "foo_bar_baz" becomes
79 std::string UnderscoresToCamelCase(const FieldDescriptor* field);
80 std::string UnderscoresToCapitalizedCamelCase(const FieldDescriptor* field);
87 std::string UnderscoresToCamelCaseCheckReserved(const FieldDescriptor* field);
91 std::string CamelCaseFieldName(const FieldDescriptor* field);
154 std::string GetOneofStoredType(const FieldDescriptor* field);
199 // Get the unqualified name that should be used for a field's field
201 std::string FieldConstantName(const FieldDescriptor* field);
238 ImmutableDefaultValue(const FieldDescriptor* field, ClassNameResolver* name_resolver) ImmutableDefaultValue() argument
397 SupportUnknownEnumValue(const FieldDescriptor* field) SupportUnknownEnumValue() argument
[all...]
/third_party/libbpf/src/
H A Dbpf_core_read.h8 * a field, captured as a first argument. __builtin_preserve_field_info(field,
9 * info_kind) returns __u32 integer and produces BTF field relocation, which
14 BPF_FIELD_BYTE_OFFSET = 0, /* field byte offset */
16 BPF_FIELD_EXISTS = 2, /* field existence in target kernel */
41 #define __CORE_RELO(src, field, info) \
42 __builtin_preserve_field_info((src)->field, BPF_FIELD_##info)
53 * field byte size
63 * Extract bitfield, identified by s->field, and return its value as u64.
70 #define BPF_CORE_READ_BITFIELD_PROBED(s, field) ({ \
[all...]
/third_party/protobuf/src/google/protobuf/util/
H A Dfield_comparator_test.cc60 const FieldDescriptor* field = descriptor_->FindFieldByName("optionalgroup"); in TEST_F() local
62 comparator_.Compare(message_1_, message_2_, field, -1, -1, NULL)); in TEST_F()
66 const FieldDescriptor* field = in TEST_F() local
69 comparator_.Compare(message_1_, message_2_, field, -1, -1, NULL)); in TEST_F()
73 const FieldDescriptor* field = in TEST_F() local
76 comparator_.Compare(message_1_, message_2_, field, -1, -1, NULL)); in TEST_F()
80 const FieldDescriptor* field = descriptor_->FindFieldByName("optional_int32"); in TEST_F() local
85 comparator_.Compare(message_1_, message_2_, field, -1, -1, NULL)); in TEST_F()
89 comparator_.Compare(message_1_, message_2_, field, -1, -1, NULL)); in TEST_F()
93 const FieldDescriptor* field in TEST_F() local
106 const FieldDescriptor* field = TEST_F() local
120 const FieldDescriptor* field = TEST_F() local
134 const FieldDescriptor* field = descriptor_->FindFieldByName("optional_bool"); TEST_F() local
147 const FieldDescriptor* field = TEST_F() local
161 const FieldDescriptor* field = TEST_F() local
476 const FieldDescriptor* field = TEST_F() local
[all...]
H A Dmessage_differencer.h40 // Apr. 2010: Moved field comparison to FieldComparator.
75 // Defines a collection of field descriptors.
137 // values are defined for each field type, see:
174 // Identifies an individual field in a message instance. Used for field_path,
177 // For known fields, "field" is filled in and "unknown_field_number" is -1.
178 // For unknown fields, "field" is NULL, "unknown_field_number" is the field
180 const FieldDescriptor* field; member
184 // If this a repeated field, "index" is the index within it. For unknown
185 // fields, this is the index of the field amon
[all...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
H A DSymbolTable.cpp110 for(const auto& field : *mFields) in containsArrays()
112 const TType *fieldType = field->type(); in containsArrays()
121 for(const auto& field : *mFields) in containsType()
123 const TType *fieldType = field->type(); in containsType()
132 for(const auto& field : *mFields) in containsSamplers()
134 const TType *fieldType = field->type(); in containsSamplers()
143 for(auto& field : *mFields) in setMatrixPackingIfUnspecified()
145 field->type()->setMatrixPackingIfUnspecified(matrixPacking); in setMatrixPackingIfUnspecified()
153 for(const auto& field : *mFields) in buildMangledName()
156 mangledName += field in buildMangledName()
[all...]
/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DGPBJsonWire.php40 $field,
45 $field_name = GPBJsonWire::formatFieldName($field);
51 $field,
58 $field,
62 if ($field->isMap()) {
65 $map_entry = $field->getMessageType();
112 } elseif ($field->isRepeated()) {
123 $field,
134 $field,
142 $field,
[all...]
/third_party/mesa3d/src/amd/registers/
H A Dregdb.py88 conversion from and to JSON while allowing the use of .field notation
196 - enums: these are lists of named values that can occur in a register field
215 - the chips field of register mappings is sorted
226 regtype.fields.sort(key=lambda field: field.bits[0])
291 for field in regtype.fields:
292 if hasattr(field, 'enum_ref') and field.enum_ref not in self.__enums:
293 self.__enums[field.enum_ref] = old_enums[field
[all...]
/third_party/libdrm/vc4/
H A Dvc4_qpu_defines.h148 * Non-hardware mux value, stores a small immediate field to be
211 #define QPU_SET_FIELD(value, field) \
213 uint64_t fieldval = (uint64_t)(value) << field ## _SHIFT; \
214 assert((fieldval & ~ field ## _MASK) == 0); \
215 fieldval & field ## _MASK; \
218 #define QPU_GET_FIELD(word, field) ((uint32_t)(((word) & field ## _MASK) >> field ## _SHIFT))
220 #define QPU_UPDATE_FIELD(inst, value, field) \
221 (((inst) & ~(field ## _MAS
[all...]
/third_party/rust/crates/rust-openssl/systest/
H A Dbuild.rs139 cfg.skip_field_type(|s, field| { in main()
140 (s == "EVP_PKEY" && field == "pkey") || // union in main()
141 (s == "GENERAL_NAME" && field == "d") || // union in main()
142 (s == "DIST_POINT_NAME" && field == "name") || // union in main()
143 (s == "X509_OBJECT" && field == "data") || // union in main()
144 (s == "PKCS7" && field == "d") || // union in main()
145 (s == "ASN1_TYPE" && field == "value") // union in main()
156 cfg.field_name(|_s, field| { in main()
157 if field == "type_" { in main()
160 field in main()
[all...]
/third_party/protobuf/src/google/protobuf/compiler/python/
H A Dpython_generator.cc211 // Returns a Python literal giving the default value for a field.
212 // If the field specifies no explicit default value, we'll return
213 // the default default value for the field type (zero for numbers,
221 std::string StringifyDefaultValue(const FieldDescriptor& field) { in StringifyDefaultValue() argument
222 if (field.is_repeated()) { in StringifyDefaultValue()
226 switch (field.cpp_type()) { in StringifyDefaultValue()
228 return StrCat(field.default_value_int32()); in StringifyDefaultValue()
230 return StrCat(field.default_value_uint32()); in StringifyDefaultValue()
232 return StrCat(field.default_value_int64()); in StringifyDefaultValue()
234 return StrCat(field in StringifyDefaultValue()
1012 FixForeignFieldsInField( const Descriptor* containing_type, const FieldDescriptor& field, const std::string& python_dict_name) const FixForeignFieldsInField() argument
1040 FieldReferencingExpression( const Descriptor* containing_type, const FieldDescriptor& field, const std::string& python_dict_name) const FieldReferencingExpression() argument
1173 PrintFieldDescriptor(const FieldDescriptor& field, bool is_extension) const PrintFieldDescriptor() argument
1352 const FieldDescriptor& field = *file_->extension(i); FixAllDescriptorOptions() local
1433 const FieldDescriptor& field = *descriptor.field(i); FixOptionsForMessage() local
1438 const FieldDescriptor& field = *descriptor.extension(i); FixOptionsForMessage() local
[all...]
/third_party/mesa3d/src/compiler/isaspec/
H A Ddecode.c55 * Decode scope. When parsing a field that is itself a bitset, we push a
61 * But the field being resolved could be a derived field, or different
64 * triggers a recursive field lookup. But those lookups should not start
66 * prevents a field from accidentally resolving to different values
69 * wanted to optimize things by caching field lookup results.)
99 * be repeatedly evaluated for each field being resolved. And each
100 * field reference to a derived field (potentially from another expr)
370 /* When resolving a field fo in find_field()
401 extract_field(struct decode_scope *scope, const struct isa_field *field) extract_field() argument
462 display_bitset_field(struct decode_scope *scope, const struct isa_field *field, bitmask_t val) display_bitset_field() argument
479 display_enum_field(struct decode_scope *scope, const struct isa_field *field, bitmask_t val) display_enum_field() argument
502 const struct isa_field *field = resolve_field() local
536 const struct isa_field *field = resolve_field(scope, field_name, strlen(field_name), &val); isa_decode_field() local
588 const struct isa_field *field = resolve_field(scope, field_name, field_name_len, &v); display_field() local
[all...]
/third_party/protobuf/src/google/protobuf/util/internal/
H A Ddefault_value_objectwriter.cc276 // If this field is a map, we should use the type of its "Value" as in GetMapValueType()
304 // "@type" field is set. in PopulateChildren()
322 const google::protobuf::Field& field = type_->fields(i); in PopulateChildren() local
324 // This code is checking if the field to be added to the tree should be in PopulateChildren()
330 path.push_back(field.name()); in PopulateChildren()
331 if (field_scrub_callback_ && field_scrub_callback_(path, &field)) { in PopulateChildren()
336 orig_children_map.find(field.name()); in PopulateChildren()
337 // If the child field has already been set, we just add it to the new list in PopulateChildren()
349 if (field.kind() == google::protobuf::Field::TYPE_MESSAGE) { in PopulateChildren()
352 typeinfo->ResolveTypeUrl(field in PopulateChildren()
413 FindEnumDefault( const google::protobuf::Field& field, const TypeInfo* typeinfo, bool use_ints_for_enums) FindEnumDefault() argument
434 CreateDefaultDataPieceForField( const google::protobuf::Field& field, const TypeInfo* typeinfo, bool use_ints_for_enums) CreateDefaultDataPieceForField() argument
[all...]
/base/security/crypto_framework/test/unittest/src/
H A Decc_common_param_spec.c93 eccKeyPairSpec->base.field = eccCommSpec->field; in ConstructEccKeyPairParamsSpec()
94 eccKeyPairSpec->base.field->fieldType = eccCommSpec->field->fieldType; in ConstructEccKeyPairParamsSpec()
95 ((HcfECFieldFp *)(eccKeyPairSpec->base.field))->p.data = ((HcfECFieldFp *)(eccCommSpec->field))->p.data; in ConstructEccKeyPairParamsSpec()
96 ((HcfECFieldFp *)(eccKeyPairSpec->base.field))->p.len = ((HcfECFieldFp *)(eccCommSpec->field))->p.len; in ConstructEccKeyPairParamsSpec()
165 eccPubKeySpec->base.field = eccCommSpec->field; in ConstructEccPubKeyParamsSpec()
[all...]
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
H A DUnknownFieldSetTest.java46 * Tests related to unknown field handling.
60 Descriptors.FieldDescriptor field = descriptor.findFieldByName(name); in getField()
61 assertNotNull(field); in getField()
62 return unknownFields.getField(field.getNumber()); in getField()
66 // numbers as allFieldsData except that each field is some other wire
79 // Original field is not a varint, so use a varint. in getBizarroData()
82 // Original field *is* a varint, so use something else. in getBizarroData()
102 UnknownFieldSet.Field field = getField("optional_int32"); in testVarint()
103 assertEquals(1, field.getVarintList().size()); in testVarint()
105 (long) field in testVarint()
[all...]
/third_party/elfutils/libcpu/
H A Di386_parse.y70 enum bittype { zeroone, field, failure } type;
74 struct known_bitfield *field;
86 struct known_bitfield *field;
219 struct known_bitfield *field;
237 %type <field> bitfieldopt
447 $$->type = field;
448 $$->field = *res;
502 $$->field = &ax_reg;
504 $$->field = &dx_reg;
506 $$->field
[all...]
/third_party/node/deps/openssl/openssl/crypto/ec/
H A Decp_oct.c54 if (!BN_nnmod(x, x_, group->field, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
63 if (!BN_mod_sqr(tmp2, x_, group->field, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
65 if (!BN_mod_mul(tmp1, tmp2, x_, group->field, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
71 if (!BN_mod_lshift1_quick(tmp2, x, group->field)) in ossl_ec_GFp_simple_set_compressed_coordinates()
73 if (!BN_mod_add_quick(tmp2, tmp2, x, group->field)) in ossl_ec_GFp_simple_set_compressed_coordinates()
75 if (!BN_mod_sub_quick(tmp1, tmp1, tmp2, group->field)) in ossl_ec_GFp_simple_set_compressed_coordinates()
81 if (!BN_mod_mul(tmp2, tmp2, x, group->field, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
89 if (!BN_mod_add_quick(tmp1, tmp1, tmp2, group->field)) in ossl_ec_GFp_simple_set_compressed_coordinates()
97 if (!BN_mod_add_quick(tmp1, tmp1, tmp2, group->field)) in ossl_ec_GFp_simple_set_compressed_coordinates()
100 if (!BN_mod_add_quick(tmp1, tmp1, group->b, group->field)) in ossl_ec_GFp_simple_set_compressed_coordinates()
[all...]
/third_party/openssl/crypto/ec/
H A Decp_oct.c54 if (!BN_nnmod(x, x_, group->field, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
63 if (!BN_mod_sqr(tmp2, x_, group->field, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
65 if (!BN_mod_mul(tmp1, tmp2, x_, group->field, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
71 if (!BN_mod_lshift1_quick(tmp2, x, group->field)) in ossl_ec_GFp_simple_set_compressed_coordinates()
73 if (!BN_mod_add_quick(tmp2, tmp2, x, group->field)) in ossl_ec_GFp_simple_set_compressed_coordinates()
75 if (!BN_mod_sub_quick(tmp1, tmp1, tmp2, group->field)) in ossl_ec_GFp_simple_set_compressed_coordinates()
81 if (!BN_mod_mul(tmp2, tmp2, x, group->field, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
89 if (!BN_mod_add_quick(tmp1, tmp1, tmp2, group->field)) in ossl_ec_GFp_simple_set_compressed_coordinates()
97 if (!BN_mod_add_quick(tmp1, tmp1, tmp2, group->field)) in ossl_ec_GFp_simple_set_compressed_coordinates()
100 if (!BN_mod_add_quick(tmp1, tmp1, group->b, group->field)) in ossl_ec_GFp_simple_set_compressed_coordinates()
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_field.c24 * field filter, based on libmpcodecs/vf_field.c by Rich Felker
44 {"type", "set field type (top or bottom)", OFFSET(type), AV_OPT_TYPE_INT, {.i64=FIELD_TYPE_TOP}, 0, 1, FLAGS, "field_type" },
45 {"top", "select top field", 0, AV_OPT_TYPE_CONST, {.i64=FIELD_TYPE_TOP}, INT_MIN, INT_MAX, FLAGS, "field_type"},
46 {"bottom", "select bottom field", 0, AV_OPT_TYPE_CONST, {.i64=FIELD_TYPE_BOTTOM}, INT_MIN, INT_MAX, FLAGS, "field_type"},
50 AVFILTER_DEFINE_CLASS(field); variable
55 FieldContext *field = ctx->priv; in config_props_output() local
58 field->nb_planes = av_pix_fmt_count_planes(outlink->format); in config_props_output()
61 outlink->h = (inlink->h + (field->type == FIELD_TYPE_TOP)) / 2; in config_props_output()
64 inlink->w, inlink->h, field->type == FIELD_TYPE_BOTTOM ? "bottom" : "top", in config_props_output()
71 FieldContext *field in filter_frame() local
[all...]
/third_party/node/deps/v8/src/torque/
H A Dtype-visitor.cc151 for (const auto& field : decl->fields) { in ComputeType()
153 field.name_and_type.type->pos); in ComputeType()
154 const Type* field_type = TypeVisitor::ComputeType(field.name_and_type.type); in ComputeType()
157 field.name_and_type.name->value); in ComputeType()
160 // Compute the maximum number of bits that could be used for a field of this in ComputeType()
174 if (field.num_bits < 1 || in ComputeType()
175 static_cast<size_t>(field.num_bits) > field_type_size) { in ComputeType()
177 field.name_and_type.name->value); in ComputeType()
179 type->RegisterField({field.name_and_type.name->pos, in ComputeType()
180 {field in ComputeType()
443 const Field& field = class_type->RegisterField( VisitClassFieldsAndMethods() local
[all...]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DDescriptorMessageInfoFactory.java120 * allows cycle references within the same .proto file (e.g., message Foo has a Bar field, and
121 * message Bar has a Foo field). For that we use Tarjan's strongly connected components algorithm
180 for (FieldDescriptor field : descriptor.getFields()) { in dfs()
181 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in dfs()
182 Node child = nodeCache.get(field.getMessageType()); in dfs()
185 child = dfs(field.getMessageType()); in dfs()
224 for (FieldDescriptor field : descriptor.getFields()) { in analyze()
225 if (field.isRequired()) { in analyze()
230 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in analyze()
233 Node node = nodeCache.get(field in analyze()
575 private static Field field(Class<?> messageType, FieldDescriptor fd) { field() method in DescriptorMessageInfoFactory
583 private static Field field(Class<?> messageType, String fieldName) { field() method in DescriptorMessageInfoFactory
[all...]
H A DTextFormat.java118 * Generates a human readable form of the field, useful for debugging and other purposes, with
124 public static String shortDebugString(final FieldDescriptor field, final Object value) { in shortDebugString() argument
125 return printer().shortDebugString(field, value); in shortDebugString()
184 final FieldDescriptor field, final Object value, final Appendable output) in printField()
186 printer().printField(field, value, output); in printField()
191 public static String printFieldToString(final FieldDescriptor field, final Object value) { in printFieldToString() argument
192 return printer().printFieldToString(field, value); in printFieldToString()
196 * Outputs a unicode textual representation of the value of given field value.
203 * @param field the descriptor of the field
183 printField( final FieldDescriptor field, final Object value, final Appendable output) printField() argument
210 printUnicodeFieldValue( final FieldDescriptor field, final Object value, final Appendable output) printUnicodeFieldValue() argument
227 printFieldValue( final FieldDescriptor field, final Object value, final Appendable output) printFieldValue() argument
406 printFieldToString(final FieldDescriptor field, final Object value) printFieldToString() argument
416 printField(final FieldDescriptor field, final Object value, final Appendable output) printField() argument
421 printField( final FieldDescriptor field, final Object value, final TextGenerator generator) printField() argument
525 printFieldValue( final FieldDescriptor field, final Object value, final Appendable output) printFieldValue() argument
531 printFieldValue( final FieldDescriptor field, final Object value, final TextGenerator generator) printFieldValue() argument
638 shortDebugString(final FieldDescriptor field, final Object value) shortDebugString() argument
707 printSingleField( final FieldDescriptor field, final Object value, final TextGenerator generator) printSingleField() argument
1937 consumeFieldValues( final Tokenizer tokenizer, final ExtensionRegistry extensionRegistry, final MessageReflection.MergeTarget target, final FieldDescriptor field, final ExtensionRegistry.ExtensionInfo extension, final TextFormatParseInfoTree.Builder parseTreeBuilder, List<UnknownField> unknownFields) consumeFieldValues() argument
1979 consumeFieldValue( final Tokenizer tokenizer, final ExtensionRegistry extensionRegistry, final MessageReflection.MergeTarget target, final FieldDescriptor field, final ExtensionRegistry.ExtensionInfo extension, final TextFormatParseInfoTree.Builder parseTreeBuilder, List<UnknownField> unknownFields) consumeFieldValue() argument
[all...]

Completed in 15 milliseconds

12345678910>>...73