Lines Matching defs:function
61 // Magic constant that identifies that this function is not to be patched.
77 InterceptionData function;
78 function.type = interception_type;
79 function.id = id;
80 function.dll = dll_name;
81 function.function = function_name;
82 function.interceptor_address = replacement_code_address;
84 interceptions_.push_back(function);
92 InterceptionData function;
93 function.type = interception_type;
94 function.id = id;
95 function.dll = dll_name;
96 function.function = function_name;
97 function.interceptor = replacement_function_name;
98 function.interceptor_address = NULL;
100 interceptions_.push_back(function);
111 module_to_unload.function = kUnloadDLLDummyFunction;
164 size_t strings_chars = it->function.size() + it->interceptor.size() + 2;
166 // a new FunctionInfo is required per function
167 size_t record_bytes = offsetof(FunctionInfo, function) + strings_chars;
273 (data.function != kUnloadDLLDummyFunction)) {
278 FunctionInfo* function = reinterpret_cast<FunctionInfo*>(*buffer);
280 size_t name_bytes = data.function.size();
284 size_t required = offsetof(FunctionInfo, function) +
294 function->record_bytes = required;
295 function->type = data.type;
296 function->id = data.id;
297 function->interceptor_address = data.interceptor_address;
298 char* names = function->function;
300 data.function._Copy_s(names, name_bytes, name_bytes);
504 // We may be trying to patch by function name.
521 it->function.c_str(),