Searched refs:tmp (Results 26 - 50 of 63) sorted by path

123

/system/core/libnl_2/
H A Dattr.c52 uint64_t tmp; local
53 nla_memcpy(&tmp, nla, sizeof(tmp));
54 return tmp;
/system/core/libsparse/
H A Dsparse.c283 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 DFrameworkListener.cpp77 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 DSocketClient.cpp90 uint32_t tmp = htonl(len); local
91 memcpy(buf + 4, &tmp, sizeof(uint32_t));
/system/core/rootdir/etc/
H A Dinit.testmenu167 echo gu$g >/tmp/gain;
168 cat /tmp/gain 2>/dev/null >/dev/omap_csmi_audio_tes
172 echo "e0x$e" >/tmp/echo;
173 cat /tmp/echo 2>/dev/null >/dev/omap_csmi_audio_tes
/system/core/sh/
H A Dalias.c160 struct alias *ap, *tmp; local
170 tmp = ap;
172 ckfree(tmp);
H A Dmkinit.sh144 exec >init.c.tmp
197 mv init.c.tmp init.c
H A Dmknodes.sh39 exec >$objdir/nodes.h.tmp
120 mv $objdir/nodes.h.tmp $objdir/nodes.h || exit 1
123 exec >$objdir/nodes.c.tmp
217 mv $objdir/nodes.c.tmp $objdir/nodes.c || exit 1
H A Dmktokens40 cat > /tmp/ka$$ <<\!
70 nl=`wc -l /tmp/ka$$`
72 awk '{print "#define " $1 " " NR-1}' /tmp/ka$$
76 awk '{print "\t" $2 ","}' /tmp/ka$$
82 /tmp/ka$$
85 sed 's/"//g' /tmp/ka$$ | awk '
92 rm /tmp/ka$$
/system/core/toolbox/
H A Ddd.c1057 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 Ddu.c252 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 Dioctl.c90 uint64_t tmp = strtoull(argv[optind], NULL, 0); local
95 memcpy(ioctl_argp, &tmp, arg_size);
H A Dls.c102 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 Dps.c185 char tmp[128]; local
189 sprintf(tmp,"/proc/%d/task",pid);
190 d = opendir(tmp);
H A Dschedtop.c251 struct thread_table tmp; local
252 tmp = last_processes;
254 processes = tmp;
256 tmp = last_threads;
258 threads = tmp;
H A Dwatchprops.c68 unsigned tmp = watchlist[n].pi->serial; local
69 if(watchlist[n].serial != tmp) {
71 watchlist[n].serial = tmp;
/system/extras/ext4_utils/
H A Dallocate.c568 struct region *tmp; local
590 tmp = alloc->list.iter;
592 return tmp;
/system/extras/sane_schedstat/
H A Dsane_schedstat.c56 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 Dplaywav.c199 unsigned char tmp; local
263 while (read(0, &tmp, 1) == 1) {
264 if ((tmp == 13) || (tmp == 10)) goto done;
/system/extras/tests/bionic/libc/
H A Drun-test.sh162 TMPDIR=/tmp/bionic-tests
/system/extras/tests/fstest/
H A Dperm_checker.c362 char tmp[MAX_NAME_LEN + 1]; local
395 snprintf(tmp, sizeof(tmp), "%s%s", namebuf, de->d_name);
396 retval |= check_path(tmp);
H A Dperm_checker.conf20 /data/local/tmp/ 771 771 shell shell shell shell
/system/extras/tests/sdcard/
H A Dprofile_sdcard.sh32 local file="/tmp/sdcard-scalability.txt"
40 adb shell sdcard_perf_test --test=write --procnb=${p} --size=1000 --chunk-size=100 --iterations=50 >/tmp/tmp-sdcard.txt
41 local t=$(grep 'write_total' /tmp/tmp-sdcard.txt | tail -n 1 | cut -f 6 -d ' ')
/system/media/audio_utils/
H A Decho_reference.c342 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 DBandwidthController.cpp173 char *tmp; local
202 while ((tmp = strsep(&next, " "))) {
203 argv[argc++] = tmp;

Completed in 208 milliseconds

123