Home
last modified time | relevance | path

Searched refs:kb (Results 1 – 25 of 314) sorted by relevance

12345678910>>...13

/external/vboot_reference/host/lib21/
Dhost_keyblock.c25 struct vb2_keyblock kb = { in vb2_keyblock_create() local
29 .c.fixed_size = sizeof(kb), in vb2_keyblock_create()
43 kb.c.desc_size = vb2_desc_size(desc); in vb2_keyblock_create()
44 kb.key_offset = kb.c.fixed_size + kb.c.desc_size; in vb2_keyblock_create()
52 kb.sig_offset = kb.key_offset + key->c.total_size; in vb2_keyblock_create()
53 kb.c.total_size = kb.sig_offset + sig_size; in vb2_keyblock_create()
56 buf = calloc(1, kb.c.total_size); in vb2_keyblock_create()
62 memcpy(buf, &kb, sizeof(kb)); in vb2_keyblock_create()
63 if (kb.c.desc_size) in vb2_keyblock_create()
64 strcpy((char *)buf + kb.c.fixed_size, desc); in vb2_keyblock_create()
[all …]
/external/vboot_reference/tests/
Dvb21_host_keyblock_tests.c26 struct vb2_keyblock *kb; in keyblock_tests() local
81 TEST_SUCC(vb2_keyblock_create(&kb, pubk2048, prik, 1, 0x1234, NULL), in keyblock_tests()
83 TEST_PTR_NEQ(kb, NULL, " kb_ptr"); in keyblock_tests()
84 TEST_SUCC(vb2_verify_keyblock(kb, kb->c.total_size, pubk4096, &wb), in keyblock_tests()
86 TEST_EQ(strcmp(vb2_common_desc(kb), pubk2048->desc), 0, " desc"); in keyblock_tests()
87 TEST_EQ(kb->flags, 0x1234, " flags"); in keyblock_tests()
89 pak = (struct vb2_packed_key *)((uint8_t *)kb + kb->key_offset); in keyblock_tests()
91 free(kb); in keyblock_tests()
96 TEST_SUCC(vb2_keyblock_create(&kb, pubk4096, prik, 2, 0, test_desc), in keyblock_tests()
98 TEST_SUCC(vb2_verify_keyblock(kb, kb->c.total_size, pubk8192, &wb), in keyblock_tests()
[all …]
Dvb20_misc_tests.c36 struct vb2_keyblock kb; member
61 struct vb2_keyblock *kb = &mock_vblock.k.kb; in reset_common_data() local
97 kb->keyblock_size = sizeof(mock_vblock.k); in reset_common_data()
98 kb->data_key.algorithm = 7; in reset_common_data()
99 kb->data_key.key_version = 2; in reset_common_data()
100 kb->data_key.key_offset = in reset_common_data()
102 vb2_offset_of(&mock_vblock.k, &kb->data_key); in reset_common_data()
103 kb->data_key.key_size = sizeof(mock_vblock.k.data_key_data); in reset_common_data()
175 struct vb2_keyblock *kb = &mock_vblock.k.kb; in verify_keyblock_tests() local
247 kb->keyblock_size = sizeof(mock_vblock) + 1; in verify_keyblock_tests()
[all …]
Dvb21_misc_tests.c38 struct vb2_keyblock kb; member
63 struct vb2_keyblock *kb = &mock_vblock.k.kb; in reset_common_data() local
100 kb->c.total_size = sizeof(mock_vblock.k); in reset_common_data()
101 kb->key_offset = vb2_offset_of(&mock_vblock.k.kb, in reset_common_data()
181 struct vb2_keyblock *kb = &mock_vblock.k.kb; in load_keyblock_tests() local
255 kb->c.total_size = sizeof(mock_vblock) + 1; in load_keyblock_tests()
/external/vboot_reference/firmware/lib20/
Dmisc.c27 struct vb2_keyblock *kb; in vb2_load_fw_keyblock() local
51 kb = vb2_workbuf_alloc(&wb, sizeof(*kb)); in vb2_load_fw_keyblock()
52 if (!kb) in vb2_load_fw_keyblock()
55 rv = vb2ex_read_resource(ctx, VB2_RES_FW_VBLOCK, 0, kb, sizeof(*kb)); in vb2_load_fw_keyblock()
59 block_size = kb->keyblock_size; in vb2_load_fw_keyblock()
67 kb = vb2_workbuf_realloc(&wb, sizeof(*kb), block_size); in vb2_load_fw_keyblock()
68 if (!kb) in vb2_load_fw_keyblock()
71 rv = vb2ex_read_resource(ctx, VB2_RES_FW_VBLOCK, 0, kb, block_size); in vb2_load_fw_keyblock()
76 rv = vb2_verify_keyblock(kb, block_size, &root_key, &wb); in vb2_load_fw_keyblock()
83 if (kb->data_key.key_version > 0xffff) in vb2_load_fw_keyblock()
[all …]
/external/vboot_reference/firmware/lib21/
Dmisc.c74 struct vb2_keyblock *kb; in vb2_load_fw_keyblock() local
101 (void **)&kb); in vb2_load_fw_keyblock()
106 rv = vb2_verify_keyblock(kb, kb->c.total_size, &root_key, &wb); in vb2_load_fw_keyblock()
113 sd->vblock_preamble_offset = kb->c.total_size; in vb2_load_fw_keyblock()
115 packed_key = (struct vb2_packed_key *)((uint8_t *)kb + kb->key_offset); in vb2_load_fw_keyblock()
/external/libxaac/decoder/
Dixheaacd_pred_vec_block.c132 WORD32 ksg, kb; in ixheaacd_pvc_pred_env_sf() local
163 for (kb = 0; kb < PVC_NB_LOW; kb++) { in ixheaacd_pvc_pred_env_sf()
165 temp = (FLOAT32)(WORD8)(*(pred_tab_1++)) * ptr_pvc_data->p_q_fac[kb]; in ixheaacd_pvc_pred_env_sf()
166 p_sbr_range_esg[ksg] += temp * p_smooth_esg[kb]; in ixheaacd_pvc_pred_env_sf()
/external/aac/libSBRdec/src/
Dpvc_dec.cpp602 int predCoeff_exp, kb; in pvcDecodeTimeSlot() local
610 for (kb = 0; kb < PVC_NBLOW; kb++) { in pvcDecodeTimeSlot()
612 (SHORT)(SCHAR)pTab1[kb * pPvcDynamicData->nbHigh + ksg] << 8); in pvcDecodeTimeSlot()
613 predCoeff_exp = pPvcDynamicData->pScalingCoef[kb] + in pvcDecodeTimeSlot()
615 accu += fMultDiv2(E[kb], predCoeff) << predCoeff_exp; in pvcDecodeTimeSlot()
/external/autotest/client/bin/
Ddisplay_chart.py62 kb = keyboard.Keyboard()
63 kb.press_key('f4')
64 kb.close()
/external/libchrome/base/android/proguard/
Denable_obfuscation.flags5 # As of August 11, 2016, obfuscation was found to save 660kb on our .dex size
6 # and 53kb memory/process (through shrinking method/string counts).
/external/google-fruit/extras/benchmark/
Dformat_bench_results.py240 kb = 1024
241 mb = kb * kb
242 units = [byte, kb, mb]
243 unit_name_by_unit = {byte: 'bytes', kb: 'KB', mb: 'MB'}
/external/ltp/testcases/kernel/controllers/io-throttle/
Diobw.c44 #define kb(x) ((x) >> 10) macro
261 kb(chunk_size), kb(data_size)); in main()
/external/iptables/extensions/
Dlibxt_hashlimit.t20 -m hashlimit --hashlimit-upto 4kb/s --hashlimit-burst 400kb --hashlimit-name mini5;=;OK
Dlibxt_hashlimit.man72 \-\-hashlimit-mode srcip,dstip,srcport,dstport \-\-hashlimit\-above 512kb/s
76 \-\-hashlimit-mode dstip \-\-hashlimit\-above 512kb/s \-\-hashlimit-burst 1mb
/external/icu/icu4c/source/data/unit/
Dzh_Hant.txt159 dnam{"kb"}
160 other{"{0} kb"}
785 dnam{"kb"}
786 other{"{0}kb"}
1406 dnam{"kb"}
1407 other{"{0} kb"}
Dyue.txt158 dnam{"kb"}
159 other{"{0} kb"}
737 other{"{0}kb"}
1229 dnam{"kb"}
1230 other{"{0} kb"}
Dyue_Hans.txt159 dnam{"kb"}
160 other{"{0} kb"}
738 other{"{0}kb"}
1230 dnam{"kb"}
1231 other{"{0} kb"}
Dlo.txt158 dnam{"kb"}
159 other{"{0} kb"}
980 dnam{"kb"}
981 other{"{0} kb"}
Dmk.txt899 dnam{"kb"}
900 one{"{0} kb"}
901 other{"{0} kb"}
1520 one{"{0} kb"}
1521 other{"{0} kb"}
Daf.txt188 dnam{"kb"}
189 one{"{0} kb"}
190 other{"{0} kb"}
1186 dnam{"kb"}
1187 one{"{0} kb"}
1188 other{"{0} kb"}
Dcs.txt1284 dnam{"kb"}
1285 few{"{0} kb"}
1286 many{"{0} kb"}
1287 one{"{0} kb"}
1288 other{"{0} kb"}
2312 dnam{"kb"}
2313 few{"{0} kb"}
2314 many{"{0} kb"}
2315 one{"{0} kb"}
2316 other{"{0} kb"}
/external/iproute2/
DREADME.iproute2+tc102 police rate 32kbit buffer 5kb/8 mpu 64 mtu 1514 index 1
111 police rate 10kbit buffer 5kb/8 mpu 64 mtu 1514 index 2
/external/e2fsprogs/misc/
De2undo.c213 const struct undo_key_info *ka, *kb; in key_compare() local
216 kb = b; in key_compare()
217 return ka->fsblk - kb->fsblk; in key_compare()
/external/tensorflow/tensorflow/core/kernels/
Dsparse_matmul_op.cc1567 for (int kb = 0; kb < num_k_blocks; ++kb) { in Compute() local
1569 std::min(KR, static_cast<int>(right_dim0 - KR * kb)); in Compute()
1571 right, kb * KR, right_num_rows, nb * NR, right_num_cols, thread_pool, in Compute()
1583 int begin = kb * KR / KL; in Compute()
1584 int end = std::min<int>((kb + 1) * KR / KL, in Compute()
1593 N * j_inner + nb * NR, kb == 0, transpose_output, output)); in Compute()
/external/wayland/
DTODO13 - we need a "no kb focus please" mechanism. Or should this be
26 - window move and resize functionality for kb and touch.

12345678910>>...13