Searched refs:handle_name (Results 1 – 9 of 9) sorted by relevance
/external/chromium_org/sandbox/win/src/ |
D | handle_closer_test.cc | 79 string16 handle_name; in CheckForFileHandles() local 86 if (GetHandleName(handle, &handle_name)) { in CheckForFileHandles() 88 if (handle_name == argv[i]) in CheckForFileHandles() 115 string16 handle_name; in TEST() local 118 CHECK(sandbox::GetHandleName(marker, &handle_name)); in TEST() 120 command += handle_name; in TEST() 135 string16 handle_name; in TEST() local 138 CHECK(sandbox::GetHandleName(marker, &handle_name)); in TEST() 139 CHECK_EQ(policy->AddKernelObjectToClose(L"File", handle_name.c_str()), in TEST() 142 command += handle_name; in TEST()
|
D | handle_closer.cc | 38 const char16* handle_name) { in AddHandle() argument 47 if (handle_name) in AddHandle() 48 names->second.insert(handle_name); in AddHandle() 49 } else if (!handle_name) { // Now we need to close all handles of this type. in AddHandle() 52 names->second.insert(handle_name); in AddHandle() 177 bool GetHandleName(HANDLE handle, string16* handle_name) { in GetHandleName() argument 195 handle_name->assign(name->Buffer, name->Length / sizeof(wchar_t)); in GetHandleName() 197 handle_name->clear(); in GetHandleName()
|
D | named_pipe_policy_test.cc | 34 base::string16 handle_name; in NamedPipe_Create() local 35 if (GetHandleName(pipe, &handle_name)) { in NamedPipe_Create() 36 if (handle_name.compare(0, wcslen(argv[1]), argv[1]) != 0) in NamedPipe_Create()
|
D | handle_closer.h | 49 ResultCode AddHandle(const char16* handle_type, const char16* handle_name); 71 bool GetHandleName(HANDLE handle, string16* handle_name);
|
D | handle_closer_agent.cc | 91 string16 handle_name; in CloseHandles() local 131 if (!GetHandleName(handle, &handle_name) || !names.count(handle_name)) in CloseHandles()
|
D | sandbox_policy.h | 222 const wchar_t* handle_name) = 0;
|
D | sandbox_policy_base.h | 67 const char16* handle_name) OVERRIDE;
|
D | sandbox_policy_base.cc | 418 const char16* handle_name) { in AddKernelObjectToClose() argument 419 return handle_closer_.AddHandle(handle_type, handle_name); in AddKernelObjectToClose()
|
/external/chromium_org/ppapi/proxy/ |
D | ppapi_proxy_test.cc | 555 std::ostringstream handle_name; in SetUp() local 556 handle_name << "TwoWayTestChannel" << base::GetCurrentProcId(); in SetUp() 557 IPC::ChannelHandle handle(handle_name.str()); in SetUp()
|