Lines Matching refs:descriptor

185         const char* descriptor = dexParameterIteratorNextDescriptor(&iterator);
186 if (descriptor == NULL) {
190 length += strlen(descriptor);
199 const char* descriptor = dexParameterIteratorNextDescriptor(&iterator);
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) {
333 const char* result = strchr(descriptor, ')');
345 * of an embedded argument type descriptor, which is also the
346 * beginning of the next argument type descriptor. Since this is for
347 * argument types, it doesn't accept 'V' as a valid type descriptor.
349 static const char* methodDescriptorNextType(const char* descriptor) {
352 while (*descriptor == '[') {
353 descriptor++;
356 switch (*descriptor) {
359 return descriptor + 1;
362 const char* result = strchr(descriptor + 1, ';');
375 * dexProtoCompareToParameterDescriptors(). The descriptor argument
376 * can be either a full method descriptor (with parens and a return
381 const char* descriptor, bool expectParens) {
388 assert (*descriptor == '(');
389 descriptor++;
395 if (*descriptor == expectedEndChar) {
396 // It's the end of the descriptor string.
409 * descriptor string does.
414 // Both prototype and descriptor have arguments. Compare them.
416 const char* nextDesc = methodDescriptorNextType(descriptor);
421 char c2 = (descriptor < nextDesc) ? *(descriptor++) : '\0';
437 * descriptor == nextDesc.
444 const char* descriptor) {
447 const char *returnType = methodDescriptorReturnType(descriptor);
457 return protoCompareToParameterDescriptors(proto, descriptor, true);
511 * Get the type descriptor for the next parameter, if any. This returns