/bionic/tests/ |
H A D | netdb_test.cpp | 34 char tmp[16]; local 41 ASSERT_EQ(0, getnameinfo(sa, too_much, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST)); 42 ASSERT_STREQ("0.0.0.0", tmp); 43 ASSERT_EQ(0, getnameinfo(sa, just_right, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST)); 44 ASSERT_STREQ("0.0.0.0", tmp); 45 ASSERT_EQ(EAI_FAMILY, getnameinfo(sa, too_little, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST)); 52 ASSERT_EQ(0, getnameinfo(sa, too_much, tmp, sizeo [all...] |
H A D | Android.mk | 317 # gtest needs ANDROID_DATA/local/tmp for death test output. 318 # Make sure to create ANDROID_DATA/local/tmp if doesn't exist. 322 mkdir -p $(TARGET_OUT_DATA)/local/tmp 332 # gtest needs ANDROID_DATA/local/tmp for death test output. 333 # Make sure to create ANDROID_DATA/local/tmp if doesn't exist. 341 mkdir -p $(TARGET_OUT_DATA)/local/tmp 357 mkdir -p $(TARGET_OUT_DATA)/local/tmp
|
/bionic/libc/bionic/ |
H A D | statvfs.cpp | 48 struct statfs tmp; local 49 int rc = __statfs64(path, sizeof(tmp), &tmp); 53 __statfs_to_statvfs(tmp, result); 59 struct statfs tmp; local 60 int rc = __fstatfs64(fd, sizeof(tmp), &tmp); 64 __statfs_to_statvfs(tmp, result);
|
H A D | fts.c | 78 FTSENT *parent, *tmp; local 138 tmp = root = p; 140 tmp->fts_link = p; 141 tmp = p; 258 FTSENT *p, *tmp; local 352 next: tmp = p; 354 free(tmp); 396 p = tmp->fts_parent; 397 free(tmp);
|
H A D | ndk_cruft.cpp | 77 char tmp = *p; local 79 *q = tmp;
|
/bionic/libc/dns/nameser/ |
H A D | ns_ttl.c | 104 u_long ttl, tmp; local 108 tmp = 0; 115 tmp *= 10; 116 tmp += (ch - '0'); 125 case 'W': tmp *= 7; /*FALLTHROUGH*/ 126 case 'D': tmp *= 24; /*FALLTHROUGH*/ 127 case 'H': tmp *= 60; /*FALLTHROUGH*/ 128 case 'M': tmp *= 60; /*FALLTHROUGH*/ 132 ttl += tmp; 133 tmp 157 char tmp[50]; local [all...] |
H A D | ns_print.c | 125 char tmp[100]; local 158 len = SPRINTF((tmp, " %s %s", p_class(class), p_type(type))); 159 T(addstr(tmp, (size_t)len, &buf, &buflen)); 221 len = SPRINTF((tmp, "%lu", t)); 222 T(addstr(tmp, (size_t)len, &buf, &buflen)); 278 len = SPRINTF((tmp, "%u ", t)); 279 T(addstr(tmp, (size_t)len, &buf, &buflen)); 296 len = SPRINTF((tmp, "%u ", t)); 297 T(addstr(tmp, (size_t)len, &buf, &buflen)); 435 len = SPRINTF((tmp, " [all...] |
H A D | ns_parse.c | 143 int tmp; local 146 tmp = section; 147 if (tmp < 0 || section >= ns_s_max) 206 int tmp; local 209 tmp = section; 210 if (tmp < 0 || section >= ns_s_max)
|
H A D | ns_name.c | 637 u_char tmp[NS_MAXCDNAME]; local 640 if ((n = ns_name_unpack(msg, eom, src, tmp, sizeof tmp)) == -1) 642 if (ns_name_ntop(tmp, dst, dstsiz) == -1) 666 u_char tmp[NS_MAXCDNAME]; local 668 if (ns_name_pton(src, tmp, sizeof tmp) == -1) 670 return (ns_name_pack(tmp, dst, (int)dstsiz, dnptrs, lastdnptr));
|
/bionic/libc/private/ |
H A D | bionic_atomic_arm64.h | 29 int32_t tmp, oldval; local 38 : "=&r" (tmp), "=&r" (oldval), "+o"(*ptr) 60 int32_t prev, tmp, status; local 66 : "=&r" (prev), "=&r" (tmp), "=&r" (status), "+m"(*ptr)
|
H A D | bionic_atomic_arm.h | 66 int32_t prev, tmp, status; local 72 : "=&r" (prev), "=&r" (tmp), "=&r" (status), "+m"(*ptr)
|
/bionic/libc/arch-arm64/generic/bionic/ |
H A D | memchr.S | 48 #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/stdio/ |
H A D | fdopen.c | 46 int flags, oflags, fdflags, tmp; local 60 tmp = fdflags & O_ACCMODE; 61 if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE))) {
|
/bionic/libc/upstream-openbsd/lib/libc/net/ |
H A D | inet_ntop.c | 74 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 D | inet_pton.c | 77 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);
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
H A D | e_jnf.c | 108 float q0,q1,h,tmp; int32_t k,m; local 113 tmp = z*q1 - q0; 115 q1 = tmp; 129 tmp = n; 131 tmp = tmp*__ieee754_logf(fabsf(v*tmp)); 132 if(tmp<(float)8.8721679688e+01) {
|
H A D | e_jn.c | 156 double q0,q1,h,tmp; int32_t k,m; local 161 tmp = z*q1 - q0; 163 q1 = tmp; 177 tmp = n; 179 tmp = tmp*__ieee754_log(fabs(v*tmp)); 180 if(tmp<7.09782712893383973096e+02) {
|
/bionic/libc/tzcode/ |
H A D | localtime.c | 162 struct tm * tmp, struct state * sp); // android-changed: added sp. 164 struct tm * tmp, struct state * sp); // android-changed: added sp. 174 static time_t time1(struct tm * tmp, 178 static time_t time2(struct tm * tmp, 182 static time_t time2sub(struct tm *tmp, 187 const struct state * sp, struct tm * tmp); 1286 struct tm * const tmp, struct state * sp) // android-changed: added sp. 1299 return gmtsub(timep, offset, tmp, sp); // android-changed: added sp. 1318 result = localsub(&newt, offset, tmp, sp); // android-changed: added sp. 1319 if (result == tmp) { 1285 localsub(const time_t * const timep, const int_fast32_t offset, struct tm * const tmp, struct state * sp) argument 1374 localtime_r(const time_t * const timep, struct tm * tmp) argument 1391 gmtsub(const time_t * const timep, const int_fast32_t offset, struct tm *const tmp, struct state * sp __unused) argument 1429 gmtime_r(const time_t * const timep, struct tm * tmp) argument 1463 timesub(const time_t *const timep, const int_fast32_t offset, register const struct state *const sp, register struct tm *const tmp) argument 1713 time2sub(struct tm * const tmp, struct tm *(*const funcp)(const time_t*, int_fast32_t, struct tm*, struct state*), const int_fast32_t offset, int * const okayp, const int do_norm_secs, struct state * sp) argument 1892 time2(struct tm * const tmp, struct tm * (*const funcp)(const time_t *, int_fast32_t, struct tm *, struct state *), const int_fast32_t offset, int *const okayp, struct state* sp) argument 1909 time1(struct tm * const tmp, struct tm * (* const funcp) (const time_t *, int_fast32_t, struct tm *, struct state *), const int_fast32_t offset, struct state * sp) argument 1984 mktime(struct tm * const tmp) argument 1996 timelocal(struct tm * const tmp) argument 2004 timegm(struct tm * const tmp) argument 2018 timeoff(struct tm *const tmp, const long offset) argument 2035 gtime(struct tm * const tmp) argument 2294 mktime_tz(struct tm* const tmp, const char* tz) argument [all...] |
/bionic/libc/kernel/tools/ |
H A D | generate_uapi_headers.sh | 47 if [[ "${TMPDIR}" =~ /tmp ]] && [[ -d "${TMPDIR}" ]]; then 158 TMPDIR=$(mktemp -d /tmp/android_kernelXXXXXXXX)
|
/bionic/benchmarks/ |
H A D | Android.mk | 71 mkdir -p $(TARGET_OUT_DATA)/local/tmp
|
/bionic/libc/upstream-openbsd/lib/libc/crypt/ |
H A D | chacha_private.h | 94 u8 tmp[64]; local 118 for (i = 0;i < bytes;++i) tmp[i] = m[i]; 119 m = tmp; 121 c = tmp;
|
/bionic/libc/dns/resolv/ |
H A D | res_query.c | 230 char tmp[NS_MAXDNAME]; local 248 if (!dots && (cp = res_hostalias(statp, name, tmp, sizeof tmp))!= NULL)
|
H A D | res_cache.c | 1250 struct pending_req_info *ri, *tmp; local 1255 tmp = ri; 1257 pthread_cond_broadcast(&tmp->cond); 1259 pthread_cond_destroy(&tmp->cond); 1260 free(tmp);
|
H A D | res_send.c | 748 void *tmp; local 833 DE_CONST(buf, tmp); 834 iov[1] = evConsIovec(tmp, (size_t)buflen);
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
H A D | engine.c | 119 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...] |