/system/core/libcutils/ |
H A D | tztime.c | 184 struct tm * tmp)); 186 struct tm * tmp, const struct state *sp)); 195 static time_t time1 P((struct tm * tmp, 199 static time_t time2 P((struct tm *tmp, 203 static time_t time2sub P((struct tm *tmp, 208 const struct state * sp, struct tm * tmp)); 1181 localsub(timep, offset, tmp, sp) 1184 struct tm * const tmp; 1194 return gmtsub(timep, offset, tmp); 1221 result = localsub(&newt, offset, tmp, s 1292 localtime_tz(const time_t * const timep, struct tm * tmp, const char* tz) argument 1942 mktime_tz(struct tm * const tmp, char const * tz) argument [all...] |
/system/core/libdiskconfig/ |
H A D | diskconfig.c | 40 char tmp[64]; local 44 strncpy(tmp, str, sizeof(tmp)); 45 tmp[sizeof(tmp)-1] = '\0'; 46 len_str = strlen(tmp); 52 switch(tmp[len_str - 1]) { 59 tmp[len_str - 1] = '\0'; 65 *plen = strtoull(tmp, NULL, 0); 100 const char *tmp; local 146 const char *tmp; local [all...] |
H A D | diskutils.c | 39 int tmp; local 83 if ((tmp = write(dst_fd, buffer, nr_bytes)) < 0) { 90 if (!tmp) 92 nr_bytes -= tmp;
|
/system/core/libmincrypt/ |
H A D | rsa_e_3.c | 105 uint32_t tmp = local 110 a[i] = tmp; 124 uint32_t tmp = aaa[i]; local 125 *inout++ = tmp >> 24; 126 *inout++ = tmp >> 16; 127 *inout++ = tmp >> 8; 128 *inout++ = tmp >> 0;
|
H A D | rsa_e_f4.c | 106 uint32_t tmp = local 111 a[i] = tmp; 128 uint32_t tmp = aaa[i]; local 129 *inout++ = tmp >> 24; 130 *inout++ = tmp >> 16; 131 *inout++ = tmp >> 8; 132 *inout++ = tmp >> 0;
|
H A D | sha.c | 180 uint8_t tmp = cnt >> ((7 - i) * 8); local 181 SHA_update(ctx, &tmp, 1); 202 uint32_t tmp = *p++ << 24; local 203 tmp |= *p++ << 16; 204 tmp |= *p++ << 8; 205 tmp |= *p++; 206 W[t] = tmp; 220 uint32_t tmp = rol(5,A) + E + W[t]; local 223 tmp += (D^(B&(C^D))) + 0x5A827999; 225 tmp 269 uint8_t tmp = cnt >> ((7 - i) * 8); local 274 uint32_t tmp = ctx->state[i]; local [all...] |
/system/core/libnl_2/ |
H A D | attr.c | 52 uint64_t tmp; local 53 nla_memcpy(&tmp, nla, sizeof(tmp)); 54 return tmp;
|
/system/core/libsparse/ |
H A D | sparse.c | 283 struct sparse_file *tmp; local 286 tmp = sparse_file_new(in_s->block_size, in_s->len); 287 if (!tmp) { 299 backed_block_list_move(s->backed_block_list, tmp->backed_block_list, 306 backed_block_list_move(tmp->backed_block_list, in_s->backed_block_list, 309 sparse_file_destroy(tmp);
|
/system/core/libsysutils/src/ |
H A D | FrameworkListener.cpp | 77 char tmp[255]; local 79 char *q = tmp; 80 char *qlimit = tmp + sizeof(tmp) - 1; 87 memset(tmp, 0, sizeof(tmp)); 133 int cmdNum = (int)strtol(tmp, &endptr, 0); 143 argv[argc++] = strdup(tmp); 145 memset(tmp, 0, sizeof(tmp)); [all...] |
H A D | SocketClient.cpp | 90 uint32_t tmp = htonl(len); local 91 memcpy(buf + 4, &tmp, sizeof(uint32_t));
|
/system/core/sh/ |
H A D | alias.c | 160 struct alias *ap, *tmp; local 170 tmp = ap; 172 ckfree(tmp);
|
/system/core/toolbox/ |
H A D | dd.c | 1057 struct arg *ap, tmp; local 1074 tmp.name = oper; 1075 if (!(ap = (struct arg *)bsearch(&tmp, args, 1078 fprintf(stderr, "unknown operand %s\n", tmp.name); 1085 tmp.name); 1286 struct conv *cp, tmp; local 1289 tmp.name = strsep(&arg, ","); 1290 if (!(cp = (struct conv *)bsearch(&tmp, clist, 1293 errx(EXIT_FAILURE, "unknown conversion %s", tmp.name); 1297 errx(EXIT_FAILURE, "%s: illegal conversion combination", tmp [all...] |
H A D | du.c | 252 uint64_t tmp; local 257 const int HTBITS = CHAR_BIT * sizeof(tmp); 294 tmp = dev; 295 tmp <<= HTBITS>>1; 296 tmp |= ino; 297 tmp *= HTCONST; 298 h = tmp >> (HTBITS - htshift); 299 h2 = 1 | ( tmp >> (HTBITS - (htshift<<1) - 1)); /* must be odd */
|
H A D | ioctl.c | 90 uint64_t tmp = strtoull(argv[optind], NULL, 0); local 95 memcpy(ioctl_argp, &tmp, arg_size);
|
H A D | ls.c | 102 char tmp[1024]; local 114 snprintf(tmp, sizeof(tmp), "/%s", de->d_name); 116 snprintf(tmp, sizeof(tmp), "%s/%s", dirname, de->d_name); 118 if (lstat(tmp, &s) < 0) { 119 fprintf(stderr, "stat failed on %s: %s\n", tmp, strerror(errno)); 315 char tmp[4096]; local 319 snprintf(tmp, sizeof(tmp), " 336 char tmp[4096]; local [all...] |
H A D | ps.c | 185 char tmp[128]; local 189 sprintf(tmp,"/proc/%d/task",pid); 190 d = opendir(tmp);
|
H A D | schedtop.c | 251 struct thread_table tmp; local 252 tmp = last_processes; 254 processes = tmp; 256 tmp = last_threads; 258 threads = tmp;
|
H A D | watchprops.c | 68 unsigned tmp = watchlist[n].pi->serial; local 69 if(watchlist[n].serial != tmp) { 71 watchlist[n].serial = tmp;
|
/system/extras/ext4_utils/ |
H A D | allocate.c | 568 struct region *tmp; local 590 tmp = alloc->list.iter; 592 return tmp;
|
/system/extras/sane_schedstat/ |
H A D | sane_schedstat.c | 56 struct cpu_stat tmp; variable in typeref:struct:cpu_stat 88 &cpu, &tmp.yld_count, 89 &tmp.sched_switch, &tmp.sched_count, &tmp.sched_goidle, 90 &tmp.ttwu_count, &tmp.ttwu_local, 91 &tmp.cpu_time, &tmp.run_delay, &tmp [all...] |
/system/extras/sound/ |
H A D | playwav.c | 199 unsigned char tmp; local 263 while (read(0, &tmp, 1) == 1) { 264 if ((tmp == 13) || (tmp == 10)) goto done;
|
/system/extras/tests/fstest/ |
H A D | perm_checker.c | 362 char tmp[MAX_NAME_LEN + 1]; local 395 snprintf(tmp, sizeof(tmp), "%s%s", namebuf, de->d_name); 396 retval |= check_path(tmp);
|
/system/media/audio_utils/ |
H A D | echo_reference.c | 342 struct timespec tmp; local 351 tmp.tv_sec = buffer->time_stamp.tv_sec - er->wr_render_time.tv_sec - 1; 352 tmp.tv_nsec = 1000000000 + buffer->time_stamp.tv_nsec - er->wr_render_time.tv_nsec; 354 tmp.tv_sec = buffer->time_stamp.tv_sec - er->wr_render_time.tv_sec; 355 tmp.tv_nsec = buffer->time_stamp.tv_nsec - er->wr_render_time.tv_nsec; 357 timeDiff = (((int64_t)tmp.tv_sec * 1000000000 + tmp.tv_nsec));
|
/system/netd/ |
H A D | BandwidthController.cpp | 173 char *tmp; local 202 while ((tmp = strsep(&next, " "))) { 203 argv[argc++] = tmp;
|
H A D | CommandListener.cpp | 529 char *tmp; local 530 asprintf(&tmp, "/proc/sys/net/ipv6/conf/%s/use_tempaddr", argv[2]); 532 if (writeFile(tmp, !strncmp(argv[3], "enable", 7) ? "2" : "0", 1) < 0) { 533 free(tmp); 539 free(tmp); 550 char *tmp; local 551 asprintf(&tmp, "/proc/sys/net/ipv6/conf/%s/disable_ipv6", argv[2]); 553 if (writeFile(tmp, !strncmp(argv[3], "enable", 7) ? "0" : "1", 1) < 0) { 554 free(tmp); 560 free(tmp); 603 char *tmp = NULL; local 649 char *tmp = NULL; local [all...] |