search for: toascii

Displaying 9 results from an estimated 9 matches for "toascii".

2005 Apr 28
0
[LLVMdev] SimplifyLibCalls Pass -- Help!
...e constant) * strcspn("",a) -> 0 * strcspn(s,"") -> strlen(a) strstr: * strstr(x,x) -> x * strstr(s1,s2) -> offset_of_s2_in(s1) (if s1 and s2 are constant strings) tan, tanf, tanl: * tan(0.0) -> 0.0 * tan(atan(x)) -> x toascii: * toascii(c) -> (c & 0x7f) trunc, truncf, truncl: * trunc(cnst) -> cnst' -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050427/e7ce9acb/attachment.html> -------------- next par...
2007 Jun 20
1
Help With Sweave:
...ne make[1]: Entering directory `/home/mdj/downloads/noweb-2.11b/src/ shell' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/mdj/downloads/noweb-2.11b/src/shell' make[1]: Entering directory `/home/mdj/downloads/noweb-2.11b/src/lib' chmod +x unmarkup emptydefn toascii nwmtime pipedocs h2a btdefn make[1]: Leaving directory `/home/mdj/downloads/noweb-2.11b/src/lib' make[1]: Entering directory `/home/mdj/downloads/noweb-2.11b/src/xdoc' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/mdj/downloads/noweb-2.11b/src/xdoc' make[1...
2009 Aug 06
1
WH_KEYBOARD_LL vs GetKeyState
...elKeyboardProc(int nCode, WPARAM wParam, LPARAM lParam) { if(nCode == HC_ACTION && wParam == WM_KEYDOWN) { KBDLLHOOKSTRUCT* key = (KBDLLHOOKSTRUCT*)lParam; GetKeyState(0); BYTE keyState[256]; GetKeyboardState(keyState); WORD chars; if(ToAscii(key->vkCode, key->scanCode, keyState, &chars, 0)) { if((char)chars == '\r') putchar('\n'); else putchar(chars); } } return CallNextHookEx(NULL, nCode, wParam, lParam); } int main(int argc, char** argv) { HHOOK hhk = SetWindowsH...
2012 Aug 02
2
[LLVMdev] Proposal to merge SimplifyLibCalls into InstCombiner
..., powf, pow, powl, llvm.pow.f32, llvm.pow.f64, llvm.pow.f80, llvm.pow.f128, llvm.pow.ppcf128, exp21, exp2, exp2f, llvm.exp2.ppcf128, llvm.exp2.f128, llvm.exp2.f80, llvm.exp2.f64, llvm.exp2.f32, floor, cell, round, rint, nearbyint, ffs, ffsl, ffsll, abs, labs, llabs, isdigit, isascii, toascii, sprintf, print, fwrite, fputs, fprintf, puts. Test cases that exercise the library call folders for each of these functions should be present. Any missing test cases will be added. Create new `LibCallSimplifier` class ------------------------------------ A new self-contained `LibCallSimplifier...
2015 Apr 17
0
Wine release 1.7.41
...g under Wine when WINETEST_PLATFORM is not specified. kernel32: Fix calculation of returned buffer in get_registry_locale_info. user32: Check for NULL pointer in ToUnicodeEx. user32/tests: Add tests for ToUnicodeEx with a NULL pointer as keystate. user32/tests: Add tests for ToAscii. secur32: Return more context attributes in schan_InitializeSecurityContextW. ntoskrnl: Avoid repeated FIXME messages in PsLookupProcessByProcessId. user32: Move key state cache into a separate struct. user32: Invalidate key state cache globally after running LL hooks....
2019 Nov 01
0
Wine release 4.19
...r: Fake API implementation by returning success. rstrtmgr: Add stubs RmAddFilter and RmRemoveFilter. R?mi Bernon (4): user32/tests: Update input test result for w1064v1809. user32/tests: Do not expect char vkey to return the same char everywhere. user32/tests: Do not expect ToAscii with 'A' vkey to return 'a' on non-us keyboards. user32/tests: Skip some tests with inconsistent results with non-us kbd. Serge Gautherie (1): atl: Fix a MSVC x64 printf warning. Sven Baars (13): mf: Leave instead of enter a critical section. scrobj: Fix so...
2008 Nov 07
0
Wine release 1.1.8
...user32/tests: Avoid crash on win9x. shdocvw/tests: Use the correct size for memset. user32/tests: Fix crash on win9x in the dde test. Dmitry Timoshkov (9): gdi32: Search the child font list first. winex11.drv: Print the characters returned by ToUnicode. user32: Make ToAscii(Ex) and ToUnicode(Ex) prototypes match PSDK. wineconsole: Don't ignore extended keys. kernel32: Don't ignore extended keys. gdi32: Move DC mapping APIs to the 'dc' debug channel. user32: Handle all kinds of values returned by WIN_GetPtr. gdi32: Try to a...
2012 Nov 29
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
I have a new problem: Register RBP is used in a function foo. (I am not allocating RBP to any virtual register, the instances of RBP in function foo are in the machine code when my register allocator starts.) Function foo calls function bar. Register RBP is not saved across the call, though it is live after the call. Function bar includes a virtual register. The code that I'm using to
2012 Dec 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...n int isupper (int) __attribute__ ((__nothrow__)); extern int isxdigit (int) __attribute__ ((__nothrow__)); extern int tolower (int __c) __attribute__ ((__nothrow__)); extern int toupper (int __c) __attribute__ ((__nothrow__)); extern int isascii (int __c) __attribute__ ((__nothrow__)); extern int toascii (int __c) __attribute__ ((__nothrow__)); extern int _toupper (int) __attribute__ ((__nothrow__)); extern int _tolower (int) __attribute__ ((__nothrow__)); extern void *memcpy (void *__restrict __dest, __const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribu...