Home
last modified time | relevance | path

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

/freebsd/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()
190 resid = sp->str_bufs[b] + sp->str_bufsz - sp->str_ptr; 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()
[all …]
H A Ddt_strtab.h50 char *str_ptr; /* pointer to current buffer location */ member
/freebsd/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/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/contrib/llvm-project/lldb/source/Symbol/
H A DSymbol.cpp178 intptr_t str_ptr = m_addr_range.GetBaseAddress().GetOffset(); in GetReExportedSymbolName() local
179 if (str_ptr != 0) in GetReExportedSymbolName()
180 return ConstString((const char *)str_ptr); in GetReExportedSymbolName()
192 intptr_t str_ptr = m_addr_range.GetByteSize(); in GetReExportedSymbolSharedLibrary() local
193 if (str_ptr != 0) in GetReExportedSymbolSharedLibrary()
194 return FileSpec((const char *)str_ptr); in GetReExportedSymbolSharedLibrary()
/freebsd/sys/dev/usb/controller/
H A Dohci.c2053 const char *str_ptr; in ohci_roothub_exec() local
2114 str_ptr = "\001"; in ohci_roothub_exec()
2118 str_ptr = sc->sc_vendor; in ohci_roothub_exec()
2122 str_ptr = "OHCI root HUB"; in ohci_roothub_exec()
2126 str_ptr = ""; in ohci_roothub_exec()
2133 str_ptr); in ohci_roothub_exec()
H A Duhci.c2420 const char *str_ptr; in uhci_roothub_exec() local
2482 str_ptr = "\001"; in uhci_roothub_exec()
2486 str_ptr = sc->sc_vendor; in uhci_roothub_exec()
2490 str_ptr = "UHCI root HUB"; in uhci_roothub_exec()
2494 str_ptr = ""; in uhci_roothub_exec()
2501 str_ptr); in uhci_roothub_exec()
H A Dehci.c3001 const char *str_ptr; in ehci_roothub_exec() local
3076 str_ptr = "\001"; in ehci_roothub_exec()
3080 str_ptr = sc->sc_vendor; in ehci_roothub_exec()
3084 str_ptr = "EHCI root HUB"; in ehci_roothub_exec()
3088 str_ptr = ""; in ehci_roothub_exec()
3095 str_ptr); in ehci_roothub_exec()
/freebsd/contrib/bc/src/
H A Dprogram.c229 char** str_ptr; in bc_program_addString() local
236 str_ptr = bc_vec_pushEmpty(&p->strs); in bc_program_addString()
240 *str_ptr = id->name; in bc_program_addString()
/freebsd/sys/dev/bxe/
H A Dbxe_elink.c7024 uint8_t *str_ptr = str; in elink_format_ver() local
7031 *str_ptr = '\0'; in elink_format_ver()
7043 *str_ptr = digit + '0'; in elink_format_ver()
7045 *str_ptr = digit - 0xa + 'a'; in elink_format_ver()
7047 str_ptr++; in elink_format_ver()
7051 *str_ptr = '.'; in elink_format_ver()
7052 str_ptr++; in elink_format_ver()