mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 23:03:00 +00:00
Add .gitattributes and .gitignore files and normalize line endings in the repository (#10)
This commit is contained in:
parent
c609406c2f
commit
9ebf43567d
309 changed files with 66975 additions and 66873 deletions
|
@ -1,37 +1,37 @@
|
|||
|
||||
#include "tchar.h"
|
||||
#include <asm.inc>
|
||||
|
||||
PUBLIC _tcsncpy
|
||||
.code
|
||||
|
||||
FUNC _tcsncpy
|
||||
FPO 0, 3, 2, 2, 0, FRAME_FPO
|
||||
push esi
|
||||
push edi
|
||||
mov edi, [esp + 12] /* s1 */
|
||||
mov esi, [esp + 16] /* s2 */
|
||||
mov ecx, [esp + 20] /* n */
|
||||
|
||||
xor eax, eax
|
||||
cld
|
||||
|
||||
.L1:
|
||||
dec ecx
|
||||
js .L2
|
||||
_tlods
|
||||
_tstos
|
||||
test _treg(a), _treg(a)
|
||||
jnz .L1
|
||||
rep _tstos
|
||||
|
||||
.L2:
|
||||
mov eax, [esp + 12]
|
||||
|
||||
pop edi
|
||||
pop esi
|
||||
ret
|
||||
ENDFUNC
|
||||
|
||||
END
|
||||
/* EOF */
|
||||
|
||||
#include "tchar.h"
|
||||
#include <asm.inc>
|
||||
|
||||
PUBLIC _tcsncpy
|
||||
.code
|
||||
|
||||
FUNC _tcsncpy
|
||||
FPO 0, 3, 2, 2, 0, FRAME_FPO
|
||||
push esi
|
||||
push edi
|
||||
mov edi, [esp + 12] /* s1 */
|
||||
mov esi, [esp + 16] /* s2 */
|
||||
mov ecx, [esp + 20] /* n */
|
||||
|
||||
xor eax, eax
|
||||
cld
|
||||
|
||||
.L1:
|
||||
dec ecx
|
||||
js .L2
|
||||
_tlods
|
||||
_tstos
|
||||
test _treg(a), _treg(a)
|
||||
jnz .L1
|
||||
rep _tstos
|
||||
|
||||
.L2:
|
||||
mov eax, [esp + 12]
|
||||
|
||||
pop edi
|
||||
pop esi
|
||||
ret
|
||||
ENDFUNC
|
||||
|
||||
END
|
||||
/* EOF */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue