/external/proguard/src/proguard/obfuscate/ |
MemberNameConflictFixer.java | 31 * members that it visits. It avoids names from the given descriptor map, 108 // Get the member's name and descriptor. 110 String descriptor = member.getDescriptor(clazz); local 115 // Trim the return argument from the descriptor if not. 117 descriptor = descriptor.substring(0, descriptor.indexOf(')')+1); 121 Map nameMap = MemberObfuscator.retrieveNameMap(descriptorMap, descriptor); 138 descriptor = member.getDescriptor(clazz); 142 ": field '" + ClassUtil.externalFullFieldDescription(0, name, descriptor) [all...] |
MemberNameCollector.java | 79 // Get the member's descriptor. 80 String descriptor = member.getDescriptor(clazz); local 85 // Trim the return argument from the descriptor if not. 87 descriptor = descriptor.substring(0, descriptor.indexOf(')')+1); 90 // Put the [descriptor - new name] in the map, 92 Map nameMap = MemberObfuscator.retrieveNameMap(descriptorMap, descriptor);
|
/external/protobuf/src/google/protobuf/compiler/java/ |
java_enum.h | 40 #include <google/protobuf/descriptor.h> 55 explicit EnumGenerator(const EnumDescriptor* descriptor);
|
java_field.cc | 59 FieldGeneratorMap::FieldGeneratorMap(const Descriptor* descriptor) 60 : descriptor_(descriptor), 62 new scoped_ptr<FieldGenerator>[descriptor->field_count()]), 64 new scoped_ptr<FieldGenerator>[descriptor->extension_count()]) { 67 for (int i = 0; i < descriptor->field_count(); i++) { 68 field_generators_[i].reset(MakeGenerator(descriptor->field(i))); 70 for (int i = 0; i < descriptor->extension_count(); i++) { 71 extension_generators_[i].reset(MakeGenerator(descriptor->extension(i)));
|
java_enum_field.cc | 54 void SetEnumVariables(const FieldDescriptor* descriptor, 57 UnderscoresToCamelCase(descriptor); 59 UnderscoresToCapitalizedCamelCase(descriptor); 60 (*variables)["number"] = SimpleItoa(descriptor->number()); 61 (*variables)["type"] = ClassName(descriptor->enum_type()); 62 (*variables)["default"] = DefaultValue(descriptor); 63 (*variables)["tag"] = SimpleItoa(internal::WireFormat::MakeTag(descriptor)); 65 internal::WireFormat::TagSize(descriptor->number(), GetType(descriptor))); 73 EnumFieldGenerator(const FieldDescriptor* descriptor) [all...] |
java_primitive_field.cc | 156 void SetPrimitiveVariables(const FieldDescriptor* descriptor, 159 UnderscoresToCamelCase(descriptor); 161 UnderscoresToCapitalizedCamelCase(descriptor); 162 (*variables)["number"] = SimpleItoa(descriptor->number()); 163 (*variables)["type"] = PrimitiveTypeName(GetJavaType(descriptor)); 164 (*variables)["boxed_type"] = BoxedPrimitiveTypeName(GetJavaType(descriptor)); 165 (*variables)["default"] = DefaultValue(descriptor); 166 (*variables)["capitalized_type"] = GetCapitalizedType(descriptor); 167 (*variables)["tag"] = SimpleItoa(WireFormat::MakeTag(descriptor)); 169 WireFormat::TagSize(descriptor->number(), GetType(descriptor))) [all...] |
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
javamicro_field.cc | 49 FieldGeneratorMap::FieldGeneratorMap(const Descriptor* descriptor, const Params ¶ms) 50 : descriptor_(descriptor), 52 new scoped_ptr<FieldGenerator>[descriptor->field_count()]), 54 new scoped_ptr<FieldGenerator>[descriptor->extension_count()]) { 57 for (int i = 0; i < descriptor->field_count(); i++) { 58 field_generators_[i].reset(MakeGenerator(descriptor->field(i), params)); 60 for (int i = 0; i < descriptor->extension_count(); i++) { 61 extension_generators_[i].reset(MakeGenerator(descriptor->extension(i), params));
|
javamicro_enum_field.cc | 55 const FieldDescriptor* descriptor, map<string, string>* variables) { 57 UnderscoresToCamelCase(descriptor); 59 UnderscoresToCapitalizedCamelCase(descriptor); 60 (*variables)["number"] = SimpleItoa(descriptor->number()); 62 (*variables)["default"] = DefaultValue(params, descriptor); 63 (*variables)["tag"] = SimpleItoa(internal::WireFormat::MakeTag(descriptor)); 65 internal::WireFormat::TagSize(descriptor->number(), descriptor->type())); 66 (*variables)["message_name"] = descriptor->containing_type()->name(); 74 EnumFieldGenerator(const FieldDescriptor* descriptor, const Params& params [all...] |
javamicro_message_field.cc | 54 const FieldDescriptor* descriptor, map<string, string>* variables) { 56 UnderscoresToCamelCase(descriptor); 58 UnderscoresToCapitalizedCamelCase(descriptor); 59 (*variables)["number"] = SimpleItoa(descriptor->number()); 60 (*variables)["type"] = ClassName(params, descriptor->message_type()); 62 (descriptor->type() == FieldDescriptor::TYPE_GROUP) ? 64 (*variables)["message_name"] = descriptor->containing_type()->name(); 65 //(*variables)["message_type"] = descriptor->message_type()->name(); 73 MessageFieldGenerator(const FieldDescriptor* descriptor, const Params& params) 74 : FieldGenerator(params), descriptor_(descriptor) { [all...] |
/external/protobuf/src/google/protobuf/compiler/javanano/ |
javanano_field.cc | 49 FieldGeneratorMap::FieldGeneratorMap(const Descriptor* descriptor, const Params ¶ms) 50 : descriptor_(descriptor), 52 new scoped_ptr<FieldGenerator>[descriptor->field_count()]), 54 new scoped_ptr<FieldGenerator>[descriptor->extension_count()]) { 57 for (int i = 0; i < descriptor->field_count(); i++) { 58 field_generators_[i].reset(MakeGenerator(descriptor->field(i), params)); 60 for (int i = 0; i < descriptor->extension_count(); i++) { 61 extension_generators_[i].reset(MakeGenerator(descriptor->extension(i), params));
|
javanano_enum_field.cc | 55 const FieldDescriptor* descriptor, map<string, string>* variables) { 57 UnderscoresToCamelCase(descriptor); 59 UnderscoresToCapitalizedCamelCase(descriptor); 60 (*variables)["number"] = SimpleItoa(descriptor->number()); 62 (*variables)["default"] = DefaultValue(params, descriptor); 63 (*variables)["tag"] = SimpleItoa(internal::WireFormat::MakeTag(descriptor)); 65 internal::WireFormat::TagSize(descriptor->number(), descriptor->type())); 66 (*variables)["message_name"] = descriptor->containing_type()->name(); 74 EnumFieldGenerator(const FieldDescriptor* descriptor, const Params& params [all...] |
javanano_primitive_field.cc | 208 void SetPrimitiveVariables(const FieldDescriptor* descriptor, const Params params, 211 UnderscoresToCamelCase(descriptor); 213 UnderscoresToCapitalizedCamelCase(descriptor); 214 (*variables)["number"] = SimpleItoa(descriptor->number()); 215 (*variables)["type"] = PrimitiveTypeName(GetJavaType(descriptor)); 216 (*variables)["default"] = DefaultValue(params, descriptor); 217 (*variables)["default_constant"] = FieldDefaultConstantName(descriptor); 223 if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_STRING && 224 !descriptor->default_value_string().empty()) { 226 if (descriptor->type() == FieldDescriptor::TYPE_BYTES) [all...] |
/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...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
ESDescriptor.java | 61 @Descriptor(tags = {0x03})
108 BaseDescriptor descriptor = ObjectDescriptorFactory.createFrom(-1, bb);
local 110 log.finer(descriptor + " - ESDescriptor1 read: " + read + ", size: " + (descriptor != null ? descriptor.getSize() : null));
111 if (descriptor != null) {
112 final int size = descriptor.getSize();
118 if (descriptor instanceof DecoderConfigDescriptor) {
119 decoderConfigDescriptor = (DecoderConfigDescriptor) descriptor;
125 BaseDescriptor descriptor = ObjectDescriptorFactory.createFrom(-1, bb); local 144 BaseDescriptor descriptor = ObjectDescriptorFactory.createFrom(-1, bb); local [all...] |
InitialObjectDescriptor.java | 52 //@Descriptor(tags = {0x02, 0x10})
96 final BaseDescriptor descriptor = ObjectDescriptorFactory.createFrom(-1, bb);
local 97 sizeLeft = sizeLeft - descriptor.getSize();
98 if (descriptor instanceof ESDescriptor) {
99 esDescriptors.add((ESDescriptor) descriptor);
101 unknownDescriptors.add(descriptor);
107 final BaseDescriptor descriptor = ObjectDescriptorFactory.createFrom(-1, bb);
local 108 if (descriptor instanceof ExtensionDescriptor) {
109 extensionDescriptors.add((ExtensionDescriptor) descriptor);
111 unknownDescriptors.add(descriptor);
[all...] |
/external/chromium/chrome/browser/chromeos/input_method/ |
input_method_util_unittest.cc | 131 const InputMethodDescriptor* descriptor = local 133 ASSERT_TRUE(NULL != descriptor); // ASSERT_NE doesn't compile. 134 EXPECT_EQ("pinyin", descriptor->id); 135 EXPECT_EQ("Pinyin", descriptor->display_name); 136 EXPECT_EQ("us", descriptor->keyboard_layout); 140 EXPECT_EQ("zh", descriptor->language_code); 205 const InputMethodDescriptor* descriptor = local 207 ASSERT_TRUE(NULL != descriptor); // ASSERT_NE doesn't compile. 209 GetFirstLoginInputMethodIds("en-US", *descriptor, &input_method_ids); 216 const InputMethodDescriptor* descriptor local 228 const InputMethodDescriptor* descriptor = local 240 const InputMethodDescriptor* descriptor = local 252 const InputMethodDescriptor* descriptor = local 264 const InputMethodDescriptor* descriptor = local 276 const InputMethodDescriptor* descriptor = local 288 const InputMethodDescriptor* descriptor = local [all...] |
/dalvik/vm/oo/ |
Class.h | 73 * given descriptor. This returns NULL if the given type character 79 * Find the class with the given descriptor. Load it if it hasn't already 84 ClassObject* dvmFindClass(const char* descriptor, Object* loader); 85 ClassObject* dvmFindClassNoInit(const char* descriptor, Object* loader); 90 ClassObject* dvmFindSystemClass(const char* descriptor); 91 ClassObject* dvmFindSystemClassNoInit(const char* descriptor); 94 * Find a loaded class by descriptor. Returns the first one found. 99 * "descriptor" should have the form "Ljava/lang/Class;" or 100 * "[Ljava/lang/Class;", i.e. a descriptor and not an internal-form 103 ClassObject* dvmFindLoadedClass(const char* descriptor); [all...] |
Object.cpp | 255 * Get the count of arguments in the given method descriptor string, 258 static inline size_t countArgsAndFindReturnType(const char* descriptor, 265 assert(*descriptor == '('); 266 descriptor++; 269 switch (*descriptor) { 277 descriptor++; 278 } while (*descriptor == '['); 281 * by the next iteration. Also, decrement descriptor 284 descriptor--; 289 descriptor++ [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
PaletteMetadataDescriptor.java | 38 public PaletteMetadataDescriptor(ViewElementDescriptor descriptor, String displayName, 40 super(descriptor.getXmlName(), 42 descriptor.getFullClassName(), 43 descriptor.getTooltip(), 44 descriptor.getSdkUrl(), 45 descriptor.getAttributes(), 46 descriptor.getLayoutAttributes(), 47 descriptor.getChildren(), descriptor.getMandatory() == Mandatory.MANDATORY); 50 setSuperClass(descriptor.getSuperClassDesc()) [all...] |
/cts/tests/tests/net/src/android/net/cts/ |
VpnServiceTest.java | 49 ParcelFileDescriptor descriptor = null; local 52 descriptor = mVpnService.new Builder().addAddress("8.8.8.8", 30).establish(); 53 assertNull(descriptor); 56 descriptor.close(); 93 ParcelFileDescriptor descriptor = ParcelFileDescriptor.fromDatagramSocket(socket); local 96 assertFalse(mVpnService.protect(descriptor.getFd())); 99 descriptor.close();
|
/dalvik/vm/hprof/ |
HprofClass.cpp | 46 cp = clazz->descriptor; 63 return strcmp(c1->descriptor, c2->descriptor); 68 static int getPrettyClassNameId(const char *descriptor) { 69 std::string name(dvmHumanReadableDescriptor(descriptor)); 100 getPrettyClassNameId(clazz->descriptor); 136 hprofAddIdToRecord(rec, getPrettyClassNameId(clazz->descriptor));
|
/external/libusb-compat/examples/ |
testlibusb.c | 71 if (dev->descriptor.iManufacturer) { 72 ret = usb_get_string_simple(udev, dev->descriptor.iManufacturer, string, sizeof(string)); 77 dev->descriptor.idVendor); 80 dev->descriptor.idVendor); 82 if (dev->descriptor.iProduct) { 83 ret = usb_get_string_simple(udev, dev->descriptor.iProduct, string, sizeof(string)); 89 strlen(description), "%04X", dev->descriptor.idProduct); 92 strlen(description), "%04X", dev->descriptor.idProduct); 96 dev->descriptor.idVendor, dev->descriptor.idProduct) [all...] |
/dalvik/libdex/ |
DexProto.cpp | 185 const char* descriptor = dexParameterIteratorNextDescriptor(&iterator); local 186 if (descriptor == NULL) { 190 length += strlen(descriptor); 199 const char* descriptor = dexParameterIteratorNextDescriptor(&iterator); local 200 if (descriptor == NULL) { 204 strcpy(at, descriptor); 205 at += strlen(descriptor); 330 * descriptor from a method descriptor string. 332 static const char* methodDescriptorReturnType(const char* descriptor) { [all...] |
/external/javassist/src/main/javassist/ |
CtPrimitiveType.java | 23 private char descriptor; field in class:CtPrimitiveType 35 descriptor = desc; 62 * Returns the descriptor representing this type. 63 * For example, if the type is int, then the descriptor is I. 65 public char getDescriptor() { return descriptor; } 83 * Returns the descriptor of the method for retrieving the value 85 * For example, if the type is int, then the method descriptor is
|
/external/protobuf/python/google/protobuf/ |
service_reflection.py | 57 DESCRIPTOR = mydescriptor 62 _DESCRIPTOR_KEY = 'DESCRIPTOR' 75 # Don't do anything if this class doesn't have a descriptor. This happens 79 descriptor = dictionary[GeneratedServiceType._DESCRIPTOR_KEY] 80 service_builder = _ServiceBuilder(descriptor) 92 _DESCRIPTOR_KEY = 'DESCRIPTOR' 105 # Don't do anything if this class doesn't have a descriptor. This happens 109 descriptor = dictionary[GeneratedServiceStubType._DESCRIPTOR_KEY] 110 service_stub_builder = _ServiceStubBuilder(descriptor) 116 """This class constructs a protocol service class using a service descriptor [all...] |