Home
last modified time | relevance | path

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

/external/chromium_org/sandbox/win/src/
Dhandle_closer_test.cc79 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()
Dhandle_closer.cc38 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()
Dnamed_pipe_policy_test.cc34 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()
Dhandle_closer.h49 ResultCode AddHandle(const char16* handle_type, const char16* handle_name);
71 bool GetHandleName(HANDLE handle, string16* handle_name);
Dhandle_closer_agent.cc91 string16 handle_name; in CloseHandles() local
131 if (!GetHandleName(handle, &handle_name) || !names.count(handle_name)) in CloseHandles()
Dsandbox_policy.h222 const wchar_t* handle_name) = 0;
Dsandbox_policy_base.h67 const char16* handle_name) OVERRIDE;
Dsandbox_policy_base.cc418 const char16* handle_name) { in AddKernelObjectToClose() argument
419 return handle_closer_.AddHandle(handle_type, handle_name); in AddKernelObjectToClose()
/external/chromium_org/ppapi/proxy/
Dppapi_proxy_test.cc555 std::ostringstream handle_name; in SetUp() local
556 handle_name << "TwoWayTestChannel" << base::GetCurrentProcId(); in SetUp()
557 IPC::ChannelHandle handle(handle_name.str()); in SetUp()