Searched refs:hsize (Results 1 - 25 of 28) sorted by relevance

12

/external/vboot_reference/tests/
H A Dvboot_common3_tests.c36 unsigned hsize; local
42 hsize = (unsigned) hdr->key_block_size;
43 h = (VbKeyBlockHeader *)malloc(hsize + 1024);
45 TEST_EQ(KeyBlockVerify(hdr, hsize, NULL, 1), 0,
47 TEST_EQ(KeyBlockVerify(hdr, hsize, public_key, 0), 0,
49 TEST_NEQ(KeyBlockVerify(hdr, hsize, NULL, 0), 0,
52 TEST_NEQ(KeyBlockVerify(hdr, hsize - 1, NULL, 1), 0,
54 TEST_EQ(KeyBlockVerify(hdr, hsize + 1, NULL, 1), 0,
57 Memcpy(h, hdr, hsize);
59 TEST_NEQ(KeyBlockVerify(h, hsize, NUL
173 unsigned hsize; local
[all...]
H A Dvb20_common3_tests.c42 uint32_t hsize; local
56 hsize = hdr->keyblock_size;
57 h = (struct vb2_keyblock *)malloc(hsize + 2048);
59 Memcpy(h, hdr, hsize);
60 TEST_SUCC(vb2_verify_keyblock(h, hsize, &key, &wb),
63 Memcpy(h, hdr, hsize);
64 TEST_EQ(vb2_verify_keyblock(h, hsize - 1, &key, &wb),
68 Memcpy(h, hdr, hsize);
69 TEST_SUCC(vb2_verify_keyblock(h, hsize + 1, &key, &wb),
72 Memcpy(h, hdr, hsize);
182 uint32_t hsize; local
[all...]
H A Dvboot_common2_tests.c124 unsigned hsize; local
135 hsize = (unsigned) hdr->preamble_size;
136 h = (VbKernelPreambleHeader *)malloc(hsize + 16384);
138 TEST_EQ(VerifyKernelPreamble(hdr, hsize, rsa), 0,
140 TEST_NEQ(VerifyKernelPreamble(hdr, hsize - 1, rsa), 0,
144 TEST_EQ(VerifyKernelPreamble(hdr, hsize + 1, rsa), 0,
148 Memcpy(h, hdr, hsize);
151 TEST_NEQ(VerifyKernelPreamble(h, hsize, rsa), 0,
154 Memcpy(h, hdr, hsize);
157 TEST_NEQ(VerifyKernelPreamble(h, hsize, rs
[all...]
/external/bison/lib/
H A Dbitsetv-print.c33 bitset_bindex hsize = bitset_size (bset[0]); local
40 for (i = 0; i < hsize; ++i)
44 for (i = 0; i < hsize; ++i)
50 for (i = 0; i < hsize; ++i)
58 for (j = 0; j < hsize; ++j)
65 for (i = 0; i < hsize; ++i)
/external/elfutils/libelf/
H A Delf_compress_gnu.c100 size_t hsize = 4 + 8; /* GNU "ZLIB" + 8 byte size. */ local
102 void *out_buf = __libelf_compress (scn, hsize, elfdata,
151 size_t hsize = 4 + 8; /* GNU "ZLIB" + 8 byte size. */
152 if (data->d_size < hsize || memcmp (data->d_buf, "ZLIB", 4) != 0)
176 size_t size_in = data->d_size - hsize;
177 void *buf_in = data->d_buf + hsize;
H A Delf_compress.c65 alignment. Returns a buffer that has at least hsize bytes (for the
67 returns the new buffer size in new_size (hsize + compressed data
72 __libelf_compress (Elf_Scn *scn, size_t hsize, int ei_data, argument
92 && data->d_size <= hsize + 5 + 6)
99 hsize. Make the first chunk twice that size (25%), then increase
101 size_t block = (data->d_size / 8) + hsize;
111 size_t used = hsize;
287 size_t hsize = (elfclass == ELFCLASS32 local
289 size_t size_in = data->d_size - hsize;
290 void *buf_in = data->d_buf + hsize;
390 size_t hsize = (elfclass == ELFCLASS32 local
[all...]
/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/
H A DLZWEncoder.java58 int hsize = HSIZE; // for dynamic table sizing field in class:LZWEncoder
132 cl_hash(hsize);
140 void cl_hash(int hsize) { argument
141 for (int i = 0; i < hsize; ++i)
171 for (fcode = hsize; fcode < 65536; fcode *= 2)
175 hsize_reg = hsize;
/external/elfutils/tests/
H A Dshow-abbrev.c45 size_t hsize; local
46 while (dwarf_nextcu (dbg, cuoff, &cuoff, &hsize, NULL, NULL, NULL) == 0)
50 if (dwarf_offdie (dbg, old_cuoff + hsize, &die) == NULL)
H A Dget-lines.c50 size_t hsize; local
54 while (dwarf_nextcu (dbg, cuoff, &cuoff, &hsize, &ao, &asz, &osz) == 0)
57 hsize, (unsigned long long int) ao,
62 if (dwarf_offdie (dbg, old_cuoff + hsize, &die) == NULL)
H A Dshow-die-info.c333 size_t hsize; local
337 while (dwarf_nextcu (dbg, off, &off, &hsize, &abbrev, &addresssize,
340 printf ("New CU: off = %llu, hsize = %zu, ab = %llu, as = %" PRIu8
342 (unsigned long long int) old_off, hsize,
347 if (dwarf_offdie (dbg, old_off + hsize, &die) != NULL)
H A 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/tcpdump/
H A Dprint-tipc.c163 u_int hsize; local
178 hsize = TIPC_HSIZE(w0);
185 if (hsize <= 6) {
190 hsize*4, msize,
203 hsize*4, msize,
228 u_int hsize; local
248 hsize = TIPC_HSIZE(w0);
258 hsize*4, msize,
296 u_int hsize; local
308 hsize
[all...]
/external/libcups/cups/
H A Darray.h71 cups_ahash_func_t h, int hsize) _CUPS_API_1_3;
73 cups_ahash_func_t h, int hsize,
H A Darray.c698 * specified hash size ("hsize").
707 int hsize) /* I - Hash size (>= 0) */
709 return (cupsArrayNew3(f, d, h, hsize, 0, 0));
722 * specified hash size ("hsize").
737 int hsize, /* I - Hash size (>= 0) */
759 if (hsize > 0 && h)
762 a->hashsize = hsize;
763 a->hash = malloc((size_t)hsize * sizeof(int));
771 memset(a->hash, -1, (size_t)hsize * sizeof(int));
704 cupsArrayNew2(cups_array_func_t f, void *d, cups_ahash_func_t h, int hsize) argument
734 cupsArrayNew3(cups_array_func_t f, void *d, cups_ahash_func_t h, int hsize, cups_acopy_func_t cf, cups_afree_func_t ff) argument
/external/bison/doc/
H A Drefcard.tex145 \hsize 4in
163 \hsize 3.2in
191 \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}}
282 \def\key#1#2{\leavevmode\hbox to \hsize
283 {\vtop {\hsize=.67\hsize \rightskip=1em #1}
291 \def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize
472 \def\key#1#2{\leavevmode\hbox to \hsize
473 {\vtop {\hsize
[all...]
/external/e2fsprogs/misc/
H A De2fuzz.c184 off_t hsize, count, off, offset, corrupt_bytes; local
262 hsize = fs->blocksize * ext2fs_blocks_count(fs->super);
272 off = rand_num(offset, hsize);
/external/f2fs-tools/fsck/
H A Dxattr.c71 struct f2fs_node *inode, __u32 hsize, void *txattr_addr)
86 if (hsize <= inline_size)
70 write_all_xattrs(struct f2fs_sb_info *sbi, struct f2fs_node *inode, __u32 hsize, void *txattr_addr) argument
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dgen7_urb.c206 brw->urb.hsize == entry_size[MESA_SHADER_TESS_CTRL] &&
214 brw->urb.hsize = entry_size[MESA_SHADER_TESS_CTRL];
/external/mesa3d/src/mesa/main/
H A Deval.c217 GLint i, j, k, size, dsize, hsize; local
230 hsize = (uorder > vorder ? uorder : vorder)*size;
232 if(hsize>dsize)
233 buffer = malloc((uorder*vorder*size+hsize)*sizeof(GLfloat));
260 GLint i, j, k, size, hsize, dsize; local
273 hsize = (uorder > vorder ? uorder : vorder)*size;
275 if(hsize>dsize)
276 buffer = malloc((uorder*vorder*size+hsize)*sizeof(GLfloat));
/external/kernel-headers/original/uapi/drm/
H A Dexynos_drm.h144 __u32 hsize; member in struct:drm_exynos_sz
/external/bison/build-aux/
H A Dtexinfo.tex325 \setbox\headlinebox = \vbox{\let\hsize=\pagewidth \makeheadline}%
327 \setbox\footlinebox = \vbox{\let\hsize=\pagewidth \makefootline}%
347 \hsize = \outerhsize
360 \hfil % center the page within the outer (page) hsize.
404 \rlap{\kern\hsize\vbox to\z@{\kern1pt\box\margin \vss}}\fi
783 \rlap{\hskip\hsize \hskip\inmarginspacing \ignorespaces #2}%
907 \advance\hsize by -\leftskip
908 \advance\hsize by -\rightskip
3031 \hsize = \dimen0 \advance\hsize b
[all...]
/external/libmicrohttpd/doc/
H A Dtexinfo.tex326 \setbox\headlinebox = \vbox{\let\hsize=\pagewidth \makeheadline}%
328 \setbox\footlinebox = \vbox{\let\hsize=\pagewidth \makefootline}%
348 \hsize = \outerhsize
361 \hfil % center the page within the outer (page) hsize.
405 \rlap{\kern\hsize\vbox to\z@{\kern1pt\box\margin \vss}}\fi
784 \rlap{\hskip\hsize \hskip\inmarginspacing \ignorespaces #2}%
908 \advance\hsize by -\leftskip
909 \advance\hsize by -\rightskip
3032 \hsize = \dimen0 \advance\hsize b
[all...]
/external/python/cpython2/Modules/_ctypes/libffi/
H A Dtexinfo.tex326 \setbox\headlinebox = \vbox{\let\hsize=\pagewidth \makeheadline}%
328 \setbox\footlinebox = \vbox{\let\hsize=\pagewidth \makefootline}%
348 \hsize = \outerhsize
361 \hfil % center the page within the outer (page) hsize.
405 \rlap{\kern\hsize\vbox to\z@{\kern1pt\box\margin \vss}}\fi
784 \rlap{\hskip\hsize \hskip\inmarginspacing \ignorespaces #2}%
908 \advance\hsize by -\leftskip
909 \advance\hsize by -\rightskip
3032 \hsize = \dimen0 \advance\hsize b
[all...]
/external/elfutils/src/
H A Dnm.c639 size_t hsize; local
641 while (dwarf_nextcu (dbg, old_offset = offset, &offset, &hsize, NULL, NULL,
645 Dwarf_Die *cudie = dwarf_offdie (dbg, old_offset + hsize, &cudie_mem);
/external/r8/src/main/java/com/android/tools/r8/dex/
H A DDexFileReader.java767 int hsize = file.getSleb128();
768 int realHsize = Math.abs(hsize);
778 if (hsize <= 0) {

Completed in 695 milliseconds

12