/external/libcxx/test/libcxx/experimental/containers/sequences/dynarray/dynarray.overview/ |
D | begin_end.pass.cpp | 42 void dyn_test_const ( const dynarray<T> &dyn ) { in dyn_test_const() argument 43 const T *data = dyn.data (); in dyn_test_const() 44 assert ( data == &*dyn.begin ()); in dyn_test_const() 45 assert ( data == &*dyn.cbegin ()); in dyn_test_const() 47 assert ( data + dyn.size() - 1 == &*dyn.rbegin ()); in dyn_test_const() 48 assert ( data + dyn.size() - 1 == &*dyn.crbegin ()); in dyn_test_const() 50 assert ( dyn.size () == std::distance ( dyn.begin(), dyn.end())); in dyn_test_const() 51 assert ( dyn.size () == std::distance ( dyn.cbegin(), dyn.cend())); in dyn_test_const() 52 assert ( dyn.size () == std::distance ( dyn.rbegin(), dyn.rend())); in dyn_test_const() 53 assert ( dyn.size () == std::distance ( dyn.crbegin(), dyn.crend())); in dyn_test_const() [all …]
|
D | at.pass.cpp | 29 void dyn_at_fail ( dynarray<T> &dyn, size_t sz ) { in dyn_at_fail() argument 30 try { dyn.at (sz); } in dyn_at_fail() 36 void dyn_at_fail_const ( const dynarray<T> &dyn, size_t sz ) { in dyn_at_fail_const() argument 37 try { dyn.at (sz); } in dyn_at_fail_const() 44 void dyn_test_const ( const dynarray<T> &dyn, const std::initializer_list<T> &vals ) { in dyn_test_const() argument 45 const T *data = dyn.data (); in dyn_test_const() 47 for ( size_t i = 0; i < dyn.size(); ++i, ++it ) { in dyn_test_const() 48 assert ( data + i == &dyn.at(i)); in dyn_test_const() 49 assert ( *it == dyn.at(i)); in dyn_test_const() 52 dyn_at_fail_const ( dyn, dyn.size ()); in dyn_test_const() [all …]
|
D | front_back.pass.cpp | 32 void dyn_test_const ( const dynarray<T> &dyn ) { in dyn_test_const() argument 33 const T *data = dyn.data (); in dyn_test_const() 34 assert ( *data == dyn.front ()); in dyn_test_const() 35 assert ( *(data + dyn.size() - 1 ) == dyn.back ()); in dyn_test_const() 39 void dyn_test ( dynarray<T> &dyn ) { in dyn_test() argument 40 T *data = dyn.data (); in dyn_test() 41 assert ( *data == dyn.front ()); in dyn_test() 42 assert ( *(data + dyn.size() - 1 ) == dyn.back ()); in dyn_test()
|
D | indexing.pass.cpp | 29 void dyn_test_const ( const dynarray<T> &dyn, const std::initializer_list<T> &vals ) { in dyn_test_const() argument 30 const T *data = dyn.data (); in dyn_test_const() 32 for ( size_t i = 0; i < dyn.size(); ++i, ++it ) { in dyn_test_const() 33 assert ( data + i == &dyn[i]); in dyn_test_const() 34 assert ( *it == dyn[i]); in dyn_test_const() 39 void dyn_test ( dynarray<T> &dyn, const std::initializer_list<T> &vals ) { in dyn_test() argument 40 T *data = dyn.data (); in dyn_test() 42 for ( size_t i = 0; i < dyn.size(); ++i, ++it ) { in dyn_test() 43 assert ( data + i == &dyn[i]); in dyn_test() 44 assert ( *it == dyn[i]); in dyn_test()
|
D | capacity.pass.cpp | 30 void dyn_test ( const dynarray<T> &dyn, size_t sz ) { in dyn_test() argument 31 assert ( dyn.size () == sz ); in dyn_test() 32 assert ( dyn.max_size () == sz ); in dyn_test() 33 assert ( dyn.empty () == ( sz == 0 )); in dyn_test()
|
/external/libcxx/test/libcxx/experimental/containers/sequences/dynarray/dynarray.data/ |
D | default.pass.cpp | 30 void dyn_test_const ( const dynarray<T> &dyn ) { in dyn_test_const() argument 31 const T *data = dyn.data (); in dyn_test_const() 33 assert ( std::equal ( dyn.begin(), dyn.end(), data )); in dyn_test_const() 37 void dyn_test ( dynarray<T> &dyn ) { in dyn_test() argument 38 T *data = dyn.data (); in dyn_test() 40 assert ( std::equal ( dyn.begin(), dyn.end(), data )); in dyn_test()
|
/external/elfutils/backends/ |
D | alpha_symbol.c | 113 GElf_Dyn dyn; in alpha_check_special_section() local 114 if (unlikely (gelf_getdyn (data, i, &dyn) == NULL)) in alpha_check_special_section() 116 if (dyn.d_tag == DT_PLTGOT) in alpha_check_special_section() 117 pltgot = dyn.d_un.d_ptr; in alpha_check_special_section() 118 else if (dyn.d_tag == DT_ALPHA_PLTRO && dyn.d_un.d_val != 0) in alpha_check_special_section()
|
D | sparc_symbol.c | 99 GElf_Dyn dyn; in sparc_check_special_section() local 100 if (unlikely (gelf_getdyn (data, i, &dyn) == NULL)) in sparc_check_special_section() 102 if (dyn.d_tag == DT_PLTGOT) in sparc_check_special_section() 103 return dyn.d_un.d_ptr == shdr->sh_addr; in sparc_check_special_section()
|
D | ppc_symbol.c | 106 GElf_Dyn *dyn = gelf_getdyn (data, j, &dyn_mem); in find_dyn_got() local 107 if (dyn != NULL && dyn->d_tag == DT_PPC_GOT) in find_dyn_got() 109 *addr = dyn->d_un.d_ptr; in find_dyn_got()
|
/external/libunwind/src/dwarf/ |
D | Gfind_unwind_table.c | 39 Elf_W(Dyn) dyn; in get_dyn_gp() 42 while (dyn_offset + sizeof(dyn) < map_size) { in get_dyn_gp() 43 GET_DYN_FIELD(ei, dyn_offset, &dyn, d_tag); in get_dyn_gp() 44 if (dyn.d_tag == DT_NULL) { in get_dyn_gp() 47 if (dyn.d_tag == DT_PLTGOT) { in get_dyn_gp() 50 GET_DYN_FIELD(ei, dyn_offset, &dyn, d_un.d_ptr); in get_dyn_gp() 51 *gp = dyn.d_un.d_ptr; in get_dyn_gp() 54 dyn_offset += sizeof(dyn); in get_dyn_gp() 334 Elf_W(Dyn) *dyn = (Elf_W(Dyn) *)(pdyn->p_offset + (char *) ei->u.mapped.image); in dwarf_find_unwind_table() 335 while ((char*) dyn - (char*) ei->u.mapped.image + sizeof(Elf_W(Dyn)) < ei->u.mapped.size in dwarf_find_unwind_table() [all …]
|
/external/elfutils/libelf/ |
D | gelf_update_dyn.c | 62 Elf32_Dyn *dyn; in gelf_update_dyn() local 81 dyn = &((Elf32_Dyn *) data_scn->d.d_buf)[ndx]; in gelf_update_dyn() 83 dyn->d_tag = src->d_tag; in gelf_update_dyn() 84 dyn->d_un.d_val = src->d_un.d_val; in gelf_update_dyn()
|
/external/ltrace/sysdeps/linux-gnu/mips/ |
D | plt.c | 223 GElf_Dyn dyn; in arch_elf_init() local 224 if (gelf_getdyn(data, j, &dyn) == NULL) in arch_elf_init() 227 if(dyn.d_tag == DT_PLTGOT) { in arch_elf_init() 228 lte->arch.pltgot_addr = dyn.d_un.d_ptr; in arch_elf_init() 230 if(dyn.d_tag == DT_MIPS_LOCAL_GOTNO){ in arch_elf_init() 231 lte->arch.mips_local_gotno = dyn.d_un.d_val; in arch_elf_init() 233 if(dyn.d_tag == DT_MIPS_GOTSYM){ in arch_elf_init() 234 lte->arch.mips_gotsym = dyn.d_un.d_val; in arch_elf_init()
|
/external/libunwind/src/ia64/ |
D | Gfind_unwind_table.c | 50 Elf64_Dyn *dyn = (Elf64_Dyn *) (pdyn->p_offset + (char *) edi->ei.image); in find_gp() local 51 for (; dyn->d_tag != DT_NULL; ++dyn) in find_gp() 52 if (dyn->d_tag == DT_PLTGOT) in find_gp() 54 gp = (Elf64_Addr) dyn->d_un.d_ptr + load_base; in find_gp()
|
/external/elfutils/tests/ |
D | alldts.c | 158 Elf32_Dyn *dyn = malloc (ndtflags * sizeof (Elf32_Dyn)); in main() local 159 if (dyn == NULL) in main() 168 dyn[i].d_tag = dtflags[i]; in main() 169 dyn[i].d_un.d_val = 0xdeadbeef; in main() 173 data->d_buf = dyn; in main() 260 free (dyn); in main()
|
/external/mesa3d/src/mapi/mapi/ |
D | mapi.c | 49 struct mapi_stub *dyn = stub_find_dynamic(name, 1); in get_stub() local 50 if (dyn) { in get_stub() 51 stub_fix_dynamic(dyn, alias); in get_stub() 52 stub = dyn; in get_stub()
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | linux_dumper.cc | 170 for (const ElfW(Dyn)* dyn = dynamic; dyn < dynamic + dcount; ++dyn) { in ElfFileSoNameFromMappedFile() 171 if (dyn->d_tag == DT_SONAME) { in ElfFileSoNameFromMappedFile() 173 if (dyn->d_un.d_val >= dynstr_size) { in ElfFileSoNameFromMappedFile() 177 const char* str = dynstr + dyn->d_un.d_val; in ElfFileSoNameFromMappedFile() 178 const size_t maxsize = dynstr_size - dyn->d_un.d_val; in ElfFileSoNameFromMappedFile()
|
/external/valgrind/auxprogs/ |
D | update-demangler | 52 cp ../gcc-$old_gcc_revision/include/dyn-string.h . 57 cp ../gcc-$old_gcc_revision/libiberty/dyn-string.c . 78 cp ../gcc-$new_gcc_revision/include/dyn-string.h . 83 cp ../gcc-$new_gcc_revision/libiberty/dyn-string.c .
|
/external/libcxx/test/libcxx/experimental/containers/sequences/dynarray/dynarray.cons/ |
D | alloc.pass.cpp | 39 void check_allocator ( const dynarray<T> &dyn, const Allocator &alloc ) { in check_allocator() argument 40 for ( int i = 0; i < dyn.size (); ++i ) in check_allocator() 41 assert ( dyn[i].get_allocator() == alloc ); in check_allocator()
|
/external/llvm/test/Object/ |
D | relocation-executable.test | 3 RUN: llvm-readobj -dyn-relocations -expand-relocs \ 7 // CHECK-NEXT: Section (8) .rela.dyn { 39 RUN: llvm-readobj -dyn-relocations -expand-relocs \
|
D | corrupt.test | 48 RUN: not llvm-readobj -dyn-relocations \ 54 RUN: not llvm-readobj -dyn-relocations \ 61 RUN: not llvm-readobj -dyn-relocations \ 68 RUN: not llvm-readobj -dyn-relocations \
|
/external/elfutils/src/ |
D | elflint.c | 1091 GElf_Dyn *dyn = gelf_getdyn (d, cnt, &dyn_mem); in is_rel_dyn() local 1093 if (dyn == NULL) in is_rel_dyn() 1096 if (dyn->d_tag == DT_RELCOUNT) in is_rel_dyn() 1109 && dyn->d_un.d_val > (shdr->sh_size in is_rel_dyn() 1114 (int) dyn->d_un.d_val); in is_rel_dyn() 1135 if (inner >= dyn->d_un.d_val) in is_rel_dyn() 1139 (int) dyn->d_un.d_val); in is_rel_dyn() 1141 else if (inner < dyn->d_un.d_val) in is_rel_dyn() 1145 inner, (int) dyn->d_un.d_val); in is_rel_dyn() 1150 if (dyn->d_tag == DT_RELACOUNT) in is_rel_dyn() [all …]
|
D | findtextrel.c | 287 GElf_Dyn *dyn; in process_file() local 289 dyn = gelf_getdyn (data, cnt, &dynmem); in process_file() 290 if (dyn == NULL) in process_file() 297 if (dyn->d_tag == DT_TEXTREL in process_file() 298 || (dyn->d_tag == DT_FLAGS in process_file() 299 && (dyn->d_un.d_val & DF_TEXTREL) != 0)) in process_file()
|
/external/ltrace/sysdeps/linux-gnu/ |
D | proc.c | 303 Elf32_Dyn dyn; in fetch_dyn32() local 304 if (umovebytes(proc, *addr, &dyn, sizeof(dyn)) != sizeof(dyn)) in fetch_dyn32() 307 *addr += sizeof(dyn); in fetch_dyn32() 308 ret->d_tag = dyn.d_tag; in fetch_dyn32() 309 ret->d_un.d_val = dyn.d_un.d_val; in fetch_dyn32()
|
/external/curl/lib/ |
D | Makefile.Watcom | 152 OBJ_DYN = $(OBJ_BASE)/dyn 155 OBJ_DYN = $(OBJ_BASE)/dyn 158 OBJ_DYN = $(OBJ_BASE)\dyn 175 DIRS = $(OBJ_BASE) $(OBJ_BASE)/stat $(OBJ_BASE)/dyn
|
/external/ltrace/ |
D | ltrace-elf.c | 556 GElf_Dyn dyn; in elf_load_dynamic_entry() local 557 if (gelf_getdyn(data, j, &dyn) == NULL) in elf_load_dynamic_entry() 560 if(dyn.d_tag == tag) { in elf_load_dynamic_entry() 561 *valuep = dyn.d_un.d_ptr; in elf_load_dynamic_entry() 625 GElf_Dyn dyn; in ltelf_read_elf() local 627 if (gelf_getdyn(data, j, &dyn) == NULL) { in ltelf_read_elf() 633 if (dyn.d_tag == DT_JMPREL) in ltelf_read_elf() 634 relplt_addr = dyn.d_un.d_ptr; in ltelf_read_elf() 635 else if (dyn.d_tag == DT_PLTRELSZ) in ltelf_read_elf() 636 relplt_size = dyn.d_un.d_val; in ltelf_read_elf() [all …]
|