Searched defs:tmp (Results 1 - 25 of 78) sorted by relevance

1234

/system/core/fs_mgr/
H A Dfs_mgr_slotselect.cpp47 char *tmp; local
53 if (asprintf(&tmp, "%s%s", fstab->recs[n].blk_device, ab_suffix.c_str()) > 0) {
55 fstab->recs[n].blk_device = tmp;
/system/bt/service/common/android/bluetooth/
H A Dbluetooth_gatt_characteristic.cc54 int32_t tmp; local
55 status_t status = parcel->readInt32(&tmp);
57 handle_ = tmp;
64 status = parcel->readInt32(&tmp);
66 properties_ = tmp;
68 status = parcel->readInt32(&tmp);
70 permissions_ = tmp;
H A Dbluetooth_gatt_descriptor.cc47 int32_t tmp; local
48 status = parcel->readInt32(&tmp);
50 handle_ = tmp;
52 status = parcel->readInt32(&tmp);
54 permissions_ = tmp;
H A Dbluetooth_gatt_included_service.cc48 int32_t tmp; local
49 status = parcel->readInt32(&tmp);
51 handle_ = tmp;
H A Dbluetooth_gatt_service.cc56 int32_t tmp; local
57 status_t status = parcel->readInt32(&tmp);
59 handle_ = tmp;
H A Dscan_filter.cc45 UUID tmp; local
48 tmp = *service_uuid_;
49 uuid.reset(&tmp);
58 tmp = *service_uuid_mask_;
59 uuid.reset(&tmp);
/system/core/libutils/tests/
H A DBitSet_test.cpp42 BitSet32 tmp = b1 | b2; local
43 EXPECT_EQ(tmp.count(), 2u);
44 EXPECT_TRUE(tmp.hasBit(2) && tmp.hasBit(4));
58 BitSet32 tmp = b1 & b2; local
59 EXPECT_TRUE(tmp.isEmpty());
77 BitSet32 tmp = b1 & b2; local
78 EXPECT_EQ(tmp.count(), 1u);
79 EXPECT_TRUE(tmp.hasBit(6));
164 BitSet64 tmp local
180 BitSet64 tmp = b1 & b2; local
199 BitSet64 tmp = b1 & b2; local
[all...]
/system/sepolicy/
H A DAndroid.mk272 $(hide) $< -C -M -c $(POLICYVERS) -o $@.tmp $(PRIVATE_POL_CONF)
273 $(hide) grep -Fxv -f $(PRIVATE_REQD_MASK) $@.tmp > $@
441 $(hide) $< -C -M -c $(POLICYVERS) -o $@.tmp $(PRIVATE_POL_CONF)
442 $(hide) grep -Fxv -f $(PRIVATE_REQD_MASK) $@.tmp > $@
515 $(hide) $< -M true -G -c $(POLICYVERS) $(PRIVATE_CIL_FILES) -o $@.tmp -f /dev/null
516 $(hide) $(HOST_OUT_EXECUTABLES)/sepolicy-analyze $@.tmp permissive > $@.permissivedomains
524 $(hide) mv $@.tmp $@
565 $(hide) $(HOST_OUT_EXECUTABLES)/checkpolicy -M -c $(POLICYVERS) -o $@.tmp $<
566 $(hide) $(HOST_OUT_EXECUTABLES)/sepolicy-analyze $@.tmp permissive > $@.permissivedomains
574 $(hide) mv $@.tmp
[all...]
/system/core/libdiskconfig/
H A Ddiskutils.c40 ssize_t tmp; local
84 if ((tmp = write(dst_fd, buffer, nr_bytes)) < 0) {
91 if (!tmp)
93 nr_bytes -= tmp;
H A Ddiskconfig.c39 char tmp[64]; local
43 strncpy(tmp, str, sizeof(tmp));
44 tmp[sizeof(tmp)-1] = '\0';
45 len_str = strlen(tmp);
51 switch(tmp[len_str - 1]) {
58 tmp[len_str - 1] = '\0';
64 *plen = strtoull(tmp, NULL, 0);
99 const char *tmp; local
145 const char *tmp; local
[all...]
/system/keymaster/
H A Dasymmetric_key_factory.cpp51 const uint8_t* tmp = key_material.key_material; local
53 d2i_PrivateKey(evp_key_type(), NULL /* pkey */, &tmp, key_material.key_material_size);
H A Dauth_encrypted_key_blob.cpp62 const uint8_t* tmp = key_blob.key_material; local
63 const uint8_t** buf_ptr = &tmp;
64 const uint8_t* end = tmp + key_blob.key_material_size;
90 const uint8_t* tmp = key_blob.key_material; local
91 const uint8_t** buf_ptr = &tmp;
92 const uint8_t* end = tmp + key_blob.key_material_size;
H A Dhmac.cpp58 uint8_t tmp[SHA256_DIGEST_LENGTH]; local
59 uint8_t* digest = tmp;
67 memcpy(out_digest, tmp, digest_len);
H A Dintegrity_assured_key_blob.cpp67 uint8_t tmp[EVP_MAX_MD_SIZE]; local
71 !HMAC_Final(&ctx, tmp, &tmp_len))
75 memcpy(hmac, tmp, min(HMAC_SIZE, tmp_len));
/system/bt/embdrv/sbc/encoder/srce/
H A Dsbc_dct.c232 int32_t tmp[8]; local
236 SBC_IDCT_MULT((SBC_COS_PI_SUR_4 >> 1), temp, tmp[0]);
237 tmp[1] = x2 - tmp[0];
238 tmp[0] += x2;
240 SBC_IDCT_MULT((SBC_COS_3PI_SUR_8 >> 1), temp, tmp[3]);
241 SBC_IDCT_MULT((SBC_COS_PI_SUR_8 >> 1), temp, tmp[2]);
243 SBC_IDCT_MULT((SBC_COS_3PI_SUR_8 >> 1), temp, tmp[5]);
244 SBC_IDCT_MULT((SBC_COS_PI_SUR_8 >> 1), temp, tmp[4]);
245 tmp[
[all...]
/system/core/libcrypto_utils/
H A Dandroid_pubkey.c58 uint8_t tmp = buffer[i]; local
60 buffer[size - i - 1] = tmp;
/system/core/libpackagelistparser/
H A Dpackagelistparser.c97 unsigned long tmp; local
140 tmp = strtoul(cur, &endptr, 10);
150 if (tmp > UID_MAX) {
155 pkg_info->uid = (uid_t) tmp;
163 tmp = strtoul(cur, &endptr, 10);
170 if (!(tmp == 0 || tmp == 1)) {
175 pkg_info->debuggable = (bool) tmp;
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/include/linux/
H A Dbitops.h98 unsigned long tmp; local
101 if ((tmp = *(p++)))
109 tmp = (*p) & (~0UL >> (BITS_PER_LONG - size));
110 if (tmp == 0UL) /* Are any bits set? */
113 return result + __ffs(tmp);
124 unsigned long tmp; local
131 tmp = *(p++);
132 tmp &= (~0UL << offset);
135 if (tmp)
141 if ((tmp
[all...]
/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/netd/server/
H A Dndc.cpp167 char tmp[4]; local
169 strncpy(tmp, buffer + offset, 3);
170 tmp[3] = '\0';
171 code = atoi(tmp);
/system/core/debuggerd/handler/
H A Ddebuggerd_fallback.cpp138 int tmp = trace_output_fd.load(); local
140 close(tmp);
/system/core/libcutils/
H A Dproperties.cpp73 int tmp = errno; local
93 errno = tmp;
/system/core/libsysutils/src/
H A DFrameworkListener.cpp101 char tmp[CMD_BUF_SIZE]; local
103 char *q = tmp;
104 char *qlimit = tmp + sizeof(tmp) - 1;
110 memset(tmp, 0, sizeof(tmp));
156 int cmdNum = (int)strtol(tmp, &endptr, 0);
166 argv[argc++] = strdup(tmp);
168 memset(tmp, 0, sizeof(tmp));
[all...]
/system/core/toolbox/upstream-netbsd/bin/dd/
H A Dargs.c115 struct arg *ap, tmp; local
136 tmp.name = oper;
137 if (!(ap = bsearch(&tmp, args,
139 errx(EXIT_FAILURE, "unknown operand %s", tmp.name);
145 tmp.name);
363 struct conv *cp, tmp; local
366 tmp.name = strsep(&arg, ",");
367 if (!(cp = bsearch(&tmp, clist,
369 errx(EXIT_FAILURE, "unknown conversion %s", tmp.name);
374 "%s: illegal conversion combination", tmp
[all...]
/system/core/trusty/keymaster/
H A Dtrusty_keymaster_main.cpp207 const uint8_t* tmp = exported_key; local
208 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey(d2i_PUBKEY(NULL, &tmp, exported_size));
323 const uint8_t* tmp = exported_key; local
324 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey(d2i_PUBKEY(NULL, &tmp, exported_size));

Completed in 586 milliseconds

1234