/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
FieldPositionTest.java | 30 assertEquals("Test1: Constructor failed to set field identifier!", 32 assertNull("Constructor failed to set field attribute!", fpos 37 * @tests java.text.FieldPosition#FieldPosition(java.text.Format$Field) 39 public void test_ConstructorLjava_text_Format$Field() { 40 // Test for constructor java.text.FieldPosition(Format.Field) 41 FieldPosition fpos = new FieldPosition(DateFormat.Field.MONTH); 42 assertSame("Constructor failed to set field attribute!", 43 DateFormat.Field.MONTH, fpos.getFieldAttribute()); 44 assertEquals("Test1: Constructor failed to set field identifier!", -1, 49 * @tests java.text.FieldPosition#FieldPosition(java.text.Format$Field, int [all...] |
/libcore/ojluni/src/main/java/java/time/temporal/ |
JulianFields.java | 98 * Julian Day field. 103 * The field has "JulianDay" as 'name', and 'DAYS' as 'baseUnit'. 104 * The field always refers to the local date-time, ignoring the offset or zone. 113 * In the resolving phase of parsing, a date can be created from a Julian Day field. 141 public static final TemporalField JULIAN_DAY = Field.JULIAN_DAY; 144 * Modified Julian Day field. 150 * The field always refers to the local date-time, ignoring the offset or zone. 161 * In the resolving phase of parsing, a date can be created from a Modified Julian Day field. 182 public static final TemporalField MODIFIED_JULIAN_DAY = Field.MODIFIED_JULIAN_DAY; 185 * Rata Die field [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
Field.java | 30 * This class provides description of class field. 33 public final class Field { 50 public Field() { 59 * Constructor initializing all members of the Field instance. 62 * field id 66 * field name 68 * signature signature of the field class 70 * field modifiers 72 public Field(long id, long classID, String name, String signature, 85 * signature of the field clas 293 Field field = (Field) obj; local [all...] |
/external/clang/test/SemaCXX/ |
alignof.cpp | 7 static const int test0 = __alignof__(x); // expected-error {{invalid application of 'alignof' to a field of a class still being defined}} 8 static const int test1 = __alignof__(S0::x); // expected-error {{invalid application of 'alignof' to a field of a class still being defined}} 9 auto test2() -> char(&)[__alignof__(x)]; // expected-error {{invalid application of 'alignof' to a field of a class still being defined}} 54 // Regression test for asking for the alignment of a field within an invalid 97 typedef __attribute__((aligned(N))) int Field[sizeof(N)]; // expected-error {{requested alignment is dependent but declaration is not dependent}}
|
offsetof.cpp | 35 int j : 12; // expected-note{{bit-field is declared here}} 38 int test3 = __builtin_offsetof(struct has_bitfields, j); // expected-error{{cannot compute offset of bit-field 'j'}} 79 int Field; 82 void Fun() { (void)__builtin_offsetof(Derived, Field); } // expected-warning {{offset of on non-POD type}} \ 83 expected-error {{invalid application of 'offsetof' to a field of a virtual base}}
|
empty-class-layout.cpp | 127 struct Field : virtual Empty { }; 129 Field f; 140 struct Field : virtual Empty { }; 142 Field f;
|
/external/llvm/include/llvm/DebugInfo/CodeView/ |
RecordSerialization.h | 125 T Field; 128 if (auto EC = consume(Data, Field)) 130 Item.push_back(Field); 146 StringRef Field; 149 if (auto EC = consume(Data, Field)) 151 Item.push_back(Field); 208 // This field is only present in the byte record if the condition is true. The 216 // to a field deserialized earlier.
|
/external/llvm/utils/TableGen/ |
SearchableTableEmitter.cpp | 46 int getInt(Record *R, StringRef Field) { 47 return getAsInt(R->getValueAsBitsInit(Field)); 61 "invalid field type, expected: string, bits, bit or code"); 99 void emitSearchTable(StringRef Name, StringRef Field, 102 void emitLookupDeclaration(StringRef Name, StringRef Field, Init *I, 104 void emitLookupFunction(StringRef Name, StringRef Field, Init *I, 110 /// Emit an enum providing symbolic access to some preferred field from 150 StringRef Name, StringRef Field, std::vector<SearchTableEntry> &SearchTable, 153 << ", int> " << Name << "sBy" << Field << "[] = {\n"; 178 void SearchableTableEmitter::emitLookupFunction(StringRef Name, StringRef Field, [all...] |
/external/protobuf/src/google/protobuf/ |
repeated_field_reflection.h | 51 // of the value depends on the field's cpp_type. Following is a mapping from 54 // field->cpp_type() T Actual type of void* 74 typedef void Field; 79 virtual bool IsEmpty(const Field* data) const = 0; 80 virtual int Size(const Field* data) const = 0; 81 // Depends on the underlying representation of the repeated field, this 87 const Field* data, int index, Value* scratch_space) const = 0; 89 virtual void Clear(Field* data) const = 0; 90 virtual void Set(Field* data, int index, const Value* value) const = 0; 91 virtual void Add(Field* data, const Value* value) const = 0 [all...] |
reflection.h | 53 const Message& message, const FieldDescriptor* field) const { 54 return RepeatedFieldRef<T>(message, field); 59 Message* message, const FieldDescriptor* field) const { 60 return MutableRepeatedFieldRef<T>(message, field); 94 const FieldDescriptor* field) { 97 const_cast<Message*>(&message), field, 99 accessor_ = reflection->RepeatedFieldAccessor(field); 160 const FieldDescriptor* field) { 163 message, field, internal::RefTypeTraits<T>::cpp_type, NULL); 164 accessor_ = reflection->RepeatedFieldAccessor(field); [all...] |
reflection_internal.h | 48 virtual Iterator* BeginIterator(const Field* data) const { 51 virtual Iterator* EndIterator(const Field* data) const { 54 virtual Iterator* CopyIterator(const Field* data, 58 virtual Iterator* AdvanceIterator(const Field* data, 62 virtual bool EqualsIterator(const Field* data, 67 virtual void DeleteIterator(const Field* data, Iterator* iterator) const { 69 virtual const Value* GetIteratorValue(const Field* data, 92 virtual bool IsEmpty(const Field* data) const { 95 virtual int Size(const Field* data) const { 98 virtual const Value* Get(const Field* data, int index [all...] |
/external/v8/benchmarks/ |
navier-stokes.js | 55 function addPoints(field) { 58 field.setVelocity(i, i, n, n); 59 field.setDensity(i, i, 5); 60 field.setVelocity(i, n - i, -n, -n); 61 field.setDensity(i, n - i, 20); 62 field.setVelocity(128 - i, n + i, -n, -n); 63 field.setDensity(128 - i, n + i, 30); 70 function prepareFrame(field) 73 addPoints(field); 300 function Field(dens, u, v) [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/ |
MimeHeader.java | 47 protected final ArrayList<Field> mFields = new ArrayList<Field>(); 62 mFields.add(new Field(name, value)); 75 for (Field field : mFields) { 76 if (field.name.equalsIgnoreCase(name)) { 77 values.add(field.value); 87 ArrayList<Field> removeFields = new ArrayList<Field>(); 88 for (Field field : mFields) [all...] |
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
MimeHeader.java | 51 protected final ArrayList<Field> mFields = new ArrayList<Field>(); 66 mFields.add(new Field(name, value)); 79 for (Field field : mFields) { 80 if (field.name.equalsIgnoreCase(name)) { 81 values.add(field.value); 91 ArrayList<Field> removeFields = new ArrayList<Field>(); 92 for (Field field : mFields) [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/ |
Field.java | 20 package org.apache.james.mime4j.field; 26 * The base class of all field classes. 29 * @version $Id: Field.java,v 1.6 2004/10/25 07:26:46 ntherning Exp $ 31 public abstract class Field { 63 protected Field(final String name, final String body, final String raw) { 71 * <code>Field</code> class. The type of the class returned depends on 72 * the field name: 75 * <td><em>Field name</em></td><td><em>Class returned</em></td> 76 * <td>Content-Type</td><td>org.apache.james.mime4j.field.ContentTypeField</td> 77 * <td>other</td><td>org.apache.james.mime4j.field.UnstructuredField</td [all...] |
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
repeated_field_reflection.h | 51 // of the value depends on the field's cpp_type. Following is a mapping from 54 // field->cpp_type() T Actual type of void* 74 typedef void Field; 79 virtual bool IsEmpty(const Field* data) const = 0; 80 virtual int Size(const Field* data) const = 0; 81 // Depends on the underlying representation of the repeated field, this 87 const Field* data, int index, Value* scratch_space) const = 0; 89 virtual void Clear(Field* data) const = 0; 90 virtual void Set(Field* data, int index, const Value* value) const = 0; 91 virtual void Add(Field* data, const Value* value) const = 0 [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/VfrCompile/ |
EfiVfr.h | 70 STRUCT_FIELD_DEFINITION *Field;
|
/external/clang/test/Analysis/ |
padding_c.c | 231 struct SmallArrayInStruct Field[20];
|
/external/clang/test/CodeGenCXX/ |
microsoft-abi-virtual-inheritance.cpp | 12 int field; member in struct:VBase 121 field = 42; 133 // CHECK: %[[FIELD:.*]] = getelementptr inbounds %struct.VBase, %struct.VBase* %[[VBASE]], i32 0, i32 1 134 // CHECK: store i32 42, i32* %[[FIELD]], align 4 356 int field; // Laid out between C and A subobjects in D. member in struct:test3::D 466 int Field; 481 // CHECK: %[[FIELD:.*]] = getelementptr inbounds i8, i8* %[[B_i8]], i32 4 482 // CHECK: call void @llvm.memset.p0i8.i32(i8* %[[FIELD]], i8 0, i32 4, i32 4, i1 false) 508 float field; member in class:test6::C 521 // CHECK: %[[FIELD:.*]] = getelementptr inbounds i8, i8* %[[C_i8]], i32 [all...] |
/external/clang/test/Layout/ |
ms-x86-pack-and-align.cpp | 374 __declspec(align(256)) int Field; 380 // CHECK-NEXT: 256 | int Field 386 // CHECK-X64-NEXT: 256 | int Field 394 __declspec(align(256)) int Field; 401 // CHECK-NEXT: 256 | int Field 409 // CHECK-X64-NEXT: 256 | int Field
|
/external/nanopb-c/generator/ |
nanopb_generator.py | 104 '''Class used to represent the encoded size of a field or a message. 161 class Field: 174 # Parse field options 184 # Check field rules, i.e. required/optional/repeated. 199 # Check if the field can be implemented with static allocation 207 # Decide how the field data will be allocated 215 raise Exception("Field %s is defined as static, but max_size or " 285 '''Return definitions for any special types this field might need.''' 296 '''Return definition for this field's default value.''' 331 '''Return the #define for the tag number of this field.'' [all...] |
/external/pdfium/fpdfsdk/javascript/ |
Field.h | 75 class Field : public CJS_EmbedObj { 77 explicit Field(CJS_Object* pJSObject); 78 ~Field() override; 517 JS_STATIC_PROP(alignment, Field); 518 JS_STATIC_PROP(borderStyle, Field); 519 JS_STATIC_PROP(buttonAlignX, Field); 520 JS_STATIC_PROP(buttonAlignY, Field); 521 JS_STATIC_PROP(buttonFitBounds, Field); 522 JS_STATIC_PROP(buttonPosition, Field); 523 JS_STATIC_PROP(buttonScaleHow, Field); [all...] |
/external/skia/src/sfnt/ |
SkOTTable_head.h | 31 struct Field { 52 } field; member in union:SkOTTableHead::Flags 82 struct Field { 103 } field; member in union:SkOTTableHead::MacStyle
|
/external/skia/src/sksl/ir/ |
SkSLType.h | 28 struct Field { 29 Field(Modifiers modifiers, SkString name, const Type* type) 67 Type(Position position, SkString name, std::vector<Field> fields) 198 const std::vector<Field>& fields() const { 252 const std::vector<Field> fFields;
|
/external/tpm2/generator/ |
structure_generator.py | 117 class Field(object): 118 """Represents a field in TPM structure or union. 132 from zero to MAX_SIZE. The field 'size' denotes the actual number of 144 the field named 'rsa' will have its 'selector_value' set to 'TPM_ALG_RSA'. 147 field_type: a string, the type of field. 148 field_name: a string, the name of the field. 175 """Initializes a Field instance. 178 field_type: Initial value for the field type attribute. 179 field_name: Initial value for the field name attribute. 189 # (processing of TPM_ALG_NULL in this example). Setting field name to ' [all...] |