/external/libevent/ |
H A D | ht-internal.h | 101 #define _HT_SET_HASH(elm, field, hashfn) \ 102 do { (elm)->field.hte_hash = hashfn(elm); } while (0) 103 #define _HT_SET_HASHVAL(elm, field, val) \ 104 do { (elm)->field.hte_hash = (val); } while (0) 105 #define _HT_ELT_HASH(elm, field, hashfn) \ 106 ((elm)->field.hte_hash) 108 #define _HT_SET_HASH(elm, field, hashfn) \ 110 #define _HT_ELT_HASH(elm, field, hashfn) \ 112 #define _HT_SET_HASHVAL(elm, field, val) \ 117 #define _HT_BUCKET(head, field, el [all...] |
/external/syslinux/gpxe/src/drivers/net/ |
H A D | etherfabric.h | 48 /** Dummy field low bit number */ 50 /** Dummy field width */ 69 /** Specified attribute (e.g. LBN) of the specified field */ 70 #define EFAB_VAL(field,attribute) field ## _ ## attribute 71 /** Low bit number of the specified field */ 72 #define EFAB_LOW_BIT( field ) EFAB_VAL ( field, LBN ) 73 /** Bit width of the specified field */ 74 #define EFAB_WIDTH( field ) EFAB_VA [all...] |
/external/syslinux/gpxe/src/net/ |
H A D | dhcppkt.c | 44 * Calculate used length of an IPv4 field within a DHCP packet 47 * @v len Length of field 48 * @ret used Used length of field 57 * Calculate used length of a string field within a DHCP packet 60 * @v len Length of field 61 * @ret used Used length of field 67 /** A dedicated field within a DHCP packet */ 73 /** Length of field */ 75 /** Calculate used length of field 78 * @v len Length of field 125 struct dhcp_packet_field *field; local 148 struct dhcp_packet_field *field; local 186 struct dhcp_packet_field *field; local [all...] |
/external/nanopb-c/generator/google/protobuf/internal/ |
H A D | python_message.py | 92 for field in descriptor.fields: 93 _AttachFieldHelpers(cls, field) 116 of a protocol message field. 119 proto_field_name: The protocol message field name, exactly 132 # getattr() and setattr() to reflectively manipulate field values. If we 134 # the same transformation. Note that currently if you name a field "yield", 182 def _IsMessageSetExtension(field): 183 return (field.is_extension and 184 field.containing_type.has_options and 185 field [all...] |
/external/protobuf/python/google/protobuf/ |
H A D | json_format.py | 111 def _IsMapEntry(field): 112 return (field.type == descriptor.FieldDescriptor.TYPE_MESSAGE and 113 field.message_type.has_options and 114 field.message_type.GetOptions().map_entry) 123 for field, value in fields: 124 name = field.camelcase_name 125 if _IsMapEntry(field): 126 # Convert a map field. 127 v_field = field.message_type.fields_by_name['value'] 140 elif field [all...] |
H A D | text_format.py | 117 defined in source code instead of the field number. By default, use the 118 field number order. 121 use_field_number: If True, print field numbers instead of names. 138 def _IsMapEntry(field): 139 return (field.type == descriptor.FieldDescriptor.TYPE_MESSAGE and 140 field.message_type.has_options and 141 field.message_type.GetOptions().map_entry) 153 def PrintField(field, value, out, indent=0, as_utf8=False, as_one_line=False, 155 """Print a single field name/value pair.""" 158 printer.PrintField(field, valu [all...] |
/external/v8/tools/ |
H A D | gc-nvp-trace-processor.py | 61 def __init__(self, title, field, axis = x1y1, **keywords): 65 if type(field) is types.ListType: 66 self.field = field 68 self.field = [field] 71 return self.field 75 'using %s' % context.format_fieldref(self.field), 112 return ':'.join([str(self.field_to_index[field]) for field i [all...] |
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/generate/ |
H A D | pack.py | 70 def __init__(self, field, index, ordinal): 73 field: the original field. 74 index: the position of the original field in the struct. 75 ordinal: the ordinal of the field for serialization. 77 self.field = field 80 self.size = self.GetSizeForKind(field.kind) 81 self.alignment = self.GetAlignmentForKind(field.kind) 93 def GetFieldOffset(field, last_fiel [all...] |
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | MapEntry.java | 162 for (final FieldDescriptor field : metadata.descriptor.getFields()) { 163 if (hasField(field)) { 164 result.put(field, getField(field)); 170 private void checkFieldDescriptor(FieldDescriptor field) { argument 171 if (field.getContainingType() != metadata.descriptor) { 173 "Wrong FieldDescriptor \"" + field.getFullName() 179 public boolean hasField(FieldDescriptor field) { argument 180 checkFieldDescriptor(field);; 186 public Object getField(FieldDescriptor field) { argument 198 getRepeatedFieldCount(FieldDescriptor field) argument 204 getRepeatedField(FieldDescriptor field, int index) argument 296 checkFieldDescriptor(FieldDescriptor field) argument 305 newBuilderForField( FieldDescriptor field) argument 320 setField(FieldDescriptor field, Object value) argument 334 clearField(FieldDescriptor field) argument 345 setRepeatedField(FieldDescriptor field, int index, Object value) argument 352 addRepeatedField(FieldDescriptor field, Object value) argument 390 hasField(FieldDescriptor field) argument 396 getField(FieldDescriptor field) argument 408 getRepeatedFieldCount(FieldDescriptor field) argument 414 getRepeatedField(FieldDescriptor field, int index) argument [all...] |
/external/protobuf/src/google/protobuf/ |
H A D | dynamic_message.cc | 106 bool IsMapFieldInApi(const FieldDescriptor* field) { argument 107 return field->is_map(); 110 // Compute the byte size of the in-memory representation of the field. 111 int FieldSpaceUsed(const FieldDescriptor* field) { argument 113 if (field->label() == FD::LABEL_REPEATED) { 114 switch (field->cpp_type()) { 124 if (IsMapFieldInApi(field)) { 131 switch (field->options().ctype()) { 139 switch (field->cpp_type()) { 153 switch (field 168 OneofFieldSpaceUsed(const FieldDescriptor* field) argument 348 const FieldDescriptor* field = descriptor->field(i); local 440 const FieldDescriptor* field = descriptor->field(i); local 543 const FieldDescriptor* field = descriptor->field(i); local 761 const FieldDescriptor* field = type->oneof_decl(i)->field(j); local 815 const FieldDescriptor* field = type->oneof_decl(i)->field(j); local 861 const FieldDescriptor* field = type->oneof_decl(i)->field(j); local [all...] |
/external/flatbuffers/src/ |
H A D | idl_gen_python.cpp | 30 static std::string GenMethod(const FieldDef &field); 36 static std::string TypeName(const FieldDef &field); 42 // Most field accessors need to retrieve and test the field offset first, 44 std::string OffsetPrefix(const FieldDef &field) { argument 48 NumToString(field.value.offset) + 113 const FieldDef &field, 118 code += MakeCamel(field.name) + "Length(self"; 119 code += "):" + OffsetPrefix(field); 126 const FieldDef &field, 112 GetVectorLen(const StructDef &struct_def, const FieldDef &field, std::string *code_ptr) argument 125 GetScalarFieldOfStruct(const StructDef &struct_def, const FieldDef &field, std::string *code_ptr) argument 138 GetScalarFieldOfTable(const StructDef &struct_def, const FieldDef &field, std::string *code_ptr) argument 154 GetStructFieldOfStruct(const StructDef &struct_def, const FieldDef &field, std::string *code_ptr) argument 168 GetStructFieldOfTable(const StructDef &struct_def, const FieldDef &field, std::string *code_ptr) argument 191 GetStringField(const StructDef &struct_def, const FieldDef &field, std::string *code_ptr) argument 205 GetUnionField(const StructDef &struct_def, const FieldDef &field, std::string *code_ptr) argument 228 GetMemberOfVectorOfStruct(const StructDef &struct_def, const FieldDef &field, std::string *code_ptr) argument 254 GetMemberOfVectorOfNonStruct(const StructDef &struct_def, const FieldDef &field, std::string *code_ptr) argument 295 auto &field = **it; local 328 auto &field = **it; local 359 BuildFieldOfTable(const StructDef &struct_def, const FieldDef &field, const size_t offset, std::string *code_ptr) argument 383 BuildVectorOfTable(const StructDef &struct_def, const FieldDef &field, std::string *code_ptr) argument 415 GenStructAccessor(const StructDef &struct_def, const FieldDef &field, std::string *code_ptr) argument 466 auto &field = **it; local 497 auto &field = **it; local 542 GenMethod(const FieldDef &field) argument 579 TypeName(const FieldDef &field) argument [all...] |
/external/protobuf/src/google/protobuf/compiler/java/ |
H A D | java_message_builder.cc | 156 totalBits += field_generators_.get(descriptor_->field(i)) 168 field_generators_.get(descriptor_->field(i)) 211 const FieldDescriptor* field = descriptor_->field(i); local 212 if (GetJavaType(field) == JAVATYPE_MESSAGE && 213 IsMapEntry(field->message_type())) { 214 map_fields.push_back(field); 226 const FieldDescriptor* field = map_fields[i]; local 227 const FieldGeneratorInfo* info = context_->GetFieldGeneratorInfo(field); 231 "number", SimpleItoa(field 251 const FieldDescriptor* field = map_fields[i]; local 388 const ImmutableFieldGenerator& field = local 480 const FieldDescriptor* field = descriptor_->oneof_decl(i)->field(j); local 565 const FieldDescriptor* field = descriptor_->field(i); local 579 const FieldDescriptor* field = descriptor_->field(i); local [all...] |
/external/protobuf/objectivec/ |
H A D | GPBUtilities_PackagePrivate.h | 150 GPB_INLINE BOOL GPBFieldDataTypeIsMessage(GPBFieldDescriptor *field) { argument 151 return GPBDataTypeIsMessage(field->description_->dataType); 154 GPB_INLINE BOOL GPBFieldDataTypeIsObject(GPBFieldDescriptor *field) { argument 155 return GPBDataTypeIsObject(field->description_->dataType); 162 // The field is an array/map or it has an object value. 163 GPB_INLINE BOOL GPBFieldStoresObject(GPBFieldDescriptor *field) { argument 164 GPBMessageFieldDescription *desc = field->description_; 177 GPBGetHasIvarField(GPBMessage *self, GPBFieldDescriptor *field) { argument 178 GPBMessageFieldDescription *fieldDesc = field->description_; 181 GPB_INLINE void GPBSetHasIvarField(GPBMessage *self, GPBFieldDescriptor *field, argument [all...] |
/external/autotest/frontend/client/src/autotest/moblab/rpc/ |
H A D | JsonRpcEntity.java | 14 protected static String getStringFieldOrDefault(JSONObject object, String field, argument 16 JSONValue value = object.get(field); 23 protected static boolean getBooleanFieldOrDefault(JSONObject object, String field, argument 25 JSONValue value = object.get(field);
|
/external/clang/test/Analysis/ |
H A D | array-struct-region.cpp | 9 int field; member in struct:S 18 int operator *() const { return field; } 41 if (s.field != 42) return; 42 clang_analyzer_eval(s.field == 42); // expected-warning{{TRUE}} 44 s.field = 0; 45 clang_analyzer_eval(s.field == 0); // expected-warning{{TRUE}} 62 int x = getS().field; 79 if (s.field != 42) return 42; 80 return s.field; 84 s.field [all...] |
/external/clang/test/CodeGenCXX/ |
H A D | global-block-literal-helpers.cpp | 22 BL field = ^{}; member in struct:N::S
|
/external/clang/test/Index/ |
H A D | complete-with-annotations.cpp | 4 int field __attribute((annotate("one"), annotate("two"), annotate("three"))); 17 // CHECK: FieldDecl:{ResultType int}{TypedText field} (35) ("three", "two", "one")
|
/external/clang/test/Modules/Inputs/ |
H A D | module_private_right.h | 11 __module_private__ int field; member in struct:VisibleStruct
|
/external/compiler-rt/test/asan/TestCases/Windows/ |
H A D | wrong_downcast_on_heap.cc | 6 int field; member in class:Parent
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
H A D | CalendarFieldsSet.java | 53 protected void handleParseValue(FieldsSet inheritFrom, int field, String substr) { argument 54 if(field == Calendar.MONTH) { 55 parseValueEnum(DebugUtilitiesData.UCalendarMonths, inheritFrom, field, substr); 58 parseValueDefault(inheritFrom, field, substr);
|
/external/icu/icu4c/source/test/intltest/ |
H A D | normconf.cpp | 286 * there are five columns, corresponding to field[0]..field[4]. 294 * @param field the 5 columns 298 UBool NormalizerConformanceTest::checkConformance(const UnicodeString* field, argument 310 Normalizer::normalize(field[i], UNORM_NFC, options, out, status); 314 pass &= assertEqual("C", field[i], out, field[1], "c2!=C(c", fieldNum); 315 iterativeNorm(field[i], UNORM_NFC, options, out, +1); 316 pass &= assertEqual("C(+1)", field[i], out, field[ 486 assertEqual(const char *op, const UnicodeString& s, const UnicodeString& got, const UnicodeString& exp, const char *msg, int32_t field) argument [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | CalendarFieldsSet.java | 52 protected void handleParseValue(FieldsSet inheritFrom, int field, String substr) { argument 53 if(field == Calendar.MONTH) { 54 parseValueEnum(DebugUtilitiesData.UCalendarMonths, inheritFrom, field, substr); 57 parseValueDefault(inheritFrom, field, substr);
|
H A D | DebugUtilities.java | 47 * @param field which enum value to look up 50 public static String enumString(int type, int field) { argument 51 return DebugUtilitiesData.NAMES[type][field]; 72 * @return the expected ordinal value (should be equal to "field") 75 public static int enumArrayValue(int type, int field) { argument 76 return DebugUtilitiesData.VALUES[type][field];
|
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/ |
H A D | MockInjectionStrategy.java | 21 protected boolean processInjection(Field field, Object fieldOwner, Set<Object> mockCandidates) { 50 * Actually inject mockCandidates on field. 63 * @param fieldOwnedBy The owning instance of the field. 81 * @param field Field needing injection 86 protected abstract boolean processInjection(Field field, Object fieldOwner, Set<Object> mockCandidates); argument 88 private boolean relayProcessToNextStrategy(Field field, Object fieldOwner, Set<Object> mockCandidates) { argument 89 return nextStrategy != null && nextStrategy.process(field, fieldOwner, mockCandidates);
|
/external/mockito/src/test/java/org/mockito/internal/util/reflection/ |
H A D | FieldInitializerTest.java | 41 FieldInitializer fieldInitializer = new FieldInitializer(this, field("alreadyInstantiated")); 51 FieldInitializer fieldInitializer = new FieldInitializer(this, field("noConstructor")); 61 FieldInitializer fieldInitializer = new FieldInitializer(this, field("defaultConstructor")); 71 FieldInitializer fieldInitializer = new FieldInitializer(this, field("privateDefaultConstructor")); 81 FieldInitializer fieldInitializer = new FieldInitializer(this, field("noDefaultConstructor")); 87 FieldInitializer fieldInitializer = new FieldInitializer(this, field("throwingExDefaultConstructor")); 100 new FieldInitializer(this, field("abstractType")); 105 new FieldInitializer(this, field("instantiatedAbstractType")); 110 new FieldInitializer(this, field("interfaceType")); 115 new FieldInitializer(this, field("instantiatedInterfaceTyp 168 private Field field(String fieldName) throws NoSuchFieldException { method in class:FieldInitializerTest [all...] |