Home
last modified time | relevance | path

Searched refs:field (Results 376 - 400 of 4041) sorted by relevance

1...<<11121314151617181920>>...162

/third_party/rust/crates/serde/serde_derive/src/
H A Dser.rs65 cx.error_spanned_by(cont.original, "field identifiers cannot be serialized"); in precondition()
129 // field type that will be serialized by us.
154 // may need a `T: Serialize` bound where T is the type of the field.
155 fn needs_serialize_bound(field: &attr::Field, variant: Option<&attr::Variant>) -> bool { in needs_serialize_bound()
156 !field.skip_serializing() in needs_serialize_bound()
157 && field.serialize_with().is_none() in needs_serialize_bound()
158 && field.ser_bound().is_none() in needs_serialize_bound()
228 field: &Field, in serialize_newtype_struct()
235 field, in serialize_newtype_struct()
241 if let Some(path) = field in serialize_newtype_struct()
[all...]
H A Dde.rs121 /// At least one field has a serde(getter) attribute, implying that the
122 /// remote type has a private field.
158 // field type that will be deserialized by us, plus a bound `T: Default` for
159 // each generic field type that will be set to a default value.
203 // field.
204 fn needs_deserialize_bound(field: &attr::Field, variant: Option<&attr::Variant>) -> bool { in needs_deserialize_bound()
205 !field.skip_deserializing() in needs_deserialize_bound()
206 && field.deserialize_with().is_none() in needs_deserialize_bound()
207 && field.de_bound().is_none() in needs_deserialize_bound()
217 fn requires_default(field
[all...]
/third_party/toybox/porting/liteos_a/toys/posix/
H A Dps.c11 * Posix says default output should have field named "TTY" but if you "-o tty"
12 * the same field should be called "TT" which is _INSANE_ and I'm not doing it.
21 * field always prints "-" with an alignment of 1, which is why it has 11
85 -s Sort by field number (0-X, default 6)
256 * slot: which slot[] out of procpid. Negative means it's a string field.
391 // Print help text for each -o field, with categories.
402 printf("Command line field types:\n\n"); in help_help()
408 printf("\nProcess attribute field types:\n\n"); in help_help()
459 static char *string_field(struct procpid *tb, struct ofields *field) in string_field() argument
462 int which = field in string_field()
597 struct ofields *field; show_ps() local
1013 struct ofields *field; parse_ko() local
1080 get_headers(struct ofields *field, char *buf, int blen) get_headers() argument
1175 struct ofields *field; ksort() local
1267 struct ofields *field, *field2; setsort() local
1423 struct ofields field; top_common() local
1482 struct ofields *field; top_common() local
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DComputeLayoutMemoryBufferTests.cpp68 // Align returns the WGSL decoration for an explicit structure field alignment
77 const char* type; // Type of the field
126 std::ostream& operator<<(std::ostream& o, Field field) { in operator <<() argument
127 o << "[[align(" << field.align << "), size(" in operator <<()
128 << (field.padded_size > 0 ? field.padded_size : field.size) << ")]] " << field.type; in operator <<()
150 // Byte codes used for field padding. The MSB is set for each of these. in TEST_P()
151 // The field dat in TEST_P()
166 const Field& field = GetParam().mField; TEST_P() local
[all...]
/third_party/protobuf/src/google/protobuf/util/
H A Dtype_resolver_util_test.cc73 const Field& field = type.fields(i); in FindField() local
74 if (field.name() == name) { in FindField()
75 return &field; in FindField()
83 const Field* field = FindField(type, name); in HasField() local
84 if (field == NULL) { in HasField()
87 return field->cardinality() == cardinality && field->kind() == kind && in HasField()
88 field->number() == number; in HasField()
93 const Field* field = FindField(type, name); in CheckFieldTypeUrl() local
94 if (field in CheckFieldTypeUrl()
102 const Field* field = FindField(type, name); FieldInOneof() local
111 const Field* field = FindField(type, name); IsPacked() local
374 const Field* field = FindField(type, "field1"); TEST_F() local
[all...]
/third_party/protobuf/src/google/protobuf/compiler/
H A Dparser.cc92 // Camel-case the field name and append "Entry" for generated map entry name.
591 "\" declares support for enum aliases but no enum values share field " in ValidateEnum()
772 // Add synthetic one-field oneofs for optional fields, except messages which in ParseMessageDefinition()
776 // field or oneof. in ParseMessageDefinition()
778 for (const auto& field : message->field()) { in ParseMessageDefinition()
779 names.insert(field.name()); in ParseMessageDefinition()
785 for (auto& field : *message->mutable_field()) { in ParseMessageDefinition()
786 if (field.proto3_optional()) { in ParseMessageDefinition()
787 std::string oneof_name = field in ParseMessageDefinition()
937 ParseMessageField(FieldDescriptorProto* field, RepeatedPtrField<DescriptorProto>* messages, const LocationRecorder& parent_location, int location_field_number_for_nested_type, const LocationRecorder& field_location, const FileDescriptorProto* containing_file) ParseMessageField() argument
959 ParseMessageFieldNoLabel( FieldDescriptorProto* field, RepeatedPtrField<DescriptorProto>* messages, const LocationRecorder& parent_location, int location_field_number_for_nested_type, const LocationRecorder& field_location, const FileDescriptorProto* containing_file) ParseMessageFieldNoLabel() argument
1131 GenerateMapEntry(const MapField& map_field, FieldDescriptorProto* field, RepeatedPtrField<DescriptorProto>* messages) GenerateMapEntry() argument
1195 ParseFieldOptions(FieldDescriptorProto* field, const LocationRecorder& field_location, const FileDescriptorProto* containing_file) ParseFieldOptions() argument
1224 ParseDefaultAssignment( FieldDescriptorProto* field, const LocationRecorder& field_location, const FileDescriptorProto* containing_file) ParseDefaultAssignment() argument
1362 ParseJsonName(FieldDescriptorProto* field, const LocationRecorder& field_location, const FileDescriptorProto* containing_file) ParseJsonName() argument
1873 FieldDescriptorProto* field = extensions->Add(); ParseExtend() local
1949 FieldDescriptorProto* field = containing_type->add_field(); ParseOneof() local
[all...]
/kernel/linux/linux-5.10/tools/perf/util/scripting-engines/
H A Dtrace-event-perl.c104 static void define_symbolic_values(struct tep_print_flag_sym *field, in define_symbolic_values() argument
108 define_symbolic_value(ev_name, field_name, field->value, field->str); in define_symbolic_values()
109 if (field->next) in define_symbolic_values()
110 define_symbolic_values(field->next, ev_name, field_name); in define_symbolic_values()
162 static void define_flag_values(struct tep_print_flag_sym *field, in define_flag_values() argument
166 define_flag_value(ev_name, field_name, field->value, field->str); in define_flag_values()
167 if (field->next) in define_flag_values()
168 define_flag_values(field in define_flag_values()
344 struct tep_format_field *field; perl_process_tracepoint() local
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
H A Dstd_core_Type.cpp200 EtsTypeAPIField *CreateField(EtsField *field, EtsClass *type) in CreateField() argument
210 auto td = EtsString::CreateFromMUtf8(field->GetTypeDescriptor()); in CreateField()
212 auto ownerTd = EtsString::CreateFromMUtf8(field->GetDeclaringClass()->GetDescriptor()); in CreateField()
214 auto name = field->GetNameString(); in CreateField()
215 // Set field's type, field's owner type and name in CreateField()
222 if (field->IsPublic()) { in CreateField()
224 } else if (field->IsPrivate()) { in CreateField()
233 attr |= (field->IsStatic()) ? static_cast<uint32_t>(EtsTypeAPIAttributes::STATIC) : 0U; in CreateField()
234 attr |= (!field in CreateField()
247 EtsField *field = type->GetFieldByIndex(idx); TypeAPIGetField() local
257 EtsField *field = type->GetOwnFieldByIndex(idx); TypeAPIGetOwnField() local
288 auto field = ownerType->GetFieldIDByName(fnamePtr.GetPtr()->GetMutf8().c_str()); TypeAPIGetStaticFieldValue() local
323 auto field = ownerType->GetFieldIDByName(fnamePtr.GetPtr()->GetMutf8().c_str()); TypeAPISetStaticFieldValue() local
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Ducal.cpp470 UCalendarDateFields field,
474 if (field < 0 || UCAL_FIELD_COUNT <= field) {
479 ((Calendar*)cal)->add(field, amount, *status);
484 UCalendarDateFields field,
488 if (field < 0 || UCAL_FIELD_COUNT <= field) {
493 ((Calendar*)cal)->roll(field, amount, *status);
498 UCalendarDateFields field,
501 if (field <
678 ucal_getFieldDifference(UCalendar* cal, UDate target, UCalendarDateFields field, UErrorCode* status ) ucal_getFieldDifference() argument
[all...]
H A Dformattedvalue.cpp33 void ConstrainedFieldPosition::constrainField(int32_t category, int32_t field) { in constrainField() argument
36 fField = field; in constrainField()
43 UBool ConstrainedFieldPosition::matchesField(int32_t category, int32_t field) const { in matchesField()
50 return fCategory == category && fField == field; in matchesField()
58 int32_t field, in setState()
62 fField = field; in setState()
110 ucfpos_constrainField(UConstrainedFieldPosition* ptr, int32_t category, int32_t field, UErrorCode* ec) { in ucfpos_constrainField() argument
115 impl->fImpl.constrainField(category, field); in ucfpos_constrainField()
165 ucfpos_matchesField(const UConstrainedFieldPosition* ptr, int32_t category, int32_t field, UErrorCode* ec) { in ucfpos_matchesField() argument
170 return impl->fImpl.matchesField(category, field); in ucfpos_matchesField()
56 setState( int32_t category, int32_t field, int32_t start, int32_t limit) setState() argument
174 ucfpos_setState( UConstrainedFieldPosition* ptr, int32_t category, int32_t field, int32_t start, int32_t limit, UErrorCode* ec) ucfpos_setState() argument
[all...]
/kernel/linux/linux-5.10/drivers/mux/
H A Dmmio.c76 struct reg_field field; in mux_mmio_probe() local
92 field.reg = reg; in mux_mmio_probe()
93 field.msb = fls(mask) - 1; in mux_mmio_probe()
94 field.lsb = ffs(mask) - 1; in mux_mmio_probe()
96 if (mask != GENMASK(field.msb, field.lsb)) { in mux_mmio_probe()
102 fields[i] = devm_regmap_field_alloc(dev, regmap, field); in mux_mmio_probe()
110 bits = 1 + field.msb - field.lsb; in mux_mmio_probe()
/kernel/linux/linux-6.6/drivers/mux/
H A Dmmio.c76 struct reg_field field; in mux_mmio_probe() local
92 field.reg = reg; in mux_mmio_probe()
93 field.msb = fls(mask) - 1; in mux_mmio_probe()
94 field.lsb = ffs(mask) - 1; in mux_mmio_probe()
96 if (mask != GENMASK(field.msb, field.lsb)) { in mux_mmio_probe()
102 fields[i] = devm_regmap_field_alloc(dev, regmap, field); in mux_mmio_probe()
110 bits = 1 + field.msb - field.lsb; in mux_mmio_probe()
/third_party/icu/icu4c/source/test/intltest/
H A Dfldset.h74 * @param inheritFrom if a field's value is given as 0-length, such as NAME1 in "NAME1=,NAME2=VALUE2",
88 * @param inheritFrom if a field's value is given as 0-length, such as NAME1 in "NAME1=,NAME2=VALUE2",
101 * This function is called when parsing a field name, such as "MONTH" in "MONTH=4".
108 * @param name the field name (key side)
111 * @return field number, or negative if field should be skipped.
122 * @param field which field is being parsed
128 int32_t field,
135 * Implementations of this function should call set(field,
[all...]
/third_party/libdrm/radeon/
H A Dradeon_surface.h35 * mipmap level. 0 value for field than can be hint is always valid.
62 #define RADEON_SURF_GET(v, field) (((v) >> RADEON_SURF_ ## field ## _SHIFT) & RADEON_SURF_ ## field ## _MASK)
63 #define RADEON_SURF_SET(v, field) (((v) & RADEON_SURF_ ## field ## _MASK) << RADEON_SURF_ ## field ## _SHIFT)
64 #define RADEON_SURF_CLR(v, field) ((v) & ~(RADEON_SURF_ ## field ## _MASK << RADEON_SURF_ ## field ## _SHIF
[all...]
/third_party/node/deps/v8/src/torque/
H A Dtypes.cc324 for (const BitField& field : fields_) { in LookupField()
325 if (field.name_and_type.name == name) { in LookupField()
326 return field; in LookupField()
334 // field declarations. in CheckForDuplicateFields()
338 for (const Field& field : aggregate_type->fields()) { in CheckForDuplicateFields()
339 const std::string& field_name = field.name_and_type.name; in CheckForDuplicateFields()
342 CurrentSourcePosition::Scope current_source_position(field.pos); in CheckForDuplicateFields()
347 "' declares a field with the name '", field_name, in CheckForDuplicateFields()
351 "' declares a field with the name '", field_name, in CheckForDuplicateFields()
352 "' that masks an inherited field fro in CheckForDuplicateFields()
718 Field& field = fields_[field_index]; GenerateAccessors() local
834 const Field& field = fields_[field_index]; GenerateSliceAccessor() local
988 operator <<(std::ostream& os, const Field& field) operator <<() argument
[all...]
/third_party/python/Parser/
H A Dasdl_c.py190 for field in fields:
191 self.visitField(field)
193 def visitField(self, field):
194 self.metadata.identifiers.add(field.name)
291 for field in sum.attributes:
293 type = str(field.type)
295 emit("%s %s;" % (type, field.name), depth + 1);
307 def visitField(self, field, depth):
308 # XXX need to lookup field.type, because it might be something
310 ctype = get_c_type(field
[all...]
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/dragonfly/
H A Dmod.rs560 .field("ut_name", &self.ut_name) in fmt()
561 .field("ut_id", &self.ut_id) in fmt()
562 .field("ut_line", &self.ut_line) in fmt()
563 // FIXME: .field("ut_host", &self.ut_host) in fmt()
564 .field("ut_unused", &self.ut_unused) in fmt()
565 .field("ut_session", &self.ut_session) in fmt()
566 .field("ut_type", &self.ut_type) in fmt()
567 .field("ut_pid", &self.ut_pid) in fmt()
568 .field("ut_exit", &self.ut_exit) in fmt()
569 .field("ut_s in fmt()
[all...]
/third_party/typescript/tests/baselines/reference/
H A DintersectionsAndOptionalProperties.js12 field?: number;
16 type From = { field: null } & Omit<To, 'field'>;
21 x.field = v.field; // Error
37 x.field = v.field; // Error
/third_party/rust/crates/nix/test/
H A Dtest_sched.rs10 for field in 0..CpuSet::count() { in test_sched_affinity()
11 if initial_affinity.is_set(field).unwrap() { in test_sched_affinity()
13 last_valid_cpu = field; in test_sched_affinity()
25 for field in 0..CpuSet::count() { in test_sched_affinity()
28 updated_affinity.is_set(field).unwrap(), in test_sched_affinity()
29 field == last_valid_cpu in test_sched_affinity()
/third_party/icu/icu4c/source/i18n/
H A Dformattedvalue.cpp33 void ConstrainedFieldPosition::constrainField(int32_t category, int32_t field) { in constrainField() argument
36 fField = field; in constrainField()
43 UBool ConstrainedFieldPosition::matchesField(int32_t category, int32_t field) const { in matchesField()
50 return fCategory == category && fField == field; in matchesField()
58 int32_t field, in setState()
62 fField = field; in setState()
110 ucfpos_constrainField(UConstrainedFieldPosition* ptr, int32_t category, int32_t field, UErrorCode* ec) { in ucfpos_constrainField() argument
115 impl->fImpl.constrainField(category, field); in ucfpos_constrainField()
165 ucfpos_matchesField(const UConstrainedFieldPosition* ptr, int32_t category, int32_t field, UErrorCode* ec) { in ucfpos_matchesField() argument
170 return impl->fImpl.matchesField(category, field); in ucfpos_matchesField()
56 setState( int32_t category, int32_t field, int32_t start, int32_t limit) setState() argument
174 ucfpos_setState( UConstrainedFieldPosition* ptr, int32_t category, int32_t field, int32_t start, int32_t limit, UErrorCode* ec) ucfpos_setState() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/
H A Degd_tables.py172 field = it
175 field = Field(reg, name)
176 reg.fields.append(field)
183 for (n,v) in field.values:
188 field.values.append((name, value))
261 for field in reg.fields:
262 if len(field.values):
264 for value in field.values:
269 strings.add(field.name), field
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dformattedvalue.cpp33 void ConstrainedFieldPosition::constrainField(int32_t category, int32_t field) { in constrainField() argument
36 fField = field; in constrainField()
43 UBool ConstrainedFieldPosition::matchesField(int32_t category, int32_t field) const { in matchesField()
50 return fCategory == category && fField == field; in matchesField()
58 int32_t field, in setState()
62 fField = field; in setState()
110 ucfpos_constrainField(UConstrainedFieldPosition* ptr, int32_t category, int32_t field, UErrorCode* ec) { in ucfpos_constrainField() argument
115 impl->fImpl.constrainField(category, field); in ucfpos_constrainField()
165 ucfpos_matchesField(const UConstrainedFieldPosition* ptr, int32_t category, int32_t field, UErrorCode* ec) { in ucfpos_matchesField() argument
170 return impl->fImpl.matchesField(category, field); in ucfpos_matchesField()
56 setState( int32_t category, int32_t field, int32_t start, int32_t limit) setState() argument
174 ucfpos_setState( UConstrainedFieldPosition* ptr, int32_t category, int32_t field, int32_t start, int32_t limit, UErrorCode* ec) ucfpos_setState() argument
[all...]
/third_party/mesa3d/src/broadcom/cle/
H A Dv3d_decoder.c308 struct v3d_field *field; in create_field() local
313 field = xzalloc(sizeof(*field)); in create_field()
317 field->name = xstrdup(atts[i + 1]); in create_field()
319 field->start = strtoul(atts[i + 1], &p, 0); in create_field()
321 field->start *= 8; in create_field()
323 field->end = strtoul(atts[i + 1], &p, 0) - 1; in create_field()
325 field->end *= 8; in create_field()
331 field->type = string_to_type(ctx, atts[i + 1]); in create_field()
333 field in create_field()
543 struct v3d_field *field = ctx->group->fields[ctx->group->nfields - 1]; end_element() local
710 struct v3d_field *field = group->fields[j]; v3d_spec_find_instruction() local
734 struct v3d_field *field = group->fields[i]; v3d_group_get_length() local
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Collections/
H A DRepeatedFieldTest.cs327 var field = new RepeatedField<int>(); in AddEntriesFrom_PackedInt32()
330 field.AddEntriesFrom(input, FieldCodec.ForInt32(nonPackedTag)); in AddEntriesFrom_PackedInt32()
331 CollectionAssert.AreEqual(new[] { 10, 999, -1000 }, field); in AddEntriesFrom_PackedInt32()
353 var field = new RepeatedField<int>(); in AddEntriesFrom_NonPackedInt32()
356 field.AddEntriesFrom(input, FieldCodec.ForInt32(packedTag)); in AddEntriesFrom_NonPackedInt32()
357 CollectionAssert.AreEqual(new[] { 10, 999, -1000 }, field); in AddEntriesFrom_NonPackedInt32()
376 var field = new RepeatedField<string>(); in AddEntriesFrom_String()
379 field.AddEntriesFrom(input, FieldCodec.ForString(tag)); in AddEntriesFrom_String()
380 CollectionAssert.AreEqual(new[] { "Foo", "", "Bar" }, field); in AddEntriesFrom_String()
400 var field in AddEntriesFrom_Message()
[all...]
/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A Dexserial.c23 * PARAMETERS: obj_desc - The named field to read
28 * DESCRIPTION: Read from a named field that references a Generic Serial Bus
29 * field
41 * pin number index. The bit_length is the length of the field, which in acpi_ex_read_gpio()
46 obj_desc->field.pin_number_index, in acpi_ex_read_gpio()
47 obj_desc->field.bit_length)); in acpi_ex_read_gpio()
67 * obj_desc - The named field
72 * DESCRIPTION: Write to a named field that references a General Purpose I/O
73 * field.
88 * For GPIO (general_purpose_io), we will bypass the entire field in acpi_ex_write_gpio()
[all...]

Completed in 32 milliseconds

1...<<11121314151617181920>>...162