/external/chromium_org/chrome/browser/usb/ |
usb_interface.cc | 13 : config_(config), descriptor_(descriptor) { 19 return descriptor_->bEndpointAddress & LIBUSB_ENDPOINT_ADDRESS_MASK; 23 switch (descriptor_->bEndpointAddress & LIBUSB_ENDPOINT_DIR_MASK) { 35 return descriptor_->wMaxPacketSize; 39 switch (descriptor_->bmAttributes & LIBUSB_ISO_SYNC_TYPE_MASK) { 55 switch (descriptor_->bmAttributes & LIBUSB_TRANSFER_TYPE_MASK) { 71 switch (descriptor_->bmAttributes & LIBUSB_ISO_USAGE_TYPE_MASK) { 85 return descriptor_->bInterval; 91 : config_(config), descriptor_(descriptor) { 97 return descriptor_->bNumEndpoints [all...] |
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
cpp_extension.cc | 61 : descriptor_(descriptor), 64 if (descriptor_->is_repeated()) { 68 switch (descriptor_->cpp_type()) { 71 type_traits_.append(ClassName(descriptor_->enum_type(), true)); 73 type_traits_.append(ClassName(descriptor_->enum_type(), true)); 81 type_traits_.append(ClassName(descriptor_->message_type(), true)); 86 type_traits_.append(PrimitiveTypeName(descriptor_->cpp_type())); 96 vars["extendee" ] = ExtendeeClassName(descriptor_); 97 vars["number" ] = SimpleItoa(descriptor_->number()); 99 vars["name" ] = descriptor_->name() [all...] |
cpp_enum.cc | 50 : descriptor_(descriptor), 60 vars["short_name"] = descriptor_->name(); 65 const EnumValueDescriptor* min_value = descriptor_->value(0); 66 const EnumValueDescriptor* max_value = descriptor_->value(0); 68 for (int i = 0; i < descriptor_->value_count(); i++) { 69 vars["name"] = descriptor_->value(i)->name(); 70 vars["number"] = SimpleItoa(descriptor_->value(i)->number()); 71 vars["prefix"] = (descriptor_->containing_type() == NULL) ? 77 if (descriptor_->value(i)->number() < min_value->number()) { 78 min_value = descriptor_->value(i) [all...] |
cpp_message.cc | 293 : descriptor_(descriptor), 327 for (int i = 0; i < descriptor_->nested_type_count(); i++) { 334 for (int i = 0; i < descriptor_->nested_type_count(); i++) { 338 for (int i = 0; i < descriptor_->enum_type_count(); i++) { 345 for (int i = 0; i < descriptor_->nested_type_count(); i++) { 348 for (int i = 0; i < descriptor_->enum_type_count(); i++) { 355 for (int i = 0; i < descriptor_->field_count(); i++) { 356 const FieldDescriptor* field = descriptor_->field(i); 379 if (descriptor_->extension_range_count() > 0) { 392 for (int i = 0; i < descriptor_->field_count(); i++) [all...] |
/external/protobuf/src/google/protobuf/compiler/cpp/ |
cpp_extension.cc | 61 : descriptor_(descriptor), 64 if (descriptor_->is_repeated()) { 68 switch (descriptor_->cpp_type()) { 71 type_traits_.append(ClassName(descriptor_->enum_type(), true)); 73 type_traits_.append(ClassName(descriptor_->enum_type(), true)); 81 type_traits_.append(ClassName(descriptor_->message_type(), true)); 86 type_traits_.append(PrimitiveTypeName(descriptor_->cpp_type())); 96 vars["extendee" ] = ExtendeeClassName(descriptor_); 97 vars["number" ] = SimpleItoa(descriptor_->number()); 99 vars["name" ] = descriptor_->name() [all...] |
cpp_enum.cc | 50 : descriptor_(descriptor), 60 vars["short_name"] = descriptor_->name(); 65 const EnumValueDescriptor* min_value = descriptor_->value(0); 66 const EnumValueDescriptor* max_value = descriptor_->value(0); 68 for (int i = 0; i < descriptor_->value_count(); i++) { 69 vars["name"] = descriptor_->value(i)->name(); 70 vars["number"] = SimpleItoa(descriptor_->value(i)->number()); 71 vars["prefix"] = (descriptor_->containing_type() == NULL) ? 77 if (descriptor_->value(i)->number() < min_value->number()) { 78 min_value = descriptor_->value(i) [all...] |
cpp_message.cc | 152 : descriptor_(descriptor), 186 for (int i = 0; i < descriptor_->nested_type_count(); i++) { 193 for (int i = 0; i < descriptor_->nested_type_count(); i++) { 197 for (int i = 0; i < descriptor_->enum_type_count(); i++) { 204 for (int i = 0; i < descriptor_->nested_type_count(); i++) { 207 for (int i = 0; i < descriptor_->enum_type_count(); i++) { 214 for (int i = 0; i < descriptor_->field_count(); i++) { 215 const FieldDescriptor* field = descriptor_->field(i); 238 if (descriptor_->extension_range_count() > 0) { 251 for (int i = 0; i < descriptor_->field_count(); i++) [all...] |
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/java/ |
java_message.cc | 156 : descriptor_(descriptor), 163 if (HasDescriptorMethods(descriptor_)) { 172 vars["identifier"] = UniqueFileScopeIdentifier(descriptor_); 173 vars["index"] = SimpleItoa(descriptor_->index()); 174 vars["classname"] = ClassName(descriptor_); 175 if (descriptor_->containing_type() != NULL) { 177 descriptor_->containing_type()); 179 if (descriptor_->file()->options().java_multiple_files()) { 200 for (int i = 0; i < descriptor_->nested_type_count(); i++) { 202 MessageGenerator(descriptor_->nested_type(i) [all...] |
java_enum.cc | 51 : descriptor_(descriptor) { 52 for (int i = 0; i < descriptor_->value_count(); i++) { 53 const EnumValueDescriptor* value = descriptor_->value(i); 55 descriptor_->FindValueByNumber(value->number()); 71 WriteEnumDocComment(printer, descriptor_); 72 if (HasDescriptorMethods(descriptor_)) { 76 "classname", descriptor_->name()); 81 "classname", descriptor_->name()); 103 vars["classname"] = descriptor_->name(); 111 for (int i = 0; i < descriptor_->value_count(); i++) [all...] |
java_message_field.cc | 110 : descriptor_(descriptor), messageBitIndex_(messageBitIndex), 132 WriteFieldDocComment(printer, descriptor_); 135 WriteFieldDocComment(printer, descriptor_); 139 if (HasNestedBuilders(descriptor_->containing_type())) { 140 WriteFieldDocComment(printer, descriptor_); 150 WriteFieldDocComment(printer, descriptor_); 155 WriteFieldDocComment(printer, descriptor_); 161 if (HasNestedBuilders(descriptor_->containing_type())) { 162 WriteFieldDocComment(printer, descriptor_); 174 if (HasNestedBuilders(descriptor_->containing_type())) [all...] |
java_extension.cc | 80 : descriptor_(descriptor) { 81 if (descriptor_->extension_scope() != NULL) { 82 scope_ = ClassName(descriptor_->extension_scope()); 84 scope_ = ClassName(descriptor_->file()); 130 InitTemplateVars(descriptor_, scope_, &vars); 134 WriteFieldDocComment(printer, descriptor_); 135 if (HasDescriptorMethods(descriptor_->file())) { 137 if (descriptor_->extension_scope() == NULL) { 164 if (descriptor_->is_repeated()) { 198 if (descriptor_->extension_scope() == NULL & [all...] |
java_service.cc | 48 : descriptor_(descriptor) {} 53 bool is_own_file = descriptor_->file()->options().java_multiple_files(); 54 WriteServiceDocComment(printer, descriptor_); 59 "classname", descriptor_->name()); 64 "classname", descriptor_->name()); 80 "file", ClassName(descriptor_->file()), 81 "index", SimpleItoa(descriptor_->index())); 95 "full_name", descriptor_->full_name()); 123 "classname", descriptor_->name()); 127 for (int i = 0; i < descriptor_->method_count(); i++) [all...] |
java_string_field.cc | 122 : descriptor_(descriptor), messageBitIndex_(messageBitIndex), 172 WriteFieldDocComment(printer, descriptor_); 175 WriteFieldDocComment(printer, descriptor_); 178 WriteFieldDocComment(printer, descriptor_); 188 WriteFieldDocComment(printer, descriptor_); 194 WriteFieldDocComment(printer, descriptor_); 210 WriteFieldDocComment(printer, descriptor_); 231 WriteFieldDocComment(printer, descriptor_); 237 WriteFieldDocComment(printer, descriptor_); 251 WriteFieldDocComment(printer, descriptor_); [all...] |
java_primitive_field.cc | 234 : descriptor_(descriptor), messageBitIndex_(messageBitIndex), 252 WriteFieldDocComment(printer, descriptor_); 255 WriteFieldDocComment(printer, descriptor_); 265 WriteFieldDocComment(printer, descriptor_); 271 WriteFieldDocComment(printer, descriptor_); 283 WriteFieldDocComment(printer, descriptor_); 289 WriteFieldDocComment(printer, descriptor_); 295 WriteFieldDocComment(printer, descriptor_); 305 WriteFieldDocComment(printer, descriptor_); 309 JavaType type = GetJavaType(descriptor_); [all...] |
java_enum_field.cc | 112 : descriptor_(descriptor), messageBitIndex_(messageBitIndex), 129 WriteFieldDocComment(printer, descriptor_); 132 WriteFieldDocComment(printer, descriptor_); 141 WriteFieldDocComment(printer, descriptor_); 146 WriteFieldDocComment(printer, descriptor_); 157 WriteFieldDocComment(printer, descriptor_); 162 WriteFieldDocComment(printer, descriptor_); 167 WriteFieldDocComment(printer, descriptor_); 178 WriteFieldDocComment(printer, descriptor_); 227 if (HasUnknownFields(descriptor_->containing_type())) [all...] |
/external/protobuf/src/google/protobuf/compiler/java/ |
java_extension.cc | 79 : descriptor_(descriptor) { 80 if (descriptor_->extension_scope() != NULL) { 81 scope_ = ClassName(descriptor_->extension_scope()); 83 scope_ = ClassName(descriptor_->file()); 91 vars["name"] = UnderscoresToCamelCase(descriptor_); 92 vars["containing_type"] = ClassName(descriptor_->containing_type()); 93 vars["number"] = SimpleItoa(descriptor_->number()); 94 vars["constant_name"] = FieldConstantName(descriptor_); 95 vars["lite"] = HasDescriptorMethods(descriptor_->file()) ? "" : "Lite"; 97 JavaType java_type = GetJavaType(descriptor_); [all...] |
java_message.cc | 150 : descriptor_(descriptor), 157 if (HasDescriptorMethods(descriptor_)) { 166 vars["identifier"] = UniqueFileScopeIdentifier(descriptor_); 167 vars["index"] = SimpleItoa(descriptor_->index()); 168 vars["classname"] = ClassName(descriptor_); 169 if (descriptor_->containing_type() != NULL) { 171 descriptor_->containing_type()); 173 if (descriptor_->file()->options().java_multiple_files()) { 194 for (int i = 0; i < descriptor_->nested_type_count(); i++) { 196 MessageGenerator(descriptor_->nested_type(i) [all...] |
java_enum.cc | 50 : descriptor_(descriptor) { 51 for (int i = 0; i < descriptor_->value_count(); i++) { 52 const EnumValueDescriptor* value = descriptor_->value(i); 54 descriptor_->FindValueByNumber(value->number()); 70 if (HasDescriptorMethods(descriptor_)) { 74 "classname", descriptor_->name()); 79 "classname", descriptor_->name()); 100 vars["classname"] = descriptor_->name(); 115 "classname", descriptor_->name()); 145 "classname", descriptor_->name()) [all...] |
java_service.cc | 47 : descriptor_(descriptor) {} 52 bool is_own_file = descriptor_->file()->options().java_multiple_files(); 57 "classname", descriptor_->name()); 62 "classname", descriptor_->name()); 78 "file", ClassName(descriptor_->file()), 79 "index", SimpleItoa(descriptor_->index())); 115 "classname", descriptor_->name()); 119 for (int i = 0; i < descriptor_->method_count(); i++) { 120 const MethodDescriptor* method = descriptor_->method(i); 158 for (int i = 0; i < descriptor_->method_count(); i++) [all...] |
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
javamicro_message.cc | 143 descriptor_(descriptor), 151 for (int i = 0; i < descriptor_->nested_type_count(); i++) { 153 MessageGenerator(descriptor_->nested_type(i), params_) 161 for (int i = 0; i < descriptor_->nested_type_count(); i++) { 163 MessageGenerator(descriptor_->nested_type(i), params_) 167 if (descriptor_->extension_count() != 0) { 173 const string& file_name = descriptor_->file()->name(); 176 && descriptor_->containing_type() == NULL; 178 if ((descriptor_->extension_count() != 0) 179 || (descriptor_->extension_range_count() != 0)) [all...] |
/external/protobuf/src/google/protobuf/compiler/javanano/ |
javanano_message.cc | 98 descriptor_(descriptor), 106 for (int i = 0; i < descriptor_->nested_type_count(); i++) { 108 MessageGenerator(descriptor_->nested_type(i), params_) 116 for (int i = 0; i < descriptor_->nested_type_count(); i++) { 118 MessageGenerator(descriptor_->nested_type(i), params_) 124 const string& file_name = descriptor_->file()->name(); 127 && descriptor_->containing_type() == NULL; 130 (descriptor_->extension_count() != 0 || descriptor_->extension_range_count() != 0)) { 143 "classname", descriptor_->name()) [all...] |
/external/chromium_org/ppapi/proxy/ |
serialized_handle.cc | 24 descriptor_(IPC::InvalidPlatformFileForTransit()) { 31 descriptor_(IPC::InvalidPlatformFileForTransit()) { 39 descriptor_(IPC::InvalidPlatformFileForTransit()) { 48 descriptor_(socket_descriptor) { 58 return !(IPC::InvalidPlatformFileForTransit() == descriptor_); 79 IPC::PlatformFileForTransitToPlatformFile(descriptor_);
|
serialized_handle.h | 66 return descriptor_; 76 descriptor_ = IPC::InvalidPlatformFileForTransit(); 80 descriptor_ = socket; 88 descriptor_ = descriptor; 96 descriptor_ = descriptor; 141 IPC::PlatformFileForTransit descriptor_; member in class:ppapi::proxy::SerializedHandle
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
dynamic_message_unittest.cc | 60 const Descriptor* descriptor_; member in class:google::protobuf::DynamicMessageTest 88 descriptor_ = pool_.FindMessageTypeByName("protobuf_unittest.TestAllTypes"); 89 ASSERT_TRUE(descriptor_ != NULL); 90 prototype_ = factory_.GetPrototype(descriptor_); 107 EXPECT_EQ(prototype_->GetDescriptor(), descriptor_); 112 EXPECT_EQ(prototype_, factory_.GetPrototype(descriptor_)); 117 TestUtil::ReflectionTester reflection_tester(descriptor_); 126 TestUtil::ReflectionTester reflection_tester(descriptor_); 157 TestUtil::ReflectionTester reflection_tester(descriptor_);
|
/external/protobuf/src/google/protobuf/ |
dynamic_message_unittest.cc | 60 const Descriptor* descriptor_; member in class:google::protobuf::DynamicMessageTest 84 descriptor_ = pool_.FindMessageTypeByName("protobuf_unittest.TestAllTypes"); 85 ASSERT_TRUE(descriptor_ != NULL); 86 prototype_ = factory_.GetPrototype(descriptor_); 103 EXPECT_EQ(prototype_->GetDescriptor(), descriptor_); 108 EXPECT_EQ(prototype_, factory_.GetPrototype(descriptor_)); 113 TestUtil::ReflectionTester reflection_tester(descriptor_); 122 TestUtil::ReflectionTester reflection_tester(descriptor_); 153 TestUtil::ReflectionTester reflection_tester(descriptor_);
|