Lines Matching defs:USR
536 /* USR testing. */
543 CXString USR = clang_getCursorUSR(C);
544 const char *cstr = clang_getCString(USR);
546 clang_disposeString(USR);
553 clang_disposeString(USR);
1272 printf("Container USR: %s\n", clang_getCString(containerUSR));
1583 printf(" | USR: %s", info->entityInfo->USR);
2110 /* USR printing. */
2114 fprintf(stderr, "USR for '%s' requires: %s\n", kind, usage);
2123 fprintf(stderr, "'%s' argument ('%s') is not a USR\n", s, arg);
2127 static void print_usr(CXString usr) {
2128 const char *s = clang_getCString(usr);
2130 clang_disposeString(usr);
2137 " ObjCIvar <ivar name> <class USR>\n"
2139 "<class USR>\n"
2140 " ObjCProperty <property name> <class USR>\n"
2152 return insufficient_usr(kind, "<ivar name> <class USR>");
2154 return not_usr("<class USR>", I[2]);
2179 "[0=class method|1=instance method] <class USR>");
2181 return not_usr("<class USR>", I[3]);
2209 return insufficient_usr(kind, "<property name> <class USR>");
2211 return not_usr("<class USR>", I[2]);
2229 fprintf(stderr, "Invalid USR kind: %s\n", *I);
2383 " c-index-test -print-usr [<CursorKind> {<args>}]*\n"
2384 " c-index-test -print-usr-file <file>\n"
2454 else if (argc > 1 && strcmp(argv[1], "-print-usr") == 0) {
2462 else if (argc > 2 && strcmp(argv[1], "-print-usr-file") == 0)