/system/core/debuggerd/ |
H A D | crasher.c | 26 char tmp[1]; local 28 sprintf(tmp, "%d", gettid()); 32 read(s, tmp, 1);
|
/system/core/libdiskconfig/ |
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;
|
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...] |
/system/core/toolbox/ |
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 | watchprops.c | 68 unsigned tmp = watchlist[n].pi->serial; local 69 if(watchlist[n].serial != tmp) { 71 watchlist[n].serial = tmp;
|
/system/vold/ |
H A D | Xwarp.cpp | 67 const char *tmp; local 73 tmp = (enable ? XWARP_BACKINGFILE : ""); 75 if (write(fd, tmp, strlen(tmp)+1) < 0) {
|
H A D | vdc.c | 128 char tmp[4]; local 130 strncpy(tmp, buffer + offset, 3); 131 tmp[3] = '\0'; 132 code = atoi(tmp);
|
H A D | Fat.cpp | 168 char tmp[32]; local 169 snprintf(tmp, sizeof(tmp), "%u", numSectors); 170 const char *size = tmp;
|
H A D | Devmapper.cpp | 98 char *tmp; local 100 asprintf(&tmp, "%s %llu:%llu (no status available)", n->name, MAJOR(n->dev), MINOR(n->dev)); 102 asprintf(&tmp, "%s %llu:%llu %d %d 0x%.8x %llu:%llu", n->name, MAJOR(n->dev), 106 c->sendMsg(0, tmp, false); 107 free(tmp);
|
H A D | Loop.cpp | 70 char *tmp = NULL; local 71 asprintf(&tmp, "%s %d %lld:%lld %llu %lld:%lld %lld 0x%x {%s} {%s}", filename, li.lo_number, 75 c->sendMsg(0, tmp, false); 76 free(tmp);
|
/system/core/init/ |
H A D | signal_handler.c | 73 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 D | ueventd.c | 54 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...] |
/system/core/include/cutils/ |
H A D | atomic-arm.h | 155 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/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/sh/ |
H A D | alias.c | 160 struct alias *ap, *tmp; local 170 tmp = ap; 172 ckfree(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/netd/ |
H A D | ndc.c | 150 char tmp[4]; local 152 strncpy(tmp, buffer + offset, 3); 153 tmp[3] = '\0'; 154 code = atoi(tmp);
|
H A D | logwrapper.c | 174 char *tmp; local 190 while ((tmp = strsep(&next, " "))) { 191 argp[i++] = tmp;
|
/system/core/adb/ |
H A D | adb_client.c | 41 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 D | file_sync_service.c | 84 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 D | transport_local.c | 243 char tmp[256]; local 272 res = adb_read(fd, tmp, sizeof(tmp)); 273 if (res != 2 || memcmp(tmp, _ok_resp, 2)) {
|
/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));
|