/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/ |
python_message.py | 34 # descriptor's cpp_type is CPPTYPE_MESSAGE. 37 protocol message classes from Descriptor objects at runtime. 69 from google.protobuf import descriptor as descriptor_mod 76 def NewMessage(bases, descriptor, dictionary): 77 _AddClassAttributesForNestedExtensions(descriptor, dictionary) 78 _AddSlots(descriptor, dictionary) 82 def InitMessage(descriptor, cls): 86 if (descriptor.has_options and 87 descriptor.GetOptions().message_set_wire_format): 92 for field in descriptor.fields [all...] |
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
extension_set.cc | 172 // void ExtensionSet::AppendToList(const Descriptor* containing_type, 252 const FieldDescriptor* descriptor) { \ 254 if (MaybeNewExtension(number, descriptor, &extension)) { \ 282 const FieldDescriptor* descriptor) { \ 284 if (MaybeNewExtension(number, descriptor, &extension)) { \ 330 const FieldDescriptor* descriptor) { 332 if (MaybeNewExtension(number, descriptor, &extension)) { 359 const FieldDescriptor* descriptor) { 361 if (MaybeNewExtension(number, descriptor, &extension)) { 390 const FieldDescriptor* descriptor) { [all...] |
extension_set_heavy.cc | 39 #include <google/protobuf/descriptor.h> 59 const Descriptor* containing_type) 68 const Descriptor* containing_type_; 71 void ExtensionSet::AppendToList(const Descriptor* containing_type, 89 if (iter->second.descriptor == NULL) { 93 output->push_back(iter->second.descriptor); 121 const Descriptor* message_type, 138 MessageLite* ExtensionSet::MutableMessage(const FieldDescriptor* descriptor, 141 if (MaybeNewExtension(descriptor->number(), descriptor, &extension)) [all...] |
/external/protobuf/src/google/protobuf/ |
extension_set_heavy.cc | 39 #include <google/protobuf/descriptor.h> 56 const Descriptor* containing_type) 65 const Descriptor* containing_type_; 68 void ExtensionSet::AppendToList(const Descriptor* containing_type, 86 if (iter->second.descriptor == NULL) { 90 output->push_back(iter->second.descriptor); 113 const Descriptor* message_type, 125 MessageLite* ExtensionSet::MutableMessage(const FieldDescriptor* descriptor, 128 if (MaybeNewExtension(descriptor->number(), descriptor, &extension)) [all...] |
extension_set.cc | 172 // void ExtensionSet::AppendToList(const Descriptor* containing_type, 229 const FieldDescriptor* descriptor) { \ 231 if (MaybeNewExtension(number, descriptor, &extension)) { \ 259 const FieldDescriptor* descriptor) { \ 261 if (MaybeNewExtension(number, descriptor, &extension)) { \ 299 const FieldDescriptor* descriptor) { 301 if (MaybeNewExtension(number, descriptor, &extension)) { 328 const FieldDescriptor* descriptor) { 330 if (MaybeNewExtension(number, descriptor, &extension)) { 359 const FieldDescriptor* descriptor) { [all...] |
message_unittest.cc | 51 #include <google/protobuf/descriptor.h> 52 #include <google/protobuf/descriptor.pb.h> 263 protobuf_unittest::TestAllTypes::descriptor()), 268 // Construct a new descriptor. 273 const Descriptor* descriptor = pool.BuildFile(file)->message_type(0); local 277 MessageFactory::generated_factory()->GetPrototype(descriptor) == NULL);
|
/external/chromium_org/ipc/ |
ipc_send_fds_test.cc | 39 base::FileDescriptor descriptor; variable 41 IPC::ParamTraits<base::FileDescriptor>::Read(&message, &iter, &descriptor); 43 HandleFD(descriptor.fd); 107 base::FileDescriptor descriptor(fd, true); 111 IPC::ParamTraits<base::FileDescriptor>::Write(message, descriptor); 191 // See if we can receive a file descriptor. 281 base::FileDescriptor descriptor(fd, true); 285 IPC::ParamTraits<base::FileDescriptor>::Write(message, descriptor);
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
javanano_helpers.cc | 40 #include <google/protobuf/descriptor.pb.h> 209 const Descriptor* parent, const FileDescriptor* file) { 223 string ClassName(const Params& params, const FileDescriptor* descriptor) { 224 string result = FileJavaPackage(params, descriptor); 226 result += FileClassName(params, descriptor); 230 string ClassName(const Params& params, const EnumDescriptor* descriptor) { 233 const Descriptor* parent = descriptor->containing_type(); 237 return ClassName(params, descriptor->file());
|
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
Descriptors.java | 47 * Every message type has a {@link Descriptor}, which lists all 49 * type's descriptor by calling {@code MessageType.getDescriptor()}, or 53 * {@code Descriptor.getFile()}. A {@link FileDescriptor} contains descriptors 58 * {@code google/protobuf/descriptor.proto}. 70 /** Convert the descriptor to its protocol message representation. */ 83 /** Get the {@code FileOptions}, defined in {@code descriptor.proto}. */ 87 public List<Descriptor> getMessageTypes() { 120 * @return The message type's descriptor, or {@code null} if not found. 122 public Descriptor findMessageTypeByName(String name) { 132 if (result != null && result instanceof Descriptor & 1879 private final GenericDescriptor descriptor; field in class:Descriptors.DescriptorPool.DescriptorIntPair [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.equinox.p2.artifact.repository_1.1.1.R36x_v20100901.jar | |
/external/chromium/chrome/browser/chromeos/input_method/ |
input_method_util.cc | 34 // Map from input method ID to associated input method descriptor. 92 // If the associated input method descriptor is found, add the 447 const InputMethodDescriptor& descriptor) { 450 if (descriptor.language_code == "zh") { 451 if (descriptor.id == "pinyin") { 453 } else if (descriptor.id == "mozc-chewing" || 454 descriptor.id == "m17n:zh:cangjie" || 455 descriptor.id == "m17n:zh:quick") { 460 std::string language_code = NormalizeLanguageCode(descriptor.language_code); 467 if (IsKeyboardLayout(descriptor.id) & 619 const InputMethodDescriptor* descriptor = local [all...] |
/art/runtime/verifier/ |
method_verifier.cc | 730 const char* descriptor = dex_file_->StringByTypeIdx(idx); local 731 if (descriptor[0] != 'L') { 732 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "can't call new-instance on type '" << descriptor << "'"; 763 const char* descriptor = dex_file_->StringByTypeIdx(idx); local 764 const char* cp = descriptor; 771 << "can't new-array class '" << descriptor << "' (not an array)"; 776 << "can't new-array class '" << descriptor << "' (exceeds limit)"; 1178 const char* descriptor = iterator.GetDescriptor(); local 1184 << " args, found more (" << descriptor << ")"; local 1237 const char* descriptor = dex_file_->GetReturnTypeDescriptor(proto_id); local 2134 const char* descriptor; local 2226 const char* descriptor; local 2283 const char* descriptor; local 2557 const char* descriptor = MethodHelper(called_method).GetReturnTypeDescriptor(); local 2822 const char* descriptor = dex_file_->StringByTypeIdx(class_idx); local 3079 const char* descriptor = local 3211 const char* descriptor = local 3510 const char* descriptor; local 3564 const char* descriptor; local 3661 const char* descriptor = FieldHelper(field).GetTypeDescriptor(); local 3705 const char* descriptor = FieldHelper(field).GetTypeDescriptor(); local 3838 const char* descriptor = dex_file_->GetTypeDescriptor(dex_file_->GetTypeId(return_type_idx)); local 3845 const char* descriptor local [all...] |
/external/compiler-rt/BlocksRuntime/ |
runtime.c | 314 struct Block_layout *result = malloc(aBlock->descriptor->size); 316 memmove(result, aBlock, aBlock->descriptor->size); // bitcopy first 322 //printf("calling block copy helper %p(%p, %p)...\n", aBlock->descriptor->copy, result, aBlock); 323 (*aBlock->descriptor->copy)(result, aBlock); // do fixup 332 struct Block_layout *result = _Block_allocator(aBlock->descriptor->size, wantsOne, hasCTOR); 334 memmove(result, aBlock, aBlock->descriptor->size); // bitcopy first 345 (*aBlock->descriptor->copy)(result, aBlock); // do fixup 473 if (aBlock->flags & BLOCK_HAS_COPY_DISPOSE)(*aBlock->descriptor->dispose)(aBlock); 514 return ((struct Block_layout *)arg)->descriptor->size; 673 struct Block_descriptor *dp = closure->descriptor; [all...] |
/external/libmtp/src/ |
libusb-glue.c | 233 if (!(dev->descriptor.bDeviceClass == USB_CLASS_PER_INTERFACE || 234 dev->descriptor.bDeviceClass == USB_CLASS_PTP || 235 dev->descriptor.bDeviceClass == USB_CLASS_VENDOR_SPEC) || 237 dev->descriptor.idVendor == APPLE_VID) { 251 * dev->descriptor.bNumConfigurations > 0 260 for (i = 0; i < dev->descriptor.bNumConfigurations; i++) { 266 /* Current interface descriptor */ 298 * This checks if a device has an MTP descriptor. The descriptor was 316 if (dev->descriptor.bDeviceClass == USB_CLASS_HUB) [all...] |
/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...] |
/dalvik/vm/analysis/ |
RegisterMap.cpp | 245 vdata->method->clazz->descriptor, vdata->method->name, 298 vdata->method->clazz->descriptor, 306 vdata->method->clazz->descriptor, 320 vdata->method->clazz->descriptor, 328 vdata->method->clazz->descriptor, 477 if (strcmp(vdata->method->clazz->descriptor, cd) == 0 && 482 ALOGI("Map for %s.%s %s", vdata->method->clazz->descriptor, 615 meth->clazz->descriptor, meth->name); 649 ALOGE("Too many methods in %s", clazz->descriptor); 758 LOGVV("Size %s (%d+%d methods): %d", clazz->descriptor, [all...] |
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/ |
parser.h | 44 #include <google/protobuf/descriptor.h> 45 #include <google/protobuf/descriptor.pb.h> 205 // descriptor.proto). We use RAII to ensure that the start and end locations 228 // descriptor.proto. 245 void RecordLegacyLocation(const Message* descriptor, 436 // A table mapping (descriptor, ErrorLocation) pairs -- as reported by 454 bool Find(const Message* descriptor, 459 void Add(const Message* descriptor,
|
/external/emma/core/java12/com/vladium/emma/data/ |
MethodDescriptor.java | 34 public MethodDescriptor (final String name, final String descriptor, final int status, 39 if (descriptor == null) 40 throw new IllegalArgumentException ("null input: descriptor"); 88 m_descriptor = descriptor; 194 StringBuffer s = new StringBuffer (indent + "method [" + m_name + "] descriptor:"); 244 final String descriptor = in.readUTF (); local 276 return new MethodDescriptor (name, descriptor, status, blockSizes, blockMap, firstLine);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
AACTrackImpl.java | 142 ESDescriptor descriptor = new ESDescriptor(); local 143 descriptor.setEsId(0); 147 descriptor.setSlConfigDescriptor(slConfigDescriptor); 162 descriptor.setDecoderConfigDescriptor(decoderConfigDescriptor); 164 ByteBuffer data = descriptor.serialize();
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
cpp_helpers.cc | 115 string ClassName(const Descriptor* descriptor, bool qualified) { 117 // Find "outer", the descriptor of the top-level message in which 118 // "descriptor" is embedded. 119 const Descriptor* outer = descriptor; 123 string inner_name = descriptor->full_name().substr(outer_name.size()); 148 string SuperClassName(const Descriptor* descriptor) { 149 return HasDescriptorMethods(descriptor->file()) [all...] |
/frameworks/base/core/java/android/os/ |
Binder.java | 190 * descriptor is requested. 192 public void attachInterface(IInterface owner, String descriptor) { 194 mDescriptor = descriptor; 225 * descriptor. 227 public IInterface queryLocalInterface(String descriptor) { 228 if (mDescriptor.equals(descriptor)) { 343 * @param fd The raw file descriptor that the dump is being sent to. 437 public IInterface queryLocalInterface(String descriptor) {
|
/external/chromium_org/third_party/protobuf/python/google/protobuf/pyext/ |
python-proto2.cc | 41 #include <google/protobuf/descriptor.h> 215 "Clears a protocol message field by descriptor."), 237 "Checks if a message field is set by given its descriptor"), 249 "Creates and returns a python message given the descriptor of a " 391 const google::protobuf::Descriptor* descriptor = local 393 if (descriptor == NULL) { 396 return global_message_factory->GetPrototype(descriptor); 423 const google::protobuf::FieldDescriptor* descriptor, 427 GOOGLE_DCHECK(descriptor->type() == google::protobuf::FieldDescriptor::TYPE_STRING | 1025 const google::protobuf::Descriptor* descriptor = message->GetDescriptor(); local 1101 const google::protobuf::Descriptor* descriptor = message->GetDescriptor(); local [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothGatt.java | 256 * A new GATT descriptor has been discovered. 257 * Finally, add the descriptor to the related characteristic. 426 * Descriptor has been read. 447 BluetoothGattDescriptor descriptor = characteristic.getDescriptor( 449 if (descriptor == null) return; 451 if (status == 0) descriptor.setValue(value); 469 mCallback.onDescriptorRead(BluetoothGatt.this, descriptor, status); 476 * Descriptor write operation complete. 496 BluetoothGattDescriptor descriptor = characteristic.getDescriptor( 498 if (descriptor == null) return [all...] |
/art/runtime/mirror/ |
array.cc | 118 std::string descriptor(num_dimensions, '['); 119 descriptor += ClassHelper(element_class).GetDescriptor(); 123 Class* array_class = class_linker->FindClass(descriptor.c_str(), element_class->GetClassLoader());
|
/development/host/windows/usb/api/ |
adb_helper_routines.cpp | 262 USB_DEVICE_DESCRIPTOR descriptor;
local 266 &descriptor,
267 sizeof(descriptor),
|