HomeSort by relevance Sort by last modified time
    Searched defs:descriptor (Results 76 - 100 of 140) sorted by null

1 2 34 5 6

  /external/protobuf/java/src/main/java/com/google/protobuf/
FieldSet.java 52 * Interface for a FieldDescriptor or lite extension descriptor. This
144 public boolean hasField(final FieldDescriptorType descriptor) {
145 if (descriptor.isRepeated()) {
150 return fields.get(descriptor) != null;
159 public Object getField(final FieldDescriptorType descriptor) {
160 return fields.get(descriptor);
168 public void setField(final FieldDescriptorType descriptor,
170 if (descriptor.isRepeated()) {
181 verifyType(descriptor.getLiteType(), element);
185 verifyType(descriptor.getLiteType(), value)
343 final FieldDescriptorType descriptor = entry.getKey(); local
385 final FieldDescriptorType descriptor = entry.getKey(); local
484 final FieldDescriptorType descriptor = entry.getKey(); local
610 final FieldDescriptorType descriptor = entry.getKey(); local
    [all...]
GeneratedMessage.java 33 import com.google.protobuf.Descriptors.Descriptor;
67 public Descriptor getDescriptorForType() {
68 return internalGetFieldAccessorTable().descriptor;
75 final Descriptor descriptor = internalGetFieldAccessorTable().descriptor; local
76 for (final FieldDescriptor field : descriptor.getFields()) {
176 public Descriptor getDescriptorForType() {
177 return internalGetFieldAccessorTable().descriptor;
343 final FieldDescriptor descriptor = extension.getDescriptor() local
352 FieldDescriptor descriptor = extension.getDescriptor(); local
375 FieldDescriptor descriptor = extension.getDescriptor(); local
415 FieldDescriptor descriptor = next.getKey(); local
605 final FieldDescriptor descriptor = extension.getDescriptor(); local
617 final FieldDescriptor descriptor = extension.getDescriptor(); local
630 final FieldDescriptor descriptor = extension.getDescriptor(); local
812 private FieldDescriptor descriptor; field in class:GeneratedMessage.GeneratedExtension
1007 private final Descriptor descriptor; field in class:GeneratedMessage.FieldAccessorTable
    [all...]
GeneratedMessageLite.java 114 return extensions.hasField(extension.descriptor);
121 return extensions.getRepeatedFieldCount(extension.descriptor);
129 final Object value = extensions.getField(extension.descriptor);
143 return (Type) extensions.getRepeatedField(extension.descriptor, index);
263 message.extensions.setField(extension.descriptor, value);
273 message.extensions.setRepeatedField(extension.descriptor, index, value);
283 message.extensions.addRepeatedField(extension.descriptor, value);
292 message.extensions.clearField(extension.descriptor);
320 extension.descriptor.getLiteType(),
323 } else if (extension.descriptor.isRepeated &
544 private ExtensionDescriptor descriptor; field in class:GeneratedMessageLite.GeneratedExtension
    [all...]
  /dalvik/dx/src/com/android/dx/cf/direct/
StdAttributeFactory.java 579 CstUtf8 descriptor = null; local
585 descriptor = type;
589 descriptor, signature, index);
  /dalvik/vm/native/
java_lang_Class.c 35 char* className = dvmDescriptorToName(thisPtr->descriptor);
164 if (thisPtr->descriptor[1] == '[')
165 RETURN_PTR(dvmFindArrayClass(&thisPtr->descriptor[1],
330 const char* descriptor = clazz->descriptor; local
333 if ((descriptor[0] != 'L') && (descriptor[0] != '[')) {
335 * The descriptor indicates that this is the class for
339 switch (descriptor[0]) {
350 LOGE("Unknown primitive type '%c'\n", descriptor[0])
    [all...]
  /external/proguard/src/proguard/
ConfigurationParser.java 859 String descriptor = ClassUtil.internalType(type); local
876 String descriptor = local
    [all...]
  /external/proguard/src/proguard/optimize/peephole/
MethodInliner.java 217 String descriptor = method.getDescriptor(clazz); local
223 int parameterCount = ClassUtil.internalMethodParameterCount(descriptor);
224 int parameterSize = ClassUtil.internalMethodParameterSize(descriptor);
231 new InternalTypeEnumeration(descriptor);
  /external/protobuf/java/src/test/java/com/google/protobuf/
WireFormatTest.java 272 Descriptors.Descriptor descriptor = TestFieldOrderings.getDescriptor(); local
275 .setField(descriptor.findFieldByName("my_int"), 1L)
276 .setField(descriptor.findFieldByName("my_string"), "foo")
277 .setField(descriptor.findFieldByName("my_float"), 1.0F)
310 Descriptors.Descriptor descriptor = TestFieldOrderings.getDescriptor(); local
313 .setField(descriptor.findFieldByName("my_int"), 1L)
314 .setField(descriptor.findFieldByName("my_string"), "foo")
315 .setField(descriptor.findFieldByName("my_float"), 1.0F
    [all...]
UnknownFieldSetTest.java 51 descriptor = TestAllTypes.getDescriptor();
59 Descriptors.FieldDescriptor field = descriptor.findFieldByName(name);
89 Descriptors.Descriptor descriptor; field in class:UnknownFieldSetTest
  /external/protobuf/src/google/protobuf/compiler/
plugin.pb.cc 8 #include <google/protobuf/descriptor.h>
19 const ::google::protobuf::Descriptor* CodeGeneratorRequest_descriptor_ = NULL;
22 const ::google::protobuf::Descriptor* CodeGeneratorResponse_descriptor_ = NULL;
25 const ::google::protobuf::Descriptor* CodeGeneratorResponse_File_descriptor_ = NULL;
129 "uf/descriptor.proto\"}\n\024CodeGeneratorRequ"
202 const ::google::protobuf::Descriptor* CodeGeneratorRequest::descriptor() { function in class:google::protobuf::compiler::CodeGeneratorRequest
466 metadata.descriptor = CodeGeneratorRequest_descriptor_;
528 const ::google::protobuf::Descriptor* CodeGeneratorResponse_File::descriptor() { function in class:google::protobuf::compiler::CodeGeneratorResponse_File
858 const ::google::protobuf::Descriptor* CodeGeneratorResponse::descriptor() { function in class:google::protobuf::compiler::CodeGeneratorResponse
    [all...]
  /external/protobuf/src/google/protobuf/
extension_set.h 52 class Descriptor; // descriptor.h
53 class FieldDescriptor; // descriptor.h
54 class DescriptorPool; // descriptor.h
94 descriptor(NULL) {}
110 // The descriptor for this extension, if one exists and is known. May be
111 // NULL. Must not be NULL if the descriptor for the extension does not
112 // live in the same pool as the descriptor for the containing type.
113 const FieldDescriptor* descriptor; member in struct:google::protobuf::internal::ExtensionInfo
181 void AppendToList(const Descriptor* containing_type
426 const FieldDescriptor* descriptor; member in struct:google::protobuf::internal::ExtensionSet::Extension
    [all...]
text_format.cc 43 #include <google/protobuf/descriptor.h>
48 #include <google/protobuf/descriptor.pb.h>
118 ParserImpl(const Descriptor* root_message_type,
235 const Descriptor* descriptor = message->GetDescriptor(); local
257 descriptor->full_name() + "\".");
263 field = descriptor->FindFieldByName(field_name);
270 field = descriptor->FindFieldByName(lower_field_name);
283 ReportError("Message type \"" + descriptor->full_name() +
637 const Descriptor* root_message_type_
    [all...]
  /external/webkit/JavaScriptCore/runtime/
JSObject.cpp 409 PropertyDescriptor descriptor; local
410 if (!const_cast<JSObject*>(this)->getOwnPropertyDescriptor(exec, propertyName, descriptor))
412 return descriptor.enumerable();
536 bool JSObject::getOwnPropertyDescriptor(ExecState*, const Identifier& propertyName, PropertyDescriptor& descriptor)
543 descriptor.setDescriptor(getDirectOffset(offset), attributes);
547 bool JSObject::getPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor)
551 if (object->getOwnPropertyDescriptor(exec, propertyName, descriptor))
560 static bool putDescriptor(ExecState* exec, JSObject* target, const Identifier& propertyName, PropertyDescriptor& descriptor, unsigned attributes, JSValue oldValue)
562 if (descriptor.isGenericDescriptor() || descriptor.isDataDescriptor())
    [all...]
  /frameworks/base/core/java/android/app/
IApplicationThread.java 107 String descriptor = "android.app.IApplicationThread"; field in interface:IApplicationThread
  /frameworks/base/tools/aidl/
generate_java.cpp 71 // descriptor
72 Field* descriptor = new Field(STATIC | FINAL | PRIVATE, local
73 new Variable(STRING_TYPE, "DESCRIPTOR"));
74 descriptor->value = "\"" + interfaceType->QualifiedName() + "\"";
75 this->elements.push_back(descriptor);
85 2, THIS_VALUE, new LiteralExpression("DESCRIPTOR"));
152 // IInterface iin = obj.queryLocalInterface(DESCRIPTOR)
154 queryLocalInterface->arguments.push_back(new LiteralExpression("DESCRIPTOR"));
362 "enforceInterface", 1, new LiteralExpression("DESCRIPTOR")));
490 // the interface identifier token: the DESCRIPTOR constant, marshalled as a strin
    [all...]
  /hardware/ril/mock-ril/src/cpp/
protobuf_v8.cpp 23 #include <google/protobuf/descriptor.h>
24 #include <google/protobuf/descriptor.pb.h>
45 using google::protobuf::Descriptor;
120 const Descriptor* descriptor_;
137 Type(Schema* schema, const Descriptor* descriptor, Handle<Object> self)
138 : schema_(schema), descriptor_(descriptor) {
139 DBG("Type::Type(schema, descriptor, self) E:");
141 // and an array in descriptor order:
149 for (int i = 0; i < descriptor->field_count(); i++)
242 const Descriptor* descriptor = instance.GetDescriptor(); local
492 const Descriptor* descriptor = local
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/
GroupingListAdapter.java 268 // the group descriptor immediately preceding the supplied position.
298 long descriptor = mGroupMetadata[firstGroupToCheck]; local
299 cursorPosition = (int)(descriptor & GROUP_OFFSET_MASK);
  /dalvik/dx/src/com/android/dx/rop/type/
Type.java 25 * local, on a stack, or in a method descriptor. Instances of this
237 /** {@code non-null;} field descriptor for the type */
238 private final String descriptor; field in class:Type
281 * given descriptor. See vmspec-2 sec4.3.2 for details on the
282 * field descriptor syntax. This method does <i>not</i> allow
284 * descriptor.
286 * @param descriptor {@code non-null;} the descriptor
288 * @throws IllegalArgumentException thrown if the descriptor has
291 public static Type intern(String descriptor) {
846 String descriptor = type.getDescriptor(); local
    [all...]
  /dalvik/libdex/
DexFile.c 172 /* Return whether the given string is a valid type descriptor. */
207 // Oddball descriptor character.
250 /* Return whether the given string is a valid reference descriptor. This
251 * is true if dexIsValidTypeDescriptor() returns true and the descriptor
261 /* Return whether the given string is a valid class descriptor. This
262 * is true if dexIsValidTypeDescriptor() returns true and the descriptor
272 /* Return whether the given string is a valid field type descriptor. This
273 * is true if dexIsValidTypeDescriptor() returns true and the descriptor
644 * Look up a class definition entry by descriptor.
646 * "descriptor" should look like "Landroid/debug/Stuff;"
829 const char *descriptor; member in struct:LocalInfo
897 const char* descriptor = dexParameterIteratorNextDescriptor(&iterator); local
    [all...]
  /external/chromium/third_party/icu/source/i18n/
nfrule.cpp 99 // (this also strips the rule descriptor, if any, off the
210 * This function parses the rule's rule descriptor (i.e., the base
213 * exponent according to the descriptor. (If the description doesn't
214 * include a rule descriptor, then this function sets everything to
217 * @return If "description" included a rule descriptor, this is
218 * "description" with the descriptor and any trailing whitespace
219 * stripped off. Otherwise; it's "descriptor" unchangd.
224 // the description consists of a rule descriptor and a rule body,
225 // separated by a colon. The rule descriptor is optional. If
231 // copy the descriptor out into its own string and strip it
234 UnicodeString descriptor; local
    [all...]
  /external/icu4c/i18n/
nfrule.cpp 99 // (this also strips the rule descriptor, if any, off the
210 * This function parses the rule's rule descriptor (i.e., the base
213 * exponent according to the descriptor. (If the description doesn't
214 * include a rule descriptor, then this function sets everything to
217 * @return If "description" included a rule descriptor, this is
218 * "description" with the descriptor and any trailing whitespace
219 * stripped off. Otherwise; it's "descriptor" unchangd.
224 // the description consists of a rule descriptor and a rule body,
225 // separated by a colon. The rule descriptor is optional. If
231 // copy the descriptor out into its own string and strip it
234 UnicodeString descriptor; local
    [all...]
  /external/proguard/src/proguard/classfile/editor/
ClassReferenceFixer.java 59 * descriptor changes should get new, unique
97 // Has the descriptor changed?
98 String descriptor = programField.getDescriptor(programClass); local
99 String newDescriptor = newDescriptor(descriptor,
102 if (!descriptor.equals(newDescriptor))
107 // Update the descriptor.
115 String newName = newUniqueMemberName(name, descriptor);
128 // Has the descriptor changed?
129 String descriptor = programMethod.getDescriptor(programClass); local
130 String newDescriptor = newDescriptor(descriptor,
160 String descriptor = libraryField.getDescriptor(libraryClass); local
172 String descriptor = libraryMethod.getDescriptor(libraryClass); local
326 String descriptor = clazz.getString(localVariableInfo.u2descriptorIndex); local
    [all...]
  /external/proguard/src/proguard/gui/
MemberSpecificationDialog.java 324 String descriptor = memberSpecification.descriptor; local
347 typeTextField .setText(descriptor == null ? "***" : ClassUtil.externalType(descriptor));
351 typeTextField .setText(descriptor == null ? "***" : ClassUtil.externalMethodReturnType(descriptor));
352 argumentTypesTextField.setText(descriptor == null ? "..." : ClassUtil.externalMethodArguments(descriptor));
  /frameworks/base/core/jni/android/graphics/
BitmapFactory.cpp 330 jint descriptor = env->GetIntField(fileDescriptor, local
337 int newFD = ::dup(descriptor);
340 descriptor = newFD;
344 SkFDStream* stream = new SkFDStream(descriptor, weOwnTheFD);
351 with the same descriptor. This is only required if we didn't dup the
352 file descriptor, but it is OK to do it all the time.
354 AutoFDSeek as(descriptor);
560 gFileDescriptor_descriptor = getFieldIDCheck(env, gFileDescriptor_class, "descriptor", "I");
  /hardware/ril/mock-ril/src/generated/cpp/
ctrl.pb.cpp 8 #include <google/protobuf/descriptor.h>
17 const ::google::protobuf::Descriptor* CtrlReqRadioState_descriptor_ = NULL;
20 const ::google::protobuf::Descriptor* CtrlRspRadioState_descriptor_ = NULL;
23 const ::google::protobuf::Descriptor* CtrlReqSetMTCall_descriptor_ = NULL;
26 const ::google::protobuf::Descriptor* CtrlHangupConnRemote_descriptor_ = NULL;
29 const ::google::protobuf::Descriptor* CtrlSetCallTransitionFlag_descriptor_ = NULL;
32 const ::google::protobuf::Descriptor* CtrlReqAddDialingCall_descriptor_ = NULL;
310 const ::google::protobuf::Descriptor* CtrlReqRadioState::descriptor() { function in class:ril_proto::CtrlReqRadioState
478 metadata.descriptor = CtrlReqRadioState_descriptor_
524 const ::google::protobuf::Descriptor* CtrlRspRadioState::descriptor() { function in class:ril_proto::CtrlRspRadioState
742 const ::google::protobuf::Descriptor* CtrlReqSetMTCall::descriptor() { function in class:ril_proto::CtrlReqSetMTCall
966 const ::google::protobuf::Descriptor* CtrlHangupConnRemote::descriptor() { function in class:ril_proto::CtrlHangupConnRemote
1212 const ::google::protobuf::Descriptor* CtrlSetCallTransitionFlag::descriptor() { function in class:ril_proto::CtrlSetCallTransitionFlag
1422 const ::google::protobuf::Descriptor* CtrlReqAddDialingCall::descriptor() { function in class:ril_proto::CtrlReqAddDialingCall
    [all...]

Completed in 1538 milliseconds

1 2 34 5 6