/external/mockito/src/test/java/org/mockito/internal/util/reflection/ |
AccessibilityChangerTest.java | 10 import java.lang.reflect.Field; 23 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/ |
config_file.h | 14 struct hostapd_bss_config *bss, const char *field,
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
AbstractTest.java | 67 import java.lang.reflect.Field; 88 Field[] fields = cls.getDeclaredFields(); 89 for (Field field : fields) { 90 if (field.getName().contains("$") == false) { 91 if (Modifier.isStatic(field.getModifiers())) { 92 assertTrue(Modifier.isFinal(field.getModifiers()), "Field:" + field.getName()); 94 assertTrue(Modifier.isPrivate(field.getModifiers()), "Field:" + field.getName()) [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/ |
FieldParser.java | 16 package org.apache.james.mime4j.field; 20 Field parse(final String name, final String body, final String raw);
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.monetary/locale.moneypunct/locale.moneypunct.members/ |
neg_format.pass.cpp | 59 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[1] == std::money_base::sign) [all...] |
pos_format.pass.cpp | 59 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[1] == std::money_base::sign) [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/localization/locale.categories/category.monetary/locale.moneypunct/locale.moneypunct.members/ |
neg_format.pass.cpp | 59 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[1] == std::money_base::sign) [all...] |
pos_format.pass.cpp | 59 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[1] == std::money_base::sign) [all...] |
/toolchain/binutils/binutils-2.25/binutils/ |
elfcomm.h | 52 #define BYTE_PUT(field, val) byte_put (field, val, sizeof (field)) 53 #define BYTE_GET(field) byte_get (field, sizeof (field)) 54 #define BYTE_GET_SIGNED(field) byte_get_signed (field, sizeof (field))
|
/external/icu/icu4c/source/test/intltest/ |
fldset.cpp | 25 FieldsSet::FieldsSet(UDebugEnumType field) { 26 construct(field, udbg_enumCount(field)); 37 void FieldsSet::construct(UDebugEnumType field, int32_t fieldCount) { 38 fEnum = field; 63 str = str + UnicodeString("some field") + "=" + myVal+" not " + theirVal+", "; 115 int32_t field = handleParseName(inheritFrom, kv[0], kv[1], status); local 123 it_errln(UnicodeString("Parse Failed: Field ") + UnicodeString(ch) + UnicodeString(", err ") + UnicodeString(u_errorName(status))); 129 if(field != -1) { 130 handleParseValue(inheritFrom, field, kv[1], status) [all...] |
/external/protobuf/src/google/protobuf/ |
message.h | 233 // 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 391 // returns "const Field&", where "Field" is some class with accessors like 393 // allocating these Field objects. For generated message classes, having t [all...] |
wire_format.cc | 182 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.number() 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 720 const FieldDescriptor* field = NULL; local [all...] |
repeated_field_unittest.cc | 61 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.size(), 2) 105 RepeatedField<int> field; local 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 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...] |
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
message.h | 233 // 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 391 // returns "const Field&", where "Field" is some class with accessors like 393 // allocating these Field objects. For generated message classes, having t [all...] |
/external/protobuf/php/ext/google/protobuf/ |
storage.c | 45 // 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.") 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 461 const upb_fielddef* field = upb_msg_iter_field(&it); local [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/stlport/src/ |
facets_byname.cpp | 519 pos_format.field[0] = (char) money_base::sign; 522 pos_format.field[1] = (char) money_base::symbol; 525 pos_format.field[2] = (char) money_base::space; 526 pos_format.field[3] = (char) money_base::value; 529 pos_format.field[2] = (char) money_base::value; 530 pos_format.field[3] = (char) money_base::none; 534 pos_format.field[1] = (char) money_base::value; 537 pos_format.field[2] = (char) money_base::space; 538 pos_format.field[3] = (char) money_base::symbol; 541 pos_format.field[2] = (char) money_base::symbol [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/stlport/src/ |
facets_byname.cpp | 519 pos_format.field[0] = (char) money_base::sign; 522 pos_format.field[1] = (char) money_base::symbol; 525 pos_format.field[2] = (char) money_base::space; 526 pos_format.field[3] = (char) money_base::value; 529 pos_format.field[2] = (char) money_base::value; 530 pos_format.field[3] = (char) money_base::none; 534 pos_format.field[1] = (char) money_base::value; 537 pos_format.field[2] = (char) money_base::space; 538 pos_format.field[3] = (char) money_base::symbol; 541 pos_format.field[2] = (char) money_base::symbol [all...] |
/system/core/healthd/ |
healthd_draw.cpp | 97 void HealthdDraw::determine_xy(const animation::text_field& field, 99 *x = field.pos_x; 101 int str_len_px = length * field.font->char_width; 102 if (field.pos_x == CENTER_VAL) { 104 } else if (field.pos_x >= 0) { 105 *x = field.pos_x; 107 *x = screen_width_ + field.pos_x - str_len_px - kSplitOffset; 110 *y = field.pos_y; 112 if (field.pos_y == CENTER_VAL) { 113 *y = (screen_height_ - field.font->char_height) / 2 125 const animation::text_field& field = anim->text_clock; local 158 const animation::text_field& field = anim->text_percent; local [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
EncodedField.java | 29 * Representation of a field of a class, of any sort. 33 /** {@code non-null;} constant for the field */ 34 private final CstFieldRef field; field in class:EncodedField 39 * @param field {@code non-null;} constant for the field 42 public EncodedField(CstFieldRef field, int accessFlags) { 45 if (field == null) { 46 throw new NullPointerException("field == null"); 54 this.field = field; [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
EncodedField.java | 28 * Representation of a field of a class, of any sort. 32 /** {@code non-null;} constant for the field */ 33 private final CstFieldRef field; field in class:EncodedField 38 * @param field {@code non-null;} constant for the field 41 public EncodedField(CstFieldRef field, int accessFlags) { 44 if (field == null) { 45 throw new NullPointerException("field == null"); 53 this.field = field; [all...] |
/external/nanopb-c/ |
pb_encode.c | 22 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, const void *src) 303 const pb_field_t *field = (const pb_field_t*)extension->type->arg; local 338 const pb_field_t *field = fields; local [all...] |
/external/libchrome/base/json/ |
json_value_converter.h | 54 // for an int field. Do not report failures for missing fields. 58 // For nested field, the internal message also has to implement the registration 69 // For repeated field, we just assume ScopedVector for its container 114 virtual bool Convert(const base::Value& value, FieldType* field) const = 0; 121 FieldType StructType::* field, 124 field_pointer_(field), 146 bool Convert(const base::Value& value, int* field) const override; 158 bool Convert(const base::Value& value, std::string* field) const override; 170 bool Convert(const base::Value& value, string16* field) const override; 181 bool Convert(const base::Value& value, double* field) const override 497 const base::Value* field = NULL; local [all...] |
/external/flatbuffers/src/ |
idl_gen_php.cpp | 173 static void GetVectorLen(const FieldDef &field, 181 code += MakeCamel(field.name) + "Length()\n"; 184 code += NumToString(field.value.offset) + ");\n"; 191 static void GetUByte(const FieldDef &field, 199 code += MakeCamel(field.name) + "Bytes()\n"; 202 code += NumToString(field.value.offset) + ");\n"; 207 static void GetScalarFieldOfStruct(const FieldDef &field, 210 std::string getter = GenGetter(field.value.type); 214 code += GenTypeGet(field.value.type) + "\n"; 217 code += MakeCamel(field.name) + "()\n" 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 656 auto &field = **it; local 735 auto &field = **it; local 811 auto &field = **it; local [all...] |
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
MessageReflection.java | 58 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(); local 69 if (isMessageSet && field.isExtension() && 70 field.getType() == Descriptors.FieldDescriptor.Type.MESSAGE && 71 !field.isRepeated()) { 72 output.writeMessageSetExtension(field.getNumber(), (Message) value) 95 final Descriptors.FieldDescriptor field = entry.getKey(); local 143 final Descriptors.FieldDescriptor field = entry.getKey(); local 195 final Descriptors.FieldDescriptor field = entry.getKey(); local 745 final Descriptors.FieldDescriptor field; local 967 Descriptors.FieldDescriptor field = extension.descriptor; local 988 Descriptors.FieldDescriptor field = extension.descriptor; local [all...] |
/external/protobuf/src/google/protobuf/compiler/javanano/ |
javanano_field.cc | 51 // 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, 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, params) [all...] |