Home
last modified time | relevance | path

Searched refs:thunk_bytes (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/sandbox/win/src/
Dservice_resolver_64.cc99 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()
Deat_resolver.cc29 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()
Dservice_resolver_32.cc161 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()
Dinterception.cc392 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()
Dinterception.h205 size_t thunk_bytes,
/external/chromium_org/sandbox/win/wow_helper/
Dwow_helper.cc23 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()
Dservice64_resolver.cc212 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()