| /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
|
| /arkcompiler/runtime_core/static_core/runtime/ |
| H A D | compiler.cpp | 26 #include "runtime/include/field.h" 350 for (auto &field : MethodCast(method)->GetClass()->GetFields()) { in IsMemoryBarrierRequired() 355 if (field.IsFinal() && !field.IsStatic()) { in IsMemoryBarrierRequired() 408 auto *field = GetField(method, id); in ResolveField() local 409 if (field == nullptr) { in ResolveField() 412 auto klass = field->GetClass(); in ResolveField() 413 if (pfile == field->GetPandaFile() || allowExternal) { in ResolveField() 417 return field; in ResolveField() 425 return field; in ResolveField() 586 auto *field = GetField() local 715 auto *field = FieldCast(fieldPtr); GetStaticFieldValue() local [all...] |
| /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...] |
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| H A D | escape_analysis.cpp | 103 FieldLocation field = fieldValue.first; in MergeState() local 105 ASSERT(field != FieldLocation::Invalid()); in MergeState() 114 GateRef inputValue = inputState.GetFieldValue(field); in MergeState() 125 result.SetFieldValue(field, value); in MergeState() 127 result.SetFieldValue(field, Circuit::NullGate()); in MergeState() 130 result.SetFieldValue(field, value); in MergeState() 133 GateRef oldValue = oldState.GetFieldValue(field); in MergeState() 144 result.SetFieldValue(field, oldValue); in MergeState() 151 result.SetFieldValue(field, valueSelector); in MergeState() 161 GateRef GateInfo::GetFieldValue(FieldLocation field) cons 166 SetFieldValue(FieldLocation field, GateRef value) SetFieldValue() argument 188 SetFieldValue(FieldLocation field, GateRef gate) SetFieldValue() argument [all...] |
| /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...] |
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/interpreter/ |
| H A D | interpreter-inl.h | 112 auto field = klass->LookupFieldByName(rawField->GetName()); in LookupFieldByName() local 114 if (field != nullptr) { in LookupFieldByName() 117 ASSERT(rawField->ResolveTypeClass()->IsAssignableFrom(field->ResolveTypeClass())); in LookupFieldByName() 119 ASSERT(field->ResolveTypeClass()->IsAssignableFrom(rawField->ResolveTypeClass())); in LookupFieldByName() 122 ASSERT((reinterpret_cast<uint64_t>(field) & METHOD_FLAG_MASK) == 0); in LookupFieldByName() 123 cache->template Set(this->GetInst().GetAddress(), field, this->GetFrame()->GetMethod()); in LookupFieldByName() 125 return field; in LookupFieldByName() 208 auto field = LookupFieldByName<panda_file::Type::TypeId::I32, true>(klass, rawField); in HandleEtsLdobjName() local 209 if (field != nullptr) { in HandleEtsLdobjName() 210 this->LoadPrimitiveField(obj, field); in HandleEtsLdobjName() 250 auto field = LookupFieldByName<panda_file::Type::TypeId::I64, true>(klass, rawField); HandleEtsLdobjNameWide() local 292 auto field = LookupFieldByName<panda_file::Type::TypeId::REFERENCE, true>(klass, rawField); HandleEtsLdobjNameObj() local 336 auto field = LookupFieldByName<panda_file::Type::TypeId::I32, false>(klass, rawField); HandleEtsStobjName() local 378 auto field = LookupFieldByName<panda_file::Type::TypeId::I64, false>(klass, rawField); HandleEtsStobjNameWide() local 420 auto field = LookupFieldByName<panda_file::Type::TypeId::REFERENCE, false>(klass, rawField); HandleEtsStobjNameObj() local [all...] |
| /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/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()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ets_proxy/ |
| H A D | ets_field_wrapper.cpp | 188 const Field *field = lazyRefconvertLink_.GetUnresolved(); in GetRefConvert() local 189 ASSERT(field->GetTypeId() == panda_file::Type::TypeId::REFERENCE); in GetRefConvert() 191 const auto *pandaFile = field->GetPandaFile(); in GetRefConvert() 194 classLinker->GetClass(*pandaFile, panda_file::FieldDataAccessor::GetTypeId(*pandaFile, field->GetFileId()), in GetRefConvert() 212 Field *field = wrapper->GetField(); in DoMakeNapiProperty() local 214 prop.utf8name = utf::Mutf8AsCString(field->GetName().data); in DoMakeNapiProperty() 219 ASSERT(!IS_STATIC || wrapper->GetOwner()->GetEtsClass()->GetRuntimeClass() == field->GetClass()); in DoMakeNapiProperty() 228 panda_file::Type type = field->GetType(); in DoMakeNapiProperty() 261 napi_property_descriptor EtsFieldWrapper::MakeInstanceProperty(EtsClassWrapper *owner, Field *field) in MakeInstanceProperty() argument 263 new (this) EtsFieldWrapper(owner, field); in MakeInstanceProperty() 268 MakeStaticProperty(EtsClassWrapper *owner, Field *field) MakeStaticProperty() argument [all...] |
| /arkcompiler/runtime_core/static_core/runtime/include/ |
| H A D | object_header-inl.h | 19 #include "runtime/include/field.h" 73 inline T ObjectHeader::GetFieldPrimitive(const Field &field) const in GetFieldPrimitive() 75 return ObjectAccessor::GetFieldPrimitive<T>(this, field); in GetFieldPrimitive() 79 inline void ObjectHeader::SetFieldPrimitive(const Field &field, T value) in SetFieldPrimitive() argument 81 ObjectAccessor::SetFieldPrimitive(this, field, value); in SetFieldPrimitive() 86 inline ObjectHeader *ObjectHeader::GetFieldObject(const Field &field) const in GetFieldObject() 88 return ObjectAccessor::GetFieldObject<NEED_READ_BARRIER, IS_DYN>(this, field); in GetFieldObject() 93 inline void ObjectHeader::SetFieldObject(const Field &field, ObjectHeader *value) in SetFieldObject() argument 95 ObjectAccessor::SetFieldObject<NEED_WRITE_BARRIER, IS_DYN>(this, field, value); in SetFieldObject() 100 inline ObjectHeader *ObjectHeader::GetFieldObject(const ManagedThread *thread, const Field &field) in GetFieldObject() argument 107 SetFieldObject(const ManagedThread *thread, const Field &field, ObjectHeader *value) SetFieldObject() argument [all...] |
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| H A D | object_helpers_test.cpp | 153 panda.String field <static> in TEST_F() 158 Field *field = klass->GetStaticFieldByName(reinterpret_cast<const uint8_t *>("field")); in TEST_F() local 159 ASSERT_NE(nullptr, field); in TEST_F() 162 ObjectAccessor::SetFieldObject<false>(klass, *field, expected); in TEST_F() 182 panda.String field <static, volatile> in TEST_F() 187 Field *field = klass->GetStaticFieldByName(reinterpret_cast<const uint8_t *>("field")); in TEST_F() local 188 ASSERT_NE(nullptr, field); in TEST_F() 191 ObjectAccessor::SetFieldObject<false>(klass, *field, expecte in TEST_F() 218 Field *field = klass->GetInstanceFieldByName(reinterpret_cast<const uint8_t *>("field")); TEST_F() local 249 Field *field = klass->GetInstanceFieldByName(reinterpret_cast<const uint8_t *>("field")); TEST_F() local [all...] |
| /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...] |
| /third_party/jerryscript/jerry-core/jcontext/ |
| H A D | jcontext.h | 256 #define JERRY_CONTEXT(field) (jerry_dynamic_global_context_p->field) 270 #define JERRY_HEAP_CONTEXT(field) (JERRY_CONTEXT (heap_p)->field) 291 * Provides a reference to a field in the current context. 293 #define JERRY_CONTEXT(field) (jerry_global_context.field) 319 * Provides a reference to a field of the heap. 321 #define JERRY_HEAP_CONTEXT(field) (jerry_global_heap.field) [all...] |
| /third_party/node/deps/icu-small/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...] |
| /third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
| H A D | FieldMaskPartial.cs | 49 /// Converts a field mask specified by paths to a string. 56 /// <param name="paths">Paths in the field mask</param> 58 /// <exception cref="InvalidOperationException">The represented field mask is invalid, and <paramref name="diagnosticOnly"/> is <c>false</c>.</exception> 85 throw new InvalidOperationException($"Invalid field mask to be converted to JSON: {firstInvalid}"); in ToJson() 115 /// Parses from a string to a FieldMask and validates all field paths. 117 /// <typeparam name="T">The type to validate the field paths against.</typeparam> 124 /// Constructs a FieldMask for a list of field paths in a certain type. 126 /// <typeparam name="T">The type to validate the field paths against.</typeparam> 134 // Ignore empty field paths. 151 /// Constructs a FieldMask from the passed field number [all...] |
| /third_party/rust/crates/serde/serde_derive/src/ |
| H A D | pretend.rs | 10 // warning: field is never used: `i` 82 let members = fields.iter().map(|field| &field.member); in pretend_fields_used_struct() 97 let members = fields.iter().map(|field| &field.member).collect::<Vec<_>>(); in pretend_fields_used_struct_packed() 120 let members = variant.fields.iter().map(|field| &field.member); in pretend_fields_used_enum() 167 let members = variant.fields.iter().map(|field| &field.member); in pretend_variants_used()
|
| /third_party/rust/crates/serde/serde_derive_internals/src/ |
| H A D | case.rs | 1 //! Code to convert the Rust-styled field/variant (e.g. `my_field`, `MyType`) to the 2 //! case of the source (e.g. `my-field`, `MY_FIELD`). 81 /// Apply a renaming rule to a struct field, returning the version expected in the source. 82 pub fn apply_to_field(self, field: &str) -> String { in apply_to_field() 84 None | LowerCase | SnakeCase => field.to_owned(), in apply_to_field() 85 UpperCase => field.to_ascii_uppercase(), in apply_to_field() 89 for ch in field.chars() { in apply_to_field() 102 let pascal = PascalCase.apply_to_field(field); in apply_to_field() 105 ScreamingSnakeCase => field.to_ascii_uppercase(), in apply_to_field() 106 KebabCase => field in apply_to_field() [all...] |