/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/ |
ExtendableMessageNano.java | 52 FieldData field = unknownFieldData.dataAt(i); local 53 size += field.computeSerializedSize(); 65 FieldData field = unknownFieldData.dataAt(i); local 66 field.writeTo(output); 78 FieldData field = unknownFieldData.get(WireFormatNano.getTagFieldNumber(extension.tag)); local 79 return field != null; 89 FieldData field = unknownFieldData.get(WireFormatNano.getTagFieldNumber(extension.tag)); local 90 return field == null ? null : field.getValue(extension); 106 FieldData field = null local 149 FieldData field = null; local [all...] |
/libcore/ojluni/src/main/java/java/text/ |
CalendarBuilder.java | 32 * {@code CalendarBuilder} keeps field-value pairs for setting 34 * {@link Calendar#FIELD_COUNT FIELD_COUNT}-th field for the week year 55 public static final int ISO_DAY_OF_WEEK = 1000; // pseudo field index 57 // stamp[] (lower half) and field[] (upper half) combined 58 private final int[] field; field in class:CalendarBuilder 63 field = new int[MAX_FIELD * 2]; 73 field[index] = nextStamp++; 74 field[MAX_FIELD + index] = value; 82 field[MAX_FIELD + YEAR] += value; 83 field[MAX_FIELD + WEEK_YEAR] += value [all...] |
FieldPosition.java | 49 * <li>By a <code>Format.Field</code> constant, see <code>ERA_FIELD</code> 54 * field within the formatted output with two indices: the index 55 * of the first character of the field and the index of the last 56 * character of the field. 63 * formatted output (such as the position of a field). 76 * Input: Desired field to determine start and end offsets for. 79 int field = 0; field in class:FieldPosition 82 * Output: End offset of field in text. 83 * If the field does not occur in the text, 0 is returned. 88 * Output: Start offset of field in text [all...] |
/prebuilts/misc/darwin-x86_64/protobuf2.5/include/google/protobuf/ |
message.h | 211 // that have new field definitions which they don't yet know about. However, 335 // - The FieldDescriptor is not a field of this message type. 336 // - The method called is not appropriate for the field's type. For 337 // each field type in FieldDescriptor::TYPE_*, there is only one 342 // field. 344 // field. 348 // You might wonder why there is not any abstract representation for a field 350 // returns "const Field&", where "Field" is some class with accessors like 352 // allocating these Field objects. For generated message classes, having t [all...] |
/prebuilts/misc/linux-x86_64/protobuf2.5/include/google/protobuf/ |
message.h | 211 // that have new field definitions which they don't yet know about. However, 335 // - The FieldDescriptor is not a field of this message type. 336 // - The method called is not appropriate for the field's type. For 337 // each field type in FieldDescriptor::TYPE_*, there is only one 342 // field. 344 // field. 348 // You might wonder why there is not any abstract representation for a field 350 // returns "const Field&", where "Field" is some class with accessors like 352 // allocating these Field objects. For generated message classes, having t [all...] |
/prebuilts/misc/windows/protobuf2.5/include/google/protobuf/ |
message.h | 211 // that have new field definitions which they don't yet know about. However, 335 // - The FieldDescriptor is not a field of this message type. 336 // - The method called is not appropriate for the field's type. For 337 // each field type in FieldDescriptor::TYPE_*, there is only one 342 // field. 344 // field. 348 // You might wonder why there is not any abstract representation for a field 350 // returns "const Field&", where "Field" is some class with accessors like 352 // allocating these Field objects. For generated message classes, having t [all...] |
/prebuilts/tools/linux-x86_64/protoc/include/google/protobuf/ |
message.h | 211 // that have new field definitions which they don't yet know about. However, 335 // - The FieldDescriptor is not a field of this message type. 336 // - The method called is not appropriate for the field's type. For 337 // each field type in FieldDescriptor::TYPE_*, there is only one 342 // field. 344 // field. 348 // You might wonder why there is not any abstract representation for a field 350 // returns "const Field&", where "Field" is some class with accessors like 352 // allocating these Field objects. For generated message classes, having t [all...] |
/external/autotest/frontend/client/src/autotest/tko/ |
HeaderFieldCollection.java | 13 * A modifiable, ordered Collection of unique HeaderFields indexed by both field name and field SQL 23 HeaderField field = new SimpleHeaderField(fieldInfo.name, fieldInfo.field); local 24 add(field); 29 public boolean add(HeaderField field) { 30 if (contains(field)) { 34 orderedFields.add(field); 35 fieldsByName.put(field.getName(), field); local 36 fieldsBySqlName.put(field.getSqlName(), field); local 64 HeaderField field = (HeaderField) o; local 141 HeaderField field = (HeaderField) o; local [all...] |
/external/protobuf/src/google/protobuf/compiler/cpp/ |
cpp_field.cc | 119 << "called on field generator that does not support packing."; 131 field_generators_[i].reset(MakeGenerator(descriptor->field(i), options)); 135 FieldGenerator* FieldGeneratorMap::MakeGenerator(const FieldDescriptor* field, 137 if (field->is_repeated()) { 138 switch (field->cpp_type()) { 140 if (field->is_map()) { 141 return new MapFieldGenerator(field, options); 143 return new RepeatedMessageFieldGenerator(field, options); 146 switch (field->options().ctype()) { 149 return new RepeatedStringFieldGenerator(field, options) [all...] |
/external/protobuf/src/google/protobuf/ |
reflection_ops.cc | 69 const FieldDescriptor* field = fields[i]; local 71 if (field->is_repeated()) { 72 int count = from_reflection->FieldSize(from, field); 74 switch (field->cpp_type()) { 77 to_reflection->Add##METHOD(to, field, \ 78 from_reflection->GetRepeated##METHOD(from, field, j)); \ 93 to_reflection->AddMessage(to, field)->MergeFrom( 94 from_reflection->GetRepeatedMessage(from, field, j)); 99 switch (field->cpp_type()) { 102 to_reflection->Set##METHOD(to, field, \ 158 const FieldDescriptor* field = fields[i]; local 189 const FieldDescriptor* field = fields[i]; local 244 const FieldDescriptor* field = fields[i]; local [all...] |
arenastring_unittest.cc | 59 ArenaStringPtr field; local 61 field.UnsafeSetDefault(&default_value); 62 EXPECT_EQ(string("default"), field.Get(&default_value)); 63 field.Set(&default_value, WrapString("Test short"), NULL); 64 EXPECT_EQ(string("Test short"), field.Get(&default_value)); 65 field.Set(&default_value, WrapString("Test long long long long value"), NULL); 66 EXPECT_EQ(string("Test long long long long value"), field.Get(&default_value)); 67 field.Set(&default_value, string(""), NULL); 68 field.Destroy(&default_value, NULL); 84 ArenaStringPtr field; local [all...] |
generated_message_reflection.h | 87 // the appropriate type. For primitive fields and string fields, each field 97 // of whatever type the individual field would be. Strings and 112 // the start of the message object, of each field. These can 119 // corresponding field of the message has been initialized. 120 // The bit for field index i is obtained by the expression: 149 // For each oneof field, the offset is relative to the 153 // For each none oneof field, the offset is related to 164 // methods will return if the field is not set. 167 // indicates what field is set for each oneof. 219 bool HasField(const Message& message, const FieldDescriptor* field) const [all...] |
/external/protobuf/src/google/protobuf/compiler/java/ |
java_field.cc | 71 const FieldDescriptor* field, int messageBitIndex, int builderBitIndex, 73 if (field->is_repeated()) { 74 switch (GetJavaType(field)) { 76 if (IsMapEntry(field->message_type())) { 78 field, messageBitIndex, builderBitIndex, context); 80 if (IsLazy(field, context->EnforceLite())) { 82 field, messageBitIndex, builderBitIndex, context); 85 field, messageBitIndex, builderBitIndex, context); 90 field, messageBitIndex, builderBitIndex, context); 93 field, messageBitIndex, builderBitIndex, context) [all...] |
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/generate/ |
constant_resolver.py | 17 field = next(ifilter(lambda field: field.name == named_value.name, 19 if not field: 21 'Unable to get computed value for field %s of enum %s' % 23 if field not in computed: 25 return field.resolved_value 46 def ResolveEnumField(enum, field, default_value): 47 if field in computed: 49 if field in in_progress [all...] |
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
generated_message_reflection.h | 87 // the appropriate type. For primitive fields and string fields, each field 97 // of whatever type the individual field would be. Strings and 112 // the start of the message object, of each field. These can 119 // corresponding field of the message has been initialized. 120 // The bit for field index i is obtained by the expression: 149 // For each oneof field, the offset is relative to the 153 // For each none oneof field, the offset is related to 164 // methods will return if the field is not set. 167 // indicates what field is set for each oneof. 219 bool HasField(const Message& message, const FieldDescriptor* field) const [all...] |
/external/curl/docs/examples/ |
postit2.c | 51 curl_mimepart *field = NULL; local 62 /* Fill in the file upload field */ 63 field = curl_mime_addpart(form); 64 curl_mime_name(field, "sendfile"); 65 curl_mime_filedata(field, "postit2.c"); 67 /* Fill in the filename field */ 68 field = curl_mime_addpart(form); 69 curl_mime_name(field, "filename"); 70 curl_mime_data(field, "postit2.c", CURL_ZERO_TERMINATED); 72 /* Fill in the submit field too, even if this is rarely needed * [all...] |
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/ |
EmbeddedField.kt | 23 * Used when a field is embedded inside an Entity or Pojo. 26 data class EmbeddedField(val field: Field, val prefix: String = "", 28 val getter by lazy { field.getter } 29 val setter by lazy { field.setter } 30 val nonNull = field.element.hasAnnotation(NonNull::class) 37 return field.nonNull && (parent == null || parent.isNonNullRecursively())
|
/prebuilts/go/darwin-x86/test/fixedbugs/bug460.dir/ |
b.go | 12 x.int = 20 // ERROR "unexported field" 13 x.int8 = 20 // ERROR "unexported field" 14 x.error = nil // ERROR "unexported field" 15 x.rune = 'a' // ERROR "unexported field" 16 x.byte = 20 // ERROR "unexported field"
|
/prebuilts/go/linux-x86/test/fixedbugs/bug460.dir/ |
b.go | 12 x.int = 20 // ERROR "unexported field" 13 x.int8 = 20 // ERROR "unexported field" 14 x.error = nil // ERROR "unexported field" 15 x.rune = 'a' // ERROR "unexported field" 16 x.byte = 20 // ERROR "unexported field"
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/expr/ |
FieldAccessExpr.java | 41 private NameExpr field; field in class:FieldAccessExpr 46 public FieldAccessExpr(final Expression scope, final String field) { 48 setField(field); 51 public FieldAccessExpr(final Range range, final Expression scope, final List<Type<?>> typeArguments, final String field) { 55 setField(field); 67 return field.getName(); 71 return field; 78 public FieldAccessExpr setField(final String field) { 79 setFieldExpr(new NameExpr(field)); 83 public FieldAccessExpr setFieldExpr(NameExpr field) { [all...] |
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/expr/ |
FieldAccessExpr.java | 39 private NameExpr field; field in class:FieldAccessExpr 44 public FieldAccessExpr(final Expression scope, final String field) { 46 setField(field); 50 final Expression scope, final List<Type> typeArgs, final String field) { 54 setField(field); 66 return field.getName(); 70 return field; 81 public void setField(final String field) { 82 this.field = new NameExpr(field); [all...] |
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
CalendarICU.java | 45 public void add(int field, int amount) { 47 fIcuCal.add(field, amount); 66 //public void clear(int field) 103 public int get(int field) { 105 return fIcuCal.get(field); 109 public int getActualMaximum(int field) { 110 return fIcuCal.getActualMaximum(field); 114 public int getActualMinimum(int field) { 115 return fIcuCal.getActualMinimum(field); 119 public String getDisplayName(int field, int style, Locale locale) [all...] |
/external/nanopb-c/generator/google/protobuf/ |
text_format.py | 69 for field, value in message.ListFields(): 70 if field.label == descriptor.FieldDescriptor.LABEL_REPEATED: 72 PrintField(field, element, out, indent, as_utf8, as_one_line) 74 PrintField(field, value, out, indent, as_utf8, as_one_line) 77 def PrintField(field, value, out, indent=0, as_utf8=False, as_one_line=False): 78 """Print a single field name/value pair. For repeated fields, the value 82 if field.is_extension: 84 if (field.containing_type.GetOptions().message_set_wire_format and 85 field.type == descriptor.FieldDescriptor.TYPE_MESSAGE and 86 field.message_type == field.extension_scope an [all...] |
/external/smali/smali/src/test/java/org/jf/smali/ |
ImplicitReferenceTest.java | 39 import org.jf.dexlib2.iface.Field; 58 * Tests for method/field references that use an implicit type 114 ".field public static field1:Ljava/lang/reflect/Method; = toString()V\n" + 115 ".field public static field2:Ljava/lang/reflect/Method; = V()V\n" + 116 ".field public static field3:Ljava/lang/reflect/Method; = I()V\n" + 117 ".field public static field4:Ljava/lang/Class; = I"); 119 Map<String, Field> fields = Maps.newHashMap(); 120 for (Field field: classDef.getFields()) { 121 fields.put(field.getName(), field) local 124 Field field = fields.get("field1"); local 185 FieldReference field = (FieldReference)instruction.getReference(); local 215 fields.put(field.getName(), field); local 218 Field field = fields.get("field1"); local [all...] |
/libcore/ojluni/src/main/java/java/time/ |
DayOfWeek.java | 178 * The conversion extracts the {@link ChronoField#DAY_OF_WEEK DAY_OF_WEEK} field. 232 * Checks if the specified field is supported. 234 * This checks if this day-of-week can be queried for the specified field. 238 * If the field is {@link ChronoField#DAY_OF_WEEK DAY_OF_WEEK} then 242 * If the field is not a {@code ChronoField}, then the result of this method 245 * Whether the field is supported is determined by the field. 247 * @param field the field to check, null returns false 248 * @return true if the field is supported on this day-of-week, false if no [all...] |