Home
last modified time | relevance | path

Searched refs:num (Results 1 – 10 of 10) sorted by relevance

/bionic/libc/stdlib/
Dldiv.c37 ldiv(long num, long denom) in ldiv() argument
43 r.quot = num / denom; in ldiv()
44 r.rem = num % denom; in ldiv()
45 if (num >= 0 && r.rem < 0) { in ldiv()
Dlldiv.c37 lldiv(long long num, long long denom) in lldiv() argument
43 r.quot = num / denom; in lldiv()
44 r.rem = num % denom; in lldiv()
45 if (num >= 0 && r.rem < 0) { in lldiv()
Ddiv.c37 div(int num, int denom) in div() argument
41 r.quot = num / denom; in div()
42 r.rem = num % denom; in div()
66 if (num >= 0 && r.rem < 0) { in div()
/bionic/libc/string/
Dstrerror_r.c44 __digits10(unsigned int num) in __digits10() argument
49 num /= 10; in __digits10()
51 } while (num != 0); in __digits10()
57 __itoa(int num, int sign, char *buffer, size_t start, size_t end) in __itoa() argument
63 if (sign && num < 0) { in __itoa()
64 a = -num; in __itoa()
68 a = num; in __itoa()
128 __num2string(int num, int sign, int setid, char *buf, size_t buflen,
134 if (0 <= num && num < max) {
143 ret = __itoa(num, sign, buf, len, buflen);
[all …]
Dstrerror.c35 strerror(int num) in strerror() argument
39 (void)strerror_r(num, buf, sizeof(buf)); in strerror()
/bionic/libc/netbsd/
Dgethnamaddr.c150 # define dprintf(msg, res, num) ((void)0) /*nada*/ argument
837 int num; in _gethtbyname2() local
845 num = 0; in _gethtbyname2()
846 while ((p = _gethtent()) != NULL && num < MAXADDRS) { in _gethtbyname2()
856 if (num == 0) { in _gethtbyname2()
885 num++; in _gethtbyname2()
888 if (num == 0) return NULL; in _gethtbyname2()
913 while (num--) { in _gethtbyname2()
1004 addrsort(char **ap, int num, res_state res) in addrsort() argument
1014 for (i = 0; i < num; i++, p++) { in addrsort()
[all …]
/bionic/libc/tzcode/
Dlocaltime.c701 register int num; local
705 num = 0;
707 num = num * 10 + (c - '0');
708 if (num > max)
712 if (num < min)
714 *nump = num;
731 int num; local
739 strp = getnum(strp, &num, 0, HOURSPERDAY * DAYSPERWEEK - 1);
742 *secsp = num * (long) SECSPERHOUR;
745 strp = getnum(strp, &num, 0, MINSPERHOUR - 1);
[all …]
/bionic/libc/kernel/common/linux/
Dmoduleparam.h56 unsigned int *num; member
Dsoundcard.h696 int num; member
/bionic/libc/kernel/tools/
Dcpp.py290 num = self.peekNChar(3)
291 if num != None:
293 for d in num:
298 result += num
302 num = self.peekNChar(2)
303 if num != None:
305 for d in num:
310 result += num
314 num = self.peekNChar(4)
315 if num != None:
[all …]