/external/vboot_reference/tests/ |
D | vboot_common3_tests.c | 36 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 …]
|
D | vb20_common3_tests.c | 42 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 …]
|
D | vboot_common2_tests.c | 124 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/libaom/av1/common/ |
D | cdef.c | 111 int sstride, int vsize, int hsize) { in copy_sb8_16() argument 115 copy_rect8_16bit_to_16bit(dst, dstride, base, sstride, vsize, hsize); in copy_sb8_16() 118 copy_rect8_8bit_to_16bit(dst, dstride, base, sstride, vsize, hsize); in copy_sb8_16() 259 int hsize = nhb << mi_wide_l2[pli]; in av1_cdef_frame() local 268 cend = hsize; in av1_cdef_frame() 270 cend = hsize + CDEF_HBORDER; in av1_cdef_frame() 282 rend + CDEF_VBORDER, hsize + CDEF_HBORDER - cend, in av1_cdef_frame() 289 CDEF_VBORDER, hsize + 2 * CDEF_HBORDER, CDEF_VERY_LARGE); in av1_cdef_frame() 302 coffset, xd->plane[pli].dst.stride, CDEF_VBORDER, hsize); in av1_cdef_frame() 305 stride, CDEF_VBORDER, hsize); in av1_cdef_frame() [all …]
|
/external/elfutils/tests/ |
D | dwarf-die-addr-die.c | 86 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()
|
D | get-lines.c | 51 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()
|
D | show-abbrev.c | 45 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()
|
D | show-die-info.c | 333 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()
|
D | 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 934 New CU: off = 2521, hsize = 11, ab = 267, as = 4, os = 4
|
/external/elfutils/libelf/ |
D | elf_compress_gnu.c | 102 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()
|
D | elf_compress.c | 68 __libelf_compress (Elf_Scn *scn, size_t hsize, int ei_data, in __libelf_compress() argument 88 && data->d_size <= hsize + 5 + 6) in __libelf_compress() 97 size_t block = (data->d_size / 8) + hsize; in __libelf_compress() 107 size_t used = hsize; in __libelf_compress() 298 size_t hsize = (elfclass == ELFCLASS32 in __libelf_decompress_elf() local 300 size_t size_in = data->d_size - hsize; in __libelf_decompress_elf() 301 void *buf_in = data->d_buf + hsize; in __libelf_decompress_elf() 410 size_t hsize = (elfclass == ELFCLASS32 in elf_compress() local 413 void *out_buf = __libelf_compress (scn, hsize, elfdata, in elf_compress()
|
/external/tcpdump/ |
D | print-tipc.c | 163 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/ |
D | LZWEncoder.java | 58 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/ |
D | array.c | 707 int hsize) /* I - Hash size (>= 0) */ in cupsArrayNew2() argument 709 return (cupsArrayNew3(f, d, h, hsize, 0, 0)); in cupsArrayNew2() 737 int hsize, /* I - Hash size (>= 0) */ in cupsArrayNew3() argument 759 if (hsize > 0 && h) in cupsArrayNew3() 762 a->hashsize = hsize; in cupsArrayNew3() 763 a->hash = malloc((size_t)hsize * sizeof(int)); in cupsArrayNew3() 771 memset(a->hash, -1, (size_t)hsize * sizeof(int)); in cupsArrayNew3()
|
D | array.h | 71 cups_ahash_func_t h, int hsize) _CUPS_API_1_3; 73 cups_ahash_func_t h, int hsize,
|
/external/mesa3d/src/mesa/main/ |
D | eval.c | 217 GLint i, j, k, size, dsize, hsize; in _mesa_copy_map_points2f() local 230 hsize = (uorder > vorder ? uorder : vorder)*size; in _mesa_copy_map_points2f() 232 if(hsize>dsize) in _mesa_copy_map_points2f() 233 buffer = malloc((uorder*vorder*size+hsize)*sizeof(GLfloat)); in _mesa_copy_map_points2f() 260 GLint i, j, k, size, hsize, dsize; in _mesa_copy_map_points2d() local 273 hsize = (uorder > vorder ? uorder : vorder)*size; in _mesa_copy_map_points2d() 275 if(hsize>dsize) in _mesa_copy_map_points2d() 276 buffer = malloc((uorder*vorder*size+hsize)*sizeof(GLfloat)); in _mesa_copy_map_points2d()
|
/external/e2fsprogs/misc/ |
D | e2fuzz.c | 184 off_t hsize, count, off, offset, corrupt_bytes; in process_fs() local 262 hsize = fs->blocksize * ext2fs_blocks_count(fs->super); in process_fs() 272 off = rand_num(offset, hsize); in process_fs()
|
/external/jemalloc_new/test/unit/ |
D | stats.c | 320 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/ |
D | gen7_urb.c | 211 brw->urb.hsize == entry_size[MESA_SHADER_TESS_CTRL] && in gen7_upload_urb() 219 brw->urb.hsize = entry_size[MESA_SHADER_TESS_CTRL]; in gen7_upload_urb()
|
/external/f2fs-tools/fsck/ |
D | xattr.c | 68 struct f2fs_node *inode, __u32 hsize, void *txattr_addr) in write_all_xattrs() argument 82 if (hsize <= inline_size) in write_all_xattrs()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/IndVarSimplify/ |
D | iv-widen.ll | 107 define void @loop_2(i32 %size, i32 %nsteps, i32 %hsize, i32* %lined, i8 %tmp1) { 117 %add = add nsw i32 %mul, %hsize
|
/external/e2fsprogs/doc/ |
D | 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 2211 \vskip4pt \hrule height 2pt width \hsize 2229 \vskip4pt \hrule height 4pt width \hsize \vskip4pt [all …]
|
/external/e2fsprogs/lib/et/ |
D | 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 2211 \vskip4pt \hrule height 2pt width \hsize 2229 \vskip4pt \hrule height 4pt width \hsize \vskip4pt [all …]
|
/external/python/cpython2/Modules/_ctypes/libffi/ |
D | 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 3032 \hsize = \dimen0 \advance\hsize by -5.8pt % Space to left+right. 3033 \advance\hsize by -2\dimen2 % Rules. [all …]
|
/external/libffi/ |
D | 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 3032 \hsize = \dimen0 \advance\hsize by -5.8pt % Space to left+right. 3033 \advance\hsize by -2\dimen2 % Rules. [all …]
|