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

/external/chromium_org/sandbox/win/src/
H A Deat_resolver.cc29 size_t thunk_bytes = GetInternalThunkSize();
36 storage_bytes -= thunk_bytes;
37 thunk_storage = reinterpret_cast<char*>(thunk_storage) + thunk_bytes;
H A Dservice_resolver_64.cc99 size_t thunk_bytes = GetThunkSize();
100 scoped_ptr<char[]> thunk_buffer(new char[thunk_bytes]);
110 *storage_used = thunk_bytes;
128 size_t thunk_bytes = GetThunkSize();
129 if (storage_bytes < thunk_bytes)
138 *storage_used = thunk_bytes;
H A Dservice_resolver_32.cc161 size_t thunk_bytes = GetThunkSize(); local
162 scoped_ptr<char[]> thunk_buffer(new char[thunk_bytes]);
173 *storage_used = thunk_bytes;
191 size_t thunk_bytes = GetThunkSize();
192 if (storage_bytes < thunk_bytes)
203 *storage_used = thunk_bytes;
H A Dinterception.cc392 size_t thunk_bytes = interceptions_.size() * sizeof(ThunkData) + local
394 size_t thunk_offset = GetGranularAlignedRandomOffset(thunk_bytes);
401 size_t thunk_bytes_padded = (thunk_bytes + kPageSize - 1) & ~(kPageSize - 1);
410 dll_data.data_bytes = thunk_bytes;
418 if (!PatchClientFunctions(thunks, thunk_bytes, &dll_data))
432 ::VirtualProtectEx(child, thunks, thunk_bytes,
441 size_t thunk_bytes,
523 thunk_bytes - dll_data->used_bytes,
440 PatchClientFunctions(DllInterceptionData* thunks, size_t thunk_bytes, DllInterceptionData* dll_data) argument
H A Dinterception.h205 size_t thunk_bytes,
/external/chromium_org/sandbox/win/wow_helper/
H A Dwow_helper.cc23 int PatchNtdll(HANDLE child, void* thunk, size_t thunk_bytes) { argument
33 code, thunk, thunk_bytes, NULL);
40 if (size + used > thunk_bytes)
H A Dservice64_resolver.cc212 size_t thunk_bytes = GetThunkSize();
213 scoped_ptr<char[]> thunk_buffer(new char[thunk_bytes]);
223 *storage_used = thunk_bytes;

Completed in 154 milliseconds