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

123

/system/core/libmincrypt/
H A Drsa_e_3.c105 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;
/system/vold/
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 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 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);
/system/core/libnl_2/
H A Dattr.c52 uint64_t tmp; local
53 nla_memcpy(&tmp, nla, sizeof(tmp));
54 return tmp;
/system/netd/
H A Dndc.c150 char tmp[4]; local
152 strncpy(tmp, buffer + offset, 3);
153 tmp[3] = '\0';
154 code = atoi(tmp);
H A Dlogwrapper.c174 char *tmp; local
190 while ((tmp = strsep(&next, " "))) {
191 argp[i++] = tmp;
H A DList.h142 _Iter tmp(*this);
144 return tmp;
151 _Iter tmp(*this);
153 return 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...]
/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/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/core/init/
H A Dproperty_service.c492 char *key, *value, *eol, *sol, *tmp; local
506 tmp = value - 2;
507 while((tmp > key) && isspace(*tmp)) *tmp-- = 0;
510 tmp = eol - 2;
511 while((tmp > value) && isspace(*tmp)) *tmp-- = 0;
/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
/system/core/cpio/
H A Dmkbootfs.c236 char *tmp; local
242 tmp = (char*) malloc(s.st_size);
243 if(tmp == 0) die("cannot allocate %d bytes", s.st_size);
245 if(read(fd, tmp, s.st_size) != s.st_size) {
249 _eject(&s, out, olen, tmp, s.st_size);
251 free(tmp);
/system/core/toolbox/
H A Dioctl.c90 uint64_t tmp = strtoull(argv[optind], NULL, 0); local
95 memcpy(ioctl_argp, &tmp, arg_size);
H A Dschedtop.c251 struct thread_table tmp; local
252 tmp = last_processes;
254 processes = tmp;
256 tmp = last_threads;
258 threads = tmp;
/system/core/include/private/pixelflinger/
H A Dggl_fixed.h198 GGLfixed result,tmp,tmp1,tmp2; local
204 : [res]"=&r"(result),[tmp]"=&r"(tmp)
211 "li %[tmp],1\t\n"
212 "sll %[tmp],%[tmp],0x1f\t\n"
214 "addu %[tmp1],%[tmp],%[res] \t\n"
215 "sltu %[tmp1],%[tmp1],%[tmp]\t\n" /*obit*/
216 "sra %[tmp],%[tmp],
[all...]
/system/core/adb/
H A Dcommandline.c1020 char *tmp; local
1031 tmp = adb_query(buf);
1032 if(tmp) {
1034 printf("%s\n", tmp);
1042 char *tmp; local
1048 tmp = adb_query(buf);
1049 if(tmp) {
1050 printf("%s\n", tmp);
1058 char *tmp; local
1068 tmp
1315 char *tmp; local
[all...]
H A Dtransport_local.c243 char tmp[256]; local
272 res = adb_read(fd, tmp, sizeof(tmp));
273 if (res != 2 || memcmp(tmp, _ok_resp, 2)) {
/system/core/include/sysutils/
H A DList.h142 _Iter tmp(*this);
144 return tmp;
151 _Iter tmp(*this);
153 return tmp;
/system/core/libsysutils/src/
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/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;

Completed in 159 milliseconds

123