Searched refs:tmp (Results 1 - 25 of 63) sorted by relevance

123

/system/core/sh/
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/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/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/core/init/
H A Dueventd.c54 char tmp[32]; local
84 snprintf(tmp, sizeof(tmp), "/ueventd.%s.rc", hardware);
85 ueventd_parse_config_file(tmp);
121 char *tmp = 0; local
147 asprintf(&tmp, "/dev/mtd/mtd%d", n);
148 name = tmp;
160 free(tmp);
167 free(tmp);
175 free(tmp);
[all...]
H A Dsignal_handler.c73 char tmp[128]; local
74 snprintf(tmp, sizeof(tmp), ANDROID_SOCKET_DIR"/%s", si->name);
75 unlink(tmp);
121 char tmp[32]; local
124 read(signal_recv_fd, tmp, sizeof(tmp));
H A Dgrab-bootchart.sh8 TMPDIR=/tmp/android-bootchart
H A Dinit.c242 char tmp[32]; local
263 sprintf(tmp, "%d,%d", dup(fd), sz);
264 add_environment("ANDROID_PROPERTY_WORKSPACE", tmp);
352 char *tmp = strdup(dynamic_args); local
353 char *next = tmp;
460 char *tmp = NULL; local
466 tmp = strdup(name);
467 args = strchr(tmp, ':');
471 svc = service_find_by_name(tmp);
479 if (tmp)
576 char tmp[PROP_VALUE_MAX]; local
655 char tmp[PROP_VALUE_MAX]; local
842 char tmp[32]; local
[all...]
/system/core/libdiskconfig/
H A Ddiskconfig.c40 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 Ddiskutils.c39 int tmp; local
83 if ((tmp = write(dst_fd, buffer, nr_bytes)) < 0) {
90 if (!tmp)
92 nr_bytes -= tmp;
/system/core/adb/
H A Dadb_client.c41 char* tmp = adb_query("host:devices"); local
42 char* p = tmp;
43 if(!tmp) {
56 free(tmp);
64 free(tmp);
89 char tmp[5]; local
116 snprintf(tmp, sizeof tmp, "%04x", len);
118 if(writex(fd, tmp, 4) || writex(fd, service, len)) {
172 char tmp[ local
299 char *tmp; local
[all...]
H A Dfile_sync_service.c84 char tmp[1024 + 256 + 1]; local
88 memcpy(tmp, path, len);
89 tmp[len] = '/';
90 fname = tmp + len + 1;
105 if(lstat(tmp, &st) == 0) {
278 char *tmp; local
282 tmp = strrchr(path,',');
283 if(tmp) {
284 *tmp = 0;
286 mode = strtoul(tmp
[all...]
H A Dfile_sync_client.c305 char tmp[64]; local
310 snprintf(tmp, sizeof(tmp), ",%d", mode);
311 r = strlen(tmp);
374 writex(fd, rpath, len) || writex(fd, tmp, r)) {
684 char *tmp = malloc(tmplen); local
685 if(tmp == 0) return -1;
686 snprintf(tmp, tmplen, "%s/",lpath);
687 lpath = tmp;
691 char *tmp local
783 char *tmp = malloc(strlen(name) + strlen(rpath) + 2); local
883 char *tmp = malloc(tmplen); local
890 char *tmp = malloc(tmplen); local
977 char *tmp = malloc(tmplen); local
[all...]
/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...]
/system/core/include/cutils/
H A Dtztime.h26 time_t mktime_tz(struct tm * const tmp, char const * tz);
27 void localtime_tz(const time_t * const timep, struct tm * tmp, const char* tz);
H A Datomic-arm.h155 int32_t prev, tmp, status; local
161 : "=&r" (prev), "=&r" (tmp),
197 int32_t prev, tmp, status; local
203 : "=&r" (prev), "=&r" (tmp),
228 int32_t prev, tmp, status; local
234 : "=&r" (prev), "=&r" (tmp),
/system/core/toolbox/
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 Dwatchprops.c68 unsigned tmp = watchlist[n].pi->serial; local
69 if(watchlist[n].serial != tmp) {
71 watchlist[n].serial = tmp;
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 */
/system/vold/
H A DXwarp.cpp67 const char *tmp; local
73 tmp = (enable ? XWARP_BACKINGFILE : "");
75 if (write(fd, tmp, strlen(tmp)+1) < 0) {
H A DFat.cpp168 char tmp[32]; local
169 snprintf(tmp, sizeof(tmp), "%u", numSectors);
170 const char *size = tmp;
H A Dvdc.c128 char tmp[4]; local
130 strncpy(tmp, buffer + offset, 3);
131 tmp[3] = '\0';
132 code = atoi(tmp);
/system/core/debuggerd/
H A Dcrasher.c26 char tmp[1]; local
28 sprintf(tmp, "%d", gettid());
32 read(s, tmp, 1);
/system/core/libmincrypt/
H A Dsha.c180 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...]
H A Drsa_e_f4.c106 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;
/system/core/libcutils/
H A Dtztime.c184 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...]

Completed in 155 milliseconds

123