Searched refs:tmp (Results 1 - 25 of 63) sorted by last modified time

123

/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/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/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);
H A DXwarp.cpp67 const char *tmp; local
73 tmp = (enable ? XWARP_BACKINGFILE : "");
75 if (write(fd, tmp, strlen(tmp)+1) < 0) {
H A Dvdc.c128 char tmp[4]; local
130 strncpy(tmp, buffer + offset, 3);
131 tmp[3] = '\0';
132 code = atoi(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 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 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...]
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 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/charger/
H A Dcharger.c276 int tmp; local
283 tmp = strtol(buf, &end, 0);
288 *val = tmp;
/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/debuggerd/
H A Dcrasher.c26 char tmp[1]; local
28 sprintf(tmp, "%d", gettid());
32 read(s, tmp, 1);
/system/core/fastboot/
H A Dfastboot.c635 char *tmp; local
641 tmp = malloc(sz + 128);
642 if (tmp == 0) die("out of memory");
643 sprintf(tmp,"board=%sversion-baseband=0.66.04.19\n",(char*)data);
644 data = tmp;
645 sz = strlen(tmp);
/system/core/include/cutils/
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),
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);
/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/include/sysutils/
H A DList.h142 _Iter tmp(*this);
144 return tmp;
151 _Iter tmp(*this);
153 return tmp;
/system/core/init/
H A Dbuiltins.c365 char tmp[64]; local
399 sprintf(tmp, "/dev/block/mtdblock%d", n);
402 wait_for_file(tmp, COMMAND_RETRY_TIMEOUT);
403 if (mount(tmp, target, system, flags, options) < 0) {
419 sprintf(tmp, "/dev/block/loop%d", n);
420 loop = open(tmp, mode);
431 if (mount(tmp, target, system, flags, options) < 0) {
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...]

Completed in 74 milliseconds

123