Searched refs:tmp (Results 51 - 75 of 133) sorted by relevance

123456

/system/netd/libnetdutils/include/netdutils/
H A DSlice.h97 const size_t tmp = std::min(cut, s.size()); local
98 return {{s.base(), s.base() + tmp}, {s.base() + tmp, s.limit()}};
/system/core/cpio/
H A Dmkbootfs.c244 char *tmp; local
250 tmp = (char*) malloc(s.st_size);
251 if(tmp == 0) die("cannot allocate %d bytes", s.st_size);
253 if(read(fd, tmp, s.st_size) != s.st_size) {
257 _eject(&s, out, olen, tmp, s.st_size);
259 free(tmp);
/system/core/libsparse/
H A Dsparse.c361 struct sparse_file *tmp; local
364 tmp = sparse_file_new(in_s->block_size, in_s->len);
365 if (!tmp) {
377 backed_block_list_move(s->backed_block_list, tmp->backed_block_list,
384 backed_block_list_move(tmp->backed_block_list, in_s->backed_block_list,
387 sparse_file_destroy(tmp);
/system/core/libcutils/
H A Dproperties.cpp73 int tmp = errno; local
93 errno = tmp;
/system/keymaster/km_openssl/
H A Dopenssl_utils.cpp120 uint8_t* tmp = key_blob->writable_data();
121 i2d_PrivateKey(pkey, &tmp);
H A Dwrapped_key.cpp92 const uint8_t* tmp = wrapped_key.key_material; local
94 d2i_KM_WRAPPED_KEY(nullptr, &tmp, wrapped_key.key_material_size));
/system/core/include/sysutils/
H A DList.h142 _Iter tmp(*this);
144 return tmp;
151 _Iter tmp(*this);
153 return tmp;
/system/core/include/utils/
H A DList.h143 _Iter tmp(*this);
145 return tmp;
152 _Iter tmp(*this);
154 return tmp;
H A DString16.h171 String16 tmp(*this);
172 tmp += other;
173 return tmp;
/system/core/libsysutils/include/sysutils/
H A DList.h142 _Iter tmp(*this);
144 return tmp;
151 _Iter tmp(*this);
153 return tmp;
/system/core/libutils/include/utils/
H A DList.h143 _Iter tmp(*this);
145 return tmp;
152 _Iter tmp(*this);
154 return tmp;
H A DString16.h171 String16 tmp(*this);
172 tmp += other;
173 return tmp;
/system/extras/cppreopts/
H A Dcppreopts.sh26 temp_dest_name=${dest_name}.tmp
/system/keymaster/include/keymaster/
H A DList.h141 _Iter tmp(*this);
143 return tmp;
150 _Iter tmp(*this);
152 return tmp;
H A Dandroid_keymaster_utils.h352 BlobType tmp = {accessBlobData(this), accessBlobSize(this)}; local
355 return tmp;
365 UniquePtr<uint8_t[]> tmp; local
366 if (!copy_size_and_data_from_buf(buf_ptr, end, &accessBlobSize(this), &tmp)) {
371 accessBlobData(this) = tmp.release();
/system/keymaster/contexts/
H A Dsoft_keymaster_device.cpp762 uint8_t* tmp = reinterpret_cast<uint8_t*>(malloc(key_blob->key_material_size)); local
763 if (!tmp)
765 memcpy(tmp, response.key_blob.key_material, response.key_blob.key_material_size);
766 key_blob->key_material = tmp;
844 uint8_t* tmp = reinterpret_cast<uint8_t*>(malloc(key_blob->key_material_size)); local
845 if (!tmp)
847 memcpy(tmp, response.key_blob.key_material, response.key_blob.key_material_size);
848 key_blob->key_material = tmp;
1041 uint8_t* tmp = reinterpret_cast<uint8_t*>(malloc(export_data->data_length)); local
1042 if (!tmp)
1147 uint8_t* tmp = reinterpret_cast<uint8_t*>(malloc(upgraded_key->key_material_size)); local
1341 uint8_t* tmp = reinterpret_cast<uint8_t*>(malloc(output->data_length)); local
1417 uint8_t* tmp = reinterpret_cast<uint8_t*>(malloc(output->data_length)); local
1575 uint8_t* tmp = reinterpret_cast<uint8_t*>(malloc(output->data_length)); local
[all...]
/system/iot/attestation/atap/libatap/
H A Datap_util.c275 int tmp = 0; local
309 tmp = cert_chain_len;
310 while (tmp) {
316 tmp -= (sizeof(uint32_t) + len);
318 if (tmp < 0) {
/system/tpm/trunks/
H A Dtpm_generated_test.cc74 std::string tmp; local
75 EXPECT_EQ(TPM_RC_INSUFFICIENT, Serialize_TPM2B_MAX_BUFFER(value, &tmp));
79 TPM2B_MAX_BUFFER tmp; local
83 ASSERT_GT(0x1000u, sizeof(tmp.buffer));
85 Parse_TPM2B_MAX_BUFFER(&malformed1, &tmp, nullptr));
89 Parse_TPM2B_MAX_BUFFER(&malformed2, &tmp, nullptr));
/system/update_engine/payload_generator/
H A Dinplace_generator_unittest.cc302 uint64_t tmp = kTempBlockStart; local
312 VectOfExt(tmp, 1),
318 VectOfExt(tmp, 1),
323 graph[1].out_edges[2] = EdgeWithWriteDep(VectOfExt(tmp, 1));
329 cuts[0].tmp_extents = VectOfExt(tmp, 1);
330 tmp++;
338 VectOfExt(tmp, 3),
344 VectOfExt(tmp, 2),
349 VectOfExt(tmp + 2, 1),
355 graph[5].out_edges[6] = EdgeWithWriteDep(VectOfExt(tmp,
[all...]
/system/core/libcrypto_utils/
H A Dandroid_pubkey.c58 uint8_t tmp = buffer[i]; local
60 buffer[size - i - 1] = tmp;
/system/extras/ioshark/
H A Dcollect-straces.sh79 adb shell "date +%s > /data/local/tmp/trace.begin ; strace -p $pid1,$pid2 -o /data/local/tmp/trace -q -qq -f -ff -y -ttt -e trace=mmap2,read,write,pread64,pwrite64,fsync,fdatasync,openat,close,lseek,_llseek"
85 adb shell 'cd /data/local/tmp ; tar cvf trace.tar trace.*'
86 adb pull /data/local/tmp/trace.tar
/system/extras/sound/
H A Dplaywav.c201 unsigned char tmp; local
265 while (read(0, &tmp, 1) == 1) {
266 if ((tmp == 13) || (tmp == 10)) goto done;
/system/bt/btif/src/
H A Dbtif_gatt_test.cc183 std::array<uint8_t, Uuid::kNumBytes128> tmp; local
184 tmp.fill(0xAE);
185 test_cb.gatt_if = GATT_Register(bluetooth::Uuid::From128BitBE(tmp),
/system/chre/external/kiss_fft/
H A Dkiss_fftr.c140 kiss_fft_cpx fk, fnkc, fek, fok, tmp; local
148 C_SUB (tmp, fk, fnkc);
149 C_MUL (fok, tmp, st->super_twiddles[k-1]);
/system/media/audio_utils/
H A Decho_reference.c353 struct timespec tmp; local
362 tmp.tv_sec = buffer->time_stamp.tv_sec - er->wr_render_time.tv_sec - 1;
363 tmp.tv_nsec = 1000000000 + buffer->time_stamp.tv_nsec - er->wr_render_time.tv_nsec;
365 tmp.tv_sec = buffer->time_stamp.tv_sec - er->wr_render_time.tv_sec;
366 tmp.tv_nsec = buffer->time_stamp.tv_nsec - er->wr_render_time.tv_nsec;
368 timeDiff = (((int64_t)tmp.tv_sec * 1000000000 + tmp.tv_nsec));

Completed in 492 milliseconds

123456