Searched defs:tmp (Results 26 - 50 of 52) sorted by path

123

/system/core/libsysutils/src/
H A DSocketClient.cpp90 uint32_t tmp = htonl(len); local
91 memcpy(buf + 4, &tmp, sizeof(uint32_t));
/system/core/sh/
H A Dalias.c160 struct alias *ap, *tmp; local
170 tmp = ap;
172 ckfree(tmp);
/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/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);
/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;
H A DCommandListener.cpp529 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...]
H A Dlogwrapper.c174 char *tmp; local
190 while ((tmp = strsep(&next, " "))) {
191 argp[i++] = tmp;
H A Dndc.c150 char tmp[4]; local
152 strncpy(tmp, buffer + offset, 3);
153 tmp[3] = '\0';
154 code = atoi(tmp);
/system/security/keystore-engine/
H A Deng_keystore.cpp228 const unsigned char* tmp = reinterpret_cast<const unsigned char*>(reply.get()); local
229 Unique_EVP_PKEY pkey(d2i_PUBKEY(NULL, &tmp, reply.length()));
/system/security/keystore/
H A Dkeystore.cpp378 const char* tmpFileName = ".tmp";
831 uint8_t* tmp = pkcs8key.value; local
832 if (i2d_PKCS8_PRIV_KEY_INFO(pkcs8.get(), &tmp) != len) {
/system/security/softkeymaster/
H A Dkeymaster_openssl.cpp190 EVP_PKEY* tmp = pkey.get(); local
191 d2i_PublicKey(type, &tmp, &p, publicLen);
204 d2i_PrivateKey(type, &tmp, &p, privateLen);
328 unsigned char* tmp = reinterpret_cast<unsigned char*>(key.get()); local
329 if (i2d_PUBKEY(pkey.get(), &tmp) != len) {
390 unsigned char* tmp = reinterpret_cast<unsigned char*>(signedDataPtr.get()); local
391 if (RSA_private_encrypt(dataLength, data, tmp, rsa.get(), RSA_NO_PADDING) <= 0) {
446 unsigned char* tmp = reinterpret_cast<unsigned char*>(dataPtr.get()); local
447 if (!RSA_public_decrypt(signatureLength, signature, tmp, rsa.get(), RSA_NO_PADDING)) {
454 result |= tmp[
[all...]
/system/vold/
H A DDevmapper.cpp98 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 DDirectVolume.cpp153 const char *tmp = evt->findParam("NPARTS"); local
154 if (tmp) {
155 mDiskNumParts = atoi(tmp);
188 const char *tmp = evt->findParam("PARTN"); local
190 if (tmp) {
191 part_num = atoi(tmp);
247 const char *tmp = evt->findParam("NPARTS"); local
248 if (tmp) {
249 mDiskNumParts = atoi(tmp);
H A DFat.cpp168 char tmp[32]; local
169 snprintf(tmp, sizeof(tmp), "%u", numSectors);
170 const char *size = tmp;
H A DLoop.cpp70 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);

Completed in 904 milliseconds

123