HomeSort by relevance Sort by last modified time
    Searched refs:hsize (Results 1 - 25 of 36) 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/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...]
  /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/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/libcups/cups/
array.h 71 cups_ahash_func_t h, int hsize) _CUPS_API_1_3;
73 cups_ahash_func_t h, int hsize,
array.c 698 * 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));
  /external/e2fsprogs/misc/
e2fuzz.c 184 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/
xattr.c 68 struct f2fs_node *inode, __u32 hsize, void *txattr_addr)
82 if (hsize <= inline_size)
  /external/mesa3d/src/mesa/drivers/dri/i965/
gen7_urb.c 206 brw->urb.hsize == entry_size[MESA_SHADER_TESS_CTRL] &&
214 brw->urb.hsize = entry_size[MESA_SHADER_TESS_CTRL];
  /external/mesa3d/src/mesa/main/
eval.c 217 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));
  /bionic/libc/kernel/uapi/drm/
exynos_drm.h 89 __u32 hsize; member in struct:drm_exynos_sz
  /external/kernel-headers/original/uapi/drm/
exynos_drm.h 145 __u32 hsize; member in struct:drm_exynos_sz
  /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...]
  /prebuilts/tools/common/mkidentity/
mkidentity-prebuilt.jar 
  /external/libffi/
texinfo.tex 326 \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
    [all...]

Completed in 878 milliseconds

1 2