Home
last modified time | relevance | path

Searched refs:hsize (Results 1 – 25 of 27) 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/bison/lib/
Dbitsetv-print.c33 bitset_bindex hsize = bitset_size (bset[0]); in bitsetv_matrix_dump() local
40 for (i = 0; i < hsize; ++i) in bitsetv_matrix_dump()
44 for (i = 0; i < hsize; ++i) in bitsetv_matrix_dump()
50 for (i = 0; i < hsize; ++i) in bitsetv_matrix_dump()
58 for (j = 0; j < hsize; ++j) in bitsetv_matrix_dump()
65 for (i = 0; i < hsize; ++i) in bitsetv_matrix_dump()
/external/elfutils/libelf/
Delf_compress_gnu.c100 size_t hsize = 4 + 8; /* GNU "ZLIB" + 8 byte size. */ in elf_compress_gnu() local
102 void *out_buf = __libelf_compress (scn, hsize, elfdata, in elf_compress_gnu()
151 size_t hsize = 4 + 8; /* GNU "ZLIB" + 8 byte size. */ in elf_compress_gnu() local
152 if (data->d_size < hsize || memcmp (data->d_buf, "ZLIB", 4) != 0) in elf_compress_gnu()
176 size_t size_in = data->d_size - hsize; in elf_compress_gnu()
177 void *buf_in = data->d_buf + hsize; in elf_compress_gnu()
Delf_compress.c72 __libelf_compress (Elf_Scn *scn, size_t hsize, int ei_data, in __libelf_compress() argument
92 && data->d_size <= hsize + 5 + 6) in __libelf_compress()
101 size_t block = (data->d_size / 8) + hsize; in __libelf_compress()
111 size_t used = hsize; in __libelf_compress()
287 size_t hsize = (elfclass == ELFCLASS32 in __libelf_decompress_elf() local
289 size_t size_in = data->d_size - hsize; in __libelf_decompress_elf()
290 void *buf_in = data->d_buf + hsize; in __libelf_decompress_elf()
390 size_t hsize = (elfclass == ELFCLASS32 in elf_compress() local
393 void *out_buf = __libelf_compress (scn, hsize, elfdata, in elf_compress()
DlibelfP.h598 extern void * __libelf_compress (Elf_Scn *scn, size_t hsize, int ei_data,
/external/opencv3/samples/cpp/
Dcamshiftdemo.cpp78 int hsize = 16; in main() local
133 calcHist(&roi, 1, 0, maskroi, hist, 1, &hsize, &phranges); in main()
140 int binW = histimg.cols / hsize; in main()
141 Mat buf(1, hsize, CV_8UC3); in main()
142 for( int i = 0; i < hsize; i++ ) in main()
143 buf.at<Vec3b>(i) = Vec3b(saturate_cast<uchar>(i*180./hsize), 255, 255); in main()
146 for( int i = 0; i < hsize; i++ ) in main()
/external/tcpdump/
Dprint-tipc.c163 u_int hsize; in print_payload() local
178 hsize = TIPC_HSIZE(w0); in print_payload()
185 if (hsize <= 6) { in print_payload()
190 hsize*4, msize, in print_payload()
203 hsize*4, msize, in print_payload()
228 u_int hsize; in print_internal() local
248 hsize = TIPC_HSIZE(w0); in print_internal()
258 hsize*4, msize, in print_internal()
296 u_int hsize; in print_link_conf() local
308 hsize = TIPC_HSIZE(w0); in print_link_conf()
[all …]
/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/opencv3/samples/tapi/
Dcamshift.cpp74 int hsize = 16; in main() local
135 … maskroi, hist, std::vector<int>(1, hsize), std::vector<float>(hranges, hranges + 2)); in main()
142 int binW = histimg.cols / hsize; in main()
143 cv::Mat buf (1, hsize, CV_8UC3); in main()
144 for (int i = 0; i < hsize; i++) in main()
145 … buf.at<cv::Vec3b>(i) = cv::Vec3b(cv::saturate_cast<uchar>(i*180./hsize), 255, 255); in main()
150 for (int i = 0; i < hsize; i++) in main()
/external/elfutils/tests/
Dget-lines.c50 size_t hsize; in main() local
54 while (dwarf_nextcu (dbg, cuoff, &cuoff, &hsize, &ao, &asz, &osz) == 0) in main()
57 hsize, (unsigned long long int) ao, in main()
62 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/bison/doc/
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
471 \def\key#1#2{\leavevmode\hbox to \hsize
472 {\vtop {\hsize=.625\hsize \rightskip=1em #1}
480 \def\key#1#2{\leavevmode\hbox to \hsize
481 {\vtop {\hsize=.67\hsize \rightskip=1em #1}
/external/mesa3d/src/mesa/main/
Deval.c273 GLint i, j, k, size, dsize, hsize; in _mesa_copy_map_points2f() local
286 hsize = (uorder > vorder ? uorder : vorder)*size; in _mesa_copy_map_points2f()
288 if(hsize>dsize) in _mesa_copy_map_points2f()
289 buffer = (GLfloat *) MALLOC((uorder*vorder*size+hsize)*sizeof(GLfloat)); in _mesa_copy_map_points2f()
316 GLint i, j, k, size, hsize, dsize; in _mesa_copy_map_points2d() local
329 hsize = (uorder > vorder ? uorder : vorder)*size; in _mesa_copy_map_points2d()
331 if(hsize>dsize) in _mesa_copy_map_points2d()
332 buffer = (GLfloat *) MALLOC((uorder*vorder*size+hsize)*sizeof(GLfloat)); in _mesa_copy_map_points2d()
/external/netperf/doc/
Dtexinfo.tex248 \setbox\headlinebox = \vbox{\let\hsize=\pagewidth \makeheadline}%
249 \setbox\footlinebox = \vbox{\let\hsize=\pagewidth \makefootline}%
265 \hsize = \outerhsize
278 \hfil % center the page within the outer (page) hsize.
322 \rlap{\kern\hsize\vbox to\z@{\kern1pt\box\margin \vss}}\fi
769 \rlap{\hskip\hsize \hskip\inmarginspacing \ignorespaces #2}%
828 \advance\hsize by -\leftskip
829 \advance\hsize by -\rightskip
1802 \vskip4pt \hrule height 4pt width \hsize \vskip4pt}%
1859 \vskip4pt \hrule height 2pt width \hsize
[all …]
/external/kernel-headers/original/uapi/drm/
Dexynos_drm.h127 __u32 hsize; member
/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 …]
/external/bison/build-aux/
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 by -5.8pt % Space to left+right.
3032 \advance\hsize by -2\dimen2 % Rules.
[all …]
/external/libmicrohttpd/doc/
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 by -5.8pt % Space to left+right.
3033 \advance\hsize by -2\dimen2 % Rules.
[all …]
/external/elfutils/src/
Dnm.c639 size_t hsize; in get_local_names() local
641 while (dwarf_nextcu (dbg, old_offset = offset, &offset, &hsize, NULL, NULL, in get_local_names()
645 Dwarf_Die *cudie = dwarf_offdie (dbg, old_offset + hsize, &cudie_mem); in get_local_names()
Dreadelf.c6382 size_t hsize; in print_decoded_line_section() local
6383 while (dwarf_nextcu (dbg, cuoffset = ncuoffset, &ncuoffset, &hsize, in print_decoded_line_section()
6387 if (dwarf_offdie (dbg, cuoffset + hsize, &cudie) == NULL) in print_decoded_line_section()
6659 size_t hsize; in print_debug_line_section() local
6660 while (dwarf_nextcu (dbg, cuoffset = ncuoffset, &ncuoffset, &hsize, in print_debug_line_section()
6664 if (dwarf_offdie (dbg, cuoffset + hsize, &cudie) == NULL) in print_debug_line_section()
7139 size_t hsize; in print_debug_macinfo_section() local
7142 while (dwarf_nextcu (dbg, offset = ncu, &ncu, &hsize, NULL, NULL, NULL) == 0) in print_debug_macinfo_section()
7145 if (dwarf_offdie (dbg, offset + hsize, &cudie) == NULL) in print_debug_macinfo_section()
7303 size_t hsize; in print_debug_macro_section() local
[all …]

12