Home
last modified time | relevance | path

Searched refs:hsize (Results 1 – 25 of 48) sorted by relevance

12

/external/vboot_reference/tests/
Dvboot_common3_tests.c36 unsigned hsize; in KeyBlockVerifyTest() local
42 hsize = (unsigned) hdr->key_block_size; in KeyBlockVerifyTest()
43 h = (VbKeyBlockHeader *)malloc(hsize + 1024); in KeyBlockVerifyTest()
45 TEST_EQ(KeyBlockVerify(hdr, hsize, NULL, 1), 0, in KeyBlockVerifyTest()
47 TEST_EQ(KeyBlockVerify(hdr, hsize, public_key, 0), 0, in KeyBlockVerifyTest()
49 TEST_NEQ(KeyBlockVerify(hdr, hsize, NULL, 0), 0, in KeyBlockVerifyTest()
52 TEST_NEQ(KeyBlockVerify(hdr, hsize - 1, NULL, 1), 0, in KeyBlockVerifyTest()
54 TEST_EQ(KeyBlockVerify(hdr, hsize + 1, NULL, 1), 0, in KeyBlockVerifyTest()
57 Memcpy(h, hdr, hsize); in KeyBlockVerifyTest()
59 TEST_NEQ(KeyBlockVerify(h, hsize, NULL, 1), 0, in KeyBlockVerifyTest()
[all …]
Dvb20_common3_tests.c42 uint32_t hsize; in test_verify_keyblock() local
56 hsize = hdr->keyblock_size; in test_verify_keyblock()
57 h = (struct vb2_keyblock *)malloc(hsize + 2048); in test_verify_keyblock()
59 Memcpy(h, hdr, hsize); in test_verify_keyblock()
60 TEST_SUCC(vb2_verify_keyblock(h, hsize, &key, &wb), in test_verify_keyblock()
63 Memcpy(h, hdr, hsize); in test_verify_keyblock()
64 TEST_EQ(vb2_verify_keyblock(h, hsize - 1, &key, &wb), in test_verify_keyblock()
68 Memcpy(h, hdr, hsize); in test_verify_keyblock()
69 TEST_SUCC(vb2_verify_keyblock(h, hsize + 1, &key, &wb), in test_verify_keyblock()
72 Memcpy(h, hdr, hsize); in test_verify_keyblock()
[all …]
Dvboot_common2_tests.c124 unsigned hsize; in VerifyKernelPreambleTest() local
135 hsize = (unsigned) hdr->preamble_size; in VerifyKernelPreambleTest()
136 h = (VbKernelPreambleHeader *)malloc(hsize + 16384); in VerifyKernelPreambleTest()
138 TEST_EQ(VerifyKernelPreamble(hdr, hsize, rsa), 0, in VerifyKernelPreambleTest()
140 TEST_NEQ(VerifyKernelPreamble(hdr, hsize - 1, rsa), 0, in VerifyKernelPreambleTest()
144 TEST_EQ(VerifyKernelPreamble(hdr, hsize + 1, rsa), 0, in VerifyKernelPreambleTest()
148 Memcpy(h, hdr, hsize); in VerifyKernelPreambleTest()
151 TEST_NEQ(VerifyKernelPreamble(h, hsize, rsa), 0, in VerifyKernelPreambleTest()
154 Memcpy(h, hdr, hsize); in VerifyKernelPreambleTest()
157 TEST_NEQ(VerifyKernelPreamble(h, hsize, rsa), 0, in VerifyKernelPreambleTest()
[all …]
/external/libaom/av1/common/
Dcdef.c93 int hsize) { in av1_cdef_copy_sb8_16_lowbd() argument
95 cdef_copy_rect8_8bit_to_16bit(dst, dstride, base, sstride, hsize, vsize); in av1_cdef_copy_sb8_16_lowbd()
101 int hsize) { in av1_cdef_copy_sb8_16_highbd() argument
104 cdef_copy_rect8_16bit_to_16bit(dst, dstride, base, sstride, hsize, vsize); in av1_cdef_copy_sb8_16_highbd()
109 int src_hoffset, int sstride, int vsize, int hsize) { in av1_cdef_copy_sb8_16() argument
112 sstride, vsize, hsize); in av1_cdef_copy_sb8_16()
115 sstride, vsize, hsize); in av1_cdef_copy_sb8_16()
154 const int hsize = nhb << fb_info->mi_wide_l2; in cdef_prepare_fb() local
163 cend = hsize; in cdef_prepare_fb()
165 cend = hsize + CDEF_HBORDER; in cdef_prepare_fb()
[all …]
Dthread_common.h149 int src_hoffset, int sstride, int vsize, int hsize);
153 int hsize);
157 int hsize);
/external/tcpdump/
Dprint-tipc.c161 u_int hsize; in print_payload() local
175 hsize = TIPC_HSIZE(w0); in print_payload()
182 if (hsize <= 6) { in print_payload()
187 hsize*4, msize, in print_payload()
199 hsize*4, msize, in print_payload()
220 u_int hsize; in print_internal() local
239 hsize = TIPC_HSIZE(w0); in print_internal()
249 hsize*4, msize, in print_internal()
282 u_int hsize; in print_link_conf() local
293 hsize = TIPC_HSIZE(w0); in print_link_conf()
[all …]
/external/elfutils/tests/
Ddwarf-die-addr-die.c86 size_t hsize; in check_dbg() local
90 while (dwarf_nextcu (dbg, off, &off, &hsize, &abbrev, &addresssize, in check_dbg()
94 if (dwarf_offdie (dbg, old_off + hsize, &die) != NULL) in check_dbg()
109 while (dwarf_next_unit (dbg, off, &off, &hsize, &version, &abbrev, in check_dbg()
113 if (dwarf_offdie_types (dbg, old_off + hsize, &die) != NULL) in check_dbg()
123 old_off + hsize + typeoff); in check_dbg()
Dget-lines.c51 size_t hsize; in main() local
55 while (dwarf_nextcu (dbg, cuoff, &cuoff, &hsize, &ao, &asz, &osz) == 0) in main()
58 hsize, (unsigned long long int) ao, in main()
63 if (dwarf_offdie (dbg, old_cuoff + hsize, &die) == NULL) in main()
Dshow-abbrev.c45 size_t hsize; in main() local
46 while (dwarf_nextcu (dbg, cuoff, &cuoff, &hsize, NULL, NULL, NULL) == 0) in main()
50 if (dwarf_offdie (dbg, old_cuoff + hsize, &die) == NULL) in main()
Dshow-die-info.c333 size_t hsize; in main() local
337 while (dwarf_nextcu (dbg, off, &off, &hsize, &abbrev, &addresssize, in main()
342 (unsigned long long int) old_off, hsize, in main()
347 if (dwarf_offdie (dbg, old_off + hsize, &die) != NULL) in main()
Drun-show-die-info.sh25 New CU: off = 0, hsize = 11, ab = 0, as = 4, os = 4
49 New CU: off = 135, hsize = 11, ab = 54, as = 4, os = 4
73 New CU: off = 270, hsize = 11, ab = 108, as = 4, os = 4
123 New CU: off = 0, hsize = 11, ab = 0, as = 4, os = 4
910 New CU: off = 2418, hsize = 11, ab = 213, as = 4, os = 4
934 New CU: off = 2521, hsize = 11, ab = 267, as = 4, os = 4
/external/elfutils/libelf/
Delf_compress_gnu.c102 size_t hsize = 4 + 8; /* GNU "ZLIB" + 8 byte size. */ in elf_compress_gnu() local
104 void *out_buf = __libelf_compress (scn, hsize, elfdata, in elf_compress_gnu()
154 size_t hsize = 4 + 8; /* GNU "ZLIB" + 8 byte size. */ in elf_compress_gnu() local
155 if (data->d_size < hsize || memcmp (data->d_buf, "ZLIB", 4) != 0) in elf_compress_gnu()
179 size_t size_in = data->d_size - hsize; in elf_compress_gnu()
180 void *buf_in = data->d_buf + hsize; in elf_compress_gnu()
Delf_compress.c66 __libelf_compress (Elf_Scn *scn, size_t hsize, int ei_data, in __libelf_compress() argument
86 && data->d_size <= hsize + 5 + 6) in __libelf_compress()
95 size_t block = (data->d_size / 8) + hsize; in __libelf_compress()
105 size_t used = hsize; in __libelf_compress()
294 size_t hsize = (elfclass == ELFCLASS32 in __libelf_decompress_elf() local
296 size_t size_in = data->d_size - hsize; in __libelf_decompress_elf()
297 void *buf_in = data->d_buf + hsize; in __libelf_decompress_elf()
406 size_t hsize = (elfclass == ELFCLASS32 in elf_compress() local
409 void *out_buf = __libelf_compress (scn, hsize, elfdata, in elf_compress()
/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/
DLZWEncoder.java58 int hsize = HSIZE; // for dynamic table sizing field in LZWEncoder
132 cl_hash(hsize); in cl_block()
140 void cl_hash(int hsize) { in cl_hash() argument
141 for (int i = 0; i < hsize; ++i) in cl_hash()
171 for (fcode = hsize; fcode < 65536; fcode *= 2) in compress()
175 hsize_reg = hsize; in compress()
/external/libcups/cups/
Darray.c701 int hsize) /* I - Hash size (>= 0) */ in cupsArrayNew2() argument
703 return (cupsArrayNew3(f, d, h, hsize, 0, 0)); in cupsArrayNew2()
731 int hsize, /* I - Hash size (>= 0) */ in cupsArrayNew3() argument
753 if (hsize > 0 && h) in cupsArrayNew3()
756 a->hashsize = hsize; in cupsArrayNew3()
757 a->hash = malloc((size_t)hsize * sizeof(int)); in cupsArrayNew3()
765 memset(a->hash, -1, (size_t)hsize * sizeof(int)); in cupsArrayNew3()
Darray.h65 cups_ahash_func_t h, int hsize) _CUPS_API_1_3;
67 cups_ahash_func_t h, int hsize,
/external/igt-gpu-tools/lib/
Digt_edid.c63 static void std_timing_set(struct std_timing *st, int hsize, int vfreq, in std_timing_set() argument
66 assert(hsize >= 256 && hsize <= 2288); in std_timing_set()
67 st->hsize = hsize / 8 - 31; in std_timing_set()
/external/mesa3d/src/mesa/main/
Deval.c216 GLint i, j, k, size, dsize, hsize; in _mesa_copy_map_points2f() local
229 hsize = (uorder > vorder ? uorder : vorder)*size; in _mesa_copy_map_points2f()
231 if(hsize>dsize) in _mesa_copy_map_points2f()
232 buffer = malloc((uorder*vorder*size+hsize)*sizeof(GLfloat)); in _mesa_copy_map_points2f()
259 GLint i, j, k, size, hsize, dsize; in _mesa_copy_map_points2d() local
272 hsize = (uorder > vorder ? uorder : vorder)*size; in _mesa_copy_map_points2d()
274 if(hsize>dsize) in _mesa_copy_map_points2d()
275 buffer = malloc((uorder*vorder*size+hsize)*sizeof(GLfloat)); in _mesa_copy_map_points2d()
/external/e2fsprogs/misc/
De2fuzz.c186 ext2_loff_t hsize, count, off, offset, corrupt_bytes, i; in process_fs() local
263 hsize = fs->blocksize * ext2fs_blocks_count(fs->super); in process_fs()
273 off = rand_num(offset, hsize); in process_fs()
/external/jemalloc_new/test/unit/
Dstats.c320 size_t curlextents, sz, hsize; in TEST_BEGIN() local
324 assert_d_eq(mallctl("arenas.lextent.0.size", (void *)&hsize, &sz, NULL, in TEST_BEGIN()
327 p = mallocx(hsize, MALLOCX_ARENA(0)); in TEST_BEGIN()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen7_urb.c237 brw->urb.hsize == entry_size[MESA_SHADER_TESS_CTRL] && in gen7_upload_urb()
245 brw->urb.hsize = entry_size[MESA_SHADER_TESS_CTRL]; in gen7_upload_urb()
/external/f2fs-tools/fsck/
Dxattr.c93 struct f2fs_node *inode, __u32 hsize, void *txattr_addr) in write_all_xattrs() argument
107 if (hsize <= inline_size) in write_all_xattrs()
/external/libaom/av1/encoder/
Dpickcdef.h70 int vsize, int hsize);
/external/e2fsprogs/doc/
Dtexinfo.tex287 \setbox\headlinebox = \vbox{\let\hsize=\pagewidth \makeheadline}%
288 \setbox\footlinebox = \vbox{\let\hsize=\pagewidth \makefootline}%
308 \hsize = \outerhsize
321 \hfil % center the page within the outer (page) hsize.
365 \rlap{\kern\hsize\vbox to\z@{\kern1pt\box\margin \vss}}\fi
833 \rlap{\hskip\hsize \hskip\inmarginspacing \ignorespaces #2}%
919 \advance\hsize by -\leftskip
920 \advance\hsize by -\rightskip
2211 \vskip4pt \hrule height 2pt width \hsize
2229 \vskip4pt \hrule height 4pt width \hsize \vskip4pt
[all …]
/external/e2fsprogs/lib/et/
Dtexinfo.tex287 \setbox\headlinebox = \vbox{\let\hsize=\pagewidth \makeheadline}%
288 \setbox\footlinebox = \vbox{\let\hsize=\pagewidth \makefootline}%
308 \hsize = \outerhsize
321 \hfil % center the page within the outer (page) hsize.
365 \rlap{\kern\hsize\vbox to\z@{\kern1pt\box\margin \vss}}\fi
833 \rlap{\hskip\hsize \hskip\inmarginspacing \ignorespaces #2}%
919 \advance\hsize by -\leftskip
920 \advance\hsize by -\rightskip
2211 \vskip4pt \hrule height 2pt width \hsize
2229 \vskip4pt \hrule height 4pt width \hsize \vskip4pt
[all …]

12