search for: _pr

Displaying 20 results from an estimated 31 matches for "_pr".

Did you mean: _p
2010 Sep 07
3
[LLVMdev] MS VS2008 build fails - X86AsmParser
...;::MatchEntry' to 'llvm::StringRef' No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\dev\MSVisualStudio\VC\include\xutility(1699) : see reference to function template instantiation 'bool std::_Debug_lt_pred<_Pr,`anonymous-namespace'::MatchEntry,`anonymous-namespace'::MatchEntry>(_Pr,const _Ty1 &,const _Ty2 &,const wchar_t *,unsigned int)' being compiled with [ _Pr=`anonymous-namespace'::LessOpcode, _Ty1=`anonymous-namespace'::...
2010 Sep 07
0
[LLVMdev] MS VS2008 build fails - X86AsmParser
...#39;llvm::StringRef' > No user-defined-conversion operator available that can perform > this conversion, or the operator cannot be called > C:\dev\MSVisualStudio\VC\include\xutility(1699) : see > reference to function template instantiation 'bool > std::_Debug_lt_pred<_Pr,`anonymous-namespace'::MatchEntry,`anonymous-namespace'::MatchEntry>(_Pr,const > _Ty1 &,const _Ty2 &,const wchar_t *,unsigned int)' being compiled > with > [ > _Pr=`anonymous-namespace'::LessOpcode, > _Ty1=`anony...
2011 Mar 09
0
[LLVMdev] Unable to build latest with Visual Studio 2008
...> > No user-defined-conversion operator available that can perform > > this conversion, or the operator cannot be called > > C:\dev\MSVisualStudio\VC\include\xutility(1699) : see > > reference to function template instantiation 'bool > > std::_Debug_lt_pred<_Pr,`anonymous-namespace'::MatchEntry,`anonymous-namespace'::MatchEntry>(_Pr,const > > _Ty1 &,const _Ty2 &,const wchar_t *,unsigned int)' being compiled > > with > > [ > > _Pr=`anonymous-namespace'::LessOpcode, > &g...
2011 Nov 30
36
[RFC PATCH] Exporting ACPI Pxx/Cxx states to other kernel subsystems (v1).
...setup cpu idle driver and handler when we do not want them. ACPI: add processor driver for Xen virtual CPUs. ACPI: xen processor: add PM notification interfaces. ACPI: xen processor: set ignore_ppc to handle PPC event for Xen vcpu. Tang Liang (2): ACPI: processor: add __acpi_processor_[un]register_driver helpers. ACPI: processor: override the interface of register acpi processor handler for Xen vcpu drivers/acpi/Makefile | 1 + drivers/acpi/processor_driver.c | 48 +++++-- drivers/acpi/processor_idle.c | 10 +- drivers/acpi/processor_perflib....
2008 Dec 05
2
[LLVMdev] Build errors on trunk for about a week now.
...std::_Tmap_traits<const char *,unsigned int,`anonymous-namespace'::StrCmp,std::allocator<std::pair<const char *const ,unsigned int>>,false> ] ..\..\..\trunk\lib\Support\Annotation.cpp(67) : see reference to class template instantiation 'std::map<_Kty,_Ty,_Pr>' being compiled with [ _Kty=const char *, _Ty=unsigned int, _Pr=`anonymous-namespace'::StrCmp ] Allocator.cpp APSInt.cpp I cannot really look at it well since the termserv connection is effectively less then modem speed, but I...
2013 Jul 04
4
[LLVMdev] llvm (hence Clang) not compiling with Visual Studio 2008
...licitly converted (here: "Begin" is an "uint_64_t", as well as the second argument of "AtomComp") But the implementation of "std::lower_bound" in Visual Stuio 2008 relies on a checker provided by the file "xutility", which reads: template<class _Pr, class _Ty1, class _Ty2> inline bool __CLRCALL_OR_CDECL _Debug_lt_pred(_Pr _Pred, _Ty1& _Left, const _Ty2& _Right, const wchar_t *_Where,...
2008 Dec 05
0
[LLVMdev] Build errors on trunk for about a week now.
OvermindDL1 a écrit : > Been trying to build the trunk to test some things for about a week > now using VS8 (VS2k5). Tons of Warnings (like things first being > declared struct, being redefined class and so forth, those need to be > fixed, but are otherwise not harmful), and a *lot* of errors. Being > trunk I figured just the normal trunk-type issues, but it has been > going on
2008 Dec 05
0
[LLVMdev] Build errors on trunk for about a week now.
...nst char *,unsigned > int,`anonymous-namespace'::StrCmp,std::allocator<std::pair<const char > *const ,unsigned int>>,false> > ] > ..\..\..\trunk\lib\Support\Annotation.cpp(67) : see reference > to class template instantiation 'std::map<_Kty,_Ty,_Pr>' being > compiled > with > [ > _Kty=const char *, > _Ty=unsigned int, > _Pr=`anonymous-namespace'::StrCmp > ] > Allocator.cpp > APSInt.cpp > > I cannot really look at it well since the termserv connec...
2019 Jun 27
0
[PATCH 6/9] Rust bindings: Add generator of function signatures
...st (_, sn) -> + let sn = camel_name_of_struct sn in + pr "Vec<%s>" sn + | RHashtable _ -> pr "collections::HashMap<String, String>" + | RBufferOut _ -> pr "Vec<u8>"); + pr ", Error> {\n"; + + let _pr = pr in + let pr fs = indent 2; pr fs in + List.iter ( + function + | Bool n -> + pr "let c_%s = if %s { 1 } else { 0 };\n" n n + | String (_, n) -> + (* TODO: handle errors *) + pr "let c_%s = \n" n; + pr...
2013 Jul 04
0
[LLVMdev] [cfe-dev] llvm (hence Clang) not compiling with Visual Studio 2008
...ot;Begin" is an "uint_64_t", as well > as the second argument of "AtomComp") > > But the implementation of "std::lower_bound" in Visual Stuio 2008 relies > on a checker provided by the file "xutility", which reads: > > template<class _Pr, class _Ty1, class _Ty2> inline > bool __CLRCALL_OR_CDECL _Debug_lt_pred(_Pr _Pred, > _Ty1& _Left, > const _Ty2& _Right, > const wchar_t *_Where, >...
2008 Dec 05
2
[LLVMdev] Build errors on trunk for about a week now.
Been trying to build the trunk to test some things for about a week now using VS8 (VS2k5). Tons of Warnings (like things first being declared struct, being redefined class and so forth, those need to be fixed, but are otherwise not harmful), and a *lot* of errors. Being trunk I figured just the normal trunk-type issues, but it has been going on for a while now, so figured it would be good to
2019 Jun 27
0
[PATCH 7/9] Rust bindings: Complete actions
...); (match ret with | RBufferOut _ -> - pr "let mut size = 0;\n" + pr "let mut size = 0usize;\n" | _ -> () ); pr "\n"; pr "let r = unsafe { %s(self.g" f.c_function; + let pr = _pr in List.iter ( fun arg -> pr ", "; @@ -397,18 +582,68 @@ impl UUID { | Bool n | String (_, n) | OptString n -> pr "c_%s" n | Int n | Int64 n -> pr "%s" n | Pointer _ -> pr "ptr::null()" (...
2019 Nov 20
2
[PATCH v4] pci: prevent putting nvidia GPUs into lower device states on certain intel bridges
On Wed, Nov 20, 2019 at 01:11:52PM +0100, Karol Herbst wrote: > On Wed, Nov 20, 2019 at 1:09 PM Mika Westerberg > <mika.westerberg at intel.com> wrote: > > > > On Wed, Nov 20, 2019 at 12:58:00PM +0100, Karol Herbst wrote: > > > overall, what I really want to know is, _why_ does it work on windows? > > > > So do I ;-) > > > > > Or what are
2012 Jul 03
13
[PATCH] various Xen fixes for v3.6 (v1).
I am working on some other bugs and perf issues - and while working I noticed that both sparse and Coverity have reported some issues with Xen drivers. Please see attached various bug-fixes that I am proposing for 3.6.
2019 Nov 20
0
[PATCH v4] pci: prevent putting nvidia GPUs into lower device states on certain intel bridges
...drm_dev->switch_power_state = DRM_SWITCH_POWER_DYNAMIC_OFF; > return ret; > } > > and similar for the nouveau_pmops_runtime_resume(). > yeah, I tried that at some point and it didn't help either. The reason we call those from inside Nouveau is to support systems pre _PR where nouveau invokes custom _DSM calls on its own. We could potentially check for that though.
2019 Jun 27
16
[PATCH 1/9] Rust bindings: Add Rust bindings
...oundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +dnl Rust +AC_ARG_ENABLE([rust], + AS_HELP_STRING([--disable-rust], [disable Rust language bindings]), + [], + [enable_rust=yes]) +AS_IF([test "x$enable_rust" != "xno"],[ + AC_CHECK_PROG([RUSTC],[rustc],[rustc],[no]) + AC_CHECK_PROG([CARGO],[cargo],[cargo],[no]) +],[ + RUSTC=no + CARGO=no + ]) +AM_CONDITIONAL([HAVE_RUST],[test "x$RUSTC" != "xno" && test "x$CARGO" != "xno"]) \ No newline at end of file diff --git a/rust/C...
2019 Jun 27
0
Re: [PATCH 08/11] Rust bindings: Fix memory management and format the file
...comma := true; - pr "optargs: OptArgs%s" cname + pr "optargs: %sOptArgs" cname ); pr ")"; @@ -532,45 +663,37 @@ impl UUID { | RBufferOut _ -> pr "Vec<u8>"); pr ", Error> {\n"; + let _pr = pr in let pr fs = indent 2; pr fs in List.iter ( function | Bool n -> - pr "let c_%s = if %s { 1 } else { 0 };\n" n n + pr "let %s = if %s { 1 } else { 0 };\n" n n | String (_, n) -> - (* TODO: handle er...
2019 Jul 02
16
[PATCH] Add Rust bindings
I fixed the patch I submitted before based on comments, and there are some commits which are merged or divided. So, I will re-send all the patches. Regards, Hiroyuki Katsura
2019 Jul 20
0
[PATCH] Rust bindings: Add Rust bindings
...rust/src/utils.rs | 136 +++++++ rust/tests/.gitkeep | 0 rust/tests/010_load.rs | 24 ++ rust/tests/020_create.rs | 24 ++ rust/tests/030_create_flags.rs | 29 ++ rust/tests/040_create_multiple.rs | 38 ++ rust/tests/050_handle_properties.rs | 62 +++ rust/tests/070_opt_args.rs | 41 ++ rust/tests/080_version.rs | 26 ++ rust/tests/090_ret_values.rs | 61 +++ rust/tests/100_launch.rs | 65 ++++ 31 files changed, 1513 insertions(+) create mode 100644 generator/rust.ml create mode 10...
2019 Jul 23
2
Re: [PATCH] Rust bindings: Add Rust bindings
...| 136 +++++++ > rust/tests/.gitkeep | 0 > rust/tests/010_load.rs | 24 ++ > rust/tests/020_create.rs | 24 ++ > rust/tests/030_create_flags.rs | 29 ++ > rust/tests/040_create_multiple.rs | 38 ++ > rust/tests/050_handle_properties.rs | 62 +++ > rust/tests/070_opt_args.rs | 41 ++ > rust/tests/080_version.rs | 26 ++ > rust/tests/090_ret_values.rs | 61 +++ > rust/tests/100_launch.rs | 65 ++++ > 31 files changed, 1513 insertions(+) > create mode 100644 gen...