Home
last modified time | relevance | path

Searched refs:__res (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.8/kernel/src/libs/
Dstring.c27 register int __res = 0; in strnlen() local
28 while (src[__res] != '\0' && __res < maxlen) in strnlen()
30 ++__res; in strnlen()
32 return __res; in strnlen()
44 register int __res; in strcmp() local
59 : "=a"(__res) in strcmp()
62 return __res; in strcmp()
/DragonOS-0.1.8/user/libs/libc/src/
Dstring.c5 register int __res = 0; in strlen() local
6 while (s[__res] != '\0') in strlen()
8 ++__res; in strlen()
10 return __res; in strlen()
15 register int __res; in strcmp() local
30 : "=a"(__res) in strcmp()
33 return __res; in strcmp()
/DragonOS-0.1.8/kernel/src/common/
Dstring.h17 register int __res = 0; in strlen() local
18 while (s[__res] != '\0') in strlen()
20 ++__res; in strlen()
22 return __res; in strlen()