/external/libnl/lib/ |
D | data.c | 52 data->d_size = size; in nl_data_alloc() 85 return nl_data_alloc(src->d_data, src->d_size); in nl_data_clone() 105 data->d_data = realloc(data->d_data, data->d_size + size); in nl_data_append() 110 memcpy(data->d_data + data->d_size, buf, size); in nl_data_append() 112 memset(data->d_data + data->d_size, 0, size); in nl_data_append() 114 data->d_size += size; in nl_data_append() 146 return data->d_size > 0 ? data->d_data : NULL; in nl_data_get() 156 return data->d_size; in nl_data_get_size()
|
/external/elfutils/0.153/libelf/ |
D | elf32_xlatetof.c | 82 if (src->d_size % recsize != 0) 89 if (src->d_size > dest->d_size) 118 memmove (dest->d_buf, src->d_buf, src->d_size); 134 (*fctp) (dest->d_buf, src->d_buf, src->d_size, 1); 140 dest->d_size = src->d_size;
|
D | elf32_xlatetom.c | 83 if (src->d_size % recsize != 0) 90 if (src->d_size > dest->d_size) 119 memmove (dest->d_buf, src->d_buf, src->d_size); 135 (*fctp) (dest->d_buf, src->d_buf, src->d_size, 0); 141 dest->d_size = src->d_size;
|
D | gelf_getnote.c | 86 if (unlikely (offset + sizeof (GElf_Nhdr) > data->d_size)) 99 if (unlikely (data->d_size - offset < namesz)) 105 if (unlikely (data->d_size - offset < descsz))
|
D | gelf_getsymshndx.c | 93 if (unlikely ((ndx + 1) * sizeof (Elf32_Word) > shndxdata_scn->d.d_size)) 113 if (unlikely ((ndx + 1) * sizeof (Elf32_Sym) > symdata->d_size)) 142 if (unlikely ((ndx + 1) * sizeof (GElf_Sym) > symdata->d_size))
|
D | elf32_updatefile.c | 280 void *p = malloc (scn->data_list.data.d.d_size); in __elfw2() 288 scn->data_list.data.d.d_size); in __elfw2() 340 assert (dl->data.d.d_size <= (shdr->sh_size in __elfw2() 374 dl->data.d.d_size, 1); in __elfw2() 376 last_position += dl->data.d.d_size; in __elfw2() 381 dl->data.d.d_size); in __elfw2() 386 last_position += dl->data.d.d_size; in __elfw2() 388 assert (scn_start + dl->data.d.d_off + dl->data.d.d_size in __elfw2() 727 if (dl->data.d.d_size > MAX_TMPBUF) in __elfw2() 729 buf = malloc (dl->data.d.d_size); in __elfw2() [all …]
|
D | gelf_update_symshndx.c | 102 if (unlikely ((ndx + 1) * sizeof (Elf32_Word) > shndxdata_scn->d.d_size)) 131 if (unlikely ((ndx + 1) * sizeof (Elf32_Sym) > symdata_scn->d.d_size)) 154 if (unlikely ((ndx + 1) * sizeof (Elf64_Sym) > symdata_scn->d.d_size))
|
D | gelf_getdyn.c | 96 if (unlikely ((ndx + 1) * sizeof (Elf32_Dyn) > data_scn->d.d_size)) 117 if (unlikely ((ndx + 1) * sizeof (GElf_Dyn) > data_scn->d.d_size))
|
D | gelf_getauxv.c | 95 if (unlikely ((ndx + 1) * sizeof (Elf32_auxv_t) > data_scn->d.d_size)) 115 if (unlikely ((ndx + 1) * sizeof (GElf_auxv_t) > data_scn->d.d_size))
|
D | gelf_getrel.c | 96 if (unlikely ((ndx + 1) * sizeof (Elf32_Rel) > data_scn->d.d_size)) 116 if (unlikely ((ndx + 1) * sizeof (Elf64_Rel) > data_scn->d.d_size))
|
D | gelf_getsym.c | 93 if (unlikely ((ndx + 1) * sizeof (Elf32_Sym) > data->d_size)) 122 if (unlikely ((ndx + 1) * sizeof (GElf_Sym) > data->d_size))
|
D | gelf_update_auxv.c | 103 if (unlikely ((ndx + 1) * sizeof (Elf32_auxv_t) > data_scn->d.d_size)) 117 if (unlikely ((ndx + 1) * sizeof (Elf64_auxv_t) > data_scn->d.d_size))
|
D | gelf_getrela.c | 96 if (unlikely ((ndx + 1) * sizeof (Elf32_Rela) > data_scn->d.d_size)) 117 if (unlikely ((ndx + 1) * sizeof (Elf64_Rela) > data_scn->d.d_size))
|
/external/chromium_org/content/browser/quota/ |
D | quota_temporary_storage_evictor_unittest.cc | 275 const int64 d_size = 292; in TEST_F() local 276 const int64 initial_total_size = a_size + b_size + c_size + d_size; in TEST_F() 279 quota_eviction_handler()->AddOrigin(GURL("http://www.d.com"), d_size); in TEST_F() 289 initial_total_size - d_size, in TEST_F() 290 initial_total_size - d_size + e_size - c_size)); in TEST_F() 294 EXPECT_EQ(initial_total_size - d_size + e_size - c_size - b_size, in TEST_F() 309 const int64 d_size = 292; in TEST_F() local 310 const int64 initial_total_size = a_size + b_size + c_size + d_size; in TEST_F() 312 quota_eviction_handler()->AddOrigin(GURL("http://www.d.com"), d_size); in TEST_F() 321 initial_total_size - d_size, initial_total_size - d_size)); in TEST_F() [all …]
|
/external/elfutils/0.153/libdw/ |
D | dwarf_begin_elf.c | 146 if (data != NULL && data->d_size != 0) in check_section() 164 if (data != NULL && data->d_size != 0) in check_section() 169 if (unlikely (data->d_size < 4 + 8) in check_section() 184 zdata->d_size = size; in check_section() 191 .avail_in = data->d_size - 4 - 8, in check_section() 193 .avail_out = zdata->d_size in check_section() 198 z.next_out = zdata->d_buf + (zdata->d_size - z.avail_out); in check_section() 280 for (cnt = 1; cnt * sizeof (Elf32_Word) <= data->d_size; ++cnt) in scngrp_read()
|
D | dwarf_getstring.c | 69 || offset >= dbg->sectiondata[IDX_debug_str]->d_size) 79 dbg->sectiondata[IDX_debug_str]->d_size - offset);
|
/external/elfutils/0.153/libdwfl/ |
D | elf-from-memory.c | 128 .d_size = sizeof ehdr, in elf_from_remote_memory() 140 xlatefrom.d_size = sizeof (Elf32_Ehdr); in elf_from_remote_memory() 156 xlatefrom.d_size = sizeof (Elf64_Ehdr); in elf_from_remote_memory() 176 xlatefrom.d_size = phnum * phentsize; in elf_from_remote_memory() 210 xlateto.d_size = sizeof phdrs; in elf_from_remote_memory() 315 xlatefrom.d_size = xlateto.d_size = sizeof ehdr.e32; in elf_from_remote_memory() 342 xlatefrom.d_size = xlateto.d_size = sizeof ehdr.e64; in elf_from_remote_memory()
|
D | link_map.c | 223 if (unlikely (data->d_size < vaddr)) in integrated_memory_callback() 228 size_t avail = data->d_size - vaddr; in integrated_memory_callback() 540 const size_t n = data->d_size / entsize; in consider_executable() 720 .d_size = phnum * phent, in dwfl_link_map_report() 723 if ((*memory_callback) (dwfl, phdr_segndx, &in.d_buf, &in.d_size, in dwfl_link_map_report() 736 .d_size = phnum * phent, in dwfl_link_map_report() 739 in.d_size = out.d_size; in dwfl_link_map_report() 768 (*memory_callback) (dwfl, -1, &in.d_buf, &in.d_size, 0, 0, in dwfl_link_map_report() 806 .d_size = dyn_filesz, in dwfl_link_map_report() 810 if ((*memory_callback) (dwfl, dyn_segndx, &in.d_buf, &in.d_size, in dwfl_link_map_report() [all …]
|
D | dwfl_segment_report_module.c | 198 .d_size = sizeof ehdr, in dwfl_segment_report_module() 204 xlatefrom.d_size = sizeof (Elf32_Ehdr); in dwfl_segment_report_module() 217 xlatefrom.d_size = sizeof (Elf64_Ehdr); in dwfl_segment_report_module() 241 xlatefrom.d_size = phnum * phentsize; in dwfl_segment_report_module() 246 start + phoff, xlatefrom.d_size)) in dwfl_segment_report_module() 258 xlateto.d_size = sizeof phdrs; in dwfl_segment_report_module() 308 xlatefrom.d_size = filesz; in dwfl_segment_report_module() 310 xlateto.d_size = filesz; in dwfl_segment_report_module() 509 xlatefrom.d_size = dyn_filesz; in dwfl_segment_report_module() 511 xlateto.d_size = sizeof dyn; in dwfl_segment_report_module()
|
D | dwfl_module_getdwarf.c | 265 .d_size = sizeof *crc, in find_debuglink() 271 .d_buf = rawdata->d_buf + rawdata->d_size - sizeof *crc, in find_debuglink() 272 .d_size = sizeof *crc, in find_debuglink() 352 .d_size = sizeof ehdr, in find_prelink_address_sync() 357 src.d_size = gelf_fsize (mod->main.elf, ELF_T_EHDR, 1, EV_CURRENT); in find_prelink_address_sync() 389 || unlikely (undodata->d_size != (src.d_size in find_prelink_address_sync() 420 src.d_buf += src.d_size; in find_prelink_address_sync() 422 src.d_size = phnum * phentsize; in find_prelink_address_sync() 432 dst.d_size = sizeof phdr; in find_prelink_address_sync() 459 src.d_buf += src.d_size; in find_prelink_address_sync() [all …]
|
/external/elfutils/0.153/src/ |
D | strip.c | 645 inner < shdr_info[cnt].data->d_size / sizeof (Elf32_Word); in handle_elf() 754 in < shdr_info[cnt].data->d_size / sizeof (Elf32_Word); in handle_elf() 806 inner < shdr_info[cnt].data->d_size / elsize; in handle_elf() 954 debugdata->d_buf = memcpy (xmalloc (debugdata->d_size), in handle_elf() 955 debugdata->d_buf, debugdata->d_size); in handle_elf() 1055 shdr_info[cnt].shdr.sh_size = shdr_info[cnt].data->d_size in handle_elf() 1057 shdr_info[cnt].data->d_buf = xcalloc (1, shdr_info[cnt].data->d_size); in handle_elf() 1066 debuglink_crc_data.d_size = 4; in handle_elf() 1110 shdr_info[cnt].shdr.sh_size = shstrtab_data->d_size; in handle_elf() 1137 inner < shdr_info[cnt].data->d_size / sizeof (Elf32_Word); in handle_elf() [all …]
|
D | elfcmp.c | 420 while (off1 < data1->d_size in main() 426 if (off2 >= data2->d_size) in main() 495 if (off2 < data2->d_size) in main() 509 || (data1->d_buf != NULL || data1->d_size == 0)); in main() 511 || (data2->d_buf != NULL || data1->d_size == 0)); in main() 513 if (unlikely (data1->d_size != data2->d_size in main() 516 data1->d_size) != 0))) in main() 520 && data1->d_size == data2->d_size in main() 842 if (data1->d_size != (2 + nbucket + nchain) * sizeof hash1[0] \ in hash_content_equivalent()
|
/external/opencv/cxcore/src/ |
D | cxmatmul.cpp | 131 CvSize a_size, CvSize d_size, \ 134 int i, j, k, n = a_size.width, m = d_size.width, drows = d_size.height; \ 175 b_buf = (arrtype*)cvStackAlloc(d_size.width*sizeof(b_buf[0]) ); \ 176 for( j = 0; j < d_size.width; j++ ) \ 186 for( j = 0; j <= d_size.width - 2; j += 2, c_data += 2*c_step1 )\ 202 for( ; j < d_size.width; j++, c_data += c_step1 ) \ 229 for( j = 0; j < d_size.width; j++, b_data += b_step, \ 253 else if( d_size.width*sizeof(d_data[0]) <= 1600 ) \ 376 CvSize a_size, CvSize d_size, int flags ) \ 378 int i, j, k, n = a_size.width, m = d_size.width; \ [all …]
|
/external/elfutils/0.153/libebl/ |
D | eblobjnote.c | 101 .d_buf = (void *) desc, .d_size = addrs_size 107 .d_buf = &addrs, .d_size = addrs_size 186 .d_size = descsz, 194 .d_size = descsz,
|
/external/chromium_org/tools/relocation_packer/src/ |
D | elf_file.cc | 77 CHECK(size == data->d_size); in RewriteSectionData() 134 VLOG(1) << " d_size = " << data->d_size; in VerboseLogSectionData() 764 dynamic_base + data->d_size / sizeof(dynamics[0])); in AdjustDynamicSectionForHole() 823 CHECK(data->d_off == 0 && data->d_size == section_header->sh_size); in ResizeSection() 827 CHECK(data->d_size && data->d_buf); in ResizeSection() 830 const ssize_t hole_size = new_size - data->d_size; in ResizeSection() 832 VLOG_IF(1, (hole_size > 0)) << "expand section size = " << data->d_size; in ResizeSection() 833 VLOG_IF(1, (hole_size < 0)) << "shrink section size = " << data->d_size; in ResizeSection() 836 data->d_size += hole_size; in ResizeSection() 953 relocations_base + data->d_size / sizeof(relocations[0])); in PackRelocations() [all …]
|