HomeSort by relevance Sort by last modified time
    Searched full:total_size (Results 51 - 75 of 360) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/tpm2/
Marshal_ObjectChangeAuth.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size += TPM2B_PRIVATE_Marshal(&source->outPrivate, buffer, size);
28 // Compute actual parameter_size. Don't add result to total_size.
30 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
34 return total_size;
Marshal_PCR_Event.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size += TPML_DIGEST_VALUES_Marshal(&source->digests, buffer, size);
28 // Compute actual parameter_size. Don't add result to total_size.
30 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
34 return total_size;
Marshal_RSA_Decrypt.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size += TPM2B_PUBLIC_KEY_RSA_Marshal(&source->message, buffer, size);
28 // Compute actual parameter_size. Don't add result to total_size.
30 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
34 return total_size;
Marshal_RSA_Encrypt.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size += TPM2B_PUBLIC_KEY_RSA_Marshal(&source->outData, buffer, size);
28 // Compute actual parameter_size. Don't add result to total_size.
30 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
34 return total_size;
Marshal_Sign.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size += TPMT_SIGNATURE_Marshal(&source->signature, buffer, size);
28 // Compute actual parameter_size. Don't add result to total_size.
30 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
34 return total_size;
Marshal_VerifySignature.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size += TPMT_TK_VERIFIED_Marshal(&source->validation, buffer, size);
28 // Compute actual parameter_size. Don't add result to total_size.
30 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
34 return total_size;
  /external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/
transfer_test.py 35 total_size = 100
38 six.StringIO(), chunksize=chunksize, total_size=total_size)
48 total_size = 100
50 six.StringIO(), chunksize=10, total_size=total_size)
53 total_size - 1,
71 total_size = 100
73 total_size=total_size)
    [all...]
