| /src/external/bsd/elftoolchain/dist/libdwarf/ |
| dwarf_str.c | 38 Dwarf_Section *ds; local 45 ds = _dwarf_find_section(dbg, ".debug_str"); 46 if (ds == NULL) { 51 if (offset > ds->ds_size) { 56 if (offset == ds->ds_size) { 61 *string = (char *) ds->ds_data + offset;
|
| libdwarf_str.c | 86 Dwarf_Section *ds; local 91 ds = _dwarf_find_section(dbg, ".debug_str"); 92 if (ds == NULL) { 98 dbg->dbg_strtab_cap = dbg->dbg_strtab_size = ds->ds_size; 101 if ((dbg->dbg_strtab = malloc((size_t) ds->ds_size)) == 106 memcpy(dbg->dbg_strtab, ds->ds_data, ds->ds_size); 108 dbg->dbg_strtab = (char *) ds->ds_data; 110 ds = _dwarf_find_section(dbg, ".debug_line_str"); 111 if (ds != NULL) 145 Dwarf_P_Section ds; local [all...] |
| libdwarf_loclist.c | 35 _dwarf_loclist_add_locdesc(Dwarf_Debug dbg, Dwarf_CU cu, Dwarf_Section *ds, 45 for (i = 0; *off < ds->ds_size; i++) { 46 start = dbg->read(ds->ds_data, off, cu->cu_pointer_size); 47 end = dbg->read(ds->ds_data, off, cu->cu_pointer_size); 68 len = dbg->read(ds->ds_data, off, 2); 69 if (*off + len > ds->ds_size) { 80 ds->ds_data + *off, len, cu->cu_pointer_size, 102 Dwarf_Section *ds; local 107 if ((ds = _dwarf_find_section(dbg, ".debug_loc")) == NULL) { 112 if (lloff >= ds->ds_size) [all...] |
| libdwarf_ranges.c | 35 _dwarf_ranges_parse(Dwarf_Debug dbg, Dwarf_CU cu, Dwarf_Section *ds, 42 while (off < ds->ds_size) { 44 start = dbg->read(ds->ds_data, &off, cu->cu_pointer_size); 45 end = dbg->read(ds->ds_data, &off, cu->cu_pointer_size); 109 Dwarf_Section *ds; local 114 if ((ds = _dwarf_find_section(dbg, ".debug_ranges")) == NULL) { 126 ret = _dwarf_ranges_parse(dbg, cu, ds, off, NULL, &cnt); 141 ret = _dwarf_ranges_parse(dbg, cu, ds, off, rl->rl_rgarray,
|
| dwarf_loclist.c | 182 Dwarf_Section *ds; local 220 ds = _dwarf_find_section(dbg, ".debug_loc"); 221 assert(ds != NULL); 222 *data = (uint8_t *) ds->ds_data + offset;
|
| libdwarf_arange.c | 63 Dwarf_Section *ds; local 69 if ((ds = _dwarf_find_section(dbg, ".debug_aranges")) == NULL) 79 while (offset < ds->ds_size) { 89 length = dbg->read(ds->ds_data, &offset, 4); 92 length = dbg->read(ds->ds_data, &offset, 8); 97 as->as_version = dbg->read(ds->ds_data, &offset, 2); 104 as->as_cu_offset = dbg->read(ds->ds_data, &offset, dwarf_size); 116 as->as_addrsz = dbg->read(ds->ds_data, &offset, 1); 117 as->as_segsz = dbg->read(ds->ds_data, &offset, 1); 123 while (offset < ds->ds_size) 170 Dwarf_P_Section ds; local [all...] |
| libdwarf_info.c | 146 Dwarf_Section *ds; local 158 ds = dbg->dbg_info_sec; 159 if (ds == NULL) 165 ds = dbg->dbg_types_sec; 166 if (ds == NULL) 170 while (offset < ds->ds_size) { 180 length = dbg->read(ds->ds_data, &offset, 4); 182 length = dbg->read(ds->ds_data, &offset, 8); 193 if (length > ds->ds_size - offset) { 209 cu->cu_version = dbg->read(ds->ds_data, &offset, 2) 319 Dwarf_P_Section ds; local [all...] |
| libdwarf_macinfo.c | 37 _dwarf_macinfo_parse(Dwarf_Debug dbg, Dwarf_Section *ds, uint64_t *off, 48 while (*off < ds->ds_size) { 53 type = dbg->read(ds->ds_data, off, 1); 66 lineno = _dwarf_read_uleb128(ds->ds_data, off); 67 p = (char *) ds->ds_data; 77 lineno = _dwarf_read_uleb128(ds->ds_data, off); 81 fileindex[++sp] = _dwarf_read_uleb128(ds->ds_data, off); 132 Dwarf_Section *ds; local 136 if ((ds = _dwarf_find_section(dbg, ".debug_macinfo")) == NULL) 140 while (offset < ds->ds_size) 191 Dwarf_P_Section ds; local [all...] |
| libdwarf_nametbl.c | 61 _dwarf_nametbl_init(Dwarf_Debug dbg, Dwarf_NameSec *namesec, Dwarf_Section *ds, 83 while (offset < ds->ds_size) { 95 length = dbg->read(ds->ds_data, &offset, 4); 98 length = dbg->read(ds->ds_data, &offset, 8); 104 nt->nt_version = dbg->read(ds->ds_data, &offset, 2); 105 nt->nt_cu_offset = dbg->read(ds->ds_data, &offset, dwarf_size); 106 nt->nt_cu_length = dbg->read(ds->ds_data, &offset, dwarf_size); 122 while (offset < ds->ds_size) { 123 cuoff = dbg->read(ds->ds_data, &offset, dwarf_size); 134 p = (char *) ds->ds_data 175 Dwarf_P_Section ds; local [all...] |
| libdwarf_sections.c | 40 Dwarf_P_Section ds; local 44 if ((ds = calloc(1, sizeof(struct _Dwarf_P_Section))) == NULL) { 49 if ((ds->ds_name = strdup(name)) == NULL) { 50 free(ds); 56 ds->ds_cap = _SECTION_INIT_SIZE; 57 if ((ds->ds_data = malloc((size_t) ds->ds_cap)) == NULL) { 58 free(ds->ds_name); 59 free(ds); 63 STAILQ_INSERT_TAIL(&dbg->dbgp_seclist, ds, ds_next) 75 Dwarf_P_Section ds, tds; local 215 Dwarf_Section *ds; local 253 Dwarf_P_Section ds; local 268 Dwarf_P_Section ds, tds; local [all...] |
| /src/lib/libc/compat/sys/ |
| compat___msgctl13.c | 56 struct msqid_ds ds; local 60 __msqid_ds13_to_native(ds13, &ds); 62 error = __msgctl50(msqid, cmd, &ds); 66 __native_to_msqid_ds13(&ds, ds13);
|
| compat___shmctl13.c | 56 struct shmid_ds ds; local 60 __shmid_ds13_to_native(ds13, &ds); 62 error = __shmctl50(shmid, cmd, &ds); 66 __native_to_shmid_ds13(&ds, ds13);
|
| compat___semctl13.c | 66 struct semid_ds ds; local 91 semun.buf = &ds; 93 __semid_ds13_to_native(ds13, &ds); 106 __native_to_semid_ds13(&ds, ds13);
|
| compat_semctl.c | 58 struct semid_ds ds; local 85 __semid_ds14_to_native(ds14, &ds); 86 semun.buf = &ds; 98 __native_to_semid_ds14(&ds, ds14);
|
| /src/external/lgpl3/gmp/dist/mpz/ |
| tdiv_q.c | 39 mp_size_t ns, ds, nl, dl; local 44 ds = SIZ (den); 46 dl = ABS (ds); 85 SIZ (quot) = (ns ^ ds) >= 0 ? ql : -ql;
|
| tdiv_qr.c | 40 mp_size_t ns, ds, nl, dl; local 45 ds = SIZ (den); 47 dl = ABS (ds); 103 SIZ (quot) = (ns ^ ds) >= 0 ? ql : -ql;
|
| /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/ |
| nouveau_nvkm_subdev_fb_gddr5.c | 43 int WL, CL, WR, at[2], dt, ds; local 69 ds = ram->next->bios.timing_20_2f_03; 89 ram->mr[1] |= (ds & 0x03) << 0;
|
| /src/external/gpl3/gdb/dist/gdb/nat/ |
| x86-linux.c | 91 /* Value of DS segment register: 104 unsigned long ds; local 115 /* Get DS register. */ 117 ds = ptrace (PTRACE_PEEKUSER, tid, 118 offsetof (struct user_regs_struct, ds), 0); 120 perror_with_name (_("Couldn't get DS register")); 122 bool is_x32 = ds == AMD64_LINUX_X32_DS;
|
| /src/external/lgpl3/mpfr/dist/src/ |
| get_f.c | 95 mp_size_t ds; local 98 ds = sx - sy; 103 out = mpn_rshift (xp + ds, MPFR_MANT(y), sy, sh); 104 MPFR_ASSERTN (ds > 0 || out == 0); 105 if (ds > 0) 106 xp[--ds] = out; 109 MPN_COPY (xp + ds, MPFR_MANT (y), sy); 110 if (ds > 0) 111 MPN_ZERO (xp, ds);
|
| /src/external/mpl/bind/dist/lib/dns/ |
| ds.c | 1 /* $NetBSD: ds.c,v 1.10 2025/01/26 16:25:22 christos Exp $ */ 26 #include <dns/ds.h> 124 dns_rdata_ds_t ds; local 127 result = dns_ds_fromkeyrdata(owner, key, digest_type, digest, &ds); 135 &ds, &b);
|
| /src/external/mpl/dhcp/bind/dist/lib/dns/ |
| ds.c | 1 /* $NetBSD: ds.c,v 1.1 2024/02/18 20:57:31 christos Exp $ */ 25 #include <dns/ds.h> 124 dns_rdata_ds_t ds; local 127 result = dns_ds_fromkeyrdata(owner, key, digest_type, digest, &ds); 135 &ds, &b);
|
| /src/sys/compat/netbsd32/ |
| netbsd32_compat_50_sysv.c | 149 struct msqid_ds ds; local 158 netbsd32_to_msqid_ds50(&ds32, &ds); 162 (cmd == IPC_SET || cmd == IPC_STAT) ? &ds : NULL); 165 netbsd32_from_msqid_ds50(&ds, &ds32); 183 struct shmid_ds ds; local 192 netbsd32_to_shmid_ds50(&ds32, &ds); 196 (cmd == IPC_SET || cmd == IPC_STAT) ? &ds : NULL); 199 netbsd32_from_shmid_ds50(&ds, &ds32);
|
| /src/sys/dev/dtv/ |
| dtv_device.c | 94 struct dtv_stream *ds = &sc->sc_stream; local 103 ds->ds_nbufs = 0; 104 ds->ds_buf = NULL; 105 SIMPLEQ_INIT(&ds->ds_ingress); 106 SIMPLEQ_INIT(&ds->ds_egress); 107 mutex_init(&ds->ds_egress_lock, MUTEX_DEFAULT, IPL_SCHED); 108 mutex_init(&ds->ds_ingress_lock, MUTEX_DEFAULT, IPL_SCHED); 109 cv_init(&ds->ds_sample_cv, "dtv"); 110 selinit(&ds->ds_sel); 111 dtv_scatter_buf_init(&ds->ds_data) 147 struct dtv_stream *ds = &sc->sc_stream; local [all...] |
| /src/external/mpl/bind/dist/lib/dns/rdata/generic/ |
| ta_32768.c | 82 dns_rdata_ds_t *ds = target; local 85 REQUIRE(ds != NULL); 90 DNS_RDATACOMMON_INIT(ds, rdata->type, rdata->rdclass); 97 dns_rdata_ta_t *ds = source; local 99 REQUIRE(ds != NULL); 100 REQUIRE(ds->common.rdtype == dns_rdatatype_ta); 102 if (ds->mctx == NULL) { 106 if (ds->digest != NULL) { 107 isc_mem_free(ds->mctx, ds->digest) [all...] |
| /src/external/mpl/dhcp/bind/dist/lib/dns/rdata/generic/ |
| ta_32768.c | 82 dns_rdata_ds_t *ds = target; local 85 REQUIRE(ds != NULL); 90 ds->common.rdclass = rdata->rdclass; 91 ds->common.rdtype = rdata->type; 92 ISC_LINK_INIT(&ds->common, link); 99 dns_rdata_ta_t *ds = source; local 101 REQUIRE(ds != NULL); 102 REQUIRE(ds->common.rdtype == dns_rdatatype_ta); 104 if (ds->mctx == NULL) { 108 if (ds->digest != NULL) [all...] |