Searched defs:tmp (Results 1 - 23 of 23) sorted by relevance

/bionic/libc/bionic/
H A Dstatvfs.cpp72 struct statfs tmp; local
73 int rc = statfs(path, &tmp);
77 __statfs_to_statvfs(tmp, result);
83 struct statfs tmp; local
84 int rc = fstatfs(fd, &tmp);
88 __statfs_to_statvfs(tmp, result);
H A Dfts.c79 FTSENT *parent, *tmp; local
139 tmp = root = p;
141 tmp->fts_link = p;
142 tmp = p;
259 FTSENT *p, *tmp; local
353 next: tmp = p;
355 free(tmp);
397 p = tmp->fts_parent;
398 free(tmp);
H A Dndk_cruft.cpp83 char tmp = *p; local
85 *q = tmp;
/bionic/libc/arch-arm64/generic/bionic/
H A Dmemchr.S48 #define tmp x4 define
96 sub tmp, soff, #32
97 adds cntin, cntin, tmp
106 lsl tmp, soff, #1
107 lsr synd, synd, tmp
108 lsl synd, synd, tmp
140 add tmp, cntrem, soff
141 and tmp, tmp, #31
142 sub tmp, tm
[all...]
/bionic/libc/upstream-openbsd/lib/libc/net/
H A Dinet_ntop.c74 char tmp[sizeof "255.255.255.255"]; local
77 l = snprintf(tmp, sizeof(tmp), "%u.%u.%u.%u",
83 strlcpy(dst, tmp, size);
103 char tmp[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"]; local
144 tp = tmp;
145 ep = tmp + sizeof(tmp);
199 if ((size_t)(tp - tmp) > size) {
203 strlcpy(dst, tmp, siz
[all...]
H A Dinet_pton.c77 u_char tmp[INADDRSZ], *tp; local
81 *(tp = tmp) = 0;
107 memcpy(dst, tmp, INADDRSZ);
128 u_char tmp[IN6ADDRSZ], *tp, *endp, *colonp; local
133 memset((tp = tmp), '\0', IN6ADDRSZ);
211 memcpy(dst, tmp, IN6ADDRSZ);
H A Dres_random.c138 u_int left, right, tmp; local
153 tmp = ru_prf->prf8[(i << (8 - 1)) | right] & 0x7f;
155 tmp = ru_prf->prf7[((i - 1) << (7 - 1)) | right];
156 tmp ^= left;
158 right = tmp;
176 u_int32_t tmp; local
183 tmp = arc4random();
184 ru_seed = (tmp >> 16) & 0x7FFF;
185 ru_seed2 = tmp & 0x7FFF;
188 tmp
[all...]
/bionic/libc/dns/nameser/
H A Dns_parse.c145 int tmp; local
148 tmp = section;
149 if (tmp < 0 || section >= ns_s_max)
208 int tmp; local
211 tmp = section;
212 if (tmp < 0 || section >= ns_s_max)
H A Dns_ttl.c98 u_long ttl, tmp; local
102 tmp = 0;
109 tmp *= 10;
110 tmp += (ch - '0');
119 case 'W': tmp *= 7; /*FALLTHROUGH*/
120 case 'D': tmp *= 24; /*FALLTHROUGH*/
121 case 'H': tmp *= 60; /*FALLTHROUGH*/
122 case 'M': tmp *= 60; /*FALLTHROUGH*/
126 ttl += tmp;
127 tmp
151 char tmp[50]; local
[all...]
H A Dns_print.c119 char tmp[100]; local
152 len = snprintf(tmp, sizeof(tmp), " %s %s", p_class(class), p_type(type));
153 T(addstr(tmp, (size_t)len, &buf, &buflen));
215 len = snprintf(tmp, sizeof(tmp), "%lu", t);
216 T(addstr(tmp, (size_t)len, &buf, &buflen));
272 len = snprintf(tmp, sizeof(tmp), "%u ", t);
273 T(addstr(tmp, (size_
[all...]
H A Dns_name.c631 u_char tmp[NS_MAXCDNAME]; local
634 if ((n = ns_name_unpack(msg, eom, src, tmp, sizeof tmp)) == -1)
636 if (ns_name_ntop(tmp, dst, dstsiz) == -1)
660 u_char tmp[NS_MAXCDNAME]; local
662 if (ns_name_pton(src, tmp, sizeof tmp) == -1)
664 return (ns_name_pack(tmp, dst, (int)dstsiz, dnptrs, lastdnptr));
/bionic/tests/
H A Dnetdb_test.cpp118 char tmp[16]; local
125 ASSERT_EQ(0, getnameinfo(sa, too_much, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST));
126 ASSERT_STREQ("0.0.0.0", tmp);
127 ASSERT_EQ(0, getnameinfo(sa, just_right, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST));
128 ASSERT_STREQ("0.0.0.0", tmp);
129 ASSERT_EQ(EAI_FAMILY, getnameinfo(sa, too_little, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST));
136 ASSERT_EQ(0, getnameinfo(sa, too_much, tmp, sizeo
[all...]
/bionic/libc/dns/resolv/
H A Dres_query.c230 char tmp[NS_MAXDNAME]; local
248 if (!dots && (cp = res_hostalias(statp, name, tmp, sizeof tmp))!= NULL)
H A Dres_send.c764 void *tmp; local
860 DE_CONST(buf, tmp);
861 iov[1] = evConsIovec(tmp, (size_t)buflen);
H A Dres_cache.c1258 struct pending_req_info *ri, *tmp; local
1263 tmp = ri;
1265 pthread_cond_broadcast(&tmp->cond);
1267 pthread_cond_destroy(&tmp->cond);
1268 free(tmp);
/bionic/libm/upstream-freebsd/lib/msun/src/
H A De_jn.c158 double q0,q1,h,tmp; int32_t k,m; local
163 tmp = z*q1 - q0;
165 q1 = tmp;
179 tmp = n;
181 tmp = tmp*__ieee754_log(fabs(v*tmp));
182 if(tmp<7.09782712893383973096e+02) {
H A De_jnf.c114 float q0,q1,h,tmp; int32_t k,m; local
119 tmp = z*q1 - q0;
121 q1 = tmp;
135 tmp = n;
137 tmp = tmp*__ieee754_logf(fabsf(v*tmp));
138 if(tmp<(float)8.8721679688e+01) {
/bionic/libc/upstream-netbsd/lib/libc/regex/
H A Dengine.c119 states tmp; /* temporary */ member in struct:match
233 SETUP(m->tmp);
781 states tmp = m->tmp; local
844 ASSIGN(tmp, st);
847 st = step(m->g, startst, stopst, tmp, c, st);
876 states tmp = m->tmp; local
939 ASSIGN(tmp, st);
942 st = step(m->g, startst, stopst, tmp,
[all...]
/bionic/libc/upstream-openbsd/lib/libc/crypt/
H A Dchacha_private.h94 u8 tmp[64]; local
118 for (i = 0;i < bytes;++i) tmp[i] = m[i];
119 m = tmp;
121 c = tmp;
/bionic/libc/dns/net/
H A Dgethnamaddr.c1076 char tmp[NS_INADDRSZ]; local
1083 (void)memcpy(tmp, src, NS_INADDRSZ);
1090 (void)memcpy(p, tmp, NS_INADDRSZ);
H A Dgetaddrinfo.c392 int32_t tmp; local
393 if (fread(&tmp, sizeof(tmp), 1, fp) != 1) {
396 *result = ntohl(tmp);
/bionic/libc/stdio/
H A Dstdio.cpp245 int tmp = fdflags & O_ACCMODE; local
246 if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE))) {
258 if ((oflags & O_CLOEXEC) && !((tmp = fcntl(fd, F_GETFD)) & FD_CLOEXEC)) {
259 fcntl(fd, F_SETFD, tmp | FD_CLOEXEC);
/bionic/libc/tzcode/
H A Dlocaltime.c1448 struct tm *const tmp)
1457 return gmtsub(gmtptr, timep, 0, tmp);
1477 result = localsub(sp, &newt, setname, tmp);
1511 ** timesub(&t, 0L, sp, tmp);
1513 result = timesub(&t, ttisp->tt_gmtoff, sp, tmp);
1528 localtime_rz(struct state *sp, time_t const *timep, struct tm *tmp) argument
1530 return localsub(sp, timep, 0, tmp);
1536 localtime_tzset(time_t const *timep, struct tm *tmp) argument
1551 tmp = localsub(lclptr, timep, true, tmp);
1447 localsub(struct state const *sp, time_t const *timep, int_fast32_t setname, struct tm *const tmp) argument
1563 localtime_r(const time_t *timep, struct tm *tmp) argument
1573 gmtsub(struct state const *sp, time_t const *timep, int_fast32_t offset, struct tm *tmp) argument
1596 gmtime_r(const time_t *timep, struct tm *tmp) argument
1632 timesub(const time_t *timep, int_fast32_t offset, const struct state *sp, struct tm *tmp) argument
1764 struct tm *tmp = localtime(timep); local
1772 struct tm *tmp = localtime_r(timep, &mytm); local
1878 time2sub(struct tm *const tmp, struct tm *(*funcp)(struct state const *, time_t const *, int_fast32_t, struct tm *), struct state const *sp, const int_fast32_t offset, bool *okayp, bool do_norm_secs) argument
2075 time2(struct tm * const tmp, struct tm *(*funcp)(struct state const *, time_t const *, int_fast32_t, struct tm *), struct state const *sp, const int_fast32_t offset, bool *okayp) argument
2094 time1(struct tm *const tmp, struct tm *(*funcp) (struct state const *, time_t const *, int_fast32_t, struct tm *), struct state const *sp, const int_fast32_t offset) argument
2166 mktime_tzname(struct state *sp, struct tm *tmp, bool setname) argument
2179 mktime_z(struct state *sp, struct tm *tmp) argument
2187 mktime(struct tm *tmp) argument
2212 timelocal(struct tm *tmp) argument
2220 timegm(struct tm *tmp) argument
2226 timeoff(struct tm *tmp, long offset) argument
[all...]

Completed in 459 milliseconds