Searched refs:thunk_bytes (Results 1 – 7 of 7) sorted by relevance
/external/chromium_org/sandbox/win/src/ |
D | service_resolver_64.cc | 99 size_t thunk_bytes = GetThunkSize(); in Setup() local 100 scoped_ptr<char[]> thunk_buffer(new char[thunk_bytes]); in Setup() 110 *storage_used = thunk_bytes; in Setup() 128 size_t thunk_bytes = GetThunkSize(); in CopyThunk() local 129 if (storage_bytes < thunk_bytes) in CopyThunk() 138 *storage_used = thunk_bytes; in CopyThunk()
|
D | eat_resolver.cc | 29 size_t thunk_bytes = GetInternalThunkSize(); in Setup() local 36 storage_bytes -= thunk_bytes; in Setup() 37 thunk_storage = reinterpret_cast<char*>(thunk_storage) + thunk_bytes; in Setup()
|
D | service_resolver_32.cc | 161 size_t thunk_bytes = GetThunkSize(); in Setup() local 162 scoped_ptr<char[]> thunk_buffer(new char[thunk_bytes]); in Setup() 173 *storage_used = thunk_bytes; in Setup() 191 size_t thunk_bytes = GetThunkSize(); in CopyThunk() local 192 if (storage_bytes < thunk_bytes) in CopyThunk() 203 *storage_used = thunk_bytes; in CopyThunk()
|
D | interception.cc | 392 size_t thunk_bytes = interceptions_.size() * sizeof(ThunkData) + in PatchNtdll() local 394 size_t thunk_offset = GetGranularAlignedRandomOffset(thunk_bytes); in PatchNtdll() 401 size_t thunk_bytes_padded = (thunk_bytes + kPageSize - 1) & ~(kPageSize - 1); in PatchNtdll() 410 dll_data.data_bytes = thunk_bytes; in PatchNtdll() 418 if (!PatchClientFunctions(thunks, thunk_bytes, &dll_data)) in PatchNtdll() 432 ::VirtualProtectEx(child, thunks, thunk_bytes, in PatchNtdll() 441 size_t thunk_bytes, in PatchClientFunctions() argument 523 thunk_bytes - dll_data->used_bytes, in PatchClientFunctions()
|
D | interception.h | 205 size_t thunk_bytes,
|
/external/chromium_org/sandbox/win/wow_helper/ |
D | wow_helper.cc | 23 int PatchNtdll(HANDLE child, void* thunk, size_t thunk_bytes) { in PatchNtdll() argument 33 code, thunk, thunk_bytes, NULL); in PatchNtdll() 40 if (size + used > thunk_bytes) in PatchNtdll()
|
D | service64_resolver.cc | 212 size_t thunk_bytes = GetThunkSize(); in Setup() local 213 scoped_ptr<char[]> thunk_buffer(new char[thunk_bytes]); in Setup() 223 *storage_used = thunk_bytes; in Setup()
|