Home
last modified time | relevance | path

Searched refs:str_ptr (Results 1 – 13 of 13) sorted by relevance

/freebsd-13.1/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_strtab.c59 sp->str_ptr = ptr; in dt_strtab_grow()
60 sp->str_bufs[sp->str_nbufs - 1] = sp->str_ptr; in dt_strtab_grow()
84 sp->str_ptr = NULL; in dt_strtab_create()
93 *sp->str_ptr++ = '\0'; in dt_strtab_create()
177 char *old_p = sp->str_ptr; in dt_strtab_copyin()
184 if (sp->str_ptr == sp->str_bufs[b] + sp->str_bufsz) { in dt_strtab_copyin()
192 bcopy(str, sp->str_ptr, n); in dt_strtab_copyin()
194 sp->str_ptr += n; in dt_strtab_copyin()
205 sp->str_ptr = old_p; in dt_strtab_copyin()
256 hp->str_data = sp->str_ptr; in dt_strtab_insert()
[all …]
H A Ddt_strtab.h50 char *str_ptr; /* pointer to current buffer location */ member
/freebsd-13.1/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dstrtab.c46 sp->str_ptr = xmalloc(sp->str_bufsz); in strtab_grow()
47 sp->str_bufs[sp->str_nbufs - 1] = sp->str_ptr; in strtab_grow()
56 sp->str_ptr = NULL; in strtab_create()
63 *sp->str_ptr++ = '\0'; in strtab_create()
139 if (sp->str_ptr == sp->str_bufs[b] + sp->str_bufsz) { in strtab_copyin()
144 resid = sp->str_bufs[b] + sp->str_bufsz - sp->str_ptr; in strtab_copyin()
146 bcopy(str, sp->str_ptr, n); in strtab_copyin()
148 sp->str_ptr += n; in strtab_copyin()
181 hp->str_data = sp->str_ptr; in strtab_insert()
216 n = sp->str_ptr - sp->str_bufs[i]; in strtab_write()
H A Dstrtab.h50 char *str_ptr; /* pointer to current buffer location */ member
/freebsd-13.1/contrib/ntp/sntp/
H A Dkod_management.c192 char *str_ptr; in kod_init_kod_db() local
257 str_ptr = fgets(fbuf, sizeof(fbuf), db_s); in kod_init_kod_db()
258 if (NULL == str_ptr) { in kod_init_kod_db()
/freebsd-13.1/contrib/llvm-project/lldb/source/Symbol/
H A DSymbol.cpp130 intptr_t str_ptr = m_addr_range.GetBaseAddress().GetOffset(); in GetReExportedSymbolName() local
131 if (str_ptr != 0) in GetReExportedSymbolName()
132 return ConstString((const char *)str_ptr); in GetReExportedSymbolName()
144 intptr_t str_ptr = m_addr_range.GetByteSize(); in GetReExportedSymbolSharedLibrary() local
145 if (str_ptr != 0) in GetReExportedSymbolSharedLibrary()
146 return FileSpec((const char *)str_ptr); in GetReExportedSymbolSharedLibrary()
/freebsd-13.1/sys/mips/cavium/usb/
H A Doctusb.c1425 const char *str_ptr; in octusb_roothub_exec() local
1495 str_ptr = "\001"; in octusb_roothub_exec()
1499 str_ptr = "Cavium Networks"; in octusb_roothub_exec()
1503 str_ptr = "OCTUSB Root HUB"; in octusb_roothub_exec()
1507 str_ptr = ""; in octusb_roothub_exec()
1512 sizeof(sc->sc_hub_desc.temp), str_ptr); in octusb_roothub_exec()
/freebsd-13.1/sys/dev/usb/controller/
H A Dohci.c2054 const char *str_ptr; in ohci_roothub_exec() local
2115 str_ptr = "\001"; in ohci_roothub_exec()
2119 str_ptr = sc->sc_vendor; in ohci_roothub_exec()
2123 str_ptr = "OHCI root HUB"; in ohci_roothub_exec()
2127 str_ptr = ""; in ohci_roothub_exec()
2134 str_ptr); in ohci_roothub_exec()
H A Duhci.c2423 const char *str_ptr; in uhci_roothub_exec() local
2485 str_ptr = "\001"; in uhci_roothub_exec()
2489 str_ptr = sc->sc_vendor; in uhci_roothub_exec()
2493 str_ptr = "UHCI root HUB"; in uhci_roothub_exec()
2497 str_ptr = ""; in uhci_roothub_exec()
2504 str_ptr); in uhci_roothub_exec()
H A Dehci.c3002 const char *str_ptr; in ehci_roothub_exec() local
3077 str_ptr = "\001"; in ehci_roothub_exec()
3081 str_ptr = sc->sc_vendor; in ehci_roothub_exec()
3085 str_ptr = "EHCI root HUB"; in ehci_roothub_exec()
3089 str_ptr = ""; in ehci_roothub_exec()
3096 str_ptr); in ehci_roothub_exec()
H A Dxhci.c3269 const char *str_ptr; in xhci_roothub_exec() local
3341 str_ptr = "\001"; in xhci_roothub_exec()
3345 str_ptr = sc->sc_vendor; in xhci_roothub_exec()
3349 str_ptr = "XHCI root HUB"; in xhci_roothub_exec()
3353 str_ptr = ""; in xhci_roothub_exec()
3360 str_ptr); in xhci_roothub_exec()
/freebsd-13.1/contrib/bc/src/
H A Dprogram.c221 char **str_ptr; in bc_program_addString() local
228 str_ptr = bc_vec_pushEmpty(&f->strs); in bc_program_addString()
234 *str_ptr = bc_slabvec_strdup(slabs, str); in bc_program_addString()
/freebsd-13.1/sys/dev/bxe/
H A Dbxe_elink.c7026 uint8_t *str_ptr = str; in elink_format_ver() local
7033 *str_ptr = '\0'; in elink_format_ver()
7045 *str_ptr = digit + '0'; in elink_format_ver()
7047 *str_ptr = digit - 0xa + 'a'; in elink_format_ver()
7049 str_ptr++; in elink_format_ver()
7053 *str_ptr = '.'; in elink_format_ver()
7054 str_ptr++; in elink_format_ver()