Home
last modified time | relevance | path

Searched refs:field (Results 1 – 25 of 3149) sorted by relevance

12345678910>>...126

/third_party/node/lib/
D_http_incoming.js164 function matchKnownFields(field, lowercased) { argument
165 switch (field.length) {
167 if (field === 'Age' || field === 'age') return 'age';
170 if (field === 'Host' || field === 'host') return 'host';
171 if (field === 'From' || field === 'from') return 'from';
172 if (field === 'ETag' || field === 'etag') return 'etag';
173 if (field === 'Date' || field === 'date') return '\u0000date';
174 if (field === 'Vary' || field === 'vary') return '\u0000vary';
177 if (field === 'Server' || field === 'server') return 'server';
178 if (field === 'Cookie' || field === 'cookie') return '\u0002cookie';
[all …]
/third_party/libuv/include/uv/
Dtree.h82 #define SPLAY_LEFT(elm, field) (elm)->field.spe_left argument
83 #define SPLAY_RIGHT(elm, field) (elm)->field.spe_right argument
88 #define SPLAY_ROTATE_RIGHT(head, tmp, field) do { \ argument
89 SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(tmp, field); \
90 SPLAY_RIGHT(tmp, field) = (head)->sph_root; \
94 #define SPLAY_ROTATE_LEFT(head, tmp, field) do { \ argument
95 SPLAY_RIGHT((head)->sph_root, field) = SPLAY_LEFT(tmp, field); \
96 SPLAY_LEFT(tmp, field) = (head)->sph_root; \
100 #define SPLAY_LINKLEFT(head, tmp, field) do { \ argument
101 SPLAY_LEFT(tmp, field) = (head)->sph_root; \
[all …]
/third_party/FreeBSD/sys/sys/
Dtree.h87 #define SPLAY_LEFT(elm, field) (elm)->field.spe_left argument
88 #define SPLAY_RIGHT(elm, field) (elm)->field.spe_right argument
93 #define SPLAY_ROTATE_RIGHT(head, tmp, field) do { \ argument
94 SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(tmp, field); \
95 SPLAY_RIGHT(tmp, field) = (head)->sph_root; \
99 #define SPLAY_ROTATE_LEFT(head, tmp, field) do { \ argument
100 SPLAY_RIGHT((head)->sph_root, field) = SPLAY_LEFT(tmp, field); \
101 SPLAY_LEFT(tmp, field) = (head)->sph_root; \
105 #define SPLAY_LINKLEFT(head, tmp, field) do { \ argument
106 SPLAY_LEFT(tmp, field) = (head)->sph_root; \
[all …]
Dqueue.h216 #define SLIST_CONCAT(head1, head2, type, field) do { \ argument
222 while (SLIST_NEXT(curelm, field) != NULL) \
223 curelm = SLIST_NEXT(curelm, field); \
224 SLIST_NEXT(curelm, field) = SLIST_FIRST(head2); \
233 #define SLIST_FOREACH(var, head, field) \ argument
236 (var) = SLIST_NEXT((var), field))
238 #define SLIST_FOREACH_FROM(var, head, field) \ argument
241 (var) = SLIST_NEXT((var), field))
243 #define SLIST_FOREACH_SAFE(var, head, field, tvar) \ argument
245 (var) && ((tvar) = SLIST_NEXT((var), field), 1); \
[all …]
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/
Duser_queue.h165 #define SLIST_FOREACH(var, head, field) \ argument
168 (var) = SLIST_NEXT((var), field))
170 #define SLIST_FOREACH_SAFE(var, head, field, tvar) \ argument
172 (var) && ((tvar) = SLIST_NEXT((var), field), 1); \
175 #define SLIST_FOREACH_PREVPTR(var, varp, head, field) \ argument
178 (varp) = &SLIST_NEXT((var), field))
184 #define SLIST_INSERT_AFTER(slistelm, elm, field) do { \ argument
185 SLIST_NEXT((elm), field) = SLIST_NEXT((slistelm), field); \
186 SLIST_NEXT((slistelm), field) = (elm); \
189 #define SLIST_INSERT_HEAD(head, elm, field) do { \ argument
[all …]
/third_party/protobuf/src/google/protobuf/
Dgenerated_message_reflection.cc80 bool IsMapFieldInApi(const FieldDescriptor* field) { return field->is_map(); } in IsMapFieldInApi() argument
111 const FieldDescriptor* field, in ReportReflectionUsageError() argument
121 << field->full_name() in ReportReflectionUsageError()
133 const Descriptor* descriptor, const FieldDescriptor* field, in ReportReflectionUsageTypeError() argument
144 << field->full_name() in ReportReflectionUsageTypeError()
151 << cpptype_names_[field->cpp_type()]; in ReportReflectionUsageTypeError()
155 const Descriptor* descriptor, const FieldDescriptor* field, in ReportReflectionUsageEnumTypeError() argument
165 << field->full_name() in ReportReflectionUsageEnumTypeError()
169 << field->enum_type()->full_name() in ReportReflectionUsageEnumTypeError()
176 const FieldDescriptor* field) { in CheckInvalidAccess() argument
[all …]
Drepeated_field_unittest.cc70 RepeatedField<int> field; in TEST() local
72 EXPECT_TRUE(field.empty()); in TEST()
73 EXPECT_EQ(field.size(), 0); in TEST()
75 field.Add(5); in TEST()
77 EXPECT_FALSE(field.empty()); in TEST()
78 EXPECT_EQ(field.size(), 1); in TEST()
79 EXPECT_EQ(field.Get(0), 5); in TEST()
80 EXPECT_EQ(field.at(0), 5); in TEST()
82 field.Add(42); in TEST()
84 EXPECT_FALSE(field.empty()); in TEST()
[all …]
Dreflection_ops.cc90 const FieldDescriptor* field = fields[i]; in Merge() local
92 if (field->is_repeated()) { in Merge()
98 if (is_from_generated == is_to_generated && field->is_map()) { in Merge()
100 from_reflection->GetMapData(from, field); in Merge()
101 MapFieldBase* to_field = to_reflection->MutableMapData(to, field); in Merge()
107 int count = from_reflection->FieldSize(from, field); in Merge()
109 switch (field->cpp_type()) { in Merge()
113 to, field, from_reflection->GetRepeated##METHOD(from, field, j)); \ in Merge()
129 from_reflection->GetRepeatedMessage(from, field, j); in Merge()
132 ->AddMessage(to, field, in Merge()
[all …]
Dmessage.h212 bool CreateUnknownEnumValues(const FieldDescriptor* field);
441 bool HasField(const Message& message, const FieldDescriptor* field) const;
444 int FieldSize(const Message& message, const FieldDescriptor* field) const;
448 void ClearField(Message* message, const FieldDescriptor* field) const;
469 void RemoveLast(Message* message, const FieldDescriptor* field) const;
472 Message* ReleaseLast(Message* message, const FieldDescriptor* field) const;
482 void SwapElements(Message* message, const FieldDescriptor* field, int index1,
500 int32 GetInt32(const Message& message, const FieldDescriptor* field) const;
501 int64 GetInt64(const Message& message, const FieldDescriptor* field) const;
502 uint32 GetUInt32(const Message& message, const FieldDescriptor* field) const;
[all …]
Dwire_format.cc67 static size_t MapKeyDataOnlyByteSize(const FieldDescriptor* field,
69 static size_t MapValueRefDataOnlyByteSize(const FieldDescriptor* field,
198 const UnknownField& field = unknown_fields.field(i); in InternalSerializeUnknownFieldsToArray() local
201 switch (field.type()) { in InternalSerializeUnknownFieldsToArray()
203 target = WireFormatLite::WriteUInt64ToArray(field.number(), in InternalSerializeUnknownFieldsToArray()
204 field.varint(), target); in InternalSerializeUnknownFieldsToArray()
207 target = WireFormatLite::WriteFixed32ToArray(field.number(), in InternalSerializeUnknownFieldsToArray()
208 field.fixed32(), target); in InternalSerializeUnknownFieldsToArray()
211 target = WireFormatLite::WriteFixed64ToArray(field.number(), in InternalSerializeUnknownFieldsToArray()
212 field.fixed64(), target); in InternalSerializeUnknownFieldsToArray()
[all …]
/third_party/rust/crates/syn/src/gen/
Ddebug.rs11 formatter.field("extern_token", &self.extern_token); in fmt()
12 formatter.field("name", &self.name); in fmt()
21 formatter.field("colon2_token", &self.colon2_token); in fmt()
22 formatter.field("lt_token", &self.lt_token); in fmt()
23 formatter.field("args", &self.args); in fmt()
24 formatter.field("gt_token", &self.gt_token); in fmt()
33 formatter.field("attrs", &self.attrs); in fmt()
34 formatter.field("pat", &self.pat); in fmt()
35 formatter.field("guard", &self.guard); in fmt()
36 formatter.field("fat_arrow_token", &self.fat_arrow_token); in fmt()
[all …]
/third_party/typescript/tests/baselines/reference/
DprivateNameFieldAssignment.types5 #field = 0;
6 >#field : number
10 this.#field = 1;
11 >this.#field = 1 : 1
12 >this.#field : number
16 this.#field += 2;
17 >this.#field += 2 : number
18 >this.#field : number
22 this.#field -= 3;
23 >this.#field -= 3 : number
[all …]
DprivateNameFieldDestructuredBinding(target=es2015).types5 #field = 1;
6 >#field : number
36 ({ x: this.#field, y } = this.testObject());
37 >({ x: this.#field, y } = this.testObject()) : { x: number; y: number; }
38 >{ x: this.#field, y } = this.testObject() : { x: number; y: number; }
39 >{ x: this.#field, y } : { x: number; y: number; }
41 >this.#field : number
49 ([this.#field, y] = this.testArray());
50 >([this.#field, y] = this.testArray()) : number[]
51 >[this.#field, y] = this.testArray() : number[]
[all …]
DprivateNameFieldDestructuredBinding(target=esnext).types5 #field = 1;
6 >#field : number
36 ({ x: this.#field, y } = this.testObject());
37 >({ x: this.#field, y } = this.testObject()) : { x: number; y: number; }
38 >{ x: this.#field, y } = this.testObject() : { x: number; y: number; }
39 >{ x: this.#field, y } : { x: number; y: number; }
41 >this.#field : number
49 ([this.#field, y] = this.testArray());
50 >([this.#field, y] = this.testArray()) : number[]
51 >[this.#field, y] = this.testArray() : number[]
[all …]
DprivateNameFieldAssignment.symbols5 #field = 0;
6 >#field : Symbol(A.#field, Decl(privateNameFieldAssignment.ts, 0, 9))
9 this.#field = 1;
10 >this.#field : Symbol(A.#field, Decl(privateNameFieldAssignment.ts, 0, 9))
13 this.#field += 2;
14 >this.#field : Symbol(A.#field, Decl(privateNameFieldAssignment.ts, 0, 9))
17 this.#field -= 3;
18 >this.#field : Symbol(A.#field, Decl(privateNameFieldAssignment.ts, 0, 9))
21 this.#field /= 4;
22 >this.#field : Symbol(A.#field, Decl(privateNameFieldAssignment.ts, 0, 9))
[all …]
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc98 void PrintPresenceCheck(const Formatter& format, const FieldDescriptor* field, in PrintPresenceCheck() argument
101 if (!field->options().weak()) { in PrintPresenceCheck()
102 int has_bit_index = has_bit_indices[field->index()]; in PrintPresenceCheck()
111 format("if (has_$1$()) {\n", FieldName(field)); in PrintPresenceCheck()
129 fields[i] = descriptor->field(i); in SortFieldsByNumber()
143 bool IsPOD(const FieldDescriptor* field) { in IsPOD() argument
144 if (field->is_repeated() || field->is_extension()) return false; in IsPOD()
145 switch (field->cpp_type()) { in IsPOD()
165 bool CanBeManipulatedAsRawBytes(const FieldDescriptor* field, in CanBeManipulatedAsRawBytes() argument
167 bool ret = CanInitializeByZeroing(field); in CanBeManipulatedAsRawBytes()
[all …]
Dcpp_helpers.cc306 bool CanInitializeByZeroing(const FieldDescriptor* field) { in CanInitializeByZeroing() argument
307 if (field->is_repeated() || field->is_extension()) return false; in CanInitializeByZeroing()
308 switch (field->cpp_type()) { in CanInitializeByZeroing()
310 return field->default_value_enum()->number() == 0; in CanInitializeByZeroing()
312 return field->default_value_int32() == 0; in CanInitializeByZeroing()
314 return field->default_value_int64() == 0; in CanInitializeByZeroing()
316 return field->default_value_uint32() == 0; in CanInitializeByZeroing()
318 return field->default_value_uint64() == 0; in CanInitializeByZeroing()
320 return field->default_value_float() == 0; in CanInitializeByZeroing()
322 return field->default_value_double() == 0; in CanInitializeByZeroing()
[all …]
/third_party/protobuf/js/binary/
Dwriter.js132 jspb.BinaryWriter.prototype.beginDelimited_ = function(field) { argument
133 this.writeFieldHeader_(field, jspb.BinaryConstants.WireType.DELIMITED);
253 jspb.BinaryWriter.prototype.beginSubMessage = function(field) { argument
254 this.bookmarks_.push(this.beginDelimited_(field));
277 function(field, wireType) { argument
278 goog.asserts.assert(field >= 1 && field == Math.floor(field));
279 var x = field * 8 + wireType;
290 jspb.BinaryWriter.prototype.writeAny = function(fieldType, field, value) { argument
294 this.writeDouble(field, /** @type {number} */(value));
297 this.writeFloat(field, /** @type {number} */(value));
[all …]
/third_party/littlefs/scripts/
Dsummary.py80 for field in FIELDS:
82 r = field.parse(result)
83 if field.name in prev:
84 results[(file, name)][field.name] = field.acc(
85 [prev[field.name], r])
87 results[(file, name)][field.name] = r
97 fields_dict = {field.name: field for field in FIELDS}
101 for field in FIELDS:
102 if any(field.name in result for result in results.values()):
103 fields.append(field)
[all …]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DMessageReflection.java57 for (final FieldDescriptor field : message.getDescriptorForType().getFields()) { in writeMessageTo()
58 if (field.isRequired() && !fields.containsKey(field)) { in writeMessageTo()
59 fields.put(field, message.getField(field)); in writeMessageTo()
64 final Descriptors.FieldDescriptor field = entry.getKey(); in writeMessageTo() local
67 && field.isExtension() in writeMessageTo()
68 && field.getType() == Descriptors.FieldDescriptor.Type.MESSAGE in writeMessageTo()
69 && !field.isRepeated()) { in writeMessageTo()
70 output.writeMessageSetExtension(field.getNumber(), (Message) value); in writeMessageTo()
72 FieldSet.writeField(field, value, output); in writeMessageTo()
90 final Descriptors.FieldDescriptor field = entry.getKey(); in getSerializedSize() local
[all …]
/third_party/protobuf/php/src/Google/Protobuf/Internal/
DMessage.php99 foreach ($this->desc->getField() as $field) {
100 $setter = $field->getSetter();
101 if ($field->isMap()) {
102 $message_type = $field->getMessageType();
128 } else if ($field->getLabel() === GPBLabel::REPEATED) {
129 switch ($field->getType()) {
133 $field->getType(),
134 $field->getMessageType()->getClass());
139 $field->getType(),
140 $field->getEnumType()->getClass());
[all …]
/third_party/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc254 const FieldDescriptor* field) { in SubmessageTypeRef() argument
255 GOOGLE_CHECK(field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE); in SubmessageTypeRef()
256 return MaybeCrossFileRef(options, field->file(), field->message_type()); in SubmessageTypeRef()
447 bool IgnoreExtensionField(const FieldDescriptor* field) { in IgnoreExtensionField() argument
450 if (!field->is_extension()) return false; in IgnoreExtensionField()
451 const FileDescriptor* file = field->containing_type()->file(); in IgnoreExtensionField()
460 bool IgnoreField(const FieldDescriptor* field) { in IgnoreField() argument
461 return IgnoreExtensionField(field); in IgnoreField()
472 if (!IgnoreField(oneof->field(i))) { in IgnoreOneof()
480 const FieldDescriptor* field, bool is_upper_camel, in JSIdent() argument
[all …]
/third_party/protobuf/ruby/ext/google/protobuf_c/
Dstorage.c428 const upb_msgdef* tryget_map_entry_msgdef(const upb_fielddef* field) { in tryget_map_entry_msgdef() argument
430 if (upb_fielddef_label(field) != UPB_LABEL_REPEATED || in tryget_map_entry_msgdef()
431 upb_fielddef_type(field) != UPB_TYPE_MESSAGE) { in tryget_map_entry_msgdef()
434 subdef = upb_fielddef_msgsubdef(field); in tryget_map_entry_msgdef()
438 const upb_msgdef *map_entry_msgdef(const upb_fielddef* field) { in map_entry_msgdef() argument
439 const upb_msgdef* subdef = tryget_map_entry_msgdef(field); in map_entry_msgdef()
444 bool is_map_field(const upb_fielddef *field) { in is_map_field() argument
445 const upb_msgdef* subdef = tryget_map_entry_msgdef(field); in is_map_field()
453 const upb_fielddef* map_field_key(const upb_fielddef* field) { in map_field_key() argument
454 const upb_msgdef* subdef = map_entry_msgdef(field); in map_field_key()
[all …]
/third_party/typescript/tests/cases/conformance/classes/members/privateNames/
DprivateNameFieldAssignment.ts4 #field = 0;
6 this.#field = 1;
7 this.#field += 2;
8 this.#field -= 3;
9 this.#field /= 4;
10 this.#field *= 5;
11 this.#field **= 6;
12 this.#field %= 7;
13 this.#field <<= 8;
14 this.#field >>= 9;
[all …]
/third_party/mesa3d/src/asahi/lib/
Dgen_pack.py297 def overlaps(self, field): argument
298 return self != field and max(self.start, field.start) <= min(self.end, field.end)
313 calculated = max(field.end // 8 for field in self.fields) + 1 if len(self.fields) > 0 else 0
331 for field in self.fields:
332 if field.exact is not None:
335 field.emit_template_struct(dim)
343 def __init__(self, field, path, start, end): argument
344 self.field = field
350 for field in fields:
351 field_path = '{}{}'.format(path, field.name)
[all …]

12345678910>>...126