Searched refs:str_ptr (Results 1 – 12 of 12) sorted by relevance
59 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()249 hp->str_data = sp->str_ptr; in dt_strtab_insert()[all …]
50 char *str_ptr; /* pointer to current buffer location */ member
46 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()
192 char *str_ptr; in kod_init_kod_db() local257 str_ptr = fgets(fbuf, sizeof(fbuf), db_s); in kod_init_kod_db()258 if (NULL == str_ptr) { in kod_init_kod_db()
128 intptr_t str_ptr = m_addr_range.GetBaseAddress().GetOffset(); in GetReExportedSymbolName() local129 if (str_ptr != 0) in GetReExportedSymbolName()130 return ConstString((const char *)str_ptr); in GetReExportedSymbolName()142 intptr_t str_ptr = m_addr_range.GetByteSize(); in GetReExportedSymbolSharedLibrary() local143 if (str_ptr != 0) in GetReExportedSymbolSharedLibrary()144 return FileSpec((const char *)str_ptr); in GetReExportedSymbolSharedLibrary()
1436 const char *str_ptr; in octusb_roothub_exec() local1506 str_ptr = "\001"; in octusb_roothub_exec()1510 str_ptr = "Cavium Networks"; in octusb_roothub_exec()1514 str_ptr = "OCTUSB Root HUB"; in octusb_roothub_exec()1518 str_ptr = ""; in octusb_roothub_exec()1523 sizeof(sc->sc_hub_desc.temp), str_ptr); in octusb_roothub_exec()
2096 const char *str_ptr; in ohci_roothub_exec() local2157 str_ptr = "\001"; in ohci_roothub_exec()2161 str_ptr = sc->sc_vendor; in ohci_roothub_exec()2165 str_ptr = "OHCI root HUB"; in ohci_roothub_exec()2169 str_ptr = ""; in ohci_roothub_exec()2176 str_ptr); in ohci_roothub_exec()
2487 const char *str_ptr; in uhci_roothub_exec() local2549 str_ptr = "\001"; in uhci_roothub_exec()2553 str_ptr = sc->sc_vendor; in uhci_roothub_exec()2557 str_ptr = "UHCI root HUB"; in uhci_roothub_exec()2561 str_ptr = ""; in uhci_roothub_exec()2568 str_ptr); in uhci_roothub_exec()
3098 const char *str_ptr; in ehci_roothub_exec() local3173 str_ptr = "\001"; in ehci_roothub_exec()3177 str_ptr = sc->sc_vendor; in ehci_roothub_exec()3181 str_ptr = "EHCI root HUB"; in ehci_roothub_exec()3185 str_ptr = ""; in ehci_roothub_exec()3192 str_ptr); in ehci_roothub_exec()
3302 const char *str_ptr; in xhci_roothub_exec() local3374 str_ptr = "\001"; in xhci_roothub_exec()3378 str_ptr = sc->sc_vendor; in xhci_roothub_exec()3382 str_ptr = "XHCI root HUB"; in xhci_roothub_exec()3386 str_ptr = ""; in xhci_roothub_exec()3393 str_ptr); in xhci_roothub_exec()
7026 uint8_t *str_ptr = str; in elink_format_ver() local7033 *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()