Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 20 of 20) sorted by relevance

/bionic/libc/netbsd/nameser/
Dns_ttl.c102 u_long ttl, tmp; in ns_parse_ttl() local
106 tmp = 0; in ns_parse_ttl()
113 tmp *= 10; in ns_parse_ttl()
114 tmp += (ch - '0'); in ns_parse_ttl()
123 case 'W': tmp *= 7; /*FALLTHROUGH*/ in ns_parse_ttl()
124 case 'D': tmp *= 24; /*FALLTHROUGH*/ in ns_parse_ttl()
125 case 'H': tmp *= 60; /*FALLTHROUGH*/ in ns_parse_ttl()
126 case 'M': tmp *= 60; /*FALLTHROUGH*/ in ns_parse_ttl()
130 ttl += tmp; in ns_parse_ttl()
131 tmp = 0; in ns_parse_ttl()
[all …]
Dns_print.c125 char tmp[100]; in ns_sprintrrf() local
158 len = SPRINTF((tmp, " %s %s", p_class(class), p_type(type))); in ns_sprintrrf()
159 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
221 len = SPRINTF((tmp, "%lu", t)); in ns_sprintrrf()
222 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
277 len = SPRINTF((tmp, "%u ", t)); in ns_sprintrrf()
278 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
295 len = SPRINTF((tmp, "%u ", t)); in ns_sprintrrf()
296 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
433 len = SPRINTF((tmp, " %u ( ", *rdata)); in ns_sprintrrf()
[all …]
Dns_name.c582 u_char tmp[NS_MAXCDNAME]; in ns_name_uncompress() local
585 if ((n = ns_name_unpack(msg, eom, src, tmp, sizeof tmp)) == -1) in ns_name_uncompress()
587 if (ns_name_ntop(tmp, dst, dstsiz) == -1) in ns_name_uncompress()
610 u_char tmp[NS_MAXCDNAME]; in ns_name_compress() local
612 if (ns_name_pton(src, tmp, sizeof tmp) == -1) in ns_name_compress()
614 return (ns_name_pack(tmp, dst, (int)dstsiz, dnptrs, lastdnptr)); in ns_name_compress()
/bionic/libc/netbsd/resolv/
Dres_random.c142 u_int left, right, tmp; in permute15() local
157 tmp = ru_prf->prf8[(i << (8 - 1)) | right] & 0x7f; in permute15()
159 tmp = ru_prf->prf7[((i - 1) << (7 - 1)) | right]; in permute15()
160 tmp ^= left; in permute15()
162 right = tmp; in permute15()
180 u_int32_t tmp; in res_initid() local
187 tmp = arc4random(); in res_initid()
188 ru_seed = (tmp >> 16) & 0x7FFF; in res_initid()
189 ru_seed2 = tmp & 0x7FFF; in res_initid()
192 tmp = arc4random(); in res_initid()
[all …]
Dres_query.c229 char tmp[NS_MAXDNAME]; in res_nsearch() local
247 if (!dots && (cp = res_hostalias(statp, name, tmp, sizeof tmp))!= NULL) in res_nsearch()
Dres_send.c684 void *tmp; in send_vc() local
753 DE_CONST(buf, tmp); in send_vc()
754 iov[1] = evConsIovec(tmp, (size_t)buflen); in send_vc()
/bionic/libc/stdio/
Dfdopen.c45 int flags, oflags, fdflags, tmp; in fdopen() local
53 tmp = fdflags & O_ACCMODE; in fdopen()
54 if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE))) { in fdopen()
/bionic/libc/kernel/common/linux/raid/
Dmd_k.h174 …GENERIC(head,rdev,tmp) for ((tmp) = (head).next; (rdev) = (list_entry((tmp), mdk_rdev_t, sam… argument
175 #define ITERATE_RDEV(mddev,rdev,tmp) ITERATE_RDEV_GENERIC((mddev)->disks,rdev,tmp) argument
176 #define ITERATE_RDEV_PENDING(rdev,tmp) ITERATE_RDEV_GENERIC(pending_raid_disks,rdev,tmp) argument
/bionic/libc/string/
Dmemswap.c37 char tmp = *p; in memswap() local
39 *q = tmp; in memswap()
/bionic/libc/inet/
Dinet_ntop.c75 char tmp[sizeof "255.255.255.255"]; in inet_ntop4() local
78 l = snprintf(tmp, size, fmt, src[0], src[1], src[2], src[3]); in inet_ntop4()
83 strlcpy(dst, tmp, size); in inet_ntop4()
103 char tmp[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"]; in inet_ntop6() local
146 tp = tmp; in inet_ntop6()
147 ep = tmp + sizeof(tmp); in inet_ntop6()
191 if ((size_t)(tp - tmp) > size) { in inet_ntop6()
195 strlcpy(dst, tmp, size); in inet_ntop6()
Dinet_pton.c77 u_char tmp[INADDRSZ], *tp; in inet_pton4() local
81 *(tp = tmp) = 0; in inet_pton4()
107 memcpy(dst, tmp, INADDRSZ); in inet_pton4()
129 u_char tmp[IN6ADDRSZ], *tp, *endp, *colonp; in inet_pton6() local
134 memset((tp = tmp), '\0', IN6ADDRSZ); in inet_pton6()
210 memcpy(dst, tmp, IN6ADDRSZ); in inet_pton6()
/bionic/libc/tzcode/
Dlocaltime.c212 struct tm * tmp));
214 struct tm * tmp));
223 static time_t time1 P((struct tm * tmp,
227 static time_t time2 P((struct tm *tmp,
231 static time_t time2sub P((struct tm *tmp,
236 const struct state * sp, struct tm * tmp));
1326 localsub(timep, offset, tmp) in localsub() argument
1329 struct tm * const tmp;
1340 return gmtsub(timep, offset, tmp);
1367 result = localsub(&newt, offset, tmp);
[all …]
/bionic/libm/src/
De_jnf.c110 float q0,q1,h,tmp; int32_t k,m; in __ieee754_jnf() local
115 tmp = z*q1 - q0; in __ieee754_jnf()
117 q1 = tmp; in __ieee754_jnf()
131 tmp = n; in __ieee754_jnf()
133 tmp = tmp*__ieee754_logf(fabsf(v*tmp)); in __ieee754_jnf()
134 if(tmp<(float)8.8721679688e+01) { in __ieee754_jnf()
De_jn.c157 double q0,q1,h,tmp; int32_t k,m; in __ieee754_jn() local
162 tmp = z*q1 - q0; in __ieee754_jn()
164 q1 = tmp; in __ieee754_jn()
178 tmp = n; in __ieee754_jn()
180 tmp = tmp*__ieee754_log(fabs(v*tmp)); in __ieee754_jn()
181 if(tmp<7.09782712893383973096e+02) { in __ieee754_jn()
/bionic/linker/
Ddlfcn.c71 const char *tmp = dl_err_str; in dlerror() local
73 return (const char *)tmp; in dlerror()
Dlinker.c898 unsigned char *tmp; in load_segments() local
915 tmp = base + (phdr->p_vaddr & (~PAGE_MASK)); in load_segments()
921 (unsigned)tmp, len, phdr->p_vaddr, phdr->p_offset); in load_segments()
922 pbase = mmap(tmp, len, PFLAGS_TO_PROT(phdr->p_flags), in load_segments()
928 (unsigned)tmp, len, phdr->p_vaddr, phdr->p_offset); in load_segments()
964 tmp = (unsigned char *)(((unsigned)pbase + len + PAGE_SIZE - 1) & in load_segments()
966 if (tmp < (base + phdr->p_vaddr + phdr->p_memsz)) { in load_segments()
967 extra_len = base + phdr->p_vaddr + phdr->p_memsz - tmp; in load_segments()
969 "(0x%08x) ]\n", pid, si->name, (unsigned)tmp, extra_len); in load_segments()
977 extra_base = mmap((void *)tmp, extra_len, in load_segments()
[all …]
/bionic/libc/bionic/
Dfts.c76 FTSENT *parent, *tmp; in fts_open() local
136 tmp = root = p; in fts_open()
138 tmp->fts_link = p; in fts_open()
139 tmp = p; in fts_open()
256 FTSENT *p, *tmp; in fts_read() local
350 next: tmp = p; in fts_read()
352 free(tmp); in fts_read()
394 p = tmp->fts_parent; in fts_read()
395 free(tmp); in fts_read()
Dmalloc_debug_leak.c278 char tmp[16*20]; in dump_stack_trace() local
281 tmp[0] = 0; // Need to initialize tmp[0] for the first strcat in dump_stack_trace()
284 strlcat(tmp, buf, sizeof tmp); in dump_stack_trace()
286 __libc_android_log_print(ANDROID_LOG_ERROR, "libc", "call stack:\n%s", tmp); in dump_stack_trace()
/bionic/libc/regex/
Dengine.c83 states tmp; /* temporary */ member
175 SETUP(m->tmp); in matcher()
676 states tmp = m->tmp; in fast() local
735 ASSIGN(tmp, st); in fast()
738 st = step(m->g, startst, stopst, tmp, c, st); in fast()
760 states tmp = m->tmp; in slow() local
819 ASSIGN(tmp, st); in slow()
822 st = step(m->g, startst, stopst, tmp, c, st); in slow()
/bionic/libc/netbsd/
Dgethnamaddr.c958 char tmp[INADDRSZ]; in map_v4v6_address() local
965 (void)memcpy(tmp, src, INADDRSZ); in map_v4v6_address()
972 (void)memcpy((void *)p, tmp, INADDRSZ); in map_v4v6_address()