search for: nsrange

Displaying 4 results from an estimated 4 matches for "nsrange".

Did you mean: nrange
2015 Apr 20
2
[LLVMdev] question about alignment of structures on the stack (arm 32)
Dear community, I faced with code which was generated by llvm, assembly instructions of that code is relying on 8-bytes alignment for structures on the stack. The part of Objective C code is following: -(void)getCharacters:(unichar *)unicode {     NSRange range;     range.location = 0;     range.length = [self length];     printf("%p, %p\n", &range.location, &range.length); And before printf call I see an argument preparation, and one of the most interesting instruction     orr    r3, r2, #4 ;for address of range.length Does thi...
2015 Apr 21
2
[LLVMdev] question about alignment of structures on the stack (arm 32)
...pects 8-bytes alignment. So in 50% cases when call made from MachO to ELF stack pointer register contains not a 8-bytes aligned address. Even in case of trivial call NSLog(@"Test string") from MachO it leads to -[NSString getCharacters:] ------ -(void)getCharacters:(unichar *)unicode {    NSRange range={0,[self length]};    [self getCharacters:unicode range:range]; } ------ when "range" is copying by value, and second field of "range" is evaluated incorrectly, its address evaluated as address of the structure itself. because of orr r3, r2, #4, The minimum example I thi...
2007 Sep 28
0
Wine release 0.9.46
...ore IHTMLStyle getters implementation. mshtml: Added HTMLStyle::get_textDecoration* implementation. mshtml: Added get_styleSheets implementation. mshtml: Added IHTMLStyleSheetsCollection::get_length implementation. mshtml: Fixed IHTMLTxtRange::get_text implementation with no nsrange associated. mshtml: Added more tests. mshtml: Added Exec(IDM_FONT) stub implementation. shdocvw: Added WebBrowser::FullScreen property implementation. shdocvw: Added WebBrowser::Resizable property implementation. mshtml: Don't crash in UIActivate if Gecko is not av...
2009 Sep 25
0
Wine release 1.1.30
...;s OpenAL.framework. Marcus Meissner (7): wineoss.drv: Avoid mixer fd leak. oleview: Fixed bad error check. wineoss.drv: 2 more close(mixer) added. gdiplus: do not memcpy over NULL ptrs (Coverity). jscript: Initialize this_obj with NULL (Coverity). mshmtl: Check nsrange before calling ->Release (coverity). jscript: Check for arg_array being NULL (Coverity). Markus Stockhausen (1): gdi32: Check for NULL pointer in GdiAlphaBlend. Michael Karcher (1): ntdll: Fix DEP status initialization. Michael Stefaniuc (5): windowscodecs: Use FAILED...