Home
last modified time | relevance | path

Searched refs:record_bytes (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/sandbox/win/src/
Dinterception_agent.cc94 reinterpret_cast<char*>(dll_info) + dll_info->record_bytes); in OnDllLoad()
157 if (!IsWithinRange(dll_info, dll_info->record_bytes, function->function)) { in PatchDll()
169 if (!IsWithinRange(function, function->record_bytes, interceptor) || in PatchDll()
170 !IsWithinRange(dll_info, dll_info->record_bytes, interceptor)) { in PatchDll()
195 reinterpret_cast<const char*>(function) + function->record_bytes); in PatchDll()
Dinterception_internal.h30 size_t record_bytes; // rounded to sizeof(size_t) bytes member
40 size_t record_bytes; // rounded to sizeof(size_t) bytes member
Dhandle_closer.h27 size_t record_bytes; // Rounded to sizeof(size_t) bytes. member
35 size_t record_bytes; // Rounded to sizeof(size_t) bytes. member
Dinterception_unittest.cc41 ASSERT_EQ(0u, dll->record_bytes % sizeof(size_t)); in WalkBuffer()
49 ASSERT_EQ(0u, function->record_bytes % sizeof(size_t)); in WalkBuffer()
69 reinterpret_cast<char*>(function) + function->record_bytes); in WalkBuffer()
74 dll->record_bytes); in WalkBuffer()
Dinterception.cc167 size_t record_bytes = offsetof(FunctionInfo, function) + strings_chars; in GetBufferSize() local
168 record_bytes = RoundUpToMultiple(record_bytes, sizeof(size_t)); in GetBufferSize()
169 buffer_bytes += record_bytes; in GetBufferSize()
255 dll_info->record_bytes = required; in SetupDllInfo()
294 function->record_bytes = required; in SetupInterceptionInfo()
311 dll_info->record_bytes += required; in SetupInterceptionInfo()
Dhandle_closer.cc127 handle_info->record_bytes = buffer_bytes; in SetupHandleList()
157 list_entry->record_bytes = reinterpret_cast<char*>(output) - in SetupHandleList()
Dhandle_closer_agent.cc66 + entry->record_bytes); in InitializeHandlesToClose()
/external/chromium_org/chrome/browser/local_discovery/
Dservice_discovery_client_mac.mm94 const char* record_bytes = reinterpret_cast<const char*>([record bytes]);
95 const char* const record_end = record_bytes + [record length];
97 while (record_bytes < record_end) {
98 uint8 size = *record_bytes++;
102 if (record_bytes + size <= record_end) {
104 << std::string(record_bytes, static_cast<size_t>(size));
106 [[[NSString alloc] initWithBytes:record_bytes
110 record_bytes += size;
Dservice_discovery_client_mac_unittest.mm111 const uint8 record_bytes[] = { 2, 'a', 'b', 3, 'd', '=', 'e' };
114 [[NSData alloc] initWithBytes:record_bytes
115 length:arraysize(record_bytes)]]);