transfer.py 183 'auto_transfer', 'progress', 'total_size', 'url'))
187 total_size = kwds.pop('total_size', None)
191 self.__total_size = total_size
216 def FromStream(cls, stream, auto_transfer=True, total_size=None, **kwds):
218 return cls(stream, auto_transfer=auto_transfer, total_size=total_size,
237 setattr(download, '_Download__total_size', info['total_size'])
248 'total_size': self.total_size,
253 def total_size(self): member in class:Download
653 def total_size(self): member in class:Upload
657 def total_size(self, value): member in class:Upload
    [all...]
  /external/vboot_reference/host/lib21/
host_keyblock.c 52 kb.sig_offset = kb.key_offset + key->c.total_size;
53 kb.c.total_size = kb.sig_offset + sig_size;
56 buf = calloc(1, kb.c.total_size);
65 memcpy(buf + kb.key_offset, key, key->c.total_size);
host_signature.c 117 s.c.total_size = s.sig_offset + s.sig_size;
155 buf = calloc(1, s.c.total_size);
232 if (sig_offset + sig->c.total_size > c->total_size) {
237 memcpy(buf + sig_offset, sig, sig->c.total_size);
259 if (sig_next + sig->c.total_size > c->total_size) {
264 memcpy(buf + sig_next, sig, sig->c.total_size);
265 sig_next += sig->c.total_size;
  /external/curl/tests/unit/
unit1308.c 47 size_t total_size = 0; variable
70 rc = curl_formget(post, &total_size, print_httppost_callback);
74 fail_unless(total_size == 486, "curl_formget got wrong size back");
89 rc = curl_formget(post, &total_size, print_httppost_callback);
91 fail_unless(total_size == 847, "curl_formget got wrong size back");
  /external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/src/
dxbc_assemble.cpp 37 size_t total_size = sizeof(dxbc_container_header) + data_size; local
38 dxbc_container_header* header = (dxbc_container_header*)malloc(total_size);
45 header->total_size = bswap_le32(total_size);
58 return std::make_pair((void*)header, total_size);
  /external/chromium-trace/catapult/third_party/gsutil/gslib/
progress_callback.py 38 def __init__(self, total_size, callback_func,
45 total_size: Total bytes to process. If this is None, size is not known
57 self._total_size = total_size
70 # TODO: We check if >= total_size and truncate because JSON uploads count
143 total_size):
150 total_size: Total size of the ongoing operation.
156 total_size = self._override_total_size
158 if total_size:
159 total_size_string = '/%s' % MakeHumanReadable(total_size)
169 if total_size and last_byte_processed - self._start_byte == total_size
    [all...]
  /external/vboot_reference/firmware/lib21/
misc.c 49 buf = vb2_workbuf_alloc(wb, c.total_size);
54 rv = vb2ex_read_resource(ctx, index, offset, buf, c.total_size);
56 vb2_workbuf_free(wb, c.total_size);
106 rv = vb2_verify_keyblock(kb, kb->c.total_size, &root_key, &wb);
113 sd->vblock_preamble_offset = kb->c.total_size;
139 memmove(key_data, packed_key, packed_key->c.total_size);
144 sd->workbuf_data_key_size = packed_key->c.total_size;
187 rv = vb2_verify_fw_preamble(pre, pre->c.total_size, &data_key, &wb);
194 memmove(key_data, pre, pre->c.total_size);
232 sd->workbuf_preamble_size = pre->c.total_size;
    [all...]
  /external/vboot_reference/tests/
vb21_common_tests.c 62 c->total_size = sizeof(cbuf);
69 c2->total_size = c->total_size - desc_end;
82 c->total_size += 4;
88 c->fixed_size = c->total_size + 4;
94 c->desc_size = c->total_size - c->fixed_size + 4;
100 c->total_size--;
132 TEST_SUCC(vb2_verify_common_member(cbuf, &m, c->total_size - 8, 4),
134 TEST_EQ(m, c->total_size - 4, " new minimum");
142 TEST_EQ(vb2_verify_common_member(cbuf, &m, c->total_size - 8, -4)
    [all...]
vb21_host_sig_tests.c 89 TEST_EQ(size, sig->c.total_size, " size");
104 TEST_EQ(size, sig->c.total_size, " size");
125 c->total_size = bufsize;
142 c->total_size = bufsize;
149 sig2 = (struct vb2_signature *)(buf + c_sig_offs + sig->c.total_size);
153 c->total_size -= 4;
157 TEST_EQ(size, sig->c.total_size + sig2->c.total_size,
vb21_host_keyblock_tests.c 84 TEST_SUCC(vb2_verify_keyblock(kb, kb->c.total_size, pubk4096, &wb),
90 TEST_EQ(0, memcmp(pak, pakgood, pakgood->c.total_size), " data key");
98 TEST_SUCC(vb2_verify_keyblock(kb, kb->c.total_size, pubk8192, &wb),
100 TEST_SUCC(vb2_verify_keyblock(kb, kb->c.total_size, &pubkhash, &wb),
  /external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
bitmaptools.cc 97 total_size = size;
105 if (box.bottom * row_stride > total_size ||
118 total_size = (box.bottom - box.top) * row_stride;
129 row < data + total_size;
146 int total_size; member in struct:Bitmap
180 for (const unsigned char* row = bmp.data; row < bmp.data + bmp.total_size;
207 box.left = bmp.total_size;
208 box.top = bmp.total_size;
214 for (const unsigned char* row = bmp.data; row < bmp.data + bmp.total_size;
  /system/extras/puncture_fs/
puncture_fs.c 139 static bool puncture_fs (const char * const path, const u64 total_size,
141 u64 increments = (hole_size * total_size) / total_hole_size;
161 while (ending_max <= total_size) {
163 (int) (100.0 * starting_max / total_size));
204 u64 total_size = 0; local
247 total_size = get_free_space(path);
248 if (!total_size) {
251 if (total_size < total_hole_size || total_hole_size < hole_size) {
258 if (!puncture_fs(path, total_size, hole_size, total_hole_size)) {
  /external/libavc/encoder/
ih264e_api.c 2796 WORD32 total_size = 0; local
3008 WORD32 total_size = 0; local
3033 WORD32 total_size = 0; local
3116 WORD32 total_size = 0; local
3137 WORD32 total_size = 0; local
3160 WORD32 total_size = 0; local
3217 WORD32 total_size = 0; local
3281 WORD32 total_size = 0; local
3323 WORD32 total_size = 0; local
3362 WORD32 total_size = 0; local
3992 WORD32 total_size = 0; local
4020 WORD32 total_size = 0; local
4053 WORD32 total_size = 0; local
4177 WORD32 total_size = 0; local
4238 WORD32 total_size = 0, size_csbp, size_intra_modes, size_mv; local
4287 WORD32 total_size = 0; local
    [all...]
  /external/curl/docs/libcurl/
curl_formget.3 61 size_t total_size = 0;
62 if(curl_formget(post, &total_size, print_httppost_callback)) {
65 return total_size;
  /external/opencv3/3rdparty/libwebp/utils/
utils.c 26 const uint64_t total_size = nmemb * size; local
29 if (total_size != (size_t)total_size) return 0;
  /external/v8/src/parsing/
preparse-data.cc 63 int total_size = PreparseDataConstants::kHeaderSize + function_size; local
64 unsigned* data = NewArray<unsigned>(total_size);
73 total_size * sizeof(unsigned));
  /external/mesa3d/src/gallium/drivers/svga/
svga_screen_cache.c 46 unsigned bw, bh, bpb, total_size, i; local
60 total_size = 0;
67 total_size += img_size;
70 total_size *= key->numFaces;
72 return total_size;
135 assert(surf_size <= cache->total_size);
136 if (surf_size > cache->total_size)
137 cache->total_size = 0; /* should never happen, but be safe */
139 cache->total_size -= surf_size;
179 cache->total_size -= surface_size(&entry->key)
    [all...]
  /external/blktrace/btt/
mmap.c 37 static off_t cur_min, cur, cur_max, total_size; variable
87 len = min_len(DEF_LEN, total_size - cur_min);
117 total_size = buf.st_size;
149 return 100.0 * ((double)cur / (double)total_size);

Completed in 598 milliseconds

1 23 4 5 6 7 8 91011>>