| /third_party/protobuf/python/google/protobuf/internal/ |
| H A D | extension_dict.py | 95 'Uninitialized concrete class found for field %r (message type %r)' 127 my_fields = [field for field in my_fields if field.is_extension] 128 other_fields = [field for field in other_fields if field.is_extension] 138 extension_fields = [field for field in fields if field[ [all...] |
| H A D | descriptor_test.py | 73 message_proto.field.add( 469 field = message_descriptor.fields_by_name['repeated_int32'] 470 self.assertEqual(field.default_value, []) 471 field = message_descriptor.fields_by_name['repeated_nested_message'] 472 self.assertEqual(field.default_value, []) 473 field = message_descriptor.fields_by_name['optionalgroup'] 474 self.assertEqual(field.default_value, None) 475 field = message_descriptor.fields_by_name['optional_nested_message'] 476 self.assertEqual(field.default_value, None) 500 # Test field container [all...] |
| /third_party/rust/crates/libc/src/unix/linux_like/android/b64/x86_64/ |
| H A D | mod.rs | 127 .field("uc_sigmask", unsafe { &self.uc_sigmask }) in fmt() 198 // Ignore padding field in eq() 205 .field("significand", &self.significand) in fmt() 206 .field("exponent", &self.exponent) in fmt() 207 // Ignore padding field in fmt() 215 // Ignore padding field in hash() 231 // Ignore padding field in eq() 238 .field("cwd", &self.cwd) in fmt() 239 .field("swd", &self.swd) in fmt() 240 .field("ft in fmt() [all...] |
| /third_party/python/Tools/c-analyzer/c_common/ |
| H A D | tables.py | 246 ( \w+ ) # <field> 282 label, field, align, width1, width2, fmt = m.groups() 284 label = field 296 return field, label, width, fmt 305 label, field, width, fmt = spec 309 label, field, fmt = spec 310 if not field: 311 label, field = None, label 312 elif not isinstance(field, str) or not field [all...] |
| /third_party/mesa3d/src/amd/registers/ |
| H A D | parse_kernel_headers.py | 65 re_shift = re.compile(r'^#define (?P<name>\w+)__(?P<field>\w+)__SHIFT\s+(?P<value>\w+)\n') 69 re_mask = re.compile(r'^#define (?P<name>\w+)__(?P<field>\w+)_MASK\s+(?P<value>[0-9a-fA-Fx]+)L?\n') 95 # Mapping from field names to enum types 98 # field: [type1] - all registers use the same enum 100 # field: [type1, reg1, type2, reg2, ...] - apply different enums to different registers 650 # Register field definitions that are missing in kernel headers 753 field = r.group('field') 760 d[name][field] = value 805 for (field, shif [all...] |
| /third_party/protobuf/src/google/protobuf/ |
| H A D | generated_message_util.cc | 348 // Almost the same as above only it doesn't output the length field. 370 static void Serialize(const void* field, const FieldMetadata& md, O* output) { in Serialize() 372 SerializeTo<type>(field, output); in Serialize() 379 static void Serialize(const void* field, const FieldMetadata& md, O* output) { in Serialize() 381 SerializeTo<WireFormatLite::TYPE_STRING>(&Get<ArenaStringPtr>(field).Get(), in Serialize() 393 static void Serialize(const void* field, const FieldMetadata& md, O* output) { in Serialize() 395 SerializeGroupTo(Get<const MessageLite*>(field), in Serialize() 404 static void Serialize(const void* field, const FieldMetadata& md, O* output) { in Serialize() 406 SerializeMessageTo(Get<const MessageLite*>(field), in Serialize() 414 static void Serialize(const void* field, cons 553 SerializeNotImplemented(int field) SerializeNotImplemented() argument [all...] |
| /third_party/typescript/tests/baselines/reference/ |
| H A D | objectAssignLikeNonUnionResult.js | 3 field: number; 5 const defaultValue: Interface = { field: 1 }; 9 // Displayed type: Interface & { field: number } 11 const data1 = assign(defaultValue, Date.now() > 3 ? { field: 2 } : {}); 22 var defaultValue = { field: 1 };
23 // Displayed type: Interface & { field: number }
25 var data1 = assign(defaultValue, Date.now() > 3 ? { field: 2 } : {});
|
| /third_party/protobuf/php/src/Google/Protobuf/Internal/ |
| H A D | OneofDescriptor.php | 57 public function addField(FieldDescriptor $field) 59 $this->fields[] = $field; 71 foreach ($desc->getField() as $field) { 72 if ($field->getOneofIndex() == $index) { 73 $oneof->addField($field);
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
| H A D | wpa_helpers.h | 16 int get_wpa_status(const char *ifname, const char *field, char *obuf, 28 int set_network(const char *ifname, int id, const char *field, 30 int set_network_quoted(const char *ifname, int id, const char *field, 33 int set_cred(const char *ifname, int id, const char *field, const char *value); 34 int set_cred_quoted(const char *ifname, int id, const char *field,
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
| H A D | wpa_helpers.h | 16 int get_wpa_status(const char *ifname, const char *field, char *obuf, 28 int set_network(const char *ifname, int id, const char *field, 30 int set_network_quoted(const char *ifname, int id, const char *field, 33 int set_cred(const char *ifname, int id, const char *field, const char *value); 34 int set_cred_quoted(const char *ifname, int id, const char *field,
|
| /third_party/node/deps/openssl/openssl/crypto/ec/ |
| H A D | ecp_smpl.c | 86 * non-trivial representations of field elements if necessary 100 group->field = BN_new(); in ossl_ec_GFp_simple_group_init() 103 if (group->field == NULL || group->a == NULL || group->b == NULL) { in ossl_ec_GFp_simple_group_init() 104 BN_free(group->field); in ossl_ec_GFp_simple_group_init() 115 BN_free(group->field); in ossl_ec_GFp_simple_group_finish() 122 BN_clear_free(group->field); in ossl_ec_GFp_simple_group_clear_finish() 129 if (!BN_copy(dest->field, src->field)) in ossl_ec_GFp_simple_group_copy() 166 /* group->field */ in ossl_ec_GFp_simple_group_set_curve() 167 if (!BN_copy(group->field, in ossl_ec_GFp_simple_group_set_curve() [all...] |
| /third_party/openssl/crypto/ec/ |
| H A D | ecp_smpl.c | 86 * non-trivial representations of field elements if necessary 100 group->field = BN_new(); in ossl_ec_GFp_simple_group_init() 103 if (group->field == NULL || group->a == NULL || group->b == NULL) { in ossl_ec_GFp_simple_group_init() 104 BN_free(group->field); in ossl_ec_GFp_simple_group_init() 115 BN_free(group->field); in ossl_ec_GFp_simple_group_finish() 122 BN_clear_free(group->field); in ossl_ec_GFp_simple_group_clear_finish() 129 if (!BN_copy(dest->field, src->field)) in ossl_ec_GFp_simple_group_copy() 166 /* group->field */ in ossl_ec_GFp_simple_group_set_curve() 167 if (!BN_copy(group->field, in ossl_ec_GFp_simple_group_set_curve() [all...] |
| /third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
| H A D | CollectVariables_test.cpp | 74 for (const auto &field : uniform.fields) in validateDepthRangeShader() 76 if (field.name == "near") in validateDepthRangeShader() 81 else if (field.name == "far") in validateDepthRangeShader() 88 ASSERT_EQ("diff", field.name); in validateDepthRangeShader() 93 EXPECT_FALSE(field.isArray()); in validateDepthRangeShader() 94 EXPECT_FALSE(field.isStruct()); in validateDepthRangeShader() 95 EXPECT_GLENUM_EQ(GL_HIGH_FLOAT, field.precision); in validateDepthRangeShader() 96 EXPECT_TRUE(field.staticUse); in validateDepthRangeShader() 97 EXPECT_GLENUM_EQ(GL_FLOAT, field.type); in validateDepthRangeShader() 343 const ShaderVariable &field in TEST_F() local 381 const ShaderVariable &field = interfaceBlock.fields[0]; TEST_F() local 854 const ShaderVariable &field = interfaceBlock.fields[0]; TEST_F() local 898 const ShaderVariable &field = uniform.fields[0]; TEST_F() local 942 const ShaderVariable &field = uniform.fields[0]; TEST_F() local 2034 const ShaderVariable &field = interfaceBlock.fields[0]; TEST_F() local 2065 const ShaderVariable &field = interfaceBlock.fields[0]; TEST_F() local [all...] |
| /third_party/protobuf/csharp/src/Google.Protobuf/ |
| H A D | UnknownFieldSet.cs | 43 /// but whose field numbers or types are unrecognized. This most frequently 63 /// Checks whether or not the given field number is present in the set. 65 internal bool HasField(int field) in HasField() argument 67 return fields.ContainsKey(field); in HasField() 112 /// Checks if two unknown field sets are equal. 142 /// Gets the unknown field set's hash code. 147 foreach (KeyValuePair<int, UnknownField> field in fields) in GetHashCode() 149 // Use ^ here to make the field order irrelevant. in GetHashCode() 150 int hash = field.Key.GetHashCode() ^ field in GetHashCode() 188 AddOrReplaceField(int number, UnknownField field) AddOrReplaceField() argument 361 MergeField(int number, UnknownField field) MergeField() argument [all...] |
| /third_party/protobuf/python/google/protobuf/pyext/ |
| H A D | unknown_fields.cc | 179 "unknown field set", // tp_doc 231 return &fields->field(self->index); in GetUnknownField() 273 const UnknownField* field = GetUnknownField(self); in GetData() local 274 if (field == NULL) { in GetData() 278 switch (field->type()) { in GetData() 280 data = PyInt_FromLong(field->varint()); in GetData() 283 data = PyInt_FromLong(field->fixed32()); in GetData() 286 data = PyInt_FromLong(field->fixed64()); in GetData() 289 data = PyBytes_FromStringAndSize(field->length_delimited().data(), in GetData() 290 field in GetData() [all...] |
| H A D | field.cc | 31 #include <google/protobuf/pyext/field.h> 45 namespace field { namespace 48 return PyString_FromFormat("<field property '%s'>", in Repr() 65 PyErr_SetString(PyExc_AttributeError, "Cannot delete field attribute"); in DescrSet() 85 } // namespace field 97 (reprfunc)field::Repr, // tp_repr 117 field::Getters, // tp_getset 120 (descrgetfunc)field::DescrGet, // tp_descr_get 121 (descrsetfunc)field::DescrSet, // tp_descr_set
|
| /third_party/protobuf/src/google/protobuf/compiler/csharp/ |
| H A D | csharp_helpers.cc | 288 const FieldDescriptor* field; in GetGroupEndTag() local 290 field = containing_type->field(i); in GetGroupEndTag() 291 if (field->type() == FieldDescriptor::Type::TYPE_GROUP && in GetGroupEndTag() 292 field->message_type() == descriptor) { in GetGroupEndTag() 294 field->number(), internal::WireFormatLite::WIRETYPE_END_GROUP); in GetGroupEndTag() 298 field = containing_type->extension(i); in GetGroupEndTag() 299 if (field->type() == FieldDescriptor::Type::TYPE_GROUP && in GetGroupEndTag() 300 field->message_type() == descriptor) { in GetGroupEndTag() 302 field in GetGroupEndTag() 308 const FieldDescriptor* field; GetGroupEndTag() local 377 GetFieldConstantName(const FieldDescriptor* field) GetFieldConstantName() argument [all...] |
| /third_party/protobuf/src/google/protobuf/util/ |
| H A D | message_differencer_unittest.cc | 73 const FieldDescriptor* field = NULL; in GetFieldDescriptor() local 75 field = descriptor->FindFieldByName(field_path[i]); in GetFieldDescriptor() 76 descriptor = field->message_type(); in GetFieldDescriptor() 78 return field; in GetFieldDescriptor() 580 // Make sure that the margin and fraction only affects the field that it was in TEST() 633 // Make sure that the margin and fraction only affects the field that it was in TEST() 662 // Set up a custom field comparator, with a default fraction and margin for in TEST() 917 // Only compare the field descriptors with even indices. in TEST() 944 // Only compare the field descriptors with even indices. in TEST() 972 // Only compare the repeated field descriptor in TEST() 1537 protobuf_unittest::TestField* field = msg2.add_rm(); TEST() local 1767 IsIgnored( const Message& message1, const Message& message2, const FieldDescriptor* field, const std::vector<util::MessageDifferencer::SpecificField>& parent_fields) IsIgnored() argument 1975 protobuf_unittest::TestField* field; TEST() local 2063 protobuf_unittest::TestField* field; TEST() local 2273 Compare(const Message& message_1, const Message& message_2, const FieldDescriptor* field, int index_1, int index_2, const util::FieldContext* field_context) Compare() argument 2386 field_as_set(const std::string& field) field_as_set() argument 2388 field_as_map(const std::string& field, const std::string& key) field_as_map() argument 2393 ignore_field(const std::string& field) ignore_field() argument 3455 protobuf_unittest::TestField* field; TEST_F() local 3525 protobuf_unittest::TestField* field; TEST_F() local [all...] |
| /third_party/skia/src/sksl/ir/ |
| H A D | SkSLFieldAccess.cpp | 20 skstd::string_view field) { in Convert() 23 // Turn the field name into a free function name, prefixed with '$': in Convert() 24 String methodName = String("$") + field; in Convert() 45 "type '" + baseType.displayName() + "' has no method named '" + field + "'"); in Convert() 51 if (fields[i].fName == field) { in Convert() 57 return Setting::Convert(context, base->fLine, field); in Convert() 61 "' does not have a field named '" + field + "'"); in Convert() 17 Convert(const Context& context, SymbolTable& symbolTable, std::unique_ptr<Expression> base, skstd::string_view field) Convert() argument
|
| /third_party/rust/crates/rustix/src/process/ |
| H A D | sched.rs | 35 /// `field` is the CPU id to test. 37 pub fn is_set(&self, field: usize) -> bool { in is_set() 38 backend::process::cpu_set::CPU_ISSET(field, &self.cpu_set) in is_set() 43 /// `field` is the CPU id to add. 45 pub fn set(&mut self, field: usize) { in set() 46 backend::process::cpu_set::CPU_SET(field, &mut self.cpu_set) in set() 51 /// `field` is the CPU id to remove. 53 pub fn unset(&mut self, field: usize) { in unset() 54 backend::process::cpu_set::CPU_CLR(field, &mut self.cpu_set) in unset()
|
| /third_party/curl/tests/libtest/ |
| H A D | lib653.c | 35 curl_mimepart *field = NULL; in test() local 42 field = curl_mime_addpart(mime); in test() 43 curl_mime_name(field, "name"); in test() 44 curl_mime_data(field, "short value", CURL_ZERO_TERMINATED); in test() 57 curl_mime_data(field, "long value for length change", CURL_ZERO_TERMINATED); in test()
|
| /third_party/typescript/tests/baselines/reference/tsc/declarationEmit/ |
| H A D | when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js | 96 'package.json' does not have a 'typesVersions' field. 102 'package.json' does not have a 'typings' field. 103 'package.json' does not have a 'types' field. 104 'package.json' has 'main' field 'dist/commonjs/index.js' that references '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js'. 122 'package.json' does not have a 'typesVersions' field. 128 'package.json' does not have a 'typings' field. 129 'package.json' does not have a 'types' field. 130 'package.json' does not have a 'main' field. 142 'package.json' does not have a 'typesVersions' field. 148 'package.json' does not have a 'typings' field [all...] |
| H A D | when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js | 96 'package.json' does not have a 'typesVersions' field. 102 'package.json' does not have a 'typings' field. 103 'package.json' does not have a 'types' field. 104 'package.json' has 'main' field 'dist/commonjs/index.js' that references '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js'. 122 'package.json' does not have a 'typesVersions' field. 128 'package.json' does not have a 'typings' field. 129 'package.json' does not have a 'types' field. 130 'package.json' does not have a 'main' field. 142 'package.json' does not have a 'typesVersions' field. 148 'package.json' does not have a 'typings' field [all...] |
| /third_party/rust/crates/memoffset/src/ |
| H A D | offset_of.rs | 43 // offset into a field, and that is UB because the pointer is dangling. 53 ($field:expr, $base:expr) => {{ 54 let field = $field; // evaluate $field outside the `unsafe` block 58 unsafe { (field as *const u8).offset_from(base as *const u8) as usize } 65 ($field:expr, $base:expr) => { 67 ($field as usize) - ($base as usize) 71 /// Calculates the offset of the specified field from the start of the named struct. 95 /// specified `field` fo [all...] |
| /third_party/icu/icu4c/source/i18n/unicode/ |
| H A D | gregocal.h | 59 * <p>Values calculated for the <code>WEEK_OF_YEAR</code> field range from 1 to 238 * @param year The value used to set the YEAR time field in the calendar. 239 * @param month The value used to set the MONTH time field in the calendar. Month 241 * @param date The value used to set the DATE time field in the calendar. 252 * @param year The value used to set the YEAR time field in the calendar. 253 * @param month The value used to set the MONTH time field in the calendar. Month 255 * @param date The value used to set the DATE time field in the calendar. 256 * @param hour The value used to set the HOUR_OF_DAY time field in the calendar. 257 * @param minute The value used to set the MINUTE time field in the calendar. 268 * @param year The value used to set the YEAR time field i [all...] |