/system/vold/ |
H A D | DirectVolume.cpp | 158 const char *tmp = evt->findParam("NPARTS"); local 159 if (tmp) { 160 mDiskNumParts = atoi(tmp); 193 const char *tmp = evt->findParam("PARTN"); local 195 if (tmp) { 196 part_num = atoi(tmp); 252 const char *tmp = evt->findParam("NPARTS"); local 253 if (tmp) { 254 mDiskNumParts = atoi(tmp);
|
H A D | Fat.cpp | 191 char tmp[32]; local 192 snprintf(tmp, sizeof(tmp), "%u", numSectors); 193 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/debuggerd/ |
H A D | crasher.c | 28 char tmp[1]; local 30 sprintf(tmp, "%d", gettid()); 34 read(s, tmp, 1);
|
/system/netd/ |
H A D | DnsProxyListener.cpp | 131 char tmp[IF_NAMESIZE + 1]; local 135 if(!_resolv_get_pids_associated_interface(mPid, tmp, sizeof(tmp))) 136 if(!_resolv_get_uids_associated_interface(mUid, tmp, sizeof(tmp))) 141 uint32_t rv = android_getaddrinfoforiface(mHost, mService, mHints, mIface ? mIface : tmp, 471 char tmp[IF_NAMESIZE + 1]; local 475 if(!_resolv_get_pids_associated_interface(mPid, tmp, sizeof(tmp))) 476 if(!_resolv_get_uids_associated_interface(mUid, tmp, sizeo [all...] |
H A D | ndc.c | 163 char tmp[4]; local 165 strncpy(tmp, buffer + offset, 3); 166 tmp[3] = '\0'; 167 code = atoi(tmp);
|
H A D | List.h | 142 _Iter tmp(*this); 144 return tmp; 151 _Iter tmp(*this); 153 return tmp;
|
/system/core/libnl_2/ |
H A D | attr.c | 52 uint64_t tmp; local 53 nla_memcpy(&tmp, nla, sizeof(tmp)); 54 return tmp;
|
/system/core/include/utils/ |
H A D | String8.h | 153 * "/tmp/foo/bar.c" --> "bar.c" 161 * "/tmp/foo/bar.c" --> "/tmp/foo" 162 * "/tmp" --> "" // ????? shouldn't this be "/" ???? XXX 171 * "/tmp/foo/bar.c" --> "tmp" (remain = "foo/bar.c") 172 * "/tmp" --> "tmp" (remain = "") 182 * "/tmp/foo/bar.c" --> ".c" 183 * "/tmp" [all...] |
H A D | List.h | 141 _Iter tmp(*this); 143 return tmp; 150 _Iter tmp(*this); 152 return tmp;
|
/system/core/libsparse/ |
H A D | sparse.c | 283 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/extras/ksmutils/ |
H A D | ksminfo.c | 267 struct ksm_page *tmp = realloc(kp->pages, local 269 if (tmp == NULL) { 275 memset(&tmp[k], 0, sizeof(tmp[k]) * GROWTH_FACTOR); 276 kp->pages = tmp; 303 struct vaddr *tmp = realloc(cur_page->vaddr, local 305 if (tmp == NULL) { 311 memset(&tmp[cur_page->vaddr_len], 0, sizeof(tmp[cur_page->vaddr_len]) * GROWTH_FACTOR); 312 cur_page->vaddr = tmp; [all...] |
/system/security/softkeymaster/ |
H A D | keymaster_openssl.cpp | 216 EVP_PKEY* tmp = pkey.get(); local 218 if (d2i_PrivateKey(type, &tmp, &p, privateLen) == NULL) { 477 unsigned char* tmp = reinterpret_cast<unsigned char*>(key.get()); local 478 if (i2d_PUBKEY(pkey.get(), &tmp) != len) { 510 unsigned char* tmp = reinterpret_cast<unsigned char*>(signedDataPtr.get()); local 511 if (DSA_sign(0, data, dataLength, tmp, &dsaSize, dsa.get()) <= 0) { 542 unsigned char* tmp = reinterpret_cast<unsigned char*>(signedDataPtr.get()); local 543 if (ECDSA_sign(0, data, dataLength, tmp, &ecdsaSize, eckey.get()) <= 0) { 577 unsigned char* tmp = reinterpret_cast<unsigned char*>(signedDataPtr.get()); local 578 if (RSA_private_encrypt(dataLength, data, tmp, rs 694 unsigned char* tmp = reinterpret_cast<unsigned char*>(dataPtr.get()); local [all...] |
/system/core/init/ |
H A D | property_service.c | 442 char *key, *value, *eol, *sol, *tmp; local 456 tmp = value - 2; 457 while((tmp > key) && isspace(*tmp)) *tmp-- = 0; 460 tmp = eol - 2; 461 while((tmp > value) && isspace(*tmp)) *tmp-- = 0;
|
/system/core/sh/ |
H A D | alias.c | 160 struct alias *ap, *tmp; local 170 tmp = ap; 172 ckfree(tmp);
|
/system/core/cpio/ |
H A D | mkbootfs.c | 237 char *tmp; local 243 tmp = (char*) malloc(s.st_size); 244 if(tmp == 0) die("cannot allocate %d bytes", s.st_size); 246 if(read(fd, tmp, s.st_size) != s.st_size) { 250 _eject(&s, out, olen, tmp, s.st_size); 252 free(tmp);
|
/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 | schedtop.c | 251 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 D | ggl_fixed.h | 198 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 D | commandline.c | 1071 char *tmp; local 1082 tmp = adb_query(buf); 1083 if(tmp) { 1085 printf("%s\n", tmp); 1093 char *tmp; local 1099 tmp = adb_query(buf); 1100 if(tmp) { 1101 printf("%s\n", tmp); 1109 char *tmp; local 1119 tmp 1435 char *tmp; local [all...] |
/system/core/include/sysutils/ |
H A D | List.h | 142 _Iter tmp(*this); 144 return tmp; 151 _Iter tmp(*this); 153 return tmp;
|
/system/core/libsysutils/src/ |
H A D | SocketClient.cpp | 90 uint32_t tmp = htonl(len); local 91 memcpy(buf + 4, &tmp, sizeof(uint32_t));
|
/system/core/libutils/ |
H A D | LinearTransform.cpp | 230 T tmp = a; local 232 b = tmp;
|
/system/core/rootdir/etc/ |
H A D | init.testmenu | 167 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
|