Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 25 of 106) sorted by relevance

12345

/system/extras/sane_schedstat/
Dsane_schedstat.c56 struct cpu_stat tmp; variable
88 &cpu, &tmp.yld_count, in parse_cpu_v15()
89 &tmp.sched_switch, &tmp.sched_count, &tmp.sched_goidle, in parse_cpu_v15()
90 &tmp.ttwu_count, &tmp.ttwu_local, in parse_cpu_v15()
91 &tmp.cpu_time, &tmp.run_delay, &tmp.pcount) != 10) { in parse_cpu_v15()
96 cpu_delta[cpu].yld_count = tmp.yld_count - cpu_prev[cpu].yld_count; in parse_cpu_v15()
97 cpu_delta[cpu].sched_switch = tmp.sched_switch - cpu_prev[cpu].sched_switch; in parse_cpu_v15()
98 cpu_delta[cpu].sched_count = tmp.sched_count - cpu_prev[cpu].sched_count; in parse_cpu_v15()
99 cpu_delta[cpu].sched_goidle = tmp.sched_goidle - cpu_prev[cpu].sched_goidle; in parse_cpu_v15()
100 cpu_delta[cpu].ttwu_count = tmp.ttwu_count - cpu_prev[cpu].ttwu_count; in parse_cpu_v15()
[all …]
/system/sepolicy/
DAndroid.mk103 $(hide) $(HOST_OUT_EXECUTABLES)/checkpolicy -M -c $(POLICYVERS) -o $@.tmp $<
105 $(hide) $(HOST_OUT_EXECUTABLES)/sepolicy-analyze $@.tmp permissive > $@.permissivedomains
113 $(hide) mv $@.tmp $@
141 $(hide) $(HOST_OUT_EXECUTABLES)/checkpolicy -M -c $(POLICYVERS) -o $@.tmp $<
142 $(hide) $(HOST_OUT_EXECUTABLES)/sepolicy-analyze $@.tmp permissive > $@.permissivedomains
150 $(hide) mv $@.tmp $@
225 file_contexts.local.tmp := $(intermediates)/file_contexts.local.tmp
226 $(file_contexts.local.tmp): $(local_fcfiles_with_nl)
233 file_contexts.device.tmp := $(intermediates)/file_contexts.device.tmp
234 $(file_contexts.device.tmp): PRIVATE_ADDITIONAL_M4DEFS := $(LOCAL_ADDITIONAL_M4DEFS)
[all …]
/system/core/libmincrypt/
Dp256_ec.c291 static void felem_reduce_degree(felem out, u64 tmp[17]) { in felem_reduce_degree()
305 tmp2[0] = (limb)(tmp[0] & kBottom29Bits); in felem_reduce_degree()
311 tmp2[1] = ((limb) tmp[0]) >> 29; in felem_reduce_degree()
312 tmp2[1] |= (((limb)(tmp[0] >> 32)) << 3) & kBottom28Bits; in felem_reduce_degree()
313 tmp2[1] += ((limb) tmp[1]) & kBottom28Bits; in felem_reduce_degree()
318 tmp2[i] = ((limb)(tmp[i - 2] >> 32)) >> 25; in felem_reduce_degree()
319 tmp2[i] += ((limb)(tmp[i - 1])) >> 28; in felem_reduce_degree()
320 tmp2[i] += (((limb)(tmp[i - 1] >> 32)) << 4) & kBottom29Bits; in felem_reduce_degree()
321 tmp2[i] += ((limb) tmp[i]) & kBottom29Bits; in felem_reduce_degree()
329 tmp2[i] = ((limb)(tmp[i - 2] >> 32)) >> 25; in felem_reduce_degree()
[all …]
Dsha.c45 uint32_t tmp = *p++ << 24; in SHA1_Transform() local
46 tmp |= *p++ << 16; in SHA1_Transform()
47 tmp |= *p++ << 8; in SHA1_Transform()
48 tmp |= *p++; in SHA1_Transform()
49 W[t] = tmp; in SHA1_Transform()
63 uint32_t tmp = rol(5,A) + E + W[t]; in SHA1_Transform() local
66 tmp += (D^(B&(C^D))) + 0x5A827999; in SHA1_Transform()
68 tmp += (B^C^D) + 0x6ED9EBA1; in SHA1_Transform()
70 tmp += ((B&C)|(D&(B|C))) + 0x8F1BBCDC; in SHA1_Transform()
72 tmp += (B^C^D) + 0xCA62C1D6; in SHA1_Transform()
[all …]
Dsha256.c64 uint32_t tmp = *p++ << 24; in SHA256_Transform() local
65 tmp |= *p++ << 16; in SHA256_Transform()
66 tmp |= *p++ << 8; in SHA256_Transform()
67 tmp |= *p++; in SHA256_Transform()
68 W[t] = tmp; in SHA256_Transform()
162 uint8_t tmp = (uint8_t) (cnt >> ((7 - i) * 8)); in SHA256_final() local
163 SHA256_update(ctx, &tmp, 1); in SHA256_final()
167 uint32_t tmp = ctx->state[i]; in SHA256_final() local
168 *p++ = tmp >> 24; in SHA256_final()
169 *p++ = tmp >> 16; in SHA256_final()
[all …]
Drsa.c107 uint32_t tmp = in modpow() local
112 a[i] = tmp; in modpow()
137 uint32_t tmp = aaa[i]; in modpow() local
138 *inout++ = tmp >> 24; in modpow()
139 *inout++ = tmp >> 16; in modpow()
140 *inout++ = tmp >> 8; in modpow()
141 *inout++ = tmp >> 0; in modpow()
Dp256.c148 p256_digit tmp[P256_NDIGITS * 2 + 1] = { 0 }; in p256_modmul() local
154 if (i) tmp[i + P256_NDIGITS - 1] = top; in p256_modmul()
155 top = mulAdd(a, P256_DIGIT(b, i), 0, tmp + i); in p256_modmul()
159 tmp[i + P256_NDIGITS - 1] = top; in p256_modmul()
160 top = mulAdd(a, top_b, 0, tmp + i); in p256_modmul()
172 top = subTop(top_reducer, reducer, top, tmp + i); in p256_modmul()
177 top = subM(MOD, top, tmp + i, ~(top - 1)); in p256_modmul()
182 top = tmp[i + P256_NDIGITS - 1]; in p256_modmul()
187 addM(MOD, 0, tmp, subM(MOD, 0, tmp, -1)); in p256_modmul()
189 memcpy(c, tmp, P256_NBYTES); in p256_modmul()
/system/bt/embdrv/sbc/encoder/srce/
Dsbc_dct.c210 SINT32 tmp[8]; in SBC_FastIDCT4() local
214 SBC_IDCT_MULT((SBC_COS_PI_SUR_4>>1), temp , tmp[0]); in SBC_FastIDCT4()
215 tmp[1]=x2-tmp[0]; in SBC_FastIDCT4()
216 tmp[0]+=x2; in SBC_FastIDCT4()
218 SBC_IDCT_MULT((SBC_COS_3PI_SUR_8>>1), temp , tmp[3]); in SBC_FastIDCT4()
219 SBC_IDCT_MULT((SBC_COS_PI_SUR_8>>1), temp , tmp[2]); in SBC_FastIDCT4()
221 SBC_IDCT_MULT((SBC_COS_3PI_SUR_8>>1), temp , tmp[5]); in SBC_FastIDCT4()
222 SBC_IDCT_MULT((SBC_COS_PI_SUR_8>>1), temp , tmp[4]); in SBC_FastIDCT4()
223 tmp[6]=tmp[2]+tmp[5]; in SBC_FastIDCT4()
224 tmp[7]=tmp[3]-tmp[4]; in SBC_FastIDCT4()
[all …]
/system/core/libdiskconfig/
Ddiskconfig.c41 char tmp[64]; in parse_len() local
45 strncpy(tmp, str, sizeof(tmp)); in parse_len()
46 tmp[sizeof(tmp)-1] = '\0'; in parse_len()
47 len_str = strlen(tmp); in parse_len()
53 switch(tmp[len_str - 1]) { in parse_len()
60 tmp[len_str - 1] = '\0'; in parse_len()
66 *plen = strtoull(tmp, NULL, 0); in parse_len()
101 const char *tmp; in load_partitions() local
111 if (!(tmp = config_str(partnode, "type", NULL))) { in load_partitions()
117 if (!strcmp(tmp, "linux")) { in load_partitions()
[all …]
Ddiskutils.c40 ssize_t tmp; in write_raw_image() local
84 if ((tmp = write(dst_fd, buffer, nr_bytes)) < 0) { in write_raw_image()
91 if (!tmp) in write_raw_image()
93 nr_bytes -= tmp; in write_raw_image()
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/include/linux/
Dbitops.h98 unsigned long tmp; in find_first_bit() local
101 if ((tmp = *(p++))) in find_first_bit()
109 tmp = (*p) & (~0UL >> (BITS_PER_LONG - size)); in find_first_bit()
110 if (tmp == 0UL) /* Are any bits set? */ in find_first_bit()
113 return result + __ffs(tmp); in find_first_bit()
124 unsigned long tmp; in find_next_bit() local
131 tmp = *(p++); in find_next_bit()
132 tmp &= (~0UL << offset); in find_next_bit()
135 if (tmp) in find_next_bit()
141 if ((tmp = *(p++))) in find_next_bit()
[all …]
/system/core/libsysutils/src/
DFrameworkListener.cpp89 char tmp[CMD_BUF_SIZE]; in dispatchCommand() local
91 char *q = tmp; in dispatchCommand()
92 char *qlimit = tmp + sizeof(tmp) - 1; in dispatchCommand()
98 memset(tmp, 0, sizeof(tmp)); in dispatchCommand()
144 int cmdNum = (int)strtol(tmp, &endptr, 0); in dispatchCommand()
154 argv[argc++] = strdup(tmp); in dispatchCommand()
156 memset(tmp, 0, sizeof(tmp)); in dispatchCommand()
157 q = tmp; in dispatchCommand()
166 argv[argc++] = strdup(tmp); in dispatchCommand()
/system/core/libutils/tests/
DBitSet_test.cpp41 BitSet32 tmp = b1 | b2; in TEST_F() local
42 EXPECT_EQ(tmp.count(), 2u); in TEST_F()
43 EXPECT_TRUE(tmp.hasBit(2) && tmp.hasBit(4)); in TEST_F()
57 BitSet32 tmp = b1 & b2; in TEST_F() local
58 EXPECT_TRUE(tmp.isEmpty()); in TEST_F()
76 BitSet32 tmp = b1 & b2; in TEST_F() local
77 EXPECT_EQ(tmp.count(), 1u); in TEST_F()
78 EXPECT_TRUE(tmp.hasBit(6)); in TEST_F()
163 BitSet64 tmp = b1 | b2; in TEST_F() local
164 EXPECT_EQ(tmp.count(), 2u); in TEST_F()
[all …]
/system/core/init/
Dueventd.cpp107 char *tmp = 0; in set_device_permission() local
133 asprintf(&tmp, "/dev/mtd/mtd%d", n); in set_device_permission()
134 name = tmp; in set_device_permission()
150 free(tmp); in set_device_permission()
157 free(tmp); in set_device_permission()
165 free(tmp); in set_device_permission()
171 free(tmp); in set_device_permission()
Dproperty_service.cpp332 char *key, *value, *eol, *sol, *tmp, *fn; in load_properties() local
348 tmp = eol - 2; in load_properties()
349 while ((tmp > key) && isspace(*tmp)) *tmp-- = 0; in load_properties()
368 tmp = value - 2; in load_properties()
369 while ((tmp > key) && isspace(*tmp)) *tmp-- = 0; in load_properties()
/system/keymaster/
Docb.c180 __m128i tmp = _mm_srai_epi32(bl, 31); in double_block() local
181 tmp = _mm_and_si128(tmp, mask); in double_block()
182 tmp = _mm_shuffle_epi32(tmp, _MM_SHUFFLE(2, 1, 0, 3)); in double_block()
184 return _mm_xor_si128(bl, tmp); in double_block()
268 block tmp = vshrq_n_s8(b, 7); in double_block() local
269 tmp = vandq_s8(tmp, mask); in double_block()
270 tmp = vextq_s8(tmp, tmp, 1); /* Rotate high byte to end */ in double_block()
272 return veorq_s8(tmp, b); in double_block()
440 kp[idx] = _mm_castps_si128(_mm_shuffle_ps(_mm_castsi128_ps(tmp), _mm_castsi128_ps(x0), 68)); \
447 tmp = x3
[all …]
Dauth_encrypted_key_blob.cpp62 const uint8_t* tmp = key_blob.key_material; in DeserializeUnversionedBlob() local
63 const uint8_t** buf_ptr = &tmp; in DeserializeUnversionedBlob()
64 const uint8_t* end = tmp + key_blob.key_material_size; in DeserializeUnversionedBlob()
90 const uint8_t* tmp = key_blob.key_material; in DeserializeAuthEncryptedBlob() local
91 const uint8_t** buf_ptr = &tmp; in DeserializeAuthEncryptedBlob()
92 const uint8_t* end = tmp + key_blob.key_material_size; in DeserializeAuthEncryptedBlob()
Dhmac.cpp58 uint8_t tmp[SHA256_DIGEST_LENGTH]; in Sign() local
59 uint8_t* digest = tmp; in Sign()
67 memcpy(out_digest, tmp, digest_len); in Sign()
/system/core/libpackagelistparser/
Dpackagelistparser.c98 unsigned long tmp; in packagelist_parse() local
141 tmp = strtoul(cur, &endptr, 10); in packagelist_parse()
151 if (tmp > UID_MAX) { in packagelist_parse()
156 pkg_info->uid = (uid_t) tmp; in packagelist_parse()
164 tmp = strtoul(cur, &endptr, 10); in packagelist_parse()
171 if (!(tmp == 0 || tmp == 1)) { in packagelist_parse()
176 pkg_info->debuggable = (bool) tmp; in packagelist_parse()
/system/extras/tests/sdcard/
Dprofile_sdcard.sh40 …f_test --test=write --procnb=${p} --size=1000 --chunk-size=100 --iterations=50 >/tmp/tmp-sdcard.txt
41 local t=$(grep 'write_total' /tmp/tmp-sdcard.txt | tail -n 1 | cut -f 6 -d ' ')
/system/core/toolbox/upstream-netbsd/bin/dd/
Dargs.c115 struct arg *ap, tmp; in jcl() local
136 tmp.name = oper; in jcl()
137 if (!(ap = bsearch(&tmp, args, in jcl()
139 errx(EXIT_FAILURE, "unknown operand %s", tmp.name); in jcl()
145 tmp.name); in jcl()
363 struct conv *cp, tmp; in f_conv() local
366 tmp.name = strsep(&arg, ","); in f_conv()
367 if (!(cp = bsearch(&tmp, clist, in f_conv()
369 errx(EXIT_FAILURE, "unknown conversion %s", tmp.name); in f_conv()
374 "%s: illegal conversion combination", tmp.name); in f_conv()
/system/sepolicy/tools/
Dcheck_seapp.c245 list_element *tmp; in list_free() local
249 tmp = cursor; in list_free()
252 list->freefn(tmp); in list_free()
747 char *tmp; in rule_map_new() local
754 tmp = realloc(new_map->key, l); in rule_map_new()
755 if (!tmp) in rule_map_new()
759 memset(tmp, 0, l); in rule_map_new()
761 new_map->key = tmp; in rule_map_new()
810 file_info *tmp; in init() local
815 tmp = malloc(sizeof(*tmp)); in init()
[all …]
/system/media/camera/docs/
Dmetadata-parser-sanity-check28 tmp_out=$(mktemp -t tmp.XXXXXXXXXX)
29 tmp_tidy1=$(mktemp -t tmp.XXXXXXXXXX)
30 tmp_tidy2=$(mktemp -t tmp.XXXXXXXXXX)
/system/core/libpixelflinger/include/private/pixelflinger/
Dggl_fixed.h198 GGLfixed result,tmp,tmp1,tmp2; in gglMulx() local
204 : [res]"=&r"(result),[tmp]"=&r"(tmp) in gglMulx()
220 : [res]"=&r"(result),[tmp]"=&r"(tmp),[tmp1]"=&r"(tmp1) in gglMulx()
238 : [res]"=&r"(result),[tmp]"=&r"(tmp),[tmp1]"=&r"(tmp1),[tmp2]"=&r"(tmp2) in gglMulx()
260 : [res]"=&r"(result),[tmp]"=&r"(tmp),[tmp1]"=&r"(tmp1),[tmp2]"=&r"(tmp2) in gglMulx()
283 : [res]"=&r"(result),[tmp]"=&r"(tmp),[tmp1]"=&r"(tmp1),[tmp2]"=&r"(tmp2) in gglMulx()
528 GGLfixed result,tmp,tmp1,tmp2; in gglMulx() local
547 : [res]"=&r"(result),[tmp]"=&r"(tmp),[tmp1]"=&r"(tmp1) in gglMulx()
563 : [res]"=&r"(result),[tmp]"=&r"(tmp),[tmp1]"=&r"(tmp1),[tmp2]"=&r"(tmp2) in gglMulx()
585 : [res]"=&r"(result),[tmp]"=&r"(tmp),[tmp1]"=&r"(tmp1),[tmp2]"=&r"(tmp2) in gglMulx()
[all …]
/system/netd/server/
Dndc.c163 char tmp[4]; in do_monitor() local
165 strncpy(tmp, buffer + offset, 3); in do_monitor()
166 tmp[3] = '\0'; in do_monitor()
167 code = atoi(tmp); in do_monitor()

12345