Searched refs:field (Results 76 - 100 of 1529) sorted by relevance

1234567891011>>

/external/compiler-rt/test/asan/TestCases/Windows/
H A Dwrong_downcast_on_stack.cc6 int field; member in class:Parent
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
H A DDebugUtilities.java48 * @param field which enum value to look up
51 public static String enumString(int type, int field) { argument
52 return DebugUtilitiesData.NAMES[type][field];
73 * @return the expected ordinal value (should be equal to "field")
76 public static int enumArrayValue(int type, int field) { argument
77 return DebugUtilitiesData.VALUES[type][field];
/external/icu/icu4c/source/common/unicode/
H A Dumisc.h31 /** A struct representing a range of text containing a specific field
36 * The field
39 int32_t field; member in struct:UFieldPosition
41 * The start of the text range containing field
46 * The limit of the text range containing field
/external/libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct/locale.moneypunct.members/
H A Dneg_format.pass.cpp59 assert(p.field[0] == std::money_base::symbol);
60 assert(p.field[1] == std::money_base::sign);
61 assert(p.field[2] == std::money_base::none);
62 assert(p.field[3] == std::money_base::value);
67 assert(p.field[0] == std::money_base::symbol);
68 assert(p.field[1] == std::money_base::sign);
69 assert(p.field[2] == std::money_base::none);
70 assert(p.field[3] == std::money_base::value);
75 assert(p.field[0] == std::money_base::symbol);
76 assert(p.field[
[all...]
H A Dpos_format.pass.cpp59 assert(p.field[0] == std::money_base::symbol);
60 assert(p.field[1] == std::money_base::sign);
61 assert(p.field[2] == std::money_base::none);
62 assert(p.field[3] == std::money_base::value);
67 assert(p.field[0] == std::money_base::symbol);
68 assert(p.field[1] == std::money_base::sign);
69 assert(p.field[2] == std::money_base::none);
70 assert(p.field[3] == std::money_base::value);
75 assert(p.field[0] == std::money_base::symbol);
76 assert(p.field[
[all...]
/external/mockito/src/main/java/org/mockito/internal/configuration/
H A DCaptorAnnotationProcessor.java15 * Instantiate {@link ArgumentCaptor} a field annotated by @Captor.
18 public Object process(Captor annotation, Field field) { argument
19 Class<?> type = field.getType();
21 throw new MockitoException("@Captor field must be of the type ArgumentCaptor.\n" + "Field: '"
22 + field.getName() + "' has wrong type\n"
25 Class<?> cls = new GenericMaster().getGenericType(field);
/external/mockito/src/test/java/org/mockito/internal/util/reflection/
H A DAccessibilityChangerTest.java23 changer.enableAccess(field("whatever"));
24 changer.safelyDisableAccess(field("whatever"));
30 new AccessibilityChanger().safelyDisableAccess(field("whatever"));
34 private Field field(String fieldName) throws NoSuchFieldException { method in class:AccessibilityChangerTest
/external/wpa_supplicant_8/hostapd/
H A Dconfig_file.h14 struct hostapd_bss_config *bss, const char *field,
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/scanner/
H A DMockScanner.java55 for (Field field : clazz.getDeclaredFields()) {
57 FieldReader fieldReader = new FieldReader(instance, field);
59 Object mockInstance = preparedMock(fieldReader.read(), field);
67 private Object preparedMock(Object instance, Field field) { argument
68 if (isAnnotatedByMockOrSpy(field)) {
72 MockUtil.maybeRedefineMockName(instance, field.getName());
78 private boolean isAnnotatedByMockOrSpy(Field field) { argument
79 return field.isAnnotationPresent(Spy.class) || field.isAnnotationPresent(Mock.class);
/external/icu/icu4c/source/test/intltest/
H A Dfldset.cpp25 FieldsSet::FieldsSet(UDebugEnumType field) { argument
26 construct(field, udbg_enumCount(field));
37 void FieldsSet::construct(UDebugEnumType field, int32_t fieldCount) { argument
38 fEnum = field;
63 str = str + UnicodeString("some field") + "=" + myVal+" not " + theirVal+", ";
115 int32_t field = handleParseName(inheritFrom, kv[0], kv[1], status); local
129 if(field != -1) {
130 handleParseValue(inheritFrom, field, kv[1], status);
167 void FieldsSet::clear(int32_t field) { argument
174 set(int32_t field, int32_t amount) argument
209 parseValueDefault(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) argument
226 parseValueEnum(UDebugEnumType type, const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) argument
236 handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) argument
251 handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) argument
334 handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) argument
[all...]
/external/protobuf/src/google/protobuf/
H A Dmessage.h233 // that have new field definitions which they don't yet know about. However,
376 // - The FieldDescriptor is not a field of this message type.
377 // - The method called is not appropriate for the field's type. For
378 // each field type in FieldDescriptor::TYPE_*, there is only one
383 // field.
385 // field.
389 // You might wonder why there is not any abstract representation for a field
394 // allocate space for an additional object to wrap every field would at least
422 // Check if the given non-repeated field is set.
424 const FieldDescriptor* field) cons
896 GetRawRepeatedField( const Message& message, const FieldDescriptor* field, FieldDescriptor::CppType cpptype, int ctype, const Descriptor* message_type) const argument
[all...]
H A Dwire_format.cc182 const UnknownField& field = unknown_fields.field(i); local
183 switch (field.type()) {
185 output->WriteVarint32(WireFormatLite::MakeTag(field.number(),
187 output->WriteVarint64(field.varint());
190 output->WriteVarint32(WireFormatLite::MakeTag(field.number(),
192 output->WriteLittleEndian32(field.fixed32());
195 output->WriteVarint32(WireFormatLite::MakeTag(field.number(),
197 output->WriteLittleEndian64(field.fixed64());
200 output->WriteVarint32(WireFormatLite::MakeTag(field
221 const UnknownField& field = unknown_fields.field(i); local
256 const UnknownField& field = unknown_fields.field(i); local
281 const UnknownField& field = unknown_fields.field(i); local
314 const UnknownField& field = unknown_fields.field(i); local
362 const UnknownField& field = unknown_fields.field(i); local
399 const FieldDescriptor* field = NULL; local
442 ParseAndMergeMessageSetField(uint32 field_number, const FieldDescriptor* field, Message* message, io::CodedInputStream* input) argument
464 StrictUtf8Check(const FieldDescriptor* field) argument
468 ParseAndMergeField( uint32 tag, const FieldDescriptor* field, Message* message, io::CodedInputStream* input) argument
720 const FieldDescriptor* field = NULL; local
815 SerializeFieldWithCachedSizes( const FieldDescriptor* field, const Message& message, io::CodedOutputStream* output) argument
941 SerializeMessageSetItemWithCachedSizes( const FieldDescriptor* field, const Message& message, io::CodedOutputStream* output) argument
990 FieldByteSize( const FieldDescriptor* field, const Message& message) argument
1025 FieldDataOnlyByteSize( const FieldDescriptor* field, const Message& message) argument
1111 MessageSetItemByteSize( const FieldDescriptor* field, const Message& message) argument
[all...]
H A Drepeated_field_unittest.cc61 RepeatedField<int> field; local
63 EXPECT_TRUE(field.empty());
64 EXPECT_EQ(field.size(), 0);
66 field.Add(5);
68 EXPECT_FALSE(field.empty());
69 EXPECT_EQ(field.size(), 1);
70 EXPECT_EQ(field.Get(0), 5);
72 field.Add(42);
74 EXPECT_FALSE(field.empty());
75 EXPECT_EQ(field
105 RepeatedField<int> field; local
195 ReservedSpace(RepeatedField<int>* field) argument
207 RepeatedField<int> field; local
216 RepeatedField<int> field; local
226 RepeatedField<int> field; local
236 RepeatedField<int> field; local
391 RepeatedField<int> field; local
401 RepeatedField<int> field; local
431 RepeatedField<int32> field; local
466 RepeatedField<string> field; local
487 RepeatedPtrField<string> field; local
525 RepeatedPtrField<string> field; local
619 ReservedSpace(RepeatedPtrField<string>* field) argument
629 RepeatedPtrField<string> field; local
636 RepeatedPtrField<string> field; local
644 RepeatedPtrField<string> field; local
657 RepeatedPtrField<string> field; local
668 RepeatedPtrField<string> field; local
708 RepeatedPtrField<string> field; local
911 RepeatedPtrField<string> field; local
931 RepeatedPtrField<string> field; local
[all...]
/external/protobuf/php/ext/google/protobuf/
H A Dstorage.c45 // zend_error(E_ERROR, "Expected number type for integral field.");
52 // "Non-integral floating point value assigned to integer field.");
58 // "Assigning negative value to unsigned integer field.");
153 zend_error(E_ERROR, "Expected number type for float field.");
160 // zend_error(E_ERROR, "Expected number type for double field.");
176 // php_raise(php_eTypeError, "Invalid argument for boolean field.");
185 // zend_error(E_ERROR, "Invalid argument for string field.");
197 // "Invalid type %s to assign to submessage field.",
208 // "Expected number or symbol type for enum field.");
214 // php_raise(php_eRangeError, "Unknown symbol value for enum field
264 tryget_map_entry_msgdef(const upb_fielddef* field) argument
274 map_entry_msgdef(const upb_fielddef* field) argument
280 is_map_field(const upb_fielddef* field) argument
304 const upb_fielddef* field = upb_msg_iter_field(&it); local
354 const upb_fielddef* field = upb_oneof_iter_field(&fit); local
372 const upb_fielddef* field = upb_oneof_iter_field(&fit); local
405 slot_memory(MessageLayout* layout, const void* storage, const upb_fielddef* field) argument
410 slot_oneof_case(MessageLayout* layout, const void* storage, const upb_fielddef* field) argument
416 layout_set(MessageLayout* layout, void* storage, const upb_fielddef* field, zval* val) argument
461 const upb_fielddef* field = upb_msg_iter_field(&it); local
[all...]
/external/nanopb-c/
H A Dpb_encode.c22 typedef bool (*pb_encoder_t)(pb_ostream_t *stream, const pb_field_t *field, const void *src) checkreturn;
25 static bool checkreturn encode_array(pb_ostream_t *stream, const pb_field_t *field, const void *pData, size_t count, pb_encoder_t func);
26 static bool checkreturn encode_field(pb_ostream_t *stream, const pb_field_t *field, const void *pData);
28 static bool checkreturn encode_extension_field(pb_ostream_t *stream, const pb_field_t *field, const void *pData);
29 static bool checkreturn pb_enc_varint(pb_ostream_t *stream, const pb_field_t *field, const void *src);
30 static bool checkreturn pb_enc_uvarint(pb_ostream_t *stream, const pb_field_t *field, const void *src);
31 static bool checkreturn pb_enc_svarint(pb_ostream_t *stream, const pb_field_t *field, const void *src);
32 static bool checkreturn pb_enc_fixed32(pb_ostream_t *stream, const pb_field_t *field, const void *src);
33 static bool checkreturn pb_enc_fixed64(pb_ostream_t *stream, const pb_field_t *field, const void *src);
34 static bool checkreturn pb_enc_bytes(pb_ostream_t *stream, const pb_field_t *field, cons
111 encode_array(pb_ostream_t *stream, const pb_field_t *field, const void *pData, size_t count, pb_encoder_t func) argument
200 encode_basic_field(pb_ostream_t *stream, const pb_field_t *field, const void *pData) argument
261 encode_callback_field(pb_ostream_t *stream, const pb_field_t *field, const void *pData) argument
281 encode_field(pb_ostream_t *stream, const pb_field_t *field, const void *pData) argument
303 const pb_field_t *field = (const pb_field_t*)extension->type->arg; local
309 encode_extension_field(pb_ostream_t *stream, const pb_field_t *field, const void *pData) argument
338 const pb_field_t *field = fields; local
465 pb_encode_tag_for_field(pb_ostream_t *stream, const pb_field_t *field) argument
557 pb_enc_varint(pb_ostream_t *stream, const pb_field_t *field, const void *src) argument
575 pb_enc_uvarint(pb_ostream_t *stream, const pb_field_t *field, const void *src) argument
589 pb_enc_svarint(pb_ostream_t *stream, const pb_field_t *field, const void *src) argument
603 pb_enc_fixed64(pb_ostream_t *stream, const pb_field_t *field, const void *src) argument
609 pb_enc_fixed32(pb_ostream_t *stream, const pb_field_t *field, const void *src) argument
615 pb_enc_bytes(pb_ostream_t *stream, const pb_field_t *field, const void *src) argument
634 pb_enc_string(pb_ostream_t *stream, const pb_field_t *field, const void *src) argument
660 pb_enc_submessage(pb_ostream_t *stream, const pb_field_t *field, const void *src) argument
[all...]
/external/flatbuffers/src/
H A Didl_gen_php.cpp173 static void GetVectorLen(const FieldDef &field, argument
181 code += MakeCamel(field.name) + "Length()\n";
184 code += NumToString(field.value.offset) + ");\n";
191 static void GetUByte(const FieldDef &field, argument
199 code += MakeCamel(field.name) + "Bytes()\n";
202 code += NumToString(field.value.offset) + ");\n";
207 static void GetScalarFieldOfStruct(const FieldDef &field, argument
210 std::string getter = GenGetter(field.value.type);
214 code += GenTypeGet(field.value.type) + "\n";
217 code += MakeCamel(field
231 GetScalarFieldOfTable(const FieldDef &field, std::string *code_ptr) argument
254 GetStructFieldOfStruct(const FieldDef &field, std::string *code_ptr) argument
273 GetStructFieldOfTable(const FieldDef &field, std::string *code_ptr) argument
299 GetStringField(const FieldDef &field, std::string *code_ptr) argument
316 GetUnionField(const FieldDef &field, std::string *code_ptr) argument
335 GetMemberOfVectorOfStruct(const StructDef &struct_def, const FieldDef &field, std::string *code_ptr) argument
398 GetMemberOfVectorOfNonStruct(const FieldDef &field, std::string *code_ptr) argument
439 auto &field = **it; local
468 auto &field = **it; local
511 auto &field = **it; local
527 auto &field = **it; local
539 auto &field = **it; local
551 BuildFieldOfTable(const FieldDef &field, const size_t offset, std::string *code_ptr) argument
586 BuildVectorOfTable(const FieldDef &field, std::string *code_ptr) argument
656 auto &field = **it; local
682 GenStructAccessor(const StructDef &struct_def, const FieldDef &field, std::string *code_ptr) argument
735 auto &field = **it; local
811 auto &field = **it; local
874 GenMethod(const FieldDef &field) argument
[all...]
H A Didl_gen_go.cpp39 static std::string GenMethod(const FieldDef &field);
45 static std::string TypeName(const FieldDef &field);
48 // Most field accessors need to retrieve and test the field offset first,
50 std::string OffsetPrefix(const FieldDef &field) { argument
52 NumToString(field.value.offset) +
62 // _ is reserved in flatbuffers field names, so no chance of name conflict:
166 const FieldDef &field,
171 code += " " + MakeCamel(field.name) + "Length(";
172 code += ") int " + OffsetPrefix(field);
165 GetVectorLen(const StructDef &struct_def, const FieldDef &field, std::string *code_ptr) argument
178 GetUByteSlice(const StructDef &struct_def, const FieldDef &field, std::string *code_ptr) argument
191 GetScalarFieldOfStruct(const StructDef &struct_def, const FieldDef &field, std::string *code_ptr) argument
205 GetScalarFieldOfTable(const StructDef &struct_def, const FieldDef &field, std::string *code_ptr) argument
221 GetStructFieldOfStruct(const StructDef &struct_def, const FieldDef &field, std::string *code_ptr) argument
241 GetStructFieldOfTable(const StructDef &struct_def, const FieldDef &field, std::string *code_ptr) argument
264 GetStringField(const StructDef &struct_def, const FieldDef &field, std::string *code_ptr) argument
277 GetUnionField(const StructDef &struct_def, const FieldDef &field, std::string *code_ptr) argument
292 GetMemberOfVectorOfStruct(const StructDef &struct_def, const FieldDef &field, std::string *code_ptr) argument
316 GetMemberOfVectorOfNonStruct(const StructDef &struct_def, const FieldDef &field, std::string *code_ptr) argument
360 auto &field = **it; local
394 auto &field = **it; local
426 BuildFieldOfTable(const StructDef &struct_def, const FieldDef &field, const size_t offset, std::string *code_ptr) argument
455 BuildVectorOfTable(const StructDef &struct_def, const FieldDef &field, std::string *code_ptr) argument
487 GenStructAccessor(const StructDef &struct_def, const FieldDef &field, std::string *code_ptr) argument
534 MutateScalarFieldOfStruct(const StructDef &struct_def, const FieldDef &field, std::string *code_ptr) argument
548 MutateScalarFieldOfTable(const StructDef &struct_def, const FieldDef &field, std::string *code_ptr) argument
562 GenStructMutator(const StructDef &struct_def, const FieldDef &field, std::string *code_ptr) argument
583 auto &field = **it; local
618 auto &field = **it; local
672 GenMethod(const FieldDef &field) argument
709 TypeName(const FieldDef &field) argument
[all...]
/external/protobuf/java/core/src/main/java/com/google/protobuf/
H A DMessageReflection.java58 for (final FieldDescriptor field :
60 if (field.isRequired() && !fields.containsKey(field)) {
61 fields.put(field, message.getField(field));
67 final Descriptors.FieldDescriptor field = entry.getKey();
69 if (isMessageSet && field.isExtension() &&
70 field.getType() == Descriptors.FieldDescriptor.Type.MESSAGE &&
71 !field.isRepeated()) {
72 output.writeMessageSetExtension(field
163 subMessagePrefix(final String prefix, final Descriptors.FieldDescriptor field, final int index) argument
254 getField(Descriptors.FieldDescriptor field) argument
263 hasField(Descriptors.FieldDescriptor field) argument
271 setField(Descriptors.FieldDescriptor field, Object value) argument
277 clearField(Descriptors.FieldDescriptor field) argument
288 setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) argument
298 addRepeatedField(Descriptors.FieldDescriptor field, Object value) argument
384 getField(Descriptors.FieldDescriptor field) argument
389 hasField(Descriptors.FieldDescriptor field) argument
394 setField(Descriptors.FieldDescriptor field, Object value) argument
400 clearField(Descriptors.FieldDescriptor field) argument
406 setRepeatedField( Descriptors.FieldDescriptor field, int index, Object value) argument
413 addRepeatedField(Descriptors.FieldDescriptor field, Object value) argument
453 parseGroup( CodedInputStream input, ExtensionRegistryLite extensionRegistry, Descriptors.FieldDescriptor field, Message defaultInstance) argument
477 parseMessage( CodedInputStream input, ExtensionRegistryLite extensionRegistry, Descriptors.FieldDescriptor field, Message defaultInstance) argument
501 parseMessageFromBytes( ByteString bytes, ExtensionRegistryLite extensionRegistry, Descriptors.FieldDescriptor field, Message defaultInstance) argument
525 newMergeTargetForField( Descriptors.FieldDescriptor field, Message defaultInstance) argument
571 getField(Descriptors.FieldDescriptor field) argument
576 hasField(Descriptors.FieldDescriptor field) argument
581 setField(Descriptors.FieldDescriptor field, Object value) argument
587 clearField(Descriptors.FieldDescriptor field) argument
593 setRepeatedField( Descriptors.FieldDescriptor field, int index, Object value) argument
600 addRepeatedField(Descriptors.FieldDescriptor field, Object value) argument
640 parseGroup( CodedInputStream input, ExtensionRegistryLite registry, Descriptors.FieldDescriptor field, Message defaultInstance) argument
659 parseMessage( CodedInputStream input, ExtensionRegistryLite registry, Descriptors.FieldDescriptor field, Message defaultInstance) argument
678 parseMessageFromBytes( ByteString bytes, ExtensionRegistryLite registry, Descriptors.FieldDescriptor field, Message defaultInstance) argument
[all...]
/external/protobuf/src/google/protobuf/compiler/javanano/
H A Djavanano_field.cc51 // No saved default for this field by default.
58 // No saved default for this field by default.
70 << "called on field generator that does not support packing.";
86 descriptor->field(i), params, &next_has_bit_index);
95 FieldGenerator* FieldGeneratorMap::MakeGenerator(const FieldDescriptor* field, argument
97 JavaType java_type = GetJavaType(field);
98 if (field->is_repeated()) {
101 if (IsMapEntry(field->message_type())) {
102 return new MapFieldGenerator(field, params);
104 return new RepeatedMessageFieldGenerator(field, param
[all...]
/external/clang/test/CXX/dcl.decl/dcl.init/
H A Dp6.cpp9 struct NoUserDefault : public MakeNonPOD { int field; }; member in struct:NoUserDefault
19 struct s0 { int field; }; member in struct:s0
/external/clang/test/CodeGenCXX/
H A Dcrash.cpp16 union U { int field; } u = U(); member in union:U
17 (void)U().field;
H A Dvtable-pointer-initialization.cpp19 Field field; member in struct:A
39 Field field; member in struct:B
/external/clang/test/SemaCXX/
H A Dauto-type-from-cxx.cpp15 struct BitField { int field:2; }; member in struct:BitField
16 __auto_type h = BitField{1}.field; // (should work from C++)
/external/proguard/src/proguard/classfile/attribute/
H A DConstantValueAttribute.java58 public void accept(Clazz clazz, Field field, AttributeVisitor attributeVisitor) argument
60 attributeVisitor.visitConstantValueAttribute(clazz, field, this);
/external/skia/src/sksl/ast/
H A DSkSLASTFieldSuffix.h20 ASTFieldSuffix(Position position, String field) argument
22 , fField(std::move(field)) {}

Completed in 1480 milliseconds

1234567891011>>