search for: stdstr

Displaying 6 results from an estimated 6 matches for "stdstr".

Did you mean: stdscr
2011 Jul 19
3
[LLVMdev] Correct use of StringRef and Twine
...if used outside that cliche. > I'd much rather extend raw_ostream to take twines. Certainly that covers this case, but I'm not sure how many different sinks there are that would need the nuanced efficient Twine handling code. Perhaps it's not many - though some easy way to do "stdStr = twine" would be great since quite often we want to take a string & put it in a member, etc. Would it be worth having "assign(std::string&, const Twine&)" or similar - or is going through Twine::str() & expecting the compiler to optimize away the temporary std::strin...
2011 Jul 19
0
[LLVMdev] Correct use of StringRef and Twine
On Jul 18, 2011, at 12:38 PM, David Blaikie wrote: > I'm attempting to do some amount of mass migration from const std::string& (& const char*) to StringRef. Great! > In doing so I stumbled across the fact that while StringRef has no op+ to speak of (well, it has += and I added a manual StringRef+std::string and std::string+StringRef for now - though I'm thinking perhaps
2011 Jul 18
3
[LLVMdev] Correct use of StringRef and Twine
I'm attempting to do some amount of mass migration from const std::string& (& const char*) to StringRef. In doing so I stumbled across the fact that while StringRef has no op+ to speak of (well, it has += and I added a manual StringRef+std::string and std::string+StringRef for now - though I'm thinking perhaps they can be skipped in favor of Twine operations), Twine does provide a
2012 Nov 19
2
[PATCH 158/493] video: remove use of __devinit
...init +static void SiS_SenseCh(struct sis_video_info *ivideo) { #if defined(CONFIG_FB_SIS_300) || defined(CONFIG_FB_SIS_315) @@ -2643,7 +2642,7 @@ SiS_SenseCh(struct sis_video_info *ivideo) } } -static void __devinit +static void sisfb_get_VB_type(struct sis_video_info *ivideo) { char stdstr[] = "sisfb: Detected"; @@ -2906,7 +2905,7 @@ sisfb_engine_init(struct sis_video_info *ivideo) ivideo->engineok = 1; } -static void __devinit +static void sisfb_detect_lcd_type(struct sis_video_info *ivideo) { u8 reg; @@ -2962,7 +2961,7 @@ sisfb_detect_lcd_type(struct sis_vi...
2012 Nov 19
2
[PATCH 158/493] video: remove use of __devinit
...init +static void SiS_SenseCh(struct sis_video_info *ivideo) { #if defined(CONFIG_FB_SIS_300) || defined(CONFIG_FB_SIS_315) @@ -2643,7 +2642,7 @@ SiS_SenseCh(struct sis_video_info *ivideo) } } -static void __devinit +static void sisfb_get_VB_type(struct sis_video_info *ivideo) { char stdstr[] = "sisfb: Detected"; @@ -2906,7 +2905,7 @@ sisfb_engine_init(struct sis_video_info *ivideo) ivideo->engineok = 1; } -static void __devinit +static void sisfb_detect_lcd_type(struct sis_video_info *ivideo) { u8 reg; @@ -2962,7 +2961,7 @@ sisfb_detect_lcd_type(struct sis_vi...
2012 Nov 19
2
[PATCH 158/493] video: remove use of __devinit
...init +static void SiS_SenseCh(struct sis_video_info *ivideo) { #if defined(CONFIG_FB_SIS_300) || defined(CONFIG_FB_SIS_315) @@ -2643,7 +2642,7 @@ SiS_SenseCh(struct sis_video_info *ivideo) } } -static void __devinit +static void sisfb_get_VB_type(struct sis_video_info *ivideo) { char stdstr[] = "sisfb: Detected"; @@ -2906,7 +2905,7 @@ sisfb_engine_init(struct sis_video_info *ivideo) ivideo->engineok = 1; } -static void __devinit +static void sisfb_detect_lcd_type(struct sis_video_info *ivideo) { u8 reg; @@ -2962,7 +2961,7 @@ sisfb_detect_lcd_type(struct sis_vi...