HomeSort by relevance Sort by last modified time
    Searched refs:hsize (Results 1 - 25 of 37) sorted by null

1 2

  /external/vboot_reference/tests/
vboot_common3_tests.c 36 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, NULL, 1), 0
173 unsigned hsize; local
    [all...]
vb20_common3_tests.c 42 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...]
vboot_common2_tests.c 124 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, rsa), 0
    [all...]
  /external/bison/lib/
bitsetv-print.c 33 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/
elf_compress_gnu.c 100 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;
elf_compress.c 65 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,
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/
LZWEncoder.java 33 static final int HSIZE = 5003; // 80% occupancy
54 int[] htab = new int[HSIZE];
56 int[] codetab = new int[HSIZE];
58 int hsize = HSIZE; // for dynamic table sizing field in class:LZWEncoder
132 cl_hash(hsize);
140 void cl_hash(int hsize) {
141 for (int i = 0; i < hsize; ++i)
171 for (fcode = hsize; fcode < 65536; fcode *= 2)
175 hsize_reg = hsize;
    [all...]
  /development/perftests/panorama/feature_stab/src/dbreg/
dbstabsmooth.h 70 * \param hsize width of the image being aligned
75 bool smoothMotionAdaptive(/*VP_BIMG *bimg,*/int hsize, int vsize, VP_MOTION *inmot, VP_MOTION *outmot);
126 * \param hsize width of the image
129 inline void setSize(int hsize, int vsize) { f_hsize = hsize; f_vsize = vsize; }
dbstabsmooth.cpp 108 bool db_StabilizationSmoother::smoothMotionAdaptive(/*VP_BIMG *bimg,*/int hsize, int vsize, VP_MOTION *inmot, VP_MOTION *outmot)
116 // int hsize = bimg->w;
119 double border_x = border_factor * hsize;
131 VP_PAR delta = vp_motion_cornerdiff(&testMotion, &identityMotion, 0, 0,(int)hsize, (int)vsize);
152 (void) vp_zoom_motion2d(&tmpMotion, &testMotion, 1, hsize, vsize, (double)f_zoom); // needs to return bool
155 VP_WARP_POINT_2D(hsize - 1, 0, testMotion, p2x, p2y);
156 VP_WARP_POINT_2D(hsize - 1, vsize - 1, testMotion, p3x, p3y);
159 if (!is_point_in_rect((double)p1x,(double)p1y,-border_x,-border_y,(double)(hsize+2.0*border_x),(double)(vsize+2.0*border_y))) {
162 if (!is_point_in_rect((double)p2x, (double)p2y,-border_x,-border_y,(double)(hsize+2.0*border_x),(double)(vsize+2.0*border_y))) {
165 if (!is_point_in_rect((double)p3x,(double)p3y,-border_x,-border_y,(double)(hsize+2.0*border_x),(double)(vsize+2.0*border_y)))
    [all...]
  /external/elfutils/tests/
show-abbrev.c 45 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)
get-lines.c 50 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)
show-die-info.c 333 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)
run-show-die-info.sh 25 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
    [all...]
  /packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
dbstabsmooth.h 70 * \param hsize width of the image being aligned
75 bool smoothMotionAdaptive(/*VP_BIMG *bimg,*/int hsize, int vsize, VP_MOTION *inmot, VP_MOTION *outmot);
126 * \param hsize width of the image
129 inline void setSize(int hsize, int vsize) { f_hsize = hsize; f_vsize = vsize; }
dbstabsmooth.cpp 108 bool db_StabilizationSmoother::smoothMotionAdaptive(/*VP_BIMG *bimg,*/int hsize, int vsize, VP_MOTION *inmot, VP_MOTION *outmot)
116 // int hsize = bimg->w;
119 double border_x = border_factor * hsize;
131 VP_PAR delta = vp_motion_cornerdiff(&testMotion, &identityMotion, 0, 0,(int)hsize, (int)vsize);
152 (void) vp_zoom_motion2d(&tmpMotion, &testMotion, 1, hsize, vsize, (double)f_zoom); // needs to return bool
155 VP_WARP_POINT_2D(hsize - 1, 0, testMotion, p2x, p2y);
156 VP_WARP_POINT_2D(hsize - 1, vsize - 1, testMotion, p3x, p3y);
159 if (!is_point_in_rect((double)p1x,(double)p1y,-border_x,-border_y,(double)(hsize+2.0*border_x),(double)(vsize+2.0*border_y))) {
162 if (!is_point_in_rect((double)p2x, (double)p2y,-border_x,-border_y,(double)(hsize+2.0*border_x),(double)(vsize+2.0*border_y))) {
165 if (!is_point_in_rect((double)p3x,(double)p3y,-border_x,-border_y,(double)(hsize+2.0*border_x),(double)(vsize+2.0*border_y)))
    [all...]
  /external/opencv3/samples/cpp/
camshiftdemo.cpp 78 int hsize = 16; local
133 calcHist(&roi, 1, 0, maskroi, hist, 1, &hsize, &phranges);
140 int binW = histimg.cols / hsize;
141 Mat buf(1, hsize, CV_8UC3);
142 for( int i = 0; i < hsize; i++ )
143 buf.at<Vec3b>(i) = Vec3b(saturate_cast<uchar>(i*180./hsize), 255, 255);
146 for( int i = 0; i < hsize; i++ )
  /external/opencv3/samples/tapi/
camshift.cpp 74 int hsize = 16; local
135 maskroi, hist, std::vector<int>(1, hsize), std::vector<float>(hranges, hranges + 2));
142 int binW = histimg.cols / hsize;
143 cv::Mat buf (1, hsize, CV_8UC3);
144 for (int i = 0; i < hsize; i++)
145 buf.at<cv::Vec3b>(i) = cv::Vec3b(cv::saturate_cast<uchar>(i*180./hsize), 255, 255);
150 for (int i = 0; i < hsize; i++)
  /external/tcpdump/
print-tipc.c 163 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 = TIPC_HSIZE(w0)
    [all...]
  /external/bison/doc/
refcard.tex 145 \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=.625\hsize \rightskip=1em #1
    [all...]
  /external/mesa3d/src/mesa/main/
eval.c 273 GLint i, j, k, size, dsize, hsize; local
286 hsize = (uorder > vorder ? uorder : vorder)*size;
288 if(hsize>dsize)
289 buffer = (GLfloat *) MALLOC((uorder*vorder*size+hsize)*sizeof(GLfloat));
316 GLint i, j, k, size, hsize, dsize; local
329 hsize = (uorder > vorder ? uorder : vorder)*size;
331 if(hsize>dsize)
332 buffer = (GLfloat *) MALLOC((uorder*vorder*size+hsize)*sizeof(GLfloat));
  /bionic/libc/kernel/uapi/drm/
exynos_drm.h 97 __u32 hsize; member in struct:drm_exynos_sz
  /external/kernel-headers/original/uapi/drm/
exynos_drm.h 127 __u32 hsize; member in struct:drm_exynos_sz
  /external/netperf/doc/
texinfo.tex 248 \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
    [all...]
  /external/e2fsprogs/doc/
texinfo.tex 287 \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
    [all...]
  /external/e2fsprogs/lib/et/
texinfo.tex 287 \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
    [all...]

Completed in 1275 milliseconds

1 2