Lines Matching defs:method
1730 char *method;
2271 // a reference it to an Objective-C method call. If so then it allocates and
2272 // assembles a method call string with the values last seen and saved in
2274 // into the method field of the info and any previous string is free'ed.
2275 // Then the class_name field in the info is set to nullptr. The method call
2277 // LLVMDisassembler_ReferenceType_Out_Objc_Message. If this not a method call
2286 if (info->method != nullptr)
2287 free(info->method);
2289 info->method = (char *)malloc(5 + strlen(info->class_name) +
2291 if (info->method != nullptr) {
2292 strcpy(info->method, "+[");
2293 strcat(info->method, info->class_name);
2294 strcat(info->method, " ");
2295 strcat(info->method, info->selector_name);
2296 strcat(info->method, "]");
2297 *ReferenceName = info->method;
2301 info->method = (char *)malloc(9 + strlen(info->selector_name));
2302 if (info->method != nullptr) {
2304 strcpy(info->method, "-[%rdi ");
2306 strcpy(info->method, "-[x0 ");
2308 strcpy(info->method, "-[r? ");
2309 strcat(info->method, info->selector_name);
2310 strcat(info->method, "]");
2311 *ReferenceName = info->method;
2319 if (info->method != nullptr)
2320 free(info->method);
2321 info->method = (char *)malloc(17 + strlen(info->selector_name));
2322 if (info->method != nullptr) {
2324 strcpy(info->method, "-[[%rdi super] ");
2326 strcpy(info->method, "-[[x0 super] ");
2328 strcpy(info->method, "-[[r? super] ");
2329 strcat(info->method, info->selector_name);
2330 strcat(info->method, "]");
2331 *ReferenceName = info->method;
3079 inline void swapStruct(struct objc_method_t &method) {
3080 sys::swapByteOrder(method.method_name);
3081 sys::swapByteOrder(method.method_types);
3082 sys::swapByteOrder(method.method_imp);
3511 struct objc_method_t method;
3537 outs() << "\t\t remaining method's extend past the of the section\n";
3540 memcpy(&method, methods + i * sizeof(struct objc_method_t),
3543 swapStruct(method);
3546 << format("0x%08" PRIx32, method.method_name);
3548 name = get_pointer_32(method.method_name, offset, xleft, S, info, true);
3557 << format("0x%08" PRIx32, method.method_types);
3559 name = get_pointer_32(method.method_types, offset, xleft, S, info, true);
3568 << format("0x%08" PRIx32, method.method_imp) << " ";
3570 SymbolName = GuessSymbolName(method.method_imp, info->AddrMap);
5191 info.method = nullptr;
5291 info.method = nullptr;
5401 info.method = nullptr;
5574 info.method = nullptr;
6187 SymbolizerInfo.method = nullptr;
6200 ThumbSymbolizerInfo.method = nullptr;
6397 if (SymbolizerInfo.method != nullptr)
6398 free(SymbolizerInfo.method);
6403 if (ThumbSymbolizerInfo.method != nullptr)
6404 free(ThumbSymbolizerInfo.method